| Case Number | 00032661 |
| Oracle Module | Accounts Payable (AP) |
| EBS Version | 11i |
| Functional Area | AP Accounting / Journal Entry Lines |
| Related Patches | None |
AP_AE_LINES_ALL are out of balance, causing downstream GL reconciliation issues.The accounting entry line records in AP_AE_LINES_ALL were created with incorrect entered_dr, accounted_dr, entered_cr, and accounted_cr values, typically due to a rounding error, a manual override, or a system calculation failure during the accounting run. The debit line and its corresponding credit line both contained wrong amounts that needed direct correction.
Run data_fix.sql. The script first creates a backup of the affected rows:
CREATE TABLE rsi_ap_ae_lines_<case> AS SELECT * FROM ap_ae_lines_all WHERE ae_line_id IN (<debit_line_id>, <credit_line_id>);
A SELECT on the backup table confirms 2 rows were captured before any modifications.
Set entered_dr and accounted_dr to the correct amount on the debit AE line.
Set entered_cr and accounted_cr to the correct amount on the credit AE line.
Issue COMMIT. Verify the GL balance and AP reports now reflect the corrected amounts.
AP_AE_LINES_ALL is an Oracle 11i table. In R12 environments, the equivalent records reside in XLA (Subledger Accounting) tables. This fix is specific to Oracle EBS 11i instances.
| File | Description |
|---|---|
| data_fix.sql | Creates backup of AP_AE_LINES_ALL records; updates entered_dr/accounted_dr on the debit line and entered_cr/accounted_cr on the credit line to the correct amounts. |
| Table | Action |
|---|---|
| AP_AE_LINES_ALL | Update entered_dr, accounted_dr (debit line); entered_cr, accounted_cr (credit line) |