ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Request for External/Coderefactoring] Page 6510 - "Item Tracking Lines"

Open SPinkow opened this issue 6 years ago • 1 comments

Hello, I would like to create a pageextension of the Page 6510 "Item Tracking Line". To access the temporary records of the global variables there are the functions GetVariables and SetVariables. The parameter "var SourceQuantityArray2: array[3] of Decimal" in the function GetVariables has only 3 dimensions. However, the global variable on page 6510 has the dimension 5, which means that there are constellations where the CopyArray command runs on a runtime error. The dimension of the parameter should be increased to 5.

image

As an even better alternative it would be useful to mark all global variables (or parts of them) as "protected var", so that they would be directly accessible from a page extension.

image

This would have the advantage that you could do everything without the functions GetVariables and SetVariables and you still have access to all necessary variables.

A consideration in one of the next cumulative updates would be great.

SPinkow avatar Feb 28 '20 20:02 SPinkow

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