ReasonFormTable::checkReasonCodeForAccountType Method [AX 2012]
Checks whether a reason code is enabled for a specific account type.
client server public static boolean checkReasonCodeForAccountType(ReasonRefRecID _reasonRefRecID, LedgerJournalACType _ledgerJournalACType)
Run On
CalledParameters
- _reasonRefRecID
- Type: ReasonRefRecID Extended Data Type
The reference ID of the reason code.
- _ledgerJournalACType
- Type: LedgerJournalACType Enumeration
The ledger journal account type to check under.
Return Value
Type: booleanA Boolean value indicating whether the reason code exists for the given account or not.
Show: