LeanDocumentDataProvider.isCurrentRecordValid Method [AX 2012]
Provides a runtime hook for validating the current record.
Syntax
protected boolean isCurrentRecordValid()
Run On
Server
Return Value
Type: boolean
true if the current record is valid; otherwise, false.
Remarks
The main assumption is that not all constraints of the provider can be modeled with a query object. Therefore, you must have a way to provide per-record validation.