Codeunit 18122383 EOS CWS Receipt Event Handler
Codeunit 18122383 EOS CWS Receipt Event Handler
Events
OnWhsePostReceipt_OnBeforeReopenAndReleasePurchHeader
local procedure OnWhsePostReceipt_OnBeforeReopenAndReleasePurchHeader(var PurchaseHeader: Record "Purchase Header"; var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var DisableRelease: Boolean)
Raised before the Purchase Header is reopened and released to modify the document date. It is used when the Warehouse Receipt Header has a different document date than the Purchase Header. If the DisableRelease parameter is set to true, the Purchase Header will not be reopened and released.
Parameters / Return Value
PurchaseHeader
Record "Purchase Header"
Current Purchase Header to update
WarehouseReceiptHeader
Record "Warehouse Receipt Header"
The Warehouse Receipt Header
DisableRelease
Boolean
if true, the Purchase Header will not be reopened and released.
OnAfterWhsePostReceipt_OnBeforeReopenAndReleasePurchHeader
local procedure OnAfterWhsePostReceipt_OnBeforeReopenAndReleasePurchHeader(var PurchaseHeader: Record "Purchase Header"; var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var DisableRelease: Boolean)
Raised before the Purchase Header is reopened and released to modify the document date. It is used when the Warehouse Receipt Header has a different document date than the Purchase Header. If the DisableRelease parameter is set to true, the Purchase Header will not be reopened and released.
Parameters / Return Value
PurchaseHeader
Record "Purchase Header"
Current Purchase Header to update
WarehouseReceiptHeader
Record "Warehouse Receipt Header"
The Warehouse Receipt Header
DisableRelease
Boolean
if true, the Purchase Header will not be reopened and released.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.