Purpose |
Troubleshooting Steps |
Errors when AAIs are Missing or Incorrectly Setup in the Automatic Accounting Instruction table (F0012) |
Error 023T: AAI missing for a specific GL Offset |
Error 2976: AAI for G/L Class Code Invalid |
Default AAIs (invoices and receipts) setup with specific GL Offsets: |
Error 023Q: AAI Missing |
Error 031T: AAI Account Not Setup |
Default AAIs |
Receipts Specific AAIs |
Delinquency Fee, Deductions, Drafts, and Netting Specific AAIs |
Intercompany Settlements AAIs |
Multi-currency and Alternate Currency Receipt AAIs (Only required in multi-currency environments) |
Error 1309: AAI Account Set Up Error on Multi-Currency Transactions |
Error 0237: AAI Not Found |
Error 2507: AAI Invalid - Use Reference Pgm (F2) |
Error 2978: AAI for Bank Account Invalid |
Error 087C: Alt. Currency Gain/Loss AAIs Invalid |
Error 1130: Currency Gain/Loss AAI Account Invalid |
Error 2973: Gain/Loss and/or Discount AAIs Invalid |
Error 045K: InterCo Settlement AAI error |
Error 4662: InterCo Settlement AAI error |
Error 470K: InterCo Settlement AAI error |
Errors when Account Numbers Associated to AAIs are Not Setup in the Account Master Table (F0901) |
Error 1964: AAI Account Number Invalid |
Error 043C: Account Number &1 is Invalid |
Error 2767: AAI Account Number Invalid - Use Ref Pgm |
Error 2979: AAI Account for Bank Account Invalid |
Error 2977: AAI Account for G/L Class Code Invalid |
Error 2975: AAI Account for Gain/Loss Invalid |
Error 2972: AAI for Discount Account Invalid |
Error 2974: AAI Account for Discount Invalid |
Error 085H: AAI Acct. for Alternate Currency Invalid |
Error 087B: AAI Account for Alt. Gain/Loss Invalid |
Other AAI Related Issues |
Question 2: When posting a batch, why do I get an error of "AE in Error – Posting Edit Code Does not Allow Entry" for a G/L account associated with an AAI? |
Question 3: Why is the post program not using the GL Offset defined on the customer master records for the R8 AAI? |
Use this document to locate and resolve common errors returned by the Account Receivable system regarding Automatic Accounting Instructions used in this system. The key to removing these errors is correct setup of the AAI Items and the accounts assoicated to them.
Overview
Each time you enter a transaction for which the system creates journal entries, the system needs to locate the appropriate account numbers. It does this by reviewing the AAI table for codes that correspond to the transaction. For example, AAIs direct the system to the accounts receivable trade account to debit when you post invoices or the correct bank account to debit when you post receipts. Use this document to locate and troubleshoot common errors returned when entering invoices or receipts, or posting associated batches in Accounts Receivable. For complete information on the setup required for all Accounts Receivable AAIs, link to Overview and Set Up of Accounts Receivable Automatic Accounting Instructions (P0012).
AAI Errors
The system validates for AAI setup upon transaction entry as well as at the beginning of the post process (R09801). The G/L offset(s) used on the transaction(s) are reviewed and the system verifies that AAIs are setup to post the entries needed to balance. Therefore, this error can be returned when entering invoices or receipts, and can also appear in the work center when posting where a GL Offset is specified on the transactions in the batch. When the GL offset contains a specific value, such as XYZ, each AAI has a hierarchical sequence by which the system searches for an account number. For example, when searching for the AR Trade account to post to:
Depending on the type of transaction returning the error, different AAIs must be verified. Review the following AAIs for proper setup of AAI Item + G/L Offset (XXXX) according to the search hierarchy described above:
The system validates for AAI setup upon transaction entry as well as at the beginning of the post process. The system returns this error when an AAI is not setup in Automatic Accounting Instructions. Therefore, this error can be returned when entering invoices or receipts, and can appear in the work center when posting invoices or receipts. Review the following AAIs, depending on the type of transaction and verify your setup is correct:
The following AAIs are edited for during Accounts Receivable transaction entry and processing, including the post process:
The following AAIs can also be edited for during receipts processing and posting, specifically, depending on the receipts process being performed:
If currency is on, the currency code will be evaluated.
Review the following AAI setup, depending on the type of receipt (multi-currency or alternate currency) being processed:
The system returns this error in a multi-currency environment when the account associated to an AAI is not setup correctly. If the account is a monetary account, the account currency code must be the same as the transaction currency code. The currency code of the account's company must be equal to the base currency for the transaction. To resolve this error, either change the AAI to use a different account, or revise the currency codes involved in the transaction. This error will be returned for either or all of the companies involved if any of the multicurrency AAIs have a blank in their business unit fields. The multicurrency AAIs are the following:
Note: The RC and RB AAIs are included in this list, because, although not technically multicurrency AAIs, the business unit is mandatory for these as well.
This error is returned when the AAI account number is not set up in the AAI file for either the discount taken, discount lost, or adjustment reason.
The accounts being validated are:
AR Adjustment Reason = RA + adjustment reason :
AR Discount Taken/Lost = RKD
VAT Tax Account = RT + G/L Offset:
Tax account for taxes when the invoice is posted to GL. For transactions with a specific G/L offset, the system uses RTXXXX (where XXXX = value in G/L Offset field of the Customer Master record (F03012) and entered in the Tax Rate/Area set up) is used depending on which Tax Explanation Code is used. Set up RTXXXX for default Company 00000 if all companies share the same account, otherwise set up for each company using a different account. VAT tax uses RTXXXX. Tax Explanation Code 'B' (combination of VAT and Use tax) uses both RT and RTXXXX. For this code, in the Tax Rate/Area setup, the first line is used for VAT, which requires a G/L Offset, and the second line is the Use tax, which ignores the G/L Offset field.
The system will return this error when entering invoices or receipts and the AAI used to determine the journal entry account number either does not exist or specifies an invalid account number. When this error is returned, you can display the invalid AAIs that caused this error by using the "Referenced Program" facility. Enter the error ID (2507) in the Reference # field and press function key 2 (F2). Once the missing AAI item is identified, refer to Overview and Setup of Accounts Receivable (P0000, P0011, P0002, P0004A, P0012) for setup of all AR AAIs to verify the correct setup.
The system validates for AAI setup upon transaction entry as well as at the beginning of the post process (R09801). The system returns this error when the Bank Account (item RB) AAI is not setup. Therefore, this error can be returned when entering receipts, and can appear in the work center when posting receipts.
The Automatic Accounting Instructions (AAIs) used to determine the journal entry account numbers for the Gain/Loss for Alternate Currency Receipts (paying an invoice in a third currency) do not exist. Verify the missing AAIs:
If you are using foreign currency accounting, an AAI for currency gains and losses, used to record realized gains and losses when invoices are paid, is not set up. Verify the following AAIs:
If you are using foreign currency accounting, AAIs for either currency gains and losses, used to record realized gains and losses when invoices are paid, or Discount Taken/Lost AAIs are not set up. Verify the following AAIs:
When the system returns any of these errors when you post invoice or receipts transactions, the intercompany settlements AAIs are not setup correctly.
For full details on correct setup, see Overview of Intercompany Settlement Methods (P0000).
The system will return this error when entering invoices or receipts or posting batches when the account number specified for an AAI does not exist in the Account Master table (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The system will return this error when the account number specified for an AAI used for the transaction does not exist in the Account Master table (F0901). You can display the invalid AAIs that caused this error by using "Referenced Program" facility. Type the error id (2767) in the Reference # field and press function key 2 (F2). Once you identify which AAI the program is using, you can add the account number associated to the AAI using Review and Revise Accounts (P0901).
The system will return this error when entering receipts or posting batches when the account number specified for the bank account (RB or RBxxxx, where xxxx=gl offset) AAI does not exist in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The system will return this error when entering invoices or receipts or posting batches when the account number specified for the AR Trade account (RC or RCxxxx where xxxx=gl offset) AAI does not exist in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The system will return this error when posting receipts batches when the account number specified for the Gain/Loss accounts (RG or RL) AAI does not exist in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
Either of these errors can be returned by the system when the account number specified for the Discount Taken (RKD) AAI does not exist in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The system will return this error when the account number specified for the Alternate Currency Clearing account (R7) AAI does not exist or is designated as a monetary account in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The system will return this error when the account number specified for the Gain or Loss account for an Alternate Currency receipt (RY and/or RZ) AAI does not exist in the Account Master file (F0901). If posting a batch, verify the account listed in the work center screen is setup in the Review and Revise Accounts (P0901) program.
The following are some frequently asked questions related to troubleshooting AAI setup.
Answer 1: While entering the receipt details and when the 'OK' button is clicked in the receipt entry form, the system validates the AAI setup for the specified account through the business function B0000055 (F0012 Get AAI Account Number). To this function the variable VA frm_CustomerBusinessUnit_MCU is passed which is fetched from the customer master.
The system has to evaluate the business unit from the customer master only. This is because if an invoice is created for a customer the client can override the business unit for that invoice. For example, if 2 invoices are created with 2 different business units. And if a receipt is created and the same receipt is matched against with the above created 2 invoices. In that case, it is not possible for the system to map different business unit from two different invoices with a single receipt.
Also, if an invoice is created with multiple pay items, and if each of the pay item is assigned with different business unit, in that case while matching any receipt with that invoice it is not possible for the system to map the business unit correctly.
Due to this scenario, the system is designed in such a way that it has to take the business unit from the customer master and not from the invoice.
Work around: Set up your AAI per company and populate BU, do not leave it blank.
Answer 2: Use Review and Revise Accounts (P0901) to check the Review the Posting Edit (PEC) for the AAIs involved. If you aren’t sure which AAI is the issue, link to the section above for information. The PEC value can be blank (allow all posting), but accounts associated to AAIs are recommended to have a PEC of M for Machine generated; this is to make sure these accounts are not used for other types of transactions or erroneous journal entries, which will cause out of balance integrity issues..
Answer 3: The R8 AAI is not designed to be set up with a GL offset.