AxLedgerJournalTrans.validateField Method [AX 2012]
Calls the validateField method for the current record and upon failure throws an exception as a fault or an error.
Syntax
protected void validateField(FieldId _field)
Run On
Called
Parameters
- _field
Type: FieldId Extended Data Type
The field identifier that corresponds to the field being validated.
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.validateField table method.
If the continueOnError parameter is true, an exception will not be thrown.