BudgetControlConfiguration::existActiveForPrimaryLedger Method
Indicates whether an active BudgetControlConfiguration record exists for the specified primary ledger.
Syntax
client server public static boolean existActiveForPrimaryLedger(LedgerRecId _primaryLedgerRecId, [boolean _useCacheLookup])
Run On
Called
Parameters
- _primaryLedgerRecId
Type: LedgerRecId Extended Data Type
The record ID of the primary Ledger record.
- _useCacheLookup
Type: boolean
A Boolean value that indicates whether to read the record using the cache lookup settings; optional.
Return Value
Type: boolean
true if the active BudgetControlConfiguration record exists; otherwise, false.
Remarks
The _useCacheLookup should only be set to false when the existence of the BudgetControlConfiguration record must be ensured for setup data integrity.