Академический Документы
Профессиональный Документы
Культура Документы
in/20
13/06/general-ledger-journal-importprocess.html
Oracle Applications Knowledge Hub
Objective of this blog is to share my oracle knowledge and stuff that I came across online, during work or books
with the people who are working in oracle
Wednesday, June 26, 2013
ACTION
CONDITION GO TO
Journal Import terminated without Errors? (check the execution report for errors or warnings)
Correct the errors in the Source. In case of a standard subledger you may need support assistance.
Many Errors ?
10
Use the Correct Journals form to fix the errors in the interface
11
END
Yes
11
No
Yes
No
9
6
Yes
No
Yes
No
10
GL_INTERFACE
This table is used to import journal entry batches through Journal Import.
You insert rows in this table and then use the Run Journal Import form to
create journal batches. Currently the Journal Import can import from tables
with different names, but the same structure.
You must supply values for all NOT NULL columns.
Not Null Columns (may have variations depending on the release):
STATUS
ACCOUNTING_DATE
CURRENCY_CODE
DATE_CREATED
CREATED_BY
ACTUAL_FLAG
USER_JE_CATEGORY_NAME
USER_JE_SOURCE_NAME
GL_INTERFACE_CONTROL
This table is used to control Journal Import execution. Whenever you start
Journal Import from the Import Journals form, a row is inserted into this
table for each source and group_id that you specified. When Journal
Import completes, it deletes these rows from the table. If you run Journal
Import from outside of the Import Journals form, you must insert a row into
the GL_INTERFACE_CONTROL table first.
Is from this table that Journal Import knows the name of the interface
table to import (INTERFACE_TABLE_NAME).
The phase of the process is indicated through the Status field. It can have
the following values:
JE_SOURCE_NAME
STATUS
GL_INTERFACE_HISTORY
This table stores the rows that are successfully imported from the
GL_INTERFACE table through the import process. The General Ledger
application adds rows to this table every time you successfully run Journal
Import, with the Archive Journal Import Data option enabled. This option is
defined on the Concurrent Program Controls form. This option increases
execution time but can be used for auditing purposes.
You use this information for historical reference only. General Ledger does
not use the data stored in this table.
GL_IMPORT_REFERENCES
Depending on the Journal Source configuration, this table may be
populated by the Journal Import Process. You can specify the Journal Entry
sources for which you want to maintain your transaction's origin by
entering 'Yes' in the Import Journal References field of the Journal Sources
form. When Journal Import is run for a source that has 'Yes' set for the
Import Journal References field, this table will be populated with the
necessary information to match journal entry lines to the originating
documents in the source. This functionality is known as Account Drilldown.
This uses the following fields to link to the subledger information:
gl_sl_link_id
gl_sl_link_table
In R12 normal subledgers this always points to the XLA tables (value is
'XLAJEL'), whilst in 11i it points to subledger specific tables.
The data stored in this table may vary depending on the release and type
of transaction. The reference fields are used in different ways by each
subledger.
In the following table is the use that some of the most common
subledgers give to these fields:
Transactions
Reference
1
Reference
2
Reference
6
Reference
7
Reference
8
RELEASE 11i
Payables/Payments
Vendor
name
Invoice id
Check id
Payables/Invoices
Vendor
name
Invoice id
Distributio
n line
number
External
check
number
Paid
invoice
number
'AP Payments'
SOB id
Invoice
Inv
distribution
line number
Invoice
number
'AP Invoices'
SOB id
cust
account
number
CUSTOMER
bill to
CM, DM,
customer id CB, INV
typ
cla
pay from
customer
TRADE
TR
e'
Receivables/Transactio posting
ns
control id
Receivables/Receipts
posting
control id
cash receipt id
||cash receipt
history id
line id
receipt
number
Receivables/Applicatio posting
ns (cash)
control id
cash receipt id
||receivable
application id
line id
receipt
number
trx
number,
null
pay from
customer
TRADE,
CCUR
ap
so
Receivables/Applicatio posting
ns (CM)
control id
receivable
application id
line id
trx
number
trx
number,
null
bill to
CMAPP
customer id
ap
so
Receivables/Adjustme
nts
posting
control id
adjustment id
line id
trx
number
bill to
ADJ
customer id
AD
Receivables/Miscel.Re
c.
posting
control id
cash receipt id
line id
receipt
number
cash
receipt
history id
pay from
customer
MISC
MI
Receivables/Bills
Receivable
posting
control id
transaction
history id
line id
trx
number
customer
trx id
drawee id
cust trx
type
BR
Purchasing
PO, REQ
doc header id
doc
distributio
n id
doc
number
Inventory
mta.gl
batch id
mta.organizatio
n code
Consolidations (TRX)
consolidatio consolidation
n id
run id
source
hournal
header id
source
journal
line num
source
ccid
'Transaction'
subsidiary
SOB
Consolidations (BAL)
consolidatio consolidation
n id
run id
source
ccid
currency
type
budget
version id
'Balances'
subsidiary
SOB
Intercompany
transaction
number
offset line
number
CLEARING SENDER,
, OFFSET RECEIVER
accounting_event
_id
ae_header_i ae_line_nu
d
m
transaction id
so
period
am
RELEASE 12
(all subledgers)
entity_id
DR
In Oracle Applications, modules such as AP, AR, PO, INV and WIP have
concurrent processes that take the information from database structures
in which the business activity is stored and inserts it into the
GL_INTERFACE table.
Some of the transferring concurrent programs by module in Release 11i
are :
Module
Program
Exec
AP
APPP
FA
FAPO
AR
ARGL
AX
AX Transfer to GL
AXXP
PA
PADT
PAGG
PASG
PATT
Transfer transactions to GL
INCT
INV
In R12 the Create Accounting for each subledger populates the common
XLA tables (Subledger Accounting). When the accounting is Final then the
Transfer Journal Entries to GL process populates the GL interface and
automatically submits the Journal Import. It can also submit the Post for
the imported journals automatically.
For more detail information please see Create Accounting and Transfer
Journal Entries to GL Programs.
If the information comes from an external module, the GL_INTERFACE
table must be populated through a means such as SQL*Loader, Pro*C, a
PL/SQL procedure or Applications Desktop Integrator (ADI or Web ADI)).
Following is a description of important fields in the interface table:
Account Combination
An account combination can be stored in two ways:
Group ID
This field is used by the sending process to group the transactions.
When the information comes from Oracle Applications subledgers, the
value for this field is assigned automatically and is defined by the
sequence GL_INTERFACE_CONTROL_S. The Journal Import process selects
records based on SOURCE and optionally GROUP_ID.
Journal Type
Budget, encumbrance or actual journals can be entered into
GL_INTERFACE. The type of journal that is being created is stored in the
field ACTUAL_FLAG. The possible values are:
A : Actual
E : Encumbrance
B : Budget
Currency Conversion
Journals entered in a currency other than the functional currency can be
stored in two ways:
Journal Source
This value is stored in field USER_JE_SOURCE_NAME and corresponds to
the name of the journal source. Examples: Receivables, Payables,
Inventory, etc.
Reference Fields
The reference fields are optional, but if they are defined, they are
interpreted in the following way:
REFERENCE1
Batch name. Its structure is: <Reference1><Source><Request ID><Balance Type ><Group ID>
REFERENCE2
Batch description; if one is not defined, it will look like: Journal Import <Source><Request ID>
REFERENCE4
Journal entry name; with the format: <Category><Currency>< Conversion Type >< Conversion Rate>< Conve
ID><Budget Version>. Some of this information depends on the journal type.
REFERENCE5
Journal entry description; if one is not given, it will follow this format: Journal Import - Request ID
REFERENCE6
Reference or journal number. If it is not defined, it is automatically defined as Journal Import Created.
REFERENCE7
REFERENCE8
REFERENCE10
REFERENCE21...30 The values and meanings for these fields depend on the Journal Source and Release. They store information
journal with the source document. The values for these fields map to REFERENCE_1 through REFERENCE_
the GL_IMPORT_REFERENCES table.
B. Journal Import
Journal import is a complex tool, which performs a lot of validation on
thousands of records at a time. Journal import loads data from the
subledgers into the GL_INTERFACE table and then into GL_JE_BATCHES,
GL_JE_HEADERS and GL_JE_LINES tables.
Define the concurrent program controls.
The Concurrent Program Controls form can be used to improve the
performance of the Journal Import, MassAllocation/MassBudgeting, and
Open Period programs. The performance of Journal Import can be
improved by increasing the number of journal lines it holds in memory.
Before R12 this setup was done in a specific form:
Source: Select the Source from which you want Journal Import to create
journal entries, such as Receivables, Payables, etc..
Note that in R12, the transactions are only in the interface temporarily
during the journal import (the data stays in the XLA tables), therefore it is
not possible to submit the journal import for subledger sources using
subledger accounting. The Journal Import program is automatically
launched by the transfer accounting program.
Group ID: If there is a value in the GROUP_ID field in the GL_INTERFACE
table, either intentionally populated by the user, or by the subledger
creating these transactions, then to import these transactions into
General Ledger, the user must specify the Group ID on the Import Journals
form.
A list of values option is provided on the Group ID field on the Import
Journals form, which allows the users to pick a valid value (existing in the
interface tables). General Ledger will then import data with the journal
source and Group ID combination you specify.
If you do not specify a Group ID, General Ledger imports data from the
specified journal entry source with no corresponding Group ID (null Group
ID).
In this case it can happen that different batches in the interface with null
Group ID get merged during the journal import. To avoid this we
recommend to always use the Group ID.
You can choose your run options as well as whether to import descriptive
flexfields at this time.
Journal Import Concurrent Program: GLLEZL
This concurrent process generates a request log file and also an execution
report. The request log file shows valuable information for troubleshooting
purposes, such as:
Chart of accounts ID
Functional currency
The Journal Import Execution Report summarizes the results of the import
and points out the lines that have errors.
It also contains a list in the end with the description of all the possible
error codes (it doesn't mean that they have occurred).
C. Journal Import Correct
If the Journal Import run results in error, no records with the selected
Source and Group_id will be imported. All of those rows will remain in the
GL_INTERFACE table.
In R12, the rows comming from subledger accounting are rolled back to
the XLA tables and removed from the interface, so they must be corrected
at subledger level and then transferred again, to avoid reconciliation
problems between GL and the subledgers.
You can use the Correct Journal Import Data form to correct the errors.
The first screen gives you the option to find the journals with certain
errors.
o Accounts,
o Journal Lines,
o Descriptive Flexfields
o References.
Depending on what the error is, select the part of the journal you need to
go to in order to make your corrections.
D. Journal Import Delete
Use this ONLY if the data can be repopulated into the GL_INTERFACE table,
such as from a spreadsheet or from an external source. The principle is
the same as for journal correction: only the batches with status of error
can be deleted.
In R12 this is not possible to delete subledger batches because the rows
are rolled back to the XLA tables and removed from the interface.
Currently the Deletion of the journals is submitted as a Concurrent
Request: Program - Delete Journal Import Data.
EP02 This set of books does not have any open or future enterable
periods.
EF04 This is an invalid Accounting Flexfield. Check your crossvalidation rules and segment values.
EB04 This budget does not exist for this set of books.
EB07 This period name is not valid. Check calendar for valid periods.
ER02 This reversal period name is invalid. Check your calendar for
valid periods.
ER06 Your reversal date must be the same as or after your effective
date.
EM19 Value Added Tax data is only valid in conjunction with actual
journals.
EM23 There is no value entered for the Dual Currency Default Rate
Type profile option.
EM25 Invalid average journal flag. Valid values are "Y", "N", and null.
q_ji1.sql :
/* Lists all pending journal import groups and the number*/
/* of records in each group */
set linesize 120
col Currency format a8
spool q_ji1
Select set_of_books_id Book
, user_je_source_name Source
, user_je_category_name Category
, currency_code Currency
, trunc (date_created) Created
, actual_flag Journal
, count(*)
from gl_interface
group by set_of_books_id
, user_je_source_name
, user_je_category_name
, currency_code
, trunc (date_created)
, actual_flag
order by set_of_books_id, trunc (date_created)
/
spool off
q_ji2.sql :
q_ji3.sql :
Query q_ji3.sql can be modified to be used with the reference fields for
other sources.
at 4:44 PM
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels: General Ledger
No comments:
Post a Comment
Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Concepts
Oracle AR (7)