Share via


AxdProjWBS.prepareForDeleteExtended Method [AX 2012]

Prepares an AxBC class to be deleted.

Syntax

public boolean prepareForDeleteExtended(
    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 deleted; otherwise, false.

Remarks

Derived classes can override this method.The prepareForDeleteExtended method should be overloaded when additional checks must be performed before deleting a record in a document. The default implementation calls the validateDelete method on the current record.The prepareForDeleteExtended method is called immediately before deleting the stack top node.The _recordProcessingContext parameter specifies when the top record of the stack is being processed in relation to the child records of that record.

See Also

Reference

AxdProjWBS Class