Why do you need this change?
In 4PS Construct we need to assign additional field values after initializing Item Journal Line.
Describe the request
On behalf of 4PS, I would like to request adding new event OnAfterInitRndgResidualItemJnlLine to codeunit "Inventory Adjustment"
local procedure InitRndgResidualItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; OrigValueEntry: Record "Value Entry")
begin
ItemJnlLine.Init();
ItemJnlLine."Value Entry Type" := ItemJnlLine."Value Entry Type"::Rounding;
ItemJnlLine."Quantity (Base)" := 1;
ItemJnlLine."Invoiced Qty. (Base)" := 1;
ItemJnlLine."Source No." := OrigValueEntry."Source No.";
OnAfterInitRndgResidualItemJnlLine(ItemJnlLine, OrigValueEntry);
end;
[IntegrationEvent(false, false)]
local procedure OnAfterInitRndgResidualItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; OrigValueEntry: Record "Value Entry")
begin
end;
Internal work item: AB#616766
Why do you need this change?
In 4PS Construct we need to assign additional field values after initializing Item Journal Line.
Describe the request
On behalf of 4PS, I would like to request adding new event OnAfterInitRndgResidualItemJnlLine to codeunit "Inventory Adjustment"
Internal work item: AB#616766