Functional Description
Purpose
The currency code is returned either from the F0025 table, or from the F0010 table.
Technical Specifications
Processing
The function retrieves the currency code of the Ledger Type from the F0025 table. If the Ledger Type
does not have a currency code, the currency code of the company from the F0010 table is retrieved.
If a company is passed to the function, that company is used. If a company is not passed to the
function, the currency code for company 00000 is retrieved. For the CA ledger type, no currency code is
returned.
D0000069 - Retrieve Ledger Type Currency
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szLedgerType | LT | char | NONE | NONE |
A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You
| ||||
szCompany | CO | char | NONE | NONE |
Optional field
| ||||
szCurrencyCodeFrom | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. |
None |
F0010 Company Constants | ||||
F0025 Ledger Type Master File |