Oracle R12 P2P Accounting Troubleshooting Notes - by Dinesh Kumar S
Oracle R12 P2P Accounting Troubleshooting Notes - by Dinesh Kumar S
Oracle R12 P2P Accounting Troubleshooting Notes - by Dinesh Kumar S
Accounting Entries
Payables (AP)
(Oracle Document Reference)
Types of Accounts
Account
Type
Liability
Prepayment
Bill Payable
Description
You can use Bills Payable to control the timing of your payments and,
therefore, control your cash flow.
A bill payable, formerly known as a future dated payment, instructs your
bank to disburse funds to your supplier's bank on a specific date known
as the maturity date.
Other commonly used terms for this type of payment are notes payable
or promissory notes.
Account Type
Discount Taken
Description
PO Rate Variance
Gain/Loss
Expense Clearing
Miscellaneous
Retainage
Realized
Gain/Loss
Account Type
Rounding
Description
Freight
Cash Clearing
Cash
Bank Charges
Bank Error
Payables use this account when you use multiple currencies and the
payment currency does not round within the payment currency precision.
For example, if a payment rounds to 100.001 UKS, the payment will be for
100.00 UKS, and the rounding error of .001 will be recorded in this
account.
If you enable the Automatically Create Freight Distribution Payables
option, you must enter a freight account.
Payables use this account as the default freight account for an invoice. You
can override this account during invoice entry.
The cash clearing account you associate with a payment document.
You use this account if you integrate Oracle Payables with Oracle Cash
Management, or if you generate future dated payment documents.
Oracle Payables credits this account instead of your Asset (Cash) account
and debits your Liability account when you post uncleared payments.
Oracle Payables debits this account and credits your Asset (Cash) account
once you clear your payments in Oracle Cash Management.
You must enable the Allow Reconciliation Accounting Payables option to
be able to enter a cash clearing account for a bank account and payment
document.
Cash Management enables you to reconcile payments you created in
Oracle Payables against your bank statements.
You can use Cash Management to: Automatically account for the delay in
bank clearing of payments by crediting a cash clearing account when you
issue a payment, and clear the balance with a cash account when you
reconcile the payment.
If you have enabled the Allow Reconciliation Accounting Payables option
and you are using Oracle Cash Management to reconcile your payments,
enter the bank charges account you are associating with a bank account.
When you reconcile your invoice payments using Oracle Cash
Management, Payables creates accounting entries to record your bank
charges using this account.
The account you enter here defaults to the Bank Charges account field in
the GL Accounts region of the Payment Documents window.
If you have enabled the Allow Reconciliation Accounting Payables option
and you are using Oracle Cash Management to reconcile your payments,
enter the bank errors account you are associating with a bank account.
When you reconcile your invoice payment using Oracle Cash
Management, Payables creates accounting entries to record any bank
errors using this account. The account you enter here defaults to the Bank
Errors account field in the GL Accounts region of the Payment Documents
window.
Setups
Financial Options
Payable Options
Supplier Site
Bank Accounts
Withholding Tax
Invoice
ebusinss-Tax
For some accounts the accounting details will be defaulted from Payables Organization Level
setups i.e. how the account should behave or which method should follow they are,
Default Account
Sno.
1.
2.
3.
4.
5.
Prepayment
Bills Payable
Discount
Interest
Withholding Tax
Setup Level
Financial
Options
Payables
Options
Supplier
Site
Bank
Withholding
Accounts
Tax
Invoice
eBizTax
Account Type
Segment Qualifier
Liability
Prepayment
Bills Payable
Discount Taken
PO Rate variance Gain
PO Rate variance Loss
Expense Clearing
Miscellaneous
Retainage
Realized Gain
Realized Loss
Rounding
Fright
Tax Difference
Internet Expense
Internet Liability
Cash
Cash Clearing
Bank Charges
Bank Errors
Liability
Asset
Liability
Expense
Revenue
Expense
Expense
Expense
Liability
Revenue
Expense
Expense
Expense
Liability
Expense
Liability
Asset
Asset
Expense
Expense
Setups Details:
Financial Options:
Payables Option:
Accounting Option:
10
Currency:
11
Invoice:
12
Interest:
Supplier Site:
13
Bank Account:
Withholding Tax:
14
Application
Oracle Payables
Oracle Payables
Entity Name
AP Invoices
AP Payments
Description
Invoices
Payments
Event Classes:
Entity
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Invoices
AP Payments
AP Payments
AP Payments
AP Payments
15
Process Categories:
Below are the payables predefined process categories.
Process Categories
Invoice
Payments
Third Party Merge
Process
Category
Default Journal
Category
Balance Type
Invoices
Invoices
Purchase Invoices
Purchase Invoices
Encumbrance
Encumbrance
Invoices
Invoices
Purchase Invoices
Purchase Invoices
Debit Memos
Invoices
Purchase Invoices
Invoices
Invoices
Purchase Invoices
Prepayment Applications
Invoices
Purchase Invoices
Prepayments
Invoices
Purchase Invoices
Payments
Payments
Payments
Payments
Reconciled Payments
Payments
Reconciled Payments
Refunds
Payments
Payments
Encumbrance
Actual and
Encumbrance
Actual and
Encumbrance
Actual and
Encumbrance
Actual and
Encumbrance
Actual and
Encumbrance
Actual
Actual and
Encumbrance
Actual and
Encumbrance
Actual and
Encumbrance
16
Accrual Accounting
- Accrual-based accounting recognizes
income when goods are shipped or
services are rendered.
- An expense is recognized when the
business is obligated to pay it.
Example 1:
Your computer installation business finishes a job in November, and doesn't get paid until three
months later in January.
o Under the cash method, you would record the payment in January.
o Under the accrual method, you would record the income in your November books.
Example 2:
You purchase a new laser printer on credit in May and pay $1,000 for it in July, two months
later.
o Using the cash method, you would record a $1,000 payment for the month of July, the
month when the money is actually paid.
o Under the accrual method, you would record the $1,000 payment in May, when you
take the laser printer and become obligated to pay for it.
17
- While the accrual method shows the ebb and flow of business income and debts more
accurately, it may leave you in the dark as to what cash reserves are available, which
could result in a serious cash flow problem.
- For instance, your income ledger may show thousands of dollars in sales, while in reality
your bank account is empty because your customers haven't paid you yet.
- Though the cash method provides a more accurate picture of how much actual cash
your business has, it may offer a misleading picture of longer-term profitability.
- Under the cash method, for instance, your books may show one month to be
spectacularly profitable, when actually sales have been slow and, by coincidence, a lot
of credit customers paid their bills in that month.
18
19
Accrual Basis:
Event Class
Assignments
Credit Memos
Debit Memos
Future Dated
Payments
Invoices
Payments
Prepayment
Applications
Prepayments
Reconciled Payments
Refunds
Event Type
Assignments
All
All
All
Create
Accounting
Yes
Yes
Yes
All
All
All
Yes
Yes
Yes
All
All
Yes
Yes
All
Yes
Cash Basis:
Event Class
Assignments
Credit Memos
Debit Memos
Future Dated
Payments
Invoices
Payments
Prepayment
Applications
Prepayments
Reconciled Payments
Refunds
Event Type
Assignments
All
All
All
Create
Accounting
No
No
Yes
All
All
All
No
Yes
Yes
All
All
All
No
Yes
Yes
20
Lets see hat happe s he budgetary control i.e. with Encumbrance Accounting is enabled.
Event Class
Assignments
Burden for Invoices
Event Type
Create
Journal Line Definition Assignments
Assignments Accounting
All
Yes
Invoice Burden and Project Encumbrance
ALL
Burden for Prepayment
All
Yes
Prepayment Application Burden and
Applications
Project Encumbrance ALL
Burden for
All
Yes
Prepayment Burden and Project
Prepayments
Encumbrance ALL
Credit Memos
All
Yes
Accrual, Credit Memos All; Encumbrance
Credit Memos All; Encumbrance Reversal
for Credit Memo
Debit Memos
All
Yes
Accrual, Debit Memos All; Encumbrance
Debit Memos All; Encumbrance Reversal
for Debit Memos
Future Dated Payments
All
Yes
Accrual, Future Dated Payments All
Invoices
All
Yes
Accrual, Invoices All; Encumbrance for
Invoices; Encumbrance Reversal for
Invoices
Payments
All
Yes
Accrual, Payments All
Prepayment
All
Yes
Accrual, Prepayment Applications All;
Applications
Encumbrance Reversal for Prepayment
Applications; Encumbrance Prepayment
Applications
Prepayments
All
Yes
Accrual, Prepayments All; Encumbrance
for Prepayments All; Encumbrance
Reversal for Prepayments
Reconciled Payments
All
Yes
Accrual, Reconciled Payments All
Refunds
All
Yes
Accrual, Refunds All
21
Event Class
Assignments
Burden for Invoices
Event Type
Assignments
All
Burden for
Prepayment
Applications
Burden for
Prepayments
Credit Memos
Debit Memos
Future Dated
Payments
Invoices
Payments
All
Create
Journal Line Definition Assignments
Accounting
Yes
Invoice Burden and Project
Encumbrance ALL
Yes
Prepayment Application Burden and
Project Encumbrance ALL
All
Yes
All
All
All
Yes
Yes
Yes
All
All
Yes
Yes
Prepayment
Applications
All
Yes
Prepayments
Reconciled Payments
All
All
Yes
Yes
Refunds
All
Yes
22
Accounts
Expense (AP Accrual)
Debit
Tax
Freight
Retainage
Credit
Comments
Used: During Manual Invoice Creation.
Defaulted: AP Accrual is defaulted when
invoice is matched to PO/Receipt for goods
items.
Defined @ Oracle eBiz-Tax & inserted upon
invoice validation
Defaulted: he li e type is Freight .
Defaulted: When invoice is matched to
Service Procurement PO/Receipts.
Note** it is Debited when invoice of type
Retainage Release is reated.
Liability
Invoice Price Variance
Quantity Variance
PO Exchange Rate
Variance
23
Tax Variance
Internet Expense
Internet Liability
24
Prepayment
Accounts
Prepayment
Liability
Debit
Credit
Comments
Sourced from supplier site.
Prepayment
Application
Accounts
Liability
Prepayment
Tax Difference
Debit
Credit
Comments
Sourced from supplier site.
Defaulted: When tax applied for invoice
applied for prepayment.
>
25
Payment
Maturity Date:
In finance, maturity or maturity date refers to the final payment date of a loan or other
financial instrument, at which point the principal (and all remaining interest) is due to be paid.
Accounts
Liability
Cash Clearing
Discount Taken
Withholding Tax
Realized Gain / Loss
Accounts
Liability
Withholding Tax
Bills Payables
26
Payment Maturity
Accounts
Bills Payables
Cash Clearing
Discount Taken
Debit
On Payment Date
Credit Comments
Clearing
Accounts
Cash Clearing
Bank Charger / Bank
Errors
Debit
Credit
Comments
It is used for difference b/w cleared amount
and transaction amount.
Cash Management checks the Tolerance
differences parameter to determine whether
the difference is due to charges / errors.
27
Create Accounting
Payables (AP)
(Oracle Document Reference)
28
What are the documents for which create accounting program can be run in Payables (AP)?
Invoice
Payments
Invoice Batch
Payment Batch
Draft
Final
Final and Post
R12: P2P Accounting & Troubleshooting Notes - by Dinesh Kumar S
29
30
31
Parameter
Ledger
Process Category
End Date
Mode
Errors Only
Report
Transfer to GL
Post in GL
GL Batch Name
Include User
Transaction
identifier
Required?
Yes
Description
Ledger for which accounting events to be generated.
Ca restri t the a ou ti g e e ts ased o profile SLA:
Enable Data Access Security
Optional
We can restrict events based on specific process category.
Yes
Process only those events <= End Date.
Yes
Select below modes based on business case,
DRAFT, FINAL & FINAL POST.
Yes
If you want to process the failed events with status error.
Yes
Select report to be generated in Summary / detailed report.
Yes, based Applies When Mode = Final.
on mode
Yes, based Applies when Mode = Final Post.
on mode
Optional
In real-time batch name will be given to filter the records
and if Transfer to GL option is given.
Yes
If the report to be displayed with user identifier names and
values.
Journal Import .
32
33
34
Lets
35
Note**
The link between Sub-ledgers and XLS_Distribution_Links is based on the Source distribution
Type.
Source Distribution type is nothing but the AP Distribution Tables like
AP_INVOICE_DISTRIBUTIONS_ALL, AP_PAYMENT_HIST_DISTS.
36
Details
Essential Reports
Unaccounted Transactions
Transfer to GL
Reconciliation
Sweep Program
37
+
Current Period Posted Invoice Register
38
Case 1:
Program
Create Accounting Program
Create Accounting Report
Completion Status
Success
Error
Case 3:
Program
Create Accounting Program
Completion Status
Error
Case 5:
Program
Accounts Payable Trial Balance Report
Completion Status
Error
39
Case 1
Case Description:
Program
Create Accounting Program
Create Accounting Report
Completion Status
Success
Error
Possible Errors:
Error Code
Error Message
Error 95353
Error 95340
Error 0
Error 95311
Error 95937
Error 95318
Error 95325
----
40
Error Code
Error Message
Error 95353
Cause:
Mostly this error occurs when a derivation rule does not exists and system is unable to derive a
rule for specific accounts defined @OU level setups. The accounts as below,
Solution:
Check all accounts are setup properly @organization level like Financial Options, Payables
Options, Payables System Setups and Bank Setups
41
Error Code
Error Message
Error 95340
The total debits and the total credits do not balance for this subledger
journal entry
Cause:
For each Event Class & for its type a Journal Line type exists. Each Journal type associated with
conditions to create a balance entry. This error occurs when,
Below are some of the event class & its types, for which this error triggered.
Event Class
Reconcile Payments
Prepayment Applications
Prepayment Applications
Payment
Payment
Payment
Refunds
Future Dated Payments
Event Types
Payment Cleared
Prepayment Applied
Prepayment Application Adjusted
Payment Created
Payment Cancelled
Payment Adjusted
Refunds Recorded
Payments Matured
Solution:
Oracle suggested if required patch is applied it resolves most of these balancing issues. The
details of patches as below,
Event Type
Payment Created
Payment Adjusted
Payment Matured
Payment Cancelled
Prepayment Applied
Prepayment Adjusted
Refund recorded
Payment Cleared
Payment Clearing Adjustment
Solution
Patch 10179705 and Patch 10278211
Patch 9699315
Patch 7626300:R12.XLA.A
Patch 8319065:R12.XLA.A
Patch 11772495 and Patch 10173936
R12.1 Patch 9474821:R12.AP.B
Patch 10623481
Patch 18964136
Patch 18964136
42
Error Code
Error Message
Error 0
The applied-to sources provided for this line are invalid or incomplete.
Cause:
The error triggers when,
Solution:
Error Code
Error Message
Error 95311
The segment value for the account code combination specified in line XX
is not assigned to the ledger
Cause:
There are numerous causes for this error some of them are,
43
Solution:
When defining a new OU, properly define Organization level setups like Financial
Options, Payables Options, payables System Setup and bank account setups.
If secondary ledger is used, cross check whether it is properly mapped with primary
ledger.
If any incorrect LE/BSV is used correct it.
Error Code
Error Message
Error 95937
Cause:
There are events ready for accounting but they are not picked because the subledger
extract data is incomplete or invalid.
Due to Code issues.
FND_CONNECTION_TAGGING issue.
Solution:
44
xe.application_id ,
xte.entity_code "Transaction Type" ,
xte.source_id_int_1 "Transaction Id",
xte.transaction_number "Transaction Number",
xe.event_id,
xet.event_class_code ,
xe.event_type_code ,
xe.event_status_code ,
xe.process_status_Code ,
xe.budgetary_control_flag
FROM xla_events xe
, xla_transaction_entities_upg xte
, xla_event_types_b xet
WHERE xte.application_id = &P_APPLICATION_ID
and xte.entity_id = xe.entity_id
and xet.application_id = xe.application_id
and xet.event_type_code = xe.event_type_code
and xe.application_id = &P_APPLICATION_ID
and xe.request_id = &P_CREATE_ACCT_REQUEST_ID
and NOT EXISTS
( select 1
from xla_ae_headers xah
where xah.event_id = xe.event_id
and xah.application_id = &P_APPLICATION_ID
);
SELECT
45
Error Code
Error Message
Error 95318
Cause:
Solution:
Error Code
Error Message
Error 95325
Cause:
Solution:
46
Error Code
Error
Error Message
This line cannot be accounted until the accounting event for the
application Payables that it references has been fully accounted.
Cause:
There are many numerous causes for this error, below are the possible ones.
Affected Transactions
Payment
Payment Created/Clearing
Invoices
Payment Adjustment &
Payment Clearing Adjustment
Prepayment
Error Code
Error
Cause
Null invoice line number on tax lines
Accounting events not synchronized.
Journal Line Definition not defined properly.
Accounting ID is not synchronized between
AP_INVOICE_PAYMENTS_ALL & AP_INVOICE_HISTORY_ALL
Historical data might not be upgraded during migration in
table XLA_DISTRIBUTION_LINKS_TABLE
Total credit & debit does not match.
Amount entered does not match.
Proper events classes & types might not be defined
for account derivation.
There might be deferred tax on prepayment invoice
Error Message
The log of Accounting Program shows error: The following REVERSAL
events could not be processed.
When:
47
Cause:
Solution:
Error Code
Error
Error Message
Error: AP_ACCTG_EVENT_SKIPPED
Cause:
If any corrupted data in the payments results in failure of "Create Accounting" program.
To skip those corrupted data logic is built such that those events would be stamped with
error "AP_ACCTG_EVENT_SKIPPED".
Solution:
Check for the other error in XLA_ACCOUNTING_ERRORS,this would be the actual error
which prevents the payment from accounting.So the accounting error
"AP_ACCTG_EVENT_SKIPPED" can be ignored.
48
Case 2
Case Description: Errors during Online Accounting.
Cause: For some of the transactions online accounting cannot be done they are prepayment
applications, voided payments etc.
Case 3
Case Description:
Program
Create Accounting Program
Completion Status
Error
Cause: When the Create Accounting Program completes with Error status.
49
Case 4
Case Description: Period Closing Errors
Error: APP-SQLAP 10304: You cannot close the period because exceptions exist:
This is the standard message displayed when trying to close the period while not all
transactions been accounted.
Solution: Run the Period Close Exception Report and try to account them.
50
Case 5
Case Description:
Program
Accounts Payable Trial Balance Report
Completion Status
Error
Patch 8340128
Patches 6996476 and 7293021
Patch.9602525:R12.XLA.A.
51
Sometimes the program runs for long time to complete (or) runs slowly.
Bug 9351919
Description
Create accounting process takes 2 hours of time, of which around 1 hour is
taken to execute the FUN queries. The cause of the poor performance is due
to the lack of the join condition on the LEDGER_ID column.
Filters on Application_ID were missing in several queries, and leading/index
hints were also missing.
Solution:
Patch 9366101:R12.FUN.A
Patch 9351919:R12.XLA.A.
$FUN_TOP/patch/115/sql/funbalpkgb.pls 120.31.12000000.15
$XLA_TOP/patch/115/sql/xlajebal.pkb 120.153.12000000.28
52
GL Transfer
(SLA GL)
(Oracle Document Reference)
53
Process:
Once the accounting entries are generated for all transactions in sub-ledgers it has to be
transferred from Sub-ledger to General Ledger.
During the transfer process some data corruption issues might occur some of them are listed
below.
1.
2.
3.
4.
5.
54
Note** The XLA GL Diagnostics test has to be run for all the ledgers associated to a primary
ledger.
To identify the ledgers use the below query,
SELECT gled.ledger_id as LEDGER_ID
FROM gl_ledger_relationships glr, gl_ledgers gled
WHERE glr.primary_ledger_id = &p_ledger_id -- Put primary ledger id here
AND glr.application_id = 101 AND ((glr.target_ledger_category_code IN ('SECONDARY','ALC')
AND glr.relationship_type_code = 'SUBLEDGER') OR (glr.target_ledger_category_code IN
('PRIMARY')
AND glr.relationship_type_code = 'NONE'))
AND glr.target_ledger_id = gled.ledger_id
AND Nvl(gled.complete_flag,'Y') = 'Y'
GROUP BY gled.ledger_id;
55
Input Parameters:
Responsibility ID
Ledger Id
Application Id
Je Source Name
Start Date in YYYY-MM-DD
End Date in YYYY-MM-DD
To get the Application id and corresponding je_source_name, run the query below :
SELECT application_id "Application id" ,je_source_name "Je Source"
FROM xla_subledgers;
56
FAQ: Transfer to GL
(Oracle Document Reference)
Subledger Tables
Interface Tables
GL Tables
What are all different modes available to transfer journals from SLA to GL?
Modes
Description
ONLINE
During Online accounting use Final Post optio for spe ifi
document i.e. invoice etc.
Submit Create Accounting program with Transfer to GL parameter
as Y .
u itti g progra Transfer Journal Entries to GL separately / i
standalone mode. This method uses interface table
XLA_GLT_<group_id>
BATCH
CONCURRENT REQUEST
57
How to find transfer status and differentiate 11i Vs. R12 accounting entries after upgrade?
Column
gl_transfer_status_code
gl_transfer_date
group_id
upg_batch_id
XLA_AE_HEADERS
Value
Y
Populated with a date value i.e. not null column
Populated with a group id i.e. not null column
Not null column. This indicates 11i data.
DR/CR
NO
58
What are all different setup options to transfer journals in Detail / Summary format?
Tables involved: The journals from XLA tables will be transferred to GL table.
XLA_AE_HEADERS, XLA_AE_LINES GL_JE_HEADERS, GL_JE_LINES
Below are the setup options available which decides whether to Merge the transactions in GL
tables or not.
Journal Line Types: This setup determines whether accounting lines in XLA_AE_LINES
can be summarized or not.
Summarize by GL Period
Summarize by GL Date
No Summarization
59
JLT- Transfer to GL
Summary
Detail
No Summarization
Detail
No Summarization
Summary
Detail / Summary
o ditio as elo .
=> XLA_AE_LINES.gl_sl_link_id
=> XLA_AE_HEADERS.group_id
60
Note** But sometimes these REFERENCE columns might not be populated during transfer
process. This happens when the patch 7512923:R12.XLA.A (for R12.0.x) is not applied.
How many group_ids are created during the transfer process when there is a primary ledger
and associated ALC/reporting ledger?
The primary ledger data and associated ALC/reporting ledger data goes into one
group_id.
Data from this one group_id can be split across multiple GL Batches based on other
criteria, such as je_category/date/period. However, one GL Batch can only be associated
to one group_id.
How many group_ids are created during transfer process when there is a primary ledger and
a secondary ledger?
Two group IDs are created--One for the primary ledger and one for the secondary
ledger.
Two journal import processes are spawned in this case, one for each group_id.
If there is failure in the journal import for either ledger, the transfer is rolled back for
both ledgers.
Is there a setup to prevent spawning the Journal Import on instances where a third party
(e.g., Peoplesoft) GL is used?
The profile option "Disable Journal Import" (when set to Yes) prevents the GL Transfer from
invoking the Journal Import. The interface table used in this case is GL_INTERFACE. Setting this
profile option is not recommended if you are using Oracle General Ledger. The profile option is
hidden and disabled in the latest code.
61
Note**
62
Below are the possible stages where we frequently face issues/errors during journal import.
When e ru
ight o ur,
Journal Import Execution Report Ends in ERROR but no errors are displayed in output
also data is marked as transferred in SLA
Error 'LEZL0023: Journal Import can only process data from one table at a time'.
Ledger ID
Application ID
JE Source
Start Date & End Date
63
Error: Journal Import Execution Report shows errors like EP01, EF01 etc.
Errors
Solution
If the Journal Import Execution Report shows Check Period is open if not open it.
Period Error
EP01 this date is not in any open or
future enterable period.
EP03 this date is not within any period
in an open encumbrance year.
EP04 this date is not a business day.
EP05 There is no business days in this
period.
If the Journal Import Execution Report shows Cross check the account setup i.e. whether
Flexfield Errors like
any CVR (Cross validation rule) exists for this.
EF01 This Accounting Flexfield is
inactive for this accounting date.
EF02 Detail posting not allowed for this
Accounting Flexfield.
EF03 Disabled Accounting Flexfield.
EF04 this is an invalid Accounting
Flexfield. Check your cross-validation
rules and segment values.
EF05 There is no Accounting Flexfield
with this Code Combination ID.
Error: Journal Import Execution Report Ends in ERROR but no errors are displayed in output also
data is marked as transferred in SLA
64
Error: Journal Import Execution Report shows error 'LEZL0023: Journal Import can only process
data from one table at a time'
Error: Journal Import Execution Report shows error 'ORA-01460: unimplemented or
unreasonable conversion requested'.
Error: Transfer to GL or Create Accounting concurrent request was cancelled after Journal
Import was spawned/ DB got shutdown while running Journal Import But you can
see XLA_AE_Headers. Gl_transfer_status_code='S'
For all a o e errors he k hether the latest Patch 8691650:R12.XLA.A is applied. If not
apply it & resubmit the program.
Error: Another common issue seen is GL transfer is not picking data and ledger is secondary
ledger
Secondary ledger is disabled meaning relationship_enabled_flag in gl ledger is 'N'. Because of
this GL Tra sfer does t pi k se o dary ledger data.
Execute the below update query to fix the above error.
65
How to Delete a Journal batch (or) How to delete a Unposted Journal batch?
Query for the journal Batch, follow the below steps.
Source is frozen
Batch has fund reversed or in process of reserving.
Batch is Posted (or) in process of posting.
Batch is Approved (or) in process of approval.
If the journal batch comes from Sub-Ledgers it should not be updated. Updating the same may
not synchronize the accounting information between Primary ledger & Sub-Ledger.
Alternate Solution: Instead of updating a new journal can be defined & adjusted.
66
Journal Reversing:
Instead of reversing single journal entry, the complete batch is reversed and posted. How this
can be corrected?
If Unposted: Delete the unposted reversal batches.
If Posted: Reverse the Reversal batch and repost them.
Why a journal entry with a source setup for automatic reversal was not reversed?
67
Does the reversal program generate separate reversal batches for each journal in a batch that
is reversed?
Yes. When a batch is reversed, General Ledger creates one reversing batch, with one
single journal entry, for each journal entry in the reversed batch.
Therefore a single batch with multiple journals generates multiple reversal batches with
a single journal.
This is the default functionality in Release 12, as a reversal should match the original
journal.
Using the profile GL: Edit Reverse Journals can be set to allow the modification.
68
Period Close
(AP)
(Oracle Document Reference)
69
Current Version of Script: 120.13 (Updated on 16-Jul-2014), check for latest & execute.
Purpose of Script:
It allows us to identify the transactions which affects period close with the corrective
action suggested resolving the same.
No data is created, updated, or deleted by this script.
This will not close the period.
It produces a HTML output all errors/problems related to transactions along with
corrective steps to be taken.
period_close.sql: This script can be used to submit the validation procedure for a
particular period.
ap_gdf_detect_pkg.sql: To run the AP Data Validation Report and to check for data
corruptions and the corresponding GDFs available.
period_close.sql: To validate all invoices, payments, in a specified period for specified
operating units.
Step 1: Run the wrapper SQL file "period_close.sql" to submit the detection procedure.
The detection procedure will create an output file of the format AP-PCLOSE-<timestamp>.html
and a log file of the format AP-PCLOSE-<timestamp>.log. Also, it will indicate the location of this
file and the log file.
Step 2: Review the output file to determine if any transactions have any issue, if yes follow the
corrective action steps else it is safe to close the current period.
70
Script Usage
To check all transactions stopping period close
for a particular period
To validate all transactions for one of your
operating units
Script Execution
SQL> BEGIN
ap_pclose_detect_pkg.main_pc(
p_per_name => '<period_name>',
p_ledger_id => <ledger_id>);
END;
SQL> BEGIN
ap_pclose_detect_pkg.main_pc(
p_per_name => '<period_name>',
p_ledger_id => <ledger_id>,
p_org_ids => '<org_id>');
END;
SQL> BEGIN
ap_pclose_detect_pkg.main_pc(
p_per_name => '<period_name>',
p_ledger_id => <ledger_id>,
p_org_ids =>
'<org1_id>,<org2_id>');
END;
SQL> BEGIN
ap_gdf_detect_pkg.main_pc(
p_per_name => '<period_name>',
p_ledger_id => <ledger_id>,
p_master_gdf => 'Y');
END;
71
Error:
When: While trying to close the period, where exception report display no data.
Cause: There as a issue i pa kage AP_PERIOD_CLOSE_PKG
Error:
AP_SWEEP_ACCESS_ERROR/Insufficient Access Error Appears Attempting to Sweep From
Control Payables Period Form
When: User su
Cause: Sometimes MOAC Setups is not done properly (or) responsibility does not have access
to all OUs assig ed to ledger.
Fix: Che k profile MO: Security Profile is set properly & he k for MOAC steps.
Error:
APP-SQLAP-10304 Cannot Close Period And No Data On Period Exception Report.
ut the syste
triggers
72
Fix:
Revalidate the Invoice & Execute Create Accounting for the same (or)
Delete the invoice.
Error:
R12 Orphan Accounting Events Preventing Closing Period in Payables.
a ted A ou ti g
Cause: Due to budgetary issues like fund check hold in invoice etc.
Fix:
Error:
Cannot Close Period Due To Untransferred Headers, Multiperiod Accounting.
When: Some of the Header information for accounting events is not transferred i.e. Transfer
Journal Entries to GL concurrent program does not pick up the problem XLA headers.
Cause:
The GL dates of all incomplete journal entries that have a GL date that is on or before
the end GL date specified in the request parameters and completes these entries as
their GL dates fall into open periods.
73
Thank you
74