Chapter22 Extend Oracle Reports 01 Oracle ERP Key Tables
Chapter22 Extend Oracle Reports 01 Oracle ERP Key Tables
Page 1 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
GL_SETS_OF_BOOKS
It is a view created by apps user based on the GL_Ledgers table owned by GL User which Stores
information about the sets of books (Ledgers)you define in your Oracle General Ledger application.
Each row includes the set of books name, description, functional currency, and other information.
Example:
Select
LEDGER_ID ,
NAME,SHORT_NAME,
DESCRIPTION,
LEDGER_CATEGORY_CODE,
COMPLETION_STATUS_CODE,
CHART_OF_ACCOUNTS_ID,
CURRENCY_CODE,
PERIOD_SET_NAME,
ACCOUNTED_PERIOD_TYPE,
FIRST_LEDGER_PERIOD_NAME,
RET_EARN_CODE_COMBINATION_ID,
SUSPENSE_ALLOWED_FLAG,
ALLOW_INTERCOMPANY_POST_FLAG,
ENABLE_BUDGETARY_CONTROL_FLAG,
PERIOD_AVERAGE_RATE_TYPE,
PERIOD_END_RATE_TYPE
from gl_ledgers ;
Page 2 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
GL_DAILY_RATES
Stores the daily conversion rates for foreign currency transactions. It replaces the
GL_DAILY_CONVERSION_RATES table. It stores the rate to use when converting between two
currencies for a given conversion date and conversion type. Each row in this table has a
corresponding inverse row in which the from and to currencies are switched.
For example, if this table contains a row with a from_currency of YEN, a to_currency of CND, a
conversion_type of Spot, and a conversion_date of January 1, 1997, it will also contain a row with a
from_currency of CND, a to_currency of YEN, a conversion_type of Spot, and a conversion_date of
January 1, 1997.
Example
select
FROM_CURRENCY,TO_CURRENCY,CONVERSION_DATE,CONVERSION_TYPE,CONVER
SION_RATE
From GL_DAILY_RATES
where FROM_CURRENCY ='EGP' ;
Page 3 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
GL_JE_Header :
Stores journal entries. There is a one–to–many relationship between journal entry batches and journal
entries. Each row in this table includes the associated batch ID, the journal entry name and
description, and other information about the journal entry. This table corresponds to the Journals
window of the Enter Journals form. STATUS is ’U’ for unposted, ’P’ for posted. Other statuses indicate
that an error condition was found.
Example :
select JE_HEADER_ID , Ledger_id , je_category ,period_name , name , currency_code , status ,
actual_flag , control_total,RUNNING_TOTAL_DR, RUNNING_TOTAL_CR,
RUNNING_TOTAL_ACCOUNTED_DR, RUNNING_TOTAL_ACCOUNTED_CR,
CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_TYPE,
CURRENCY_CONVERSION_DATE
from GL_JE_Headers ;
GL_JE_LINES
Stores the journal entry lines that you enter in the Enter Journals form. There is a one–to–many
relationship between journal entries and journal entry lines. Each row in this table stores the
associated journal entry header ID, the line number, the associated code combination ID, and the
debits or credits associated with the journal line. STATUS is ’U’ for unposted or ’P’ for posted.
Example
select JE_HEADER_ID , Ledger_id ,period_name ,CODE_COMBINATION_ID,Description
,ACCOUNTED_DR,ACCOUNTED_CR,Entered_CR,Entered_DR
from GL_JE_Lines
Page 4 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
GL_PERIODS
Stores information about the accounting periods you define using the Accounting Calendar form.
Each row includes the start date and end date of the period, the period type, the fiscal year, the
period number, and other information. There is a one–to–many relationship between a row in the
GL_PERIOD_SETS table
Example:
select PERIOD_SET_ID,PERIOD_SET_NAME,DESCRIPTION
from gl_period_sets
Example
select ENTERED_PERIOD_NAME,PERIOD_SET_NAME
,PERIOD_YEAR,QUARTER_NUM,PERIOD_NUM,START_DATE,END_DATE,
PERIOD_NAME,ADJUSTMENT_PERIOD_FLAG from GL_PERIODS
where period_year ='2015'
and period_set_name like '%Azza_Cal%'
Page 5 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
GL_JE_BATCHES
Stores journal entry batches. Each row includes the batch name, description, status, running total
debits and credits, and other information. This table corresponds to the Batch window of the Enter
Journals form. STATUS is ’U’ for unposted, ’P’ for posted, ’S’ for selected, ’I’ for in the process of being
posted. Other values of status indicate an error condition.
Example
desc GL_JE_BATCHES
select
JE_BATCH_ID,NAME,STATUS,POSTED_DATE,RUNNING_TOTAL_DR,RUNNING_TOTAL_CR,RU
NNING_TOTAL_ACCOUNTED_DR,RUNNING_TOTAL_ACCOUNTED_CR,
CHART_OF_ACCOUNTS_ID,PERIOD_SET_NAME,ACCOUNTED_PERIOD_TYPE
from GL_JE_BATCHES ;
GL_Balances
Stores actual, budget, and encumbrance balances for detail and summary accounts. This table stores
functional currency, foreign currency, and statistical balances for each accounting period that has ever
been opened.
ACTUAL_FLAG is either ’A’, ’B’, or ’E’ for actual, budget, or encumbrance balances, respectively. If
ACTUAL_FLAG is ’B’, then BUDGET_VERSION_ID is required. If ACTUAL_FLAG is ’E’, then
ENCUMBRANCE_TYPE_ID is required.
GL_BALANCES stores period activity for an account in the PERIOD_NET_DR and PERIOD_NET_CR
columns. The table stores the period beginning balances in BEGIN_BALANCE_DR and
BEGIN_BALANCE_CR.
An account’s year–to–date balance is calculated as BEGIN_BALANCE_DR – BEGIN_BALANCE_CR
+ PERIOD_NET_DR – PERIOD_NET_CR.
Example:
select LEDGER_ID,CODE_COMBINATION_ID,CURRENCY_CODE,PERIOD_NAME,
PERIOD_TYPE,PERIOD_YEAR,PERIOD_NUM,PERIOD_NET_DR,PERIOD_NET_CR,QUARTER_T
O_DATE_DR, QUARTER_TO_DATE_CR ,BEGIN_BALANCE_DR,BEGIN_BALANCE_CR
from gl_balances
where currency_code='EGP'
Page 6 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Page 7 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Ap_invoices_all
Used to store invoice header
Example
desc Ap_invoices_all
select INVOICE_ID ,VENDOR_ID,INVOICE_NUM,SET_OF_BOOKS_ID,INVOICE_CURRENCY_CODE,
PAYMENT_CURRENCY_CODE,INVOICE_AMOUNT,VENDOR_SITE_ID,AMOUNT_PAID,
DISCOUNT_AMOUNT_TAKEN,INVOICE_DATE,DESCRIPTION,BATCH_ID,TAX_AMOUNT,TERMS_ID,TERMS_DA
TE,EXCHANGE_RATE,EXCHANGE_RATE_TYPE, EXCHANGE_DATE,GL_DATE
from Ap_invoices_all
Page 8 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Ap_invoice_distributions_all
Used to Store Invoice Line info
Example
select DISTRIBUTION_LINE_NUMBER ,DIST_CODE_COMBINATION_ID,INVOICE_ID,
LINE_TYPE_LOOKUP_CODE, PERIOD_NAME,SET_OF_BOOKS_ID,AMOUNT,
DESCRIPTION,ACCOUNTING_DATE
from Ap_invoice_distributions_all
Ap_invoice_payments_All
Used to Store Invoice Payment Info
Example
select CHECK_ID,INVOICE_ID,INVOICE_PAYMENT_ID,PAYMENT_NUM, PERIOD_NAME,
AMOUNT,ACCOUNTING_DATE,POSTED_FLAG,
SET_OF_BOOKS_ID,BANK_ACCOUNT_NUM,BANK_ACCOUNT_TYPE,
BANK_NUM,DISCOUNT_LOST,DISCOUNT_TAKEN,EXCHANGE_DATE,
EXCHANGE_RATE, EXCHANGE_RATE_TYPE, INVOICE_BASE_AMOUNT,ORG_ID
From Ap_invoice_payments_All
Page 9 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Ap_checks_all
Used to Store Check Info
Example
desc Ap_checks_all
select CHECK_ID,CHECK_NUMBER,amount ,
CHECK_DATE,CURRENCY_CODE,PAYMENT_METHOD_LOOKUP_CODE,BANK_ACCOUNT_ID,BAN
K_ACCOUNT_NAME,COUNTRY
from Ap_checks_all
ap_bank_branches
Page 10 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
po_vendors
Used to Store Supplier Header
po_vendor_sites_all
supplier site level info
Page 11 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
po_vendor_contacts
Supplier Contacts Info
desc po_vendor_contacts
select
VENDOR_ID,VENDOR_SITE_ID,VENDOR_CONTACT_ID,FIRST_NAME,Last_NAME,DEPARTMENT
from po_vendor_contacts
Page 12 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
RA_CUSTOMER_TRX_ALL
This table stores invoice, debit memo, commitment, and credit memo header information. Each row
includes general invoice information such as customer, transaction type, and printing instructions. You
need one row for each invoice, debit memo, commitment, and credit memo you create in Oracle
Receivables. Invoices, debit memos, credit memos, and commitments are all distinguished by their
transaction types stored in RA_CUST_TRX_TYPES_ALL.
Example
desc RA_CUSTOMER_TRX_ALL
select CUSTOMER_TRX_ID
,TRX_DATE,SET_OF_BOOKS_ID,SOLD_TO_CUSTOMER_ID,BILL_TO_CUSTOMER_ID,SHI
P_TO_CUSTOMER_ID,TERM_ID,INVOICE_CURRENCY_CODE
from RA_CUSTOMER_TRX_ALL
Page 13 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
RA_CUSTOMER_TRX_LINES_ALL
This table stores information about invoice, debit memo, credit memo, and commitment lines.
For example, an invoice can have one line for Product A and another line for Product B. You
need one row for each line. Invoice, debit memo, credit memo, and commitment lines are
distinguished by the transaction type of the corresponding RA_CUSTOMER_TRX_ALL record.
Example
desc RA_CUSTOMER_TRX_LINES_ALL
select
CUSTOMER_TRX_ID,CUSTOMER_TRX_LINE_ID,LINE_NUMBER,INVENTORY_ITEM_ID,LI
NE_TYPE,DESCRIPTION,QUANTITY_INVOICED
from RA_CUSTOMER_TRX_LINES_ALL
Page 14 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
hz_parties
desc hz_parties
select
PARTY_ID,PARTY_NAME,PARTY_TYPE,PERSON_FIRST_NAME,PERSON_MIDDLE_NAME,PERS
ON_LAST_NAME,PERSON_TITLE,KNOWN_AS,COUNTRY,CITY,ADDRESS1
from hz_parties
Page 15 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Page 16 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
PER_ALL_WORKFORCE_V View of employees, and contingent workers if profile option setup permits
Page 17 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
PER_BF_BALANCES_V
PER_BF_BALANCE_AMOUNTS_V
PER_BF_BALANCE_AMOUNTS_V2
PER_BF_BALANCE_ELEMENTS_V
PER_BF_BALANCE_TYPES_V
PER_BF_EMPLOYEE_RUN_DETAILS_V
PER_BF_ORG_RUN_DETAILS_V
PER_BF_PAYMENT_DETAILS_V
PER_BF_PAYMENT_DETAILS_V2
PER_CAGR_ENTITLEMENTS_V
Page 18 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
PER_CAGR_ENTITLEMENTS_V2
PER_CAGR_ENTITLEMENT_LINES_D
PER_CAGR_ENTITLEMENT_LINES_V
PER_CAGR_ENTITLEMENT_RESULTS_V
PER_CAGR_REFERENCE_GRADES_V
PER_CAL_ORG_HIER_VALUES_V per_cal_org_hier_values_v
PER_CAL_SCOPE_VALUES_V
PER_CHECKLIST_ITEMS_V
PER_COLL_AGREE_GRADES_V
PER_COMPETENCES_VL
Page 19 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
PER_DISABILITIES_V Date effective view that brings back all disabilities for a person
PER_ELECTIONS_V View for the election information to support for elections form.
PER_ELECTION_CANDIDATES_V View for the election candidate information to support the elections form.
PER_ELECTION_CONSTITUENCYS_V View for the election constituencies to support the elections form.
Page 20 of 21
Oracle APPS :Extend Oracle Reports Chapter01.Oracle ERP Key Tables
AAST/AZZA SHOUKR
Page 21 of 21