ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Parameters are mixed up "OnBeforeCommonBalancing", CU "Inventory Profile Offsetting"

Open AndyF2k25 opened this issue 6 years ago • 2 comments

Hello,

according to the AL Repo, bugs related to the Base App can be posted here as well.

In the codeunit 99000854 "Inventory Profile Offsetting" is a publisher with the signature:

local procedure OnBeforeCommonBalancing(var TempSKU: Record "Stockkeeping Unit" temporary; var DemandInvtProfile: Record "Inventory Profile"; var SupplyInvtProfile: Record "Inventory Profile"; PlanningStartDate: Date; ToDate: Date)

First DemandInvtProfile, second SupplyInvtProfile, but the publisher is called with

OnBeforeCommonBalancing(TempSKU, SupplyInvtProfile, DemandInvtProfile, PlanningStartDate, ToDate);

The parameters are switched and I do not see any reason why.

Please tell me, if Github is the right way to report this bug and if it's really one :)

Thanks

Andreas

AndyF2k25 avatar May 25 '20 13:05 AndyF2k25

Is it right that this issue is labeled as "event-request"? It seems more like a bug.

AndyF2k25 avatar May 26 '20 14:05 AndyF2k25

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

bc-ghost avatar May 27 '20 11:05 bc-ghost