Versions Compared

Key

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

Use this event to

Excerpt

TODO

Run additional code after a PostAdhocRegistration request has been executed.

Implement custom document locking scheme or display messages at Mobile Device.

TODO

Description

TODO

Using this event you may implement a custom planned document locking scheme. These are the locks that are set for documents at the Mobile Device that will prevent other users from handling same documents at the same time. 

Since this event is consistently called before planned documents are displayed at the Mobile Device, you may also use the event to display confirmation messages at the device when such documents are opened.

TODO

  • 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)]
    localprocedure 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>>>




Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "example" and label = "adhoc" and label = "onafterpost"

...