microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
791 stars 622 forks source link

[Event Parameter Request]: codeunit 99000774 "Calculate Routing Line" - OnAfterInitProdOrderCapNeed #27635

Open Duizy1971 opened 1 week ago

Duizy1971 commented 1 week ago

Describe the request

Can you provide us (Pretty please already in 25.2/.3/.4 if possible) with three extra parameters

    TimeType: Enum "Routing Time Type"
    ActuallyPostedTime: Decimal;
    DistributedCapNeed: Decimal;

OnAfterInitProdOrderCapNeed(ProdOrder, ProdOrderRoutingLine, ProdOrderCapNeed, NeedQty, TimeType, ActuallyPostedTime, DistributedCapNeed);

[IntegrationEvent(false, false)]
local procedure OnAfterInitProdOrderCapNeed(ProdOrder: Record "Production Order"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderCapNeed: Record "Prod. Order Capacity Need"; var NeedQty: Decimal; TimeType: Enum "Routing Time Type"; var ActuallyPostedTime: Decimal; var DistributedCapNeed: Decimal)
begin
end;

Additional context

Between NAV2017 and BC13/14 (or as to believed on an internet search between BC17.1 and 17.4) a fix was made but without accurate testing also created another bug when rescheduling partially capacity output product routing lines. Allas no senior support on serviceshub present which understands this particular difficult matter so as a partner we need to fix this ourselves. Maybe in a far far future I will create a BCIdea and ask Jesper for access to fork the BaseApp, but for now we settle for some extra parameters Internal work item: AB#558166