ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 7320 Whse. Undo Quantity – UpdateWhseRequestShpt
Could we please have a Supplement in publisher OnAfterUpdateWhseRequestShpt in function UpdateWhseRequestShpt Codeunit 7320 Whse. Undo Quantity?
LOCAL UpdateWhseRequestShpt(VAR PostedWhseShptLine : Record "Posted Whse. Shipment Line")
WITH PostedWhseShptLine DO BEGIN
CASE "Source Type" OF
DATABASE::"Sales Line":
BEGIN
SalesLine.GET("Source Subtype","Source No.","Source Line No.");
IF NOT (SalesLine."Quantity Shipped" < SalesLine.Quantity) THEN
EXIT;
END;
DATABASE::"Purchase Line":
BEGIN
PurchLine.GET("Source Subtype","Source No.","Source Line No.");
IF NOT (PurchLine."Return Qty. Shipped" < PurchLine.Quantity) THEN
EXIT;
END;
END;
// >>>>>>>>
OnAfterUpdateWhseRequestShpt(VAR PostedWhseShptLine);
// <<<<<<<<