AxdCustomer.prepareForUpdateExtended Method [AX 2012]
Prepares an AxBC class to be updated.
Syntax
public boolean prepareForUpdateExtended(
AxdStack _axBcStack,
str _dataSourceName,
AxdRecordProcessingContext _recordProcessingContext,
AxInternalBase _childRecord)
Run On
Server
Parameters
- _axBcStack
Type: AxdStack Class
A stack of instance of the AxBC class.
- _dataSourceName
Type: str
The data source name.
- _recordProcessingContext
Type: AxdRecordProcessingContext Enumeration
The record processing context.
- _childRecord
Type: AxInternalBase Class
The child record.
Return Value
Type: boolean
true if the top element on the stack should be updated; otherwise, false.
Remarks
The prepareForUpdateExtended method is called immediately before the top node of the stack is saved. This method is called if an existing record is being updated. The _recordProcessingContext parameter specifies when to process the top record of the stack relative to the child records of that record.