Versions Compared

Key

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

Use this event to

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

Description

This event is triggered before existing unplanned functions generates their steps.This allows you to affect them, or you can replace them entirely, allowing you to manipulate how they are created.

You can also add your own steps or replace standard logic entirely using "IsHandled".

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.
  • _HeaderFieldValues: Values from Header
  • _RegistrationTypeTracking: Optional tracking information for Mobile Document Queue List

Example

<<< TO DO>>>DO >>>




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


Version History

Version

Changes

MOB5.48Introduced

...