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
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS put away", 'OnPostPutAwayOrder_OnAfterPostWarehouseActivity', '', true, true)]
local procedure OnPostPutAwayOrder_OnAfterPostWarehouseActivity(var _OrderValues: Record "MOB Common Element"; var _ResultMessage: Text; var _WhseActivityLine: Record "Warehouse Activity Line")
begin
end;
Examples
-
Case: Print Label on Planned Function Posting (Cloud Print) — Print Label on Planned Posting, i.e. Receive, Pick, Put-away, Ship, Move etc.
Version History
Version | Changes |
---|---|
MOB5.22 | Introduced |