RetrieveCurrencyDecimals

Retrieve Currency Decimals

Minor Business Rule

Object Name: B0000129

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function will retrieve a currency code's decimals from the Currency Codes Master table. 

 It will most typically be used in batch type applications, such as the G/L Post and Currency 

Restatement.


Setup Notes and Prerequisites


Special Logic




Technical Specification


Processing

If the data can not be retrieved, error message number 0002 - Record Invalid will be set.


^

Data Structure

D0000129 - Retrieve Currency Decimals

Parameter NameData ItemData TypeReq/OptI/O/Both
szCurrencyCodeCRCDcharNONENONE

A code that identifies the currency of a transaction. 

cDataDisplayDecimalsCDECcharNONENONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

Related Functions

None

Related Tables

F0013 Currency Codes