1.Functional Description
1.1Purpose
The purpose of this business function is to edit the A/P AAIs P7, PY and PZ for the alternate currency gain/loss and offset.
Error 085H is received if (1) there's no AAI P7set up for your bank account's company, (2) the account specified by P7 for your bank account's company
does not exist in F0901, or (3) the account specified by P7 for your bank account's company is a monetary account (i.e, F0901 currency code is not blank).
Note that there is no default Company 00000 logic here. Also, if the base company of the account specified by P7 for your bank account's company is not
equal to your bank account's company, error 085I is received.
So, if your bank account is in Company 00001 (USD), you have to set up an AAI item P7, company 00001, pointing to a valid nonmonetary account
belonging to a USD company.
When editing AAI's PY and PZ, error 087C is received if either PY or PZ has not been set up in F0012. It looks for PY/PZ in the following order....
voucher's g/l class and bank account's company (e.g., AAI item PY4110, company 00001)
blank and bank account's company (e.g., AAI item PY, company 00001)
payment currency code and default company (e.g., AAI item PYEUR, company 00000)
voucher's g/l class and default company (e.g., AAI item PY4110, company 00000)
blank and default company (e.g., AAI item PY, company 00000)
Error 087B is received if the account specified by PY or PZ is not set up in F0901.
Error 087D is received (1) if the account specified by PY or PZ is a monetary account or (2) if the base company of the account specified by PY or PZ is
not equal to your bank account's company.
1.2Setup Notes and Prerequisites
1.3Special Logic
^
D0400500 - F0012 Edit Alternate Currency AP AAIs
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAAI_To_Edit | ITEM | char | OPT | NONE |
A hard-coded field that defines an account or range of accounts used for a particular function. For example, item GLG4 defines the retained
| ||||
szCompany | CO | char | OPT | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szGlClass | GLC | char | OPT | NONE |
A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates
| ||||
szCurrencyCode | CRCD | char | OPT | NONE |
A code that identifies the currency of a transaction. | ||||
szVoucherBaseCurrencyCode | CRCD | char | OPT | NONE |
A code that identifies the currency of a transaction. | ||||
szErrorDataItem | DTAI | char | OPT | NONE |
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
|
None |
None |