Development notes

A change was done in the LS One 2019 SP5 that developers should look at specifically.

The development pack for LS One 2019 has been updated to include all of the changes done for LS One 2019 SP1 - SP5

ONE-10449/LSTS-7286 - Add functionality to the OperationInfo to allow customizations to run operations on any item

A new property has been added to the OperationInfo object that needs to be used when running an operation in code. The new property "RefreshOperationInfo" has a default value of true and is never set to false by the POS itself.

If a customization needs to run a POS operation in code for any other item than the last one, OperationINfo.ItemLineId can be set to the item line that should be affected by the operation and OperationInfo.RefreshOperationInfo set to false. This will prevent the POS core from refreshing the information in this object before running the operation. The core will then set this property back to true after the operation has run. So if two or more operations are to be run within the same customization, RefreshOperationInfo needs to be set to false before each call to the RunOperation function.