LedgerAccountRestriction_CN::existByRestrictionType Method
Determines whether the specified record in the LedgerAccountRestriction_CN table exists.
Syntax
client server public static boolean existByRestrictionType(RefRecId _ledgerVoucherType, LedgerVoucherRestrictionType_CN _restrictionType)
Run On
Called
Parameters
- _ledgerVoucherType
Type: RefRecId Extended Data Type
The record ID of the LedgerVoucherType_CN record.
- _restrictionType
Type: LedgerVoucherRestrictionType_CN Enumeration
The restriction type.
Return Value
Type: boolean
true if the specified record exists; otherwise, false.