RetailPaymReturnChangeSlipUIBuilder_RU.validateDisbursementSlipIdValue Method [AX 2012]
Validates the cash disbursement slip number.
Syntax
protected boolean validateDisbursementSlipIdValue(RCashDocId _disbursementSlipId, [boolean _throwOnError])
Run On
Called
Parameters
- _disbursementSlipId
Type: RCashDocId Extended Data Type
Cash disbursememt slip number to validate.
- _throwOnError
Type: boolean
Determines whether to throw an error if falidation fails; false by default, optional.
Return Value
Type: boolean
true if the validation succeeded; false otherwise.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if any validation fails if _throwOnError parameter is true. |