Share via


InventCostTransVarianceList::newFromInventCostTrans Method [AX 2012]

Initializes a new instance of the InventCostTransVarianceList class and inserts the InventCostTransVariance records either from memory or from the database.

Syntax

client server public static InventCostTransVarianceList newFromInventCostTrans(InventCostTrans _inventCostTrans)

Run On

Called

Parameters

Return Value

Type: InventCostTransVarianceList Class
An instance of the InventCostTransVarianceList class that contains all InventCostTransVariance records belonging to a given InventCostTrans record.

Remarks

This method will add the InventCostTransVariance records to the RecordSortedList object for the InventCostTransVarianceList class. Since records can be stored in memory, the class instance is either retrieved from the InventCostUpdate class by calling the call the InventCostUpdate.getCostTransVarianceList method, or it is newly created with all the records that are stored in the database.

See Also

Reference

InventCostTransVarianceList Class