InventCostUpdate.checkForPhysicalRecord Method [AX 2012]
Check to see whether a record in a different state exists for a given record.
Syntax
protected void checkForPhysicalRecord(InventCostTrans _costTrans, str _parmKey)
Run On
Server
Parameters
- _costTrans
Type: InventCostTrans Table
The InventCostTrans record that is to be checked.
- _parmKey
Type: str
The parm key that belongs to the given record.
Remarks
This method manipulates the state of the CostTrans record, and then checks it with the manipulated state in memory. If a record is found, it will be merged to the new parm key. Also, the variances will be merged to the new key.