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 the Account ID to get the Acount's company. Using company, run the JDB API
JDB_RetrieveF0010RowUsingCompanyNumber retrieve the currency code from the company record cached. This currency code gets
used in the jdeMathSetCurrCode as a parameter for the domestic amounts.
Using the currency code from the company, 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 Math Numeric amounts in the data structure.
D1100013 - Decimal Trigger Get By AID
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAccountID | AID | char | NONE | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
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
|
None |
F0010 Company Constants | ||||
F0013 Currency Codes | ||||
F0901 Account Master |