Functional Description
Purpose
This function defaults the Currency Code either from the Address Book, or the Company. It defaults
the Currency Rate to Zero, if transaction Currency Code is the same as the Company Currency Code. It
defaults the Currency Mode based on transaction Currency Code and Company Currency Code.
Setup Notes and Prerequisites
Related Functions - Retrieve Company Currency Code - B0000128.
Special Logic
The defaults are only performed on an ADD.
Technical Specification
D0000287 - Default Currency Fields
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szABCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szTranCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
mnCurrencyRate | CRR | MATH_NUMERIC | NONE | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
cCurrencyMode | CRRM | char | NONE | NONE |
An option that specifies whether the system displays amounts in the domestic or foreign currency.
On
The system displays amounts in the
|
B0000128 Retrieve Company Currency Code |
None |