-
Notifications
You must be signed in to change notification settings - Fork 687
Closed
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update
Description
Why do you need this change?
Can you add "Suppress Commit" to event OnAfterRun in codeunit 5763 "Whse.-Post Shipment".
Code();
Rec := WhseShptLine;
//OnAfterRun(Rec, WhsePostParameters."Preview Posting");
OnAfterRun(Rec, WhsePostParameters."Preview Posting", WhsePostParameters."Suppress Commit");
end;
[IntegrationEvent(false, false)]
//local procedure OnAfterRun(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; PreviewMode: Boolean)
local procedure OnAfterRun(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; PreviewMode: Boolean; SuppressCommit: Boolean)
begin
end;
Describe the request
I need to check whether commit is suppressed to avoid running custom code that requires commit.
Internal work item: AB#615330
Metadata
Metadata
Assignees
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update