TradeTotals.mcrRecordSortedListLine Method [AX 2012]
Returns a RecordSortedList containing the order line record buffers.
public RecordSortedList mcrRecordSortedListLine()
Run On
ServerReturn Value
Type: RecordSortedList ClassA RecordSortedList contiaining the order line record buffers.
This method duplicates some of the work done in calc to retrieve records.
Note that this resets the data for trade totals and should therefore not be called for normal calculation scenarios.
The use of this method is to get the records that would normally be used in a calculation without actually doing the calculation. This is currently used to speed up performance of picking and packing. See MCRInitFromSalesTotals method in SalesFormLetter_PickingList and SalesFormLetter_PackingSlip.
Community Additions
ADD
Show: