Export (0) Print
Expand All
Expand Minimize

xRecord.skipDeleteActions Method [AX 2012]

Gets and sets the property that indicates whether to skip delete actions on the table.

public boolean skipDeleteActions([boolean newValue])

Run On

Called

Parameters

newValue
Type: boolean
A Boolean value that indicates whether to ignore requests to delete records; optional.

Return Value

Type: boolean
true if requests to delete records should be ignored; otherwise, false.

This method works only when you are using a set-based operation, such as the delete_from statement. If you use it on a row-based operation, such as the xRecord.delete method, the property will not be respected, and the delete action will still be called.

Community Additions

ADD
Show:
© 2014 Microsoft