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.

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS move", 'OnPostMoveOrder_OnAfterPostWarehouseActivity''', true, true)]
    local procedure OnPostMoveOrder_OnAfterPostWarehouseActivity(var _OrderValues: Record "MOB Common Element"var _WhseActivityLine: Record "Warehouse Activity Line"; var _ResultMessage: Text)
    begin
    end;

Parameters

  • _OrderValues: Header steps
  • _RecRef: Reference to the last line e.g. "Warehouse Activity Line" being posted
  • _ResultMessage: The message shown on mobile after posting

...