Setting Up AAIs for General Ledger (GL) Entries

After a sales order transaction is followed by Nota Fiscal generation (R76558B) and XML generation (R76B561), update the Brazil taxes by running the Update Sales - Brazil program (R76B803). The system updates the Sales Order Detail File table (F4211) with the ICMS differential and poverty amount tax lines.

Then, run the Sales Update program (R42800) to generate reports that include summary or detail information of general ledger (GL) entries. The system updates the Customer Ledger (F03B11) and Account Ledger (F0911) tables. The GL entries in the R42800 report provide details of ICMS differential sharing and poverty fund calculations.

When you update the general ledger for sales transactions, the system uses AAI 4220 to generate a debit to the posting account and AAI 4240 to generate a credit to the posting account.

Set up distribution AAIs 4220, 4240, and 4230 for ICMS differential and poverty fund calculation. Ensure that you set the Branch Plant field to blank for these accounts in the Account Revision form.