Share via


PmfFormCtrl.dataSourceValidateDelete Method [AX 2012]

Validates the deletion in a data source.

Syntax

public boolean dataSourceValidateDelete()

Run On

Called

Return Value

Type: boolean
true if the deletion is valid; otherwise, false .

Remarks

The base implementation of this method calls the same method on all PmfFormCtrl objects that are assigned as sub-controls to this object. All child classes must call this parent method when they override this method. The form must only call this event method when there is actual code that is associated with the event method or any of the sub-controls that are associated with this object.If the call to this method in any sub-control returns false, this method will return false and no subsequent sub-controls will be executed.

See Also

Reference

PmfFormCtrl Class