Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Use this event to

  • Manipulate Header Field Values before Unplanned Functions use them to generate steps
  • Replace the standard steps with your custom logic

Description

This event is triggered before existing unplanned functions generates their steps.

This allows you to affect them, or you can replace them entirely.

Template


    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnGetRegistrationConfiguration_OnBeforeAddSteps', '', true, true)]
    local procedure OnGetRegistrationConfiguration_OnBeforeAddSteps(_RegistrationType: Text; var _HeaderFieldValues: Record "MOB NS Request Element"; var _Steps: Record "MOB Steps Element"; var _RegistrationTypeTracking: Text; var _IsHandled: Boolean)
    begin
    end;

Parameters

  • _RegistrationType: The registration type you want to manipulate. "UnplannedMove", "UnplannedCount", "AdjustQuantity" etc.
  • _HeaderFieldValues: Values from Header
  • _Steps: The resulting Steps to display.
  • _IsHandled: Handling the registration type will replace the standard logic entirely.
  • _RegistrationTypeTracking: Optional tracking information for Mobile Document Queue List

Example

<<< TO DO>>>




More examples

There are no items with the selected labels at this time.


Version History

Version

Changes

MOB5.48Introduced
  • No labels