Versions Compared

Key

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



Excerpt

Code to be executed prior to posting via standard posting routines. When migrating code from older MOB versions, this event is the most direct 1:1 comparison to existing in-line customizations.

Template:

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Receive", 'OnPostReceiveOrder_OnBeforePostTransferOrder''', true, true)]
    procedure OnPostReceiveOrder_OnBeforePostTransferOrder(var _OrderValues: Record "MOB Common Element"; _TransferHeader: Record "Transfer Header")
    begin
    end;


Desccription:

The event is mostly used to validate collected "header" level steps (added from OnGetReceiveOrderLines_OnAddStepsToAnyHeader) and to write collected header level steps values to fields in the database that subsequently can be accessed from standard posting function events.

...

See also: 
How-to: Subscribe to standard events in BC base app

Example:

See:
Case: Add a new text collector step on headers for inbound goods documents (BC)

...


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleExamples
excerptTypesimple
cqllabel = "bc" and label = "order" and label = "example" and label = "onbeforepost"


Version History

Version

Changes

MOB5.11Introduced

...