Versions Compared

Key

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

Use this event to

...


Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Pick", 'OnPostPickOrder_OnBeforeRunWhseActivityPost''', true, true)]
    procedure OnPostPickOrder_OnBeforeRunWhseActivityPost(var _WhseActLinesToPost: Record "Warehouse Activity Line"; var _WhseActPost: Codeunit "Whse.-Activity-Post")
    begin
    end;


See also: 
How-to: Subscribing to standard events

Example

   // [Example]: Print Document on Posting
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Pick", 'OnPostPickOrder_OnBeforeRunWhseActivityPost''', true, true)]
    procedure MyOnPostPickOrder OnPostPickOrder_OnBeforeRunWhseActivityPost(var _WhseActLinesToPost: Record "Warehouse Activity Line"; var _WhseActPost: Codeunit "Whse.-Activity-Post")
    begin
        _WhseActPost.PrintDocument(true);
    end;

Version History

Version

Changes

MOB5.13Introduced

...