Why do you need this change?
Because those same events do exist in its counter part pick and movement:
codeunit 7322 "Create Inventory Pick/Movement"
and now we want to do the same for the put-away and it is not possible...
Describe the request
local procedure CreatePutAwayLinesFromPurchase(PurchaseHeaderVar: Variant)
....
if PurchaseLine."Document Type" = PurchaseLine."Document Type"::Order then
RemQtyToPutAway := PurchaseLine."Qty. to Receive"
else
RemQtyToPutAway := -PurchaseLine."Return Qty. to Ship";
OnCreatePutAwayLinesFromPurchaseOnAfterSetRemQtyToPutAway(PurchaseHeader, PurchaseLine, CurrWarehouseActivityHeader, RemQtyToPutAway);
FindReservationFromPurchaseLine(PurchaseLine);
....
end;
[InternalEvent(false, false)]
local procedure OnCreatePutAwayLinesFromPurchaseOnAfterSetRemQtyToPutAway(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var RemQtyToPutAway: Decimal)
begin
end;
Internal work item: AB#597438
Why do you need this change?
Because those same events do exist in its counter part pick and movement:
codeunit 7322 "Create Inventory Pick/Movement"
and now we want to do the same for the put-away and it is not possible...
Describe the request
Internal work item: AB#597438