ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Bug] page 6510 Item Tracking Lines - GetVariables

Open SchoKa opened this issue 6 years ago • 2 comments

Hello Al Team,

the GetVariable function in Page 6510 contains a little bug that is is preventing the use of the procedure:

The statement CopyArray(SourceQuantityArray2, SourceQuantityArray, 1);

causes a run-time error because SourceQuantityArray is of dimension 5 and SourceQuantityArray2 is Dimension 3.

Please update the dimension value for "SourceQuantityArray2" in the parameters of the "GetVariables" function:

procedure GetVariables(var TempTrackingSpecInsert2: Record "Tracking Specification" temporary; var TempTrackingSpecModify2: Record "Tracking Specification" temporary; var TempTrackingSpecDelete2: Record "Tracking Specification" temporary; var Item2: Record Item; var UndefinedQtyArray2: array[3] of Decimal; var SourceQuantityArray2: array[5] of Decimal; var CurrentSignFactor2: Integer; var InsertIsBlocked2: Boolean; var DeleteIsBlocked2: Boolean; var BlockCommit2: Boolean)

SchoKa avatar Mar 06 '20 11:03 SchoKa

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 Mar 18 '20 16:03 bc-ghost

This issue still isn't fixed in preview version 16.4.14262.0, but in 17.0.14286.0. Can you confirm that the fix is really only available with the next major release?

IngoStender avatar Jul 03 '20 11:07 IngoStender