Functional Description
Purpose
The purpose of this business function is to get the currency decimals and update the MATH_NUMERIC
structure for all Math Numerics provided. This is used mainly at the data base trigger level where it
is run automatically when currency processing is on.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Use ledger type to run the JDB API JDB_RetrieveF0025RowUsingLedgerType to retrieve the currency code
from the ledger type record cached.
If the ledger type currency code is not blank, use this currency code to run the JDB API
JDB_RetrieveF0013RowUsingCurrencyCode to retrieve the decimals for the currency from the cache. Run the API's
jdeMathSetDecimals and jdeMathSetCurrCode to set the currency decimals and currency code for each of the
15 DOMESTIC and 15 FOREIGN Math Numeric amounts in the data structure.
If the ledger type currency code is blank and the ledger type is not 'CA', use the base currency code
to run the JDB API JDB_RetrieveF0013RowUsingCurrencyCode to retrieve the decimals for the currency
from the cache. Run the API's jdeMathSetDecimals and jdeMathSetCurrCode to set the currency decimals
and currency code for each of the 15 DOMESTIC Math Numeric amounts in the data structure.
If the ledger type currency code is blank and the ledger type is not 'CA', use the transaction
currency code to run the JDB API JDB_RetrieveF0013RowUsingCurrencyCode to retrieve the decimals for the
currency from the cache. Run the API's jdeMathSetDecimals and jdeMathSetCurrCode to set the currency
decimals and currency code for each of the 15 FOREIGN Math Numeric amounts in the data structure.
If the ledger type is 'CA', use the transaction currency code to run the JDB API
JDB_RetrieveF0013RowUsingCurrencyCode to retrieve the decimals for the currency from the cache. Run the API's
jdeMathSetDecimals and jdeMathSetCurrCode to set the currency decimals and currency code for each of the 15
DOMESTIC and FOREIGN Math Numeric amounts in the data structure.
D1100014 - Decimal Trigger Get By LT CRDC CRCD
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szLedgerType | LT | char | NONE | NONE |
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
| ||||
szBaseCurrencyCode | CRDC | char | NONE | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
szTransactionCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
mnDomesticAmount01 | AN01 | MATH_NUMERIC | NONE | NONE |
A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount02 | AN02 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount03 | AN03 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount04 | AN04 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount05 | AN05 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount06 | AN06 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount07 | AN07 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount08 | AN08 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount09 | AN09 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount10 | AN10 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount11 | AN11 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount12 | AN12 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount13 | AN13 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount14 | AN14 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnDomesticAmount15 | AN15 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount01 | AN16 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount02 | AN17 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount03 | AN18 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount04 | AN19 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount05 | AN20 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount06 | AN21 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount07 | AN22 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount08 | AN23 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount09 | AN24 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount10 | AN25 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount11 | AN26 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount12 | AN27 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount13 | AN28 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount14 | AN29 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
| ||||
mnForeignAmount15 | AN30 | MATH_NUMERIC | NONE | NONE |
Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company
|
None |
F0013 Currency Codes | ||||
F0025 Ledger Type Master File |