ConvertCurrencyAmountsForCSMS

Convert Currency Amounts For S/WM

Minor Business Rule

Object Name: N1702180

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D1702180A - Convert Currency Amounts For S/WM

Parameter NameData ItemData TypeReq/OptI/O/Both
szBaseCurrencyCRDCcharOPTINPUT

A code that identifies the domestic (base) currency of the company on a transaction. 

szForeignCurrencyCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

mnCurrencyRateCRRMATH_NUMERICOPTINPUT

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

mnDomesticAmountAGMATH_NUMERICOPTBOTH

A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
system clears the gross amount field.

jdTransactionDateEFTJDEDATEOPTINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

cModeOfConversionEV01charOPTINPUT

1 = convert domestic to foreign
2 = convert foreign to domestic

szErrorMessageDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

mnForeignAmountACRMATH_NUMERICOPTBOTH

The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
to Y, the foreign amount is multiplied by the exchange rate to arrive at the domestic amount. If the Multi-Currency Conversion option is set to Z, 
the foreign amount is divided by the exchange rate.

mnAddressNumberAN8MATH_NUMERICOPTINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

Related Functions

None

Related Tables

None