Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

...

  • The standard workflow for "planned" DocumentType's uses steps defined in Application.cfg (with no assiciated ConfigurationKey). 
  • "Unplanned" (Adhoc) workflows uses steps defined in "MOB WMS Adhoc" class and from 'OnGetRegistrationConfiguration_OnAddSteps' for each unplanned RegistrationType.


See also: 
OnGetReferenceData_OnAddHeaderConfigurations

...

Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Reference Data", 'OnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration''', true, true)]
    local procedure OnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration(var _Steps: Record "MOB Steps Element")
    begin
    end;


Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Reference Data", 'OnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration''', true, true)]
    local procedure MyOnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration(var _Steps: Record "MOB Steps Element")
    begin
        with _Steps do
            if (ConfigurationKey = 'MyCustomRegistrationCollectorKey') and (Get_name() 'MyStepName'then
                Set_visible(false);
    end;


Version History

VersionChanges
MOB5.14Introduced

...