TradeTotals.mcrRecordSortedListLine Method [AX 2012]
Returns a RecordSortedList containing the order line record buffers.
Syntax
public RecordSortedList mcrRecordSortedListLine()
Run On
Server
Return Value
Type: RecordSortedList Class
A RecordSortedList contiaining the order line record buffers.
Remarks
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.