AxLedgerJournalTrans.validateWrite Method [AX 2012]
Calls the validateWrite method for the current record and upon failure throws an exception as a fault or an error.
Syntax
protected void validateWrite()
Run On
Called
Exceptions
Exception | Condition |
---|---|
Error | An error is found when validating the record. |
Error | An error is found when validating the record. |
Remarks
This method overrides the base implementation. Therefore, this AxLedgerJournalTrans instance can be passed to the LedgerJournalTrans.validateWrite table method.
If the continueOnError parameter is true, an exception will not be thrown.