Share via


InventCostUpdate.ttsNotifyPreCommit Method [AX 2012]

Updates the database by using the information that has been stored in memory.

Syntax

public void ttsNotifyPreCommit()

Run On

Server

Exceptions

Exception Condition
Error

If the ttsLevel is not one, the call of this function is invalid.

Error

If the ttsLevel is not one, the call of this function is invalid.

Remarks

This method will be called when the last ttsbegin is called. The information that is stored in the global variables will be processed and written to the database by calling the inventCostUpdate.writeInventCostTrans and inventCostUpdate.writeInventCostTransVariance methods.

Finally the inventCostUpdate.reset method is called, to clean up.

See Also

Reference

InventCostUpdate Class