Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the InventCostTrans records for a specified RecordSortedList object to the RecordSortedList object for this class.
Syntax
protected void addToMemory(InventCostTransList _inventCostTransList, InventCostTransVarianceMap _inventCostTransVarianceMap)
Run On
Server
Parameters
- _inventCostTransList
Type: InventCostTransList Class
The RecordSortedList object containing the InventCostTrans records that need to be added to the global RecordSortedList object.
- _inventCostTransVarianceMap
Type: InventCostTransVarianceMap Class
The map with the InventCostTransVariance records that need to be added to the global InventCostTransVarianceMap map.
Remarks
The specified RecordSortedList object, for which all the records belong to one key, will be added to the RecordSortedList object for InventCostTransList. If the records already exist, they will be merged. If no record is found, the InventCostUpdate.checkPreviousRecord method will be called to check whether there is a record at a different state that might belong to the record that is currently being processed. The initialize key is then used to add the variances to the KeyCostTransVarianceMap map.
This method is called from the inventCostUpdate.finalizeCostMovement method.
The RecordSortedList object is then, at the final commit, processed and written to the database.