AxdReturnOrderIn.prepareForDelete Method [AX 2012]
Prepares an AxBC class to delete the record.
Syntax
public boolean prepareForDelete(AxdStack _axBcStack, str _dataSourceName)
Run On
Server
Parameters
- _axBcStack
Type: AxdStack Class
A stack of AxBC instances.
- _dataSourceName
Type: str
The data source name.
Return Value
Type: boolean
true if the top element on the stack can be deleted; otherwise, false.
Remarks
This method is used to delete the record in a document. Before this method is run, an additional check by the ValidateDelete method is performed.