LedgerAccountRestriction_CN::findByNaturalKey Method
Finds the ledger account restriction by natural key.
Syntax
client server public static LedgerAccountRestriction_CN findByNaturalKey(
RefRecId _ledgerVoucherType,
LedgerJournalACType _accountType,
DimensionDynamicAccount _account,
LedgerVoucherRestrictionType_CN _restrictionType,
[boolean _forupdate])
Run On
Called
Parameters
- _ledgerVoucherType
Type: RefRecId Extended Data Type
The ledger voucher type.
- _accountType
Type: LedgerJournalACType Enumeration
The account type.
- _account
Type: DimensionDynamicAccount Extended Data Type
The account.
- _restrictionType
Type: LedgerVoucherRestrictionType_CN Enumeration
The restriction type.
- _forupdate
Type: boolean
The forUpdate flag.
Return Value
Type: LedgerAccountRestriction_CN Table
The instance of the LedgerAccountRestriction_CN class.