RetrieveLedgerTypeCurrency

Retrieve Ledger Type Currency

Minor Business Rule

Object Name: B0000069

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

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.


Data Structure

D0000069 - Retrieve Ledger Type Currency

Parameter NameData ItemData TypeReq/OptI/O/Both
szLedgerTypeLTcharNONENONE

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 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szCompanyCOcharNONENONE

Optional field
^

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

F0010 Company Constants
F0025 Ledger Type Master File