Skip to content

Table 901 "Assembly Line" procedure MaxQtyToConsume() - new event OnAfterMaxQtyToConsume, procedure MaxQtyToConsumeBase() - new event OnAfterMaxQtyToConsumeBase #30287

Description

@ACJStopka

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

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions