2. Debugging Accounting Issues–R12
Agenda
• Accounting Data Model in Release 12
• Tools to Debug Accounting Issues in Release 12
• Common Issues encountered in Release 12 Accounting
(taking some SR examples)
• Where to start? What data to collect?
• How to diagnose the problem and identify the nature of
corruption/cause?
4. Debugging Accounting Issues–R12
EVENT_STATUS_CODE and PROCESS_STATUS_CODE in XLA_EVENTS
EVENT_STATUS_CODE
Event type code
I
N
P
U
Meaning
Incomplete
--Invoice has unreleased holds
No action
Processed
Unprocessed
PROCESS_STATUS_CODE
Processing status codeMeaning
D
Draft
E
Error
I
Incomplete
--There are errors against the event
P
Processed
R
Related event in error
U
Unprocessed
5. Debugging Accounting Issues-R12
Debugging Tools
• APList Diagnostics (Note 732163.1)
• Create Accounting Process Output File
• ReadAPList Tool
• SLA GDF Diag Script (Note 1114333.1)
• GDF Master Note (Note 874903.1)
• Accounting Health Check (Note 463727.1)
• WebIV
• FND Debug Log
Useful Notes
• Troubleshooting R12 Period Close (Note 437422.1)
• Troubleshooting R12 Accounting Issues (Note 732928.1)
• Troubleshooting Encumbrance related Accounting Issues (
Note 1055606.1)
• Troubleshooting Trial Balance Issues in R12 (Internal Note 471457.1)
• How do you undo accounting in R12? (Note 753695.1)
6. Debugging Accounting Issues
Issue 1 (Unvalidated Invoice)
Cannot release Dist Variance Hold on Invoice Id 361268 /
Num 2009_RU_PUR_4444_JAIPUR
What to get?
• APList Diag
Where to start?
• ReadAPList
• GDF Master Note (note 874903.1)
• Invoice GDF Note (note 1076312.1)
Note 1060611.1 -R12 Generic Data Fix (GDF) Patch Number
9088967 - Correct Invoices On Which an Unsuccessful
Cancellation was Attempted
7. Debugging Accounting Issues
Issue 2 (Prepay Appl/Unappl Accounting)
Cannot Account Prepay Appl/Unappl Events
What to get?
• APList Diag
• Create Accounting Output file
Where to start?
• ReadAPList
• GDF Master Note (note 874903.1)
Note 970912.1 R12 Generic Data Fix (GDF) patch
Prepayment Applied/Unapplied events that can not be
accounted after the invoice is Cancelled.
8. Debugging Accounting Issues
Issue 3 (Payment Accounting)
Cannot fully account voided Check Num 196908 (ID
15618)
What to get?
• APList Diag
• Create Accounting Output file
• FND Log
Where to start?
• ReadAPList
• GDF Master Note (note 874903.1)
• Logged Bug - GDF Patch 9208213:R12.AP.A (
Note 874705.1)
9. Debugging Accounting Issues
Issue 4 (Error 0-Cause1)
Accounting error zero is occuring for Payments
What to get?
• APList Diag
• Create Accounting Output files
Where to start?
• Note 1112504.1-R12 - Troubleshooting Accounting
Errors
• GDF Master Note (note 874903.1)
• R12 Generic Data Fix (GDF) Patch 9245144 - Approved
Invoice Distributions and / or Payments Missing
ACCOUNTING_EVENT_ID (Doc ID 972261.1)
10. Debugging Accounting Issues
Issue 5 (Error 0-Cause2)
Accounting error zero is occuring for Payments
What to get?
• APList Diag
• Create Accounting Output files
Where to start?
• Note 1112504.1-R12 - Troubleshooting Accounting Errors
• GDF Master Note (note 874903.1)
If this was an upgraded invoice, worth checking on:
• Note 1054299.1 R12 GDF TO POPULATE MISSING XDL FOR ALL
MIGRATED TRANSACTIONS / Note 1054322.1 R12 GDF TO
POPULATE MISSING XDL FOR UPSTREAM TRANSACTIONS
• NOTE.604893.1R12: FAQ for the SLA Upgrade: SLA Pre-Upgrade,
Post-Upgrade
• APList shows no Invoice Accounting for 18 – Needs a new datafix bug
11. Debugging Accounting Issues
Issue 6 (Error 0-The applied-to sources provided for this line are
invalid or incomplete)
Error in create account, get CCID =-1 for cash clearing
What to get?
• APList Diag
• Create Accounting Output files
Where to start?
• GDF Master Note (note 874903.1)
• GDF Diag Script (Note 1114333.1)
Note 1177653.1 -R12 GDF :PAYMENT CLEARING EVENT ERROR 0 THE APPLIED-TO SOURCES PROVIDED FOR
THIS
• Note.787983.1 WHY PAYMENT ADJUSTMENT EVENTS ARE
CREATED IN R12
12. Debugging Accounting Issues
Issue 6 (Period Close Issue)
Closing the accounting period, customer gets problems ,
exceptions reported but when reviewing the exception
report, the report is empty
What to get?
• Closing reports and processes versions
• Check_Close.sql results
Where to start?
• R12 Troubleshooting Period Close in Payables (Doc ID
437422.1)
13. Debugging Accounting Issues
In Release 12, ALL datafixes should be either provided as a
GDF Patch, when none existing, a datafix bug should be
logged to be approved by dev.
Never attempt to provide a datafix, however simple it maybe
without dev approval.