Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Use this event to

Perform logic after posting For example printing a label.

Description

The event is executed:

  • After all other OnPost...-events
  • Only if posting succeeds



Commit

Database posting transactions are committed to database prior to this event.

This event is furthermore run as an isolated process. 

  • _ResultMessage therefore contains both a posting success-message and any error-message that has occurred in subscribers to this event. 

Template

  

    // [Template]

   [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Ship", 'OnPostShipOrder_OnAfterPostWarehouseShipment''', true, true)]
    local procedure OnPostShipOrder_OnAfterPostWarehouseShipment(var _OrderValues: Record "MOB Common Element"; var _WhseShipmentLine: Record "Warehouse Shipment Line"; var _ResultMessage: Text)
    begin
    end;


Examples


Version History

Version

Changes

MOB5.22Introduced
  • No labels