Functional Description
Purpose
This function will retrieve the currency code and the base company currency code for a given account
id. The account currency code will be retrieved from the Account Master File (F0901). The account
company currency code will be retrieved from the Company Master file (F0010) using the
"RetrieveCompanyCurrencyCode" business function.
Setup Notes and Prerequisites
The short account id will need to be derived (probably though XX0901) and sent to this business
function.
Special Logic
Technical Specification
Fetch account master record (F0901) which matches the account id passed in as a parameter. If the
record is not found then return an error.
Use the company from the account master record and call the business function
"RetrieveCompanyCurrencyCode" to load the currency code of the company.
D0000037 - Retrieve Account Currency
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAccountID | AID | char | NONE | NONE |
Special Input Expected
| ||||
szCurrencyCodeFrom | CRCD | char | NONE | NONE |
Special Output Returned
| ||||
szCompanyCurrency | CRDC | char | NONE | NONE |
Special Output Returned
|
B0000128 Retrieve Company Currency Code |
F0901 Account Master |