Share via


AxdCustomer.prepareForSaveExtended Method [AX 2012]

Prepares an AxBC class to be saved.

Syntax

public boolean prepareForSaveExtended(
    AxdStack _axBcStack, 
    str _dataSourceName, 
    AxdRecordProcessingContext _recordProcessingContext, 
    AxInternalBase _childRecord)

Run On

Server

Parameters

  • _axBcStack
    Type: AxdStack Class
    A stack of instances of the AxBC class.
  • _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

This method is called immediately before saving the top node of the stack. It method is called if a new record is being created. The _recordProcessingContext specifies when to process the top record of the stack relative to the child records of that record.

See Also

Reference

AxdCustomer Class