The customer requests to include a new field on the "Assemble Line" record in the calculation of the MaxQtyToConsume and MaxQtyToConsumeBase values. The new fields were created by customizing the "Assembly Line" table.
procedure MaxQtyToConsume() MaxQty: Decimal
begin
MaxQty := "Remaining Quantity";
OnAfterMaxQtyToConsume(Rec, xRec, MaxQty);
end;
local procedure MaxQtyToConsumeBase() MaxQtyBase: Decimal
begin
MaxQtyBase := "Remaining Quantity (Base)";
OnAfterMaxQtyToConsumeBase(Rec, xRec, MaxQtyBase);
end;
[IntegrationEvent(false, false)]
local procedure OnAfterMaxQtyToConsume(Rec: Record "Assembly Line"; xRec: Record "Assembly Line"; var MaxQtyToConsume: Decimal)
begin
end;
[IntegrationEvent(false, false)]
local procedure OnAfterMaxQtyToConsumeBase(Rec: Record "Assembly Line"; xRec: Record "Assembly Line"; var MaxQtyToConsumeBase: Decimal)
begin
end;
Why do you need this change?
The customer requests to include a new field on the "Assemble Line" record in the calculation of the MaxQtyToConsume and MaxQtyToConsumeBase values. The new fields were created by customizing the "Assembly Line" table.
Describe the request