Versions Compared

Key

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

Use this event to

Excerpt

Perform logic after posting. For example, printing a label.

...

Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Pick", 'OnPostPickOrder_OnAfterPostAnyOrder''', true, true)]
    local procedure OnPostPickOrder_OnAfterPostAnyOrder(var _OrderValues: Record "MOB Common Element"; var _RecRef: RecordRef; var _ResultMessage: Text)
    begin
    end;

Parameters

  • "OrderValues": Header steps
  • "_RecRef": Reference to...
    • the last line "Warehouse Activity Line" being posted
    • the "Purchase Header" being posted
    • the "Sales Header" being posted
    • the "Transfer Header" being posted
  • "_ResultMessage": The message shown on mobile after posting

...