Share via


InventCostUpdate.getCostTrans Method [AX 2012]

Returns the record from the KeyCostTransMap map if found.

Syntax

public InventCostTrans getCostTrans(InventCostTrans _inventCostTrans)

Run On

Server

Parameters

  • _inventCostTrans
    Type: InventCostTrans Table
    The InventCostTrans record that is to be initialized with key fields that build the sort order of the RecordSortedList object.

Return Value

Type: InventCostTrans Table
An InventCostTrans record.

Remarks

This method is used by the InventCostMovement class because under certain circumstances records that are not yet written to the database are needed to calculate the variance for some transactions.

See Also

Reference

InventCostUpdate Class