Share via


InventCostTransList.add Method [AX 2012]

Adds an InventCostTrans record to the RecordSortedList object.

Syntax

public void add(InventCostTrans _inventCostTrans, [boolean _allowZero])

Run On

Called

Parameters

  • _allowZero
    Type: boolean
    A Boolean value that indicates whether zero values are allowed; optional.

Remarks

If the record that is to be added is already found in the list, the quantity fields will be summed up.

From the InventCostUpdate class, no zero values are allowed in the list. In the InventCostMovement class, zero values must be added because the summarization of these records in the InventCostUpdate class will not work.

See Also

Reference

InventCostTransList Class