Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates whether the record passed in can be deleted, based on which module opened the form.
Syntax
public boolean validateDelete(ReasonTable _reasonTable)
Run On
Called
Parameters
- _reasonTable
Type: ReasonTable Table
The record to validate.
Return Value
Type: boolean
true if the record passes validation; otherwise, false.
Remarks
The validation return value will be:
true if all reason code type fields (bank, cust, ledger, vend, asset) are false
true if reasonCodeAccountType is asset; and bank, cust, ledger, and vend fields are false
true if reasonCodeAccountType is bank; and asset, cust, ledger, and vend fields are false
true if reasonCodeAccountType is cust; and bank, asset, ledger, and vend fields are false
true if reasonCodeAccountType is ledger; and bank, cust, asset, and vend fields are false
true if reasonCodeAccountType is vend; and bank, cust, ledger, and asset fields are false
otherwise, false