Why do you need this change?
At 4PS, in local procedure "Code" after ItemJnlPostLine.PostDeferredValueEntriesToGL(PostponedValueEntries); we implemented procedure which ecalculates costs if needed, handles WIP and GL postings, manages intercompany logic, and updates related buffers to ensure correct financial and inventory records. It should be moved to OnBeforeUpdateDeleteLines, but in our implementation we are assigning value to ItemRegNo variable and also using WhseRegNo which is missed. Unfortunately, we can't use OnAfterCopyRegNos, because in our solution PostDeferredValueEntriesToGL should run before.
Describe the request
On behalf of 4PS I would like to request extensibility in integration event OnBeforeUpdateDeleteLines to add var to ItemRegNo parameter and add new parameter WhseRegNo.
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateDeleteLines(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; WhseRegNo: Integer)
begin
end;
Internal work item: AB#630401
Why do you need this change?
At 4PS, in local procedure "Code" after ItemJnlPostLine.PostDeferredValueEntriesToGL(PostponedValueEntries); we implemented procedure which ecalculates costs if needed, handles WIP and GL postings, manages intercompany logic, and updates related buffers to ensure correct financial and inventory records. It should be moved to OnBeforeUpdateDeleteLines, but in our implementation we are assigning value to ItemRegNo variable and also using WhseRegNo which is missed. Unfortunately, we can't use OnAfterCopyRegNos, because in our solution PostDeferredValueEntriesToGL should run before.
Describe the request
On behalf of 4PS I would like to request extensibility in integration event OnBeforeUpdateDeleteLines to add var to ItemRegNo parameter and add new parameter WhseRegNo.
Internal work item: AB#630401