Use this event to
Modfy properties for any single Step from RegistrationCollectorConfigurations.
Description
This event is executed once for every Step added from custom RegistrationCollectorConfiguration's. You may use this event to change any property of the Step or hide the Step.
At time of writing no 'RegistrationCollectorConfiguration's exists in ReferenceData for the standard Mobile WMS. The standard workflow uses steps defined in Application.cfg (with no ConfigurationKey defined for these steps).
See also: OnGetReferenceData_OnAddHeaderConfigurations
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Reference Data", 'OnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration', '', true, true)]
local procedure OnGetReferenceData_OnAfterAddRegistrationCollectorConfiguration(var _Steps: Record "MOB Steps Element")
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"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
Version | Changes |
---|---|
MOB5.14 | Introduced |