AxdBudgetTransaction.prepareForSave Method [AX 2012]
Prepares a AxBudgetTransactionHeader or AxBudgetTransactionLine class for saving.
Syntax
public boolean prepareForSave(AxdStack _axdStack, str _dataSourceName)
Run On
Server
Parameters
- _axdStack
Type: AxdStack Class
The stack of AxBC class instances.
- _dataSourceName
Type: str
The data source name.
Return Value
Type: boolean
true if the top element on the stack should be saved; otherwise, false.
Remarks
The prepareForSave method is called immediately before saving the stack top node. It is called if a new record is being created.