Ledger::accountingCurrency Method
Gets the accounting currency of the Ledger record for the specified legal entity.
Syntax
client server public static CurrencyCode accountingCurrency([LegalEntity _legalEntityRecId])
Run On
Called
Parameters
- _legalEntityRecId
Type: LegalEntity Extended Data Type
The record ID of the legal entity; optional.
Return Value
Type: CurrencyCode Extended Data Type
The accounting currency code of the record.
Remarks
If no legal entity is specified, the accounting currency of the current legal entity is returned.