Sie sind auf Seite 1von 75

© 2009 Oracle Corporation – Proprietary and Confidential

1
Transactions: Tracking the Dataflow
Through Important Tables in R12
Day, Date, 2004
Thursday, Upcoming Receivables Community Webcasts:
time p.m. ET
January 7, 2010
For complete details on all upcoming Oracle Advisor
11:00 AM EDT Webcast Events, please Note 740966.1, Oracle Advisor
Teleconference Access:
Webcast Schedule.
North America: xxxx
Teleconference
International: xxxx Access:
North America:
Password: Advisor Do you have any requests for future Receivables
+1-877-664-9143 Advisor Webcast Events? Please email your
suggestions to ARNEWS_US@oracle.com, subject:
International:
Topics of Interest.
+1-706-634-8961
Conference ID: **We are currently in the process of
29217926 scheduling webcasts for the Spring.
Please be sure to let us know what topics
you would like to see covered.**

© 2009 Oracle Corporation – Proprietary and Confidential


2
Agenda
• Presentation – approximately 45 minutes
• Q&A Session – approximately 15 minutes
• Please hold all questions to the end of the session.
• To ask a question by voice, hit *1 on your telephone.
• To ask a question via voice streaming, move your cursor to
the top of the screen and select the ‘bubble’ icon next to the
moderator’s name.

• A dialog box will open. Enter your question and select


“Send.”

• During the Q&A session your question will be read and an


answer will follow.

© 2009 Oracle Corporation – Proprietary and Confidential


3
ATTENTION – AUDIO INFORMATION

If you encounter any audio issues, please call


InterCall (audio conferencing).

North America: +1-877-664-9143


International: +1-706-634 - 8961
Conference ID: 29217926

If you are listening via voice streaming, you can ask


questions via the Chat feature. If you would like to
ask your questions by voice, you will need to dial
into InterCall.

© 2009 Oracle Corporation – Proprietary and Confidential


4
Safe Harbor Statement

The following is intended to outline our general


product direction. It is intended for information
purposes only, and may not be incorporated into
any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decision. The
development, release, and timing of any features
or functionality described for Oracle’s products
remains at the sole discretion of Oracle.

© 2009 Oracle Corporation – Proprietary and Confidential


5
<Insert Picture Here>

Transactions: Tracking the Dataflow Through


Important Tables in R12
Annapurna Chittilla
Senior Software Engineer
Agenda
• Transactions Data Model
• Transaction Data Flow & Important Tables <Insert Picture Here>

• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL
• Cross Product Table Dependencies
• Transaction Diagnostics
• Additional Information

© 2009 Oracle Corporation – Proprietary and Confidential


7
Transactions Data Model
RA_CUSTOMER_TRX
_ALL
Entity_ID - Transactions

XLA_TRANSACTION
_ENTITIES
RA_CUSTOMER
_TRX_LINES_ALL TRX_ID, TAX_LINE_ID

RA_CUST_TRX_LINE ZX_LINES_DET_FACTORS
_SALESREPS_ALL

ZX_LINES
RA_CUST_TRX_LINE
_GL_DIST_ALL
Event: Create / Update Event

XLA_EVENTS
AR_PAYMENT_SCHEDULES
_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


8
Agenda
• Transactions Data Model
• Transaction Data Flow & Important Tables <Insert Picture Here>

• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL
• Cross Product Table Dependencies
• Transaction Diagnostics
• Additional Information

© 2009 Oracle Corporation – Proprietary and Confidential


9
Transaction Data Flow
Simple Invoice – Header Details

© 2009 Oracle Corporation – Proprietary and Confidential


10
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_ALL

• RA_CUSTOMER_TRX_ALL is the header table.


• Stores one record for each transaction created
• Primary Key column is CUSTOMER_TRX_ID
• This means that CUSTOMER_TRX_ID is an identifier used to find
transaction data in related Receivables tables.

• For all transactional documents such as invoices, credit memos, and


debit memos, Oracle Receivables creates records concurrently in the
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL, and
• AR_PAYMENT_SCHEDULES_ALL tables

© 2009 Oracle Corporation – Proprietary and Confidential


11
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_ALL
COLUMN NAME DETAILS
CUSTOMER_TRX_ID Primary Key
TRX_NUMBER Transaction Number
Transaction type ID linked to RA_CUST_TRX_TYPES
CUST_TRX_TYPE_ID
(i.e., Invoice, CM, DM, etc.)
TRX_DATE Transaction Date
SET_OF_BOOKS_ID Ledger ID
BILL_TO_CUSTOMER_ID Customer Bill-To ID

SHIP_TO_CUSTOMER_ID Customer Ship-To ID

TERM_ID Payment Term ID


TERM_DUE_DATE Due Date
Salesrep ID linked to
PRIMARY_SALESREP_ID
RA_CUST_TRX_LINE_SALESREPS_ALL
COMMENTS Comments

© 2009 Oracle Corporation – Proprietary and Confidential


12
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_ALL
COLUMN NAME DETAILS

EXCHANGE_RATE_TYPE
EXCHANGE_RATE Exchange Rate details for a Foreign Currency Receipt
EXCHANGE_DATE
INVOICE_CURRENCY_CODE Invoice Currency Code (e.g. USD)
COMPLETE_FLAG Y or N
INVOICING_RULE_ID Invoicing Rule – In Advance or In Arrears

DOC_SEQUENCE_VALUE
Document sequence details if enabled
DOC_SEQUENCE_ID

ORG_ID Organization identifier


LEGAL_ENTITY_ID Legal entity identifier (R12)
UPGRADE_METHOD Upgrade flag to indicate the origin of the transaction
LATE_CHARGES_ASSESSED Control if late charges can be applied

© 2009 Oracle Corporation – Proprietary and Confidential


13
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_ALL
COLUMN NAME DETAILS
MRC_EXCHANGE_RATE_TYPE
Currency conversion rate details (Multiple
MRC_EXCHANGE_DATE
Reporting Currencies Only)
MRC_EXCHANGE_RATE
Identifies credit card payment authorized by
PAYMENT_SERVER_ORDER_NUM
Oracle Payment Server
APPROVAL_CODE Payment approval code from credit card issuer
Credit card address verification code from Oracle
ADDRESS_VERIFICATION_CODE
Payment Server
PAYMENT_TRXN_EXTENSION_ID Payment extension identifier
CC_ERROR_CODE Error code from credit card payment processor
CC_ERROR_TEXT User-enterable description

Y indicates a transaction had a credit card


CC_ERROR_FLAG
processing error

© 2009 Oracle Corporation – Proprietary and Confidential


14
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


15
Transaction Data Flow
Simple Invoice – Line Items

© 2009 Oracle Corporation – Proprietary and Confidential


16
Transaction Data Flow
Simple Invoice – Line Items

© 2009 Oracle Corporation – Proprietary and Confidential


17
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL

• RA_CUSTOMER_TRX_LINES_ALL contains line item details.


• Primary Key column is CUSTOMER_TRX_LINE_ID

• The LINE_TYPE column indicates the record type for a particular line.
Possibilities are:
• LINE – identify standard transaction lines
• TAX – identify tax lines
• FREIGHT – identifies freight lines
• CHARGES – identifies any extra charges associated with the transaction.

© 2009 Oracle Corporation – Proprietary and Confidential


18
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL
COLUMN NAME DETAILS
CUSTOMER_TRX_LINE_ID Primary Key column
CUSTOMER_TRX_ID Link to RA_CUSTOMER_TRX_ALL Table
LINE_NUMBER Line number of the line items
SET_OF_BOOKS_ID Ledger ID

INVENTORY_ITEM_ID ITEM_ID of the Item selected

It is possible to provide descriptions for new items


DESCRIPTION
not yet in the Inventory tables.
QUANTITY_ORDERED
QUANTITY_CREDITED Quantity details
QUANTITY_INVOICED
UNIT_STANDARD_PRICE
Unit pricing information
UNIT_SELLING_PRICE

© 2009 Oracle Corporation – Proprietary and Confidential


19
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL

COLUMN NAME DETAILS


SALES_ORDER
SALES_ORDER_LINE Sales order details
SALES_ORDER_DATE
ACCOUNTING_RULE_ID
ACCOUNTING_RULE_DURATION Populated when using Invoicing Rules

AUTORULE_COMPLETE_FLAG

LINE_TYPE LINE, TAX, FREIGHT, CHARGES

TAXABLE_FLAG Is LINE record is taxable? (Y/N)


CUSTOMER_TRX_LINE_ID of the
LINK_TO_CUST_TRX_LINE_ID
corresponding LINE record

© 2009 Oracle Corporation – Proprietary and Confidential


20
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL
COLUMN NAME DETAILS
QUANTITY_INVOICED x
EXTENDED_AMOUNT
UNIT_SELLING_PRICE
TAX_RATE Tax Rate
ORG_ID Organization identifier
TAXABLE_AMOUNT For lines of type tax and tax-inclusive
Y = tax is inclusive. N = tax is exclusive. NULL =
AMOUNT_INCLUDES_TAX tax cannot be overridden or tax is a tax group.
_FLAG This cannot be NULL for tax types and MUST
be NULL for other types.
Y, N, or NULL indicates if transaction line
HISTORICAL_FLAG
existed prior to EBTax implementation.
Identifies the detail tax line in ZX_LINES that
TAX_LINE_ID
corresponds to this EBTax tax line.

© 2009 Oracle Corporation – Proprietary and Confidential


21
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL
COLUMN NAME DETAILS
Line amount considered recoverable for
LINE_RECOVERABLE
EBTax calculations.
Total tax amount associated with this line
TAX_RECOVERABLE considered recoverable for EBTax
calculations.
Single tax attribute code supported by eTax
for backward compatibility. Represents a
TAX_CLASSIFICATION_CODE
tax code or tax group as defined in eTax
output tax classifications.
AMOUNT_DUE_REMAINING Remaining balance
ACCTD_AMOUNT_DUE_
Accounted remaining balance
REMAINING
AMOUNT_DUE_ORIGINAL Original balance
ACCTD_AMOUNT_DUE_ORIGINAL Accounted original balance

© 2009 Oracle Corporation – Proprietary and Confidential


22
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


23
Important Tables In Transaction Data Flow
RA_CUSTOMER_TRX_LINES_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


24
Transaction Data Flow
Simple Invoice – Distributions

© 2009 Oracle Corporation – Proprietary and Confidential


25
Transaction Data Flow
Simple Invoice – Distributions

© 2009 Oracle Corporation – Proprietary and Confidential


26
Important Tables In Transaction Data Flow
RA_CUST_TRX_LINE_GL_DIST_ALL

COLUMN NAME DETAILS


CUST_TRX_LINE_GL_DIST_ID Primary Key column
Links to CUSTOMER_TRX_LINE_ID of
CUSTOMER_TRX_LINE_ID
RA_CUSTOMER_TRX_LINES_ALL
Code Combination ID used for the accounting
CODE_COMBINATION_ID
purpose
SET_OF_BOOKS_ID Ledger ID

AMOUNT Amount

GL_DATE GL Date

Links to CUST_TRX_LINE_SALESREP_ID of
CUST_TRX_LINE_SALESREP_ID
RA_CUST_TRX_LINE_SALESREPS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


27
Important Tables In Transaction Data Flow
RA_CUST_TRX_LINE_GL_DIST_ALL
COLUMN NAME DETAILS
GL_POSTED_DATE Used to control whether records are posted to GL.
When POSTING_CONTROL_ID > 0 and
POSTING_CONTROL_ID GL_POSTED_DATE is not null, the record is
posted to GL.
Indicates record class (i.e., REC, REV, ROUND,
ACCOUNT_CLASS
TAX, FREIGHT etc.)
Link to CUSTOMER_TRX_ID of
CUSTOMER_TRX_ID
RA_CUSTOMER_TRX_ALL
ACCOUNT_SET_FLAG If Y, the record is a model row
ACCTD_AMOUNT Accounted Amount

LATEST_REC_FLAG Is this the latest REC account class record?

ORG_ID Organization Identifier


EVENT_ID Mapped to EVENT_ID in XLA_EVENTS

© 2009 Oracle Corporation – Proprietary and Confidential


28
Important Tables In Transaction Data Flow
RA_CUST_TRX_LINE_GL_DIST_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


29
Transaction Data Flow
Simple Invoice – Tax

© 2009 Oracle Corporation – Proprietary and Confidential


30
Transaction Data Flow
Simple Invoice – Tax

© 2009 Oracle Corporation – Proprietary and Confidential


31
Transaction Data Flow
Simple Invoice – Tax

• Details of the TAX record are stored mainly in the


RA_CUSTOMER_TRX_LINES_ALL table with a
LINE_TYPE = TAX.

• Corresponding accounting records to be transferred to GL are


stored in the RA_CUST_TRX_LINE_GL_DIST_ALL table with an
ACCOUNT_CLASS = TAX.

• In R12, TAX details are stored in two additional tables:


• ZX_LINES
• ZX_LINES_DET_FACTORS

© 2009 Oracle Corporation – Proprietary and Confidential


32
Transaction Data Flow
Simple Invoice – Freight

© 2009 Oracle Corporation – Proprietary and Confidential


33
Transaction Data Flow
Simple Invoice – Freight

© 2009 Oracle Corporation – Proprietary and Confidential


34
Transaction Data Flow
Simple Invoice – Freight

• FREIGHT record details are stored with LINE_TYPE = FREIGHT


in the RA_CUSTOMER_TRX_LINES_ALL table.

• Corresponding accounting records to be transferred to GL are


stored in the RA_CUST_TRX_LINE_GL_DIST_ALL table with an
ACCOUNT_CLASS = FREIGHT.

© 2009 Oracle Corporation – Proprietary and Confidential


35
Transaction Data Flow
Simple Invoice – Sales Credits

© 2009 Oracle Corporation – Proprietary and Confidential


36
Transaction Data Flow
Simple Invoice – Sales Credits

© 2009 Oracle Corporation – Proprietary and Confidential


37
Important Tables In Transaction Data Flow
RA_CUST_TRX_LINE_SALESREPS_ALL

COLUMN NAME DETAILS

CUST_TRX_LINE_SALESREP_ID Primary Key column

Links to CUSTOMER_TRX_ID of the


CUSTOMER_TRX_ID
RA_CUSTOMER_TRX_ALL Table

SALESREP_ID Sales Rep ID


Links to CUSTOMER_TRX_LINE_ID of
the
CUSTOMER_TRX_LINE_ID
RA_CUSTOMER_TRX_LINES_ALL
Table

ORG_ID Organization Identifier

© 2009 Oracle Corporation – Proprietary and Confidential


38
Important Tables In Transaction Data Flow
RA_CUST_TRX_LINE_SALESREPS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


39
Important Tables In Transaction Data Flow
AR_PAYMENT_SCHEDULES_ALL

• Stores balances for all transactional documents except adjustments


• Updated when activity occurs against an invoice, debit memo,
chargeback, credit memo, or on-account credit
• Stores balance information for the invoice in the following columns:
• AMOUNT_DUE_ORIGINAL
• AMOUNT_DUE_REMAINING
• AMOUNT_APPLIED
• ACCTD_AMOUNT_DUE_REMAINING

• Values for the CLASS column include


• INV – Invoice •GUAR – Guarantee
• CM – Credit Memo
•DEP – Deposit
• DM – Debit Memo

© 2009 Oracle Corporation – Proprietary and Confidential


40
Important Tables In Transaction Data Flow
AR_PAYMENT_SCHEDULES_ALL

• Invoice records are created with Open (OP) STATUS in this table.

• The STATUS changes from OP to CL for any transaction that has an


AMOUNT_DUE_REMAINING of zero.

• The ACTUAL_DATE_CLOSED column shows the date a payment or


credit is applied to an open transaction that sets the
AMOUNT_DUE_REMAINING column to zero for that transaction.

• The GL_DATE_CLOSED column indicates the General Ledger date


that the transaction was closed.

© 2009 Oracle Corporation – Proprietary and Confidential


41
Important Tables In Transaction Data Flow
AR_PAYMENT_SCHEDULES_ALL

COLUMN NAME DETAILS


PAYMENT_SCHEDULE_ID Identifies the payment schedule
Equals the sum of the
EXTENDED_AMOUNT column in
AMOUNT_DUE_ORIGINAL
RA_CUSTOMER_TRX_LINES_ALL table
for the given CUSTOMER_TRX_ID.
AMOUNT_DUE_REMAINING Balance for the selected transaction
STATUS OP(en) or CL(osed)
CUSTOMER_ID Identifies the customer BILL-TO information
CUSTOMER_SITE_USE_ID associated with the Invoice
CUSTOMER_TRX_ID CUSTOMER_TRX_ID of the header table
TRX_NUMBER Transaction number
TRX_DATE Transaction Date

© 2009 Oracle Corporation – Proprietary and Confidential


42
Important Tables In Transaction Data Flow
AR_PAYMENT_SCHEDULES_ALL

COLUMN NAME DETAILS


Accounting date schedule closed; if open,
latest date possible (i.e., 31-DEC-4712)
GL_DATE_CLOSED
shown. To improve performance of the aging
report, this column must not be NULL.
ACTUAL_DATE_CLOSED Actual date schedule closed
Sum of all transactions applied to the balance of
AMOUNT_APPLIED
the selected transaction.
GL_DATE General Ledger date
INVOICE_CURRENCY_CODE Invoice currency code
CLASS INV / CM / DM / GUAR / DEP
ACCTD_AMOUNT_DUE_ Open amount of the Invoice in functional
REMAINING currency
ORG_ID Organization identifier

© 2009 Oracle Corporation – Proprietary and Confidential


43
Important Tables In Transaction Data Flow
AR_PAYMENT_SCHEDULES_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


44
Transaction Data Flow
Debit Memo
• Receivables handles debit memos the same as invoices, except
that the CLASS in the payment schedule is set to DM instead of
INV.

• As with invoices, data is stored in the following tables for debit


memos:
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


45
Transaction Data Flow
Credit Memo
• Upon initial creation of a credit memo, data is stored in the same
tables as it is for invoices and debit memos:
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL

• However, when the credit memo is applied to an invoice, data is


also populated in the following tables:
• AR_RECEIVABLE_APPLICATIONS_ALL
• AR_DISTRIBUTIONS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


46
Transaction Data Flow
Credit Memo
• The PREVIOUS_CUSTOMER_TRX_ID column in the
RA_CUSTOMER_TRX_ALL references the original transaction
that has been credited.

• The total value of the credit memo is prorated between the


invoice and tax lines associated with corresponding line of the
original invoice.

• The CLASS column of the credit memo payment schedule is


CM.

© 2009 Oracle Corporation – Proprietary and Confidential


47
Important Tables In Transaction Data Flow
AR_RECEIVABLE_APPLICATIONS_ALL

• AR_RECEIVABLE_APPLICATIONS_ALL stores accounting


entries for both cash and credit memo applications.

• The PAYMENT_SCHEDULE_ID and CUSTOMER_TRX_ID


columns contain the credit memo data.

• The APPLIED_PAYMENT_SCHEDULE_ID and


APPLIED_ CUSTOMER_TRX_ID reference the original invoice.

• Credit memo applications do not have rows with a status of


UNAPP.

© 2009 Oracle Corporation – Proprietary and Confidential


48
Important Tables In Transaction Data Flow
AR_RECEIVABLE_APPLICATIONS_ALL

COLUMN NAME DETAILS


RECEIVABLE_APPLICATION_ID Primary Key column
Total amount applied; for cross
AMOUNT_APPLIED currency applications, total amount
applied in the transaction currency
LINE_APPLIED
TAX_APPLIED
Amount applied
FREIGHT_APPLIED
RECEIVABLES_CHARGES_APPLIED
EARNED_DISCOUNT_TAKEN

Discount taken towards application


UNEARNED_DISCOUNT_TAKEN

© 2009 Oracle Corporation – Proprietary and Confidential


49
Important Tables In Transaction Data Flow
AR_RECEIVABLE_APPLICATIONS_ALL
COLUMN NAME DETAILS
Lookup type for application status (i.e., APP
STATUS
for CM)
GL_POSTED_DATE If POSTING_CONTROL_ID > 0 and
GL_POSTED_DATE is not null, the record
POSTING_CONTROL_ID
is posted to GL
POSTABLE Is item postable to the GL? Y or N
GL_DATE Date this application will post to the GL
CODE_COMBINATION_ID General Ledger code combination (account)
SET_OF_BOOKS_ID General Ledger set of books used
ORG_ID Operating unit identifier
APPLY_DATE Date of application
APPLICATION_TYPE Lookup code for the type of application

© 2009 Oracle Corporation – Proprietary and Confidential


50
Important Tables In Transaction Data Flow
AR_RECEIVABLE_APPLICATIONS_ALL
COLUMN NAME DETAILS
APPLIED_CUSTOMER_
The debit item or credit memo a CM is applied to
TRX_ID
APPLIED_CUSTOMER_ Line number of debit item or credit memo a CM
TRX_LINE_ID applied to
APPLIED_PAYMENT_ Payment schedule of the debit item or credit memo
SCHEDULE_ID that a CM is applied to
AMOUNT_APPLIED_ Amount applied to the transaction in the receipt
FROM currency in cross currency applications
ACCTD_AMOUNT_ Receipt portion (in functional currency) converted
APPLIED_FROM using the receipt exchange rate
ACCTD_AMOUNT_ Amount allocated to transaction in functional
APPLIED_TO currency, converted using transaction exchange rate

EVENT_ID SLA event_id

© 2009 Oracle Corporation – Proprietary and Confidential


51
Important Tables In Transaction Data Flow
AR_RECEIVABLE_APPLICATIONS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


52
Important Tables In Transaction Data Flow
AR_DISTRIBUTIONS_ALL

• AR_DISTRIBUTIONS_ALL stores accounting distributions for:


• Cash & Miscellaneous Receipts
• Cash & Credit Memo Applications
• Adjustments
• Bills Receivable

• Primary Key columns are


• SOURCE_ID
• SOURCE_TABLE
• SOURCE_TYPE

© 2009 Oracle Corporation – Proprietary and Confidential


53
Important Tables In Transaction Data Flow
AR_DISTRIBUTIONS_ALL
COLUMN NAME DETAILS
Uniquely identified for rows in this table - primarily
LINE_ID
when these rows are passed to General Ledger
Identifier for SOURCE_TABLE record that created
SOURCE_ID
this distribution (RECEIVABLE_APPLICATION_ID)
RA for AR_RECEIVABLE_APPLICATIONS_ALL
SOURCE_TABLE
table
Account type of transaction for which distribution is
SOURCE_TYPE
posted.
CODE_COMBINATION_ID General Ledger code combination (account)
AMOUNT_DR
AMOUNT_CR
Journal entry amounts
ACCTD_AMOUNT_DR
ACCTD_AMOUNT_CR
ORG_ID Organization identifier

© 2009 Oracle Corporation – Proprietary and Confidential


54
Important Tables In Transaction Data Flow
AR_DISTRIBUTIONS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


55
Transaction Data Flow
On-Account Credit Memo
• When an on-account credit is created Receivables creates
records in the following tables:
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL

• The PREVIOUS_CUSTOMER_TRX_ID column is NULL


because the credit does not apply to a specific invoice.

© 2009 Oracle Corporation – Proprietary and Confidential


56
Transaction Data Flow
Commitment - Deposit

• When an invoice is applied to a deposit, a record is inserted into


AR_ADJUSTMENTS_ALL to record an adjustment against the
invoice.

• CUSTOMER_TRX_ID is used to link the adjustment to the invoice.

© 2009 Oracle Corporation – Proprietary and Confidential


57
Transaction Data Flow
Commitment - Guarantee

• Receivables uses the CUSTOMER_TRX_ID and


PAYMENT_SCHEDULE_ID to link the adjustment to the
guarantee payment schedule in
AR_PAYMENT_SCHEDULES_ALL.

• The payment schedule record of the guarantee is updated to


reflect the application of the invoice against the guarantee.

• The payment schedule record for the invoice is not impacted.

© 2009 Oracle Corporation – Proprietary and Confidential


58
Important Tables In Transaction Data Flow
AR_ADJUSTMENTS_ALL

• Primary Key column is ADJUSTMENT_ID

• Each row includes general information about the adjustment,


including:
• Activity name
• Amount
• Accounting information
• Reason
• Type of adjustment

© 2009 Oracle Corporation – Proprietary and Confidential


59
Important Tables In Transaction Data Flow
AR_ADJUSTMENTS_ALL
COLUMN NAME DETAILS
ADJUSTMENT_ID Adjustment Identifier
AMOUNT Adjustment Amount
APPLY_DATE Date adjustment is applied to payment
GL_DATE General Ledger date
SET_OF_BOOKS_ID General Ledger set of books used
CODE_COMBINATION_ID General Ledger code combination (account)
TYPE Adjustment type lookup code in AR_LOOKUPS
Adjustment creation type lookup code in
ADJUSTMENT_TYPE AR_LOOKUPS (Possible values: CHARGES,
FREIGHT, INVOICE, LINE, TAX)
A(pprove), R(ejected), U(n accrued
STATUS
adjustments), any other code for unapproved
ORG_ID Organization identifier

© 2009 Oracle Corporation – Proprietary and Confidential


60
Important Tables In Transaction Data Flow
AR_ADJUSTMENTS_ALL
COLUMN NAME DETAILS
LINE_ADJUSTED
FREIGHT_ADJUSTED
TAX_ADJUSTED Amount adjusted
RECEIVABLES_
CHARGES_ADJUSTED
CUSTOMER_TRX_ID
Identifiers for payment schedule, line &
CUSTOMER_TRX_LINE_ID
transaction associated for the adjustment.
PAYMENT_SCHEDULE_ID
GL_POSTED_DATE Date Adjustment posted to GL
POSTABLE Is the adjustment postable?
APPROVED_BY Identifier for user approving the adjustment
Auto generated from
ADJUSTMENT_NUMBER
AR_ADJUSTMENT_NUMBER_S

© 2009 Oracle Corporation – Proprietary and Confidential


61
Important Tables In Transaction Data Flow
AR_ADJUSTMENTS_ALL

© 2009 Oracle Corporation – Proprietary and Confidential


62
Agenda
• Transactions Data Model
• Important Tables In Transactions Data Flow <Insert Picture Here>
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL
• Cross Product Table Dependencies
• Transaction Diagnostics
• Additional Information

© 2009 Oracle Corporation – Proprietary and Confidential


63
Cross Product Table Dependencies
Receivables (RA) / iPayments (IBY)

Source Table Dependent Condition


Table
RA_CUSTOMER IBY_TRXN_ rct.PAYMENT_TRXN_EXTENSION_ID
_TRX_ALL EXTENSIONS_V = iby.TRXN_EXTENSION_ID
(rtc) (iby)

© 2009 Oracle Corporation – Proprietary and Confidential


64
Cross Product Table Dependencies
Receivables (RA) / E-BusinesTax (ZX)

Source Table Dependent Condition


Table
RA_CUSTOMER ZX_LINES_DET lines.CUSTOMER_TRX_ID=zx.TRX_ID
_TRX_LINES _FACTORS
_ALL lines.CUSTOMER_TRX_LINE_ID=
zx.TRX_LINE_ID

(lines) (zx) lines.LINE_TYPE <> 'TAX'


RA_CUSTOMER ZX_LINES lines.CUSTOMER_TRX_ID=zx.TRX_ID
_TRX_LINES
_ALL lines.TAX_LINE_ID= zx.TAX_LINE_ID

(lines) (zx) lines.LINE_TYPE='TAX'

© 2009 Oracle Corporation – Proprietary and Confidential


65
Cross Product Table Dependencies
Receivables (RA) / SubLedger Accounting (XLA)
Source Table Dependent Condition
Table
RA_CUSTOMER XLA xla.APPLICATION_ID = 222
_TRX_ALL _TRANSACTION xla.SOURCE_ID_INT_1 =
_ENTITIES ra.CUSTOMER_TRX_ID
xla.ENTITY_CODE='TRANSACTIONS'
(ra) (xla)

RA_CUST_TRX XLA_EVENTS xla.APPLICATION_ID = 222


_LINE_GL_DIST ra.EVENT_ID = xla.EVENT_ID
_ALL
(ra) (xla)

RA_CUST_TRX XLA xla.APPLICATION_ID = 222


_LINE_GL _DISTRIBUTION ra.CUST_TRX_LINE_GL_DIST_ID =
_DIST_ALL _LINKS xla.SOURCE_DISTRIBUTION_ID_NUM_1
(ra) (xla)

© 2009 Oracle Corporation – Proprietary and Confidential


66
Agenda
• Transactions Data Model
• Important Tables In Transactions Data Flow <Insert Picture Here>
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL
• Cross Product Table Dependencies
• Transaction Diagnostics
• Additional Information

© 2009 Oracle Corporation – Proprietary and Confidential


67
Transaction Diagnostics
• When investigating transaction related issues, it is useful to
generate a Transaction Diagnostic
• For 12.0.3 and 12.0.4, use Note 431370.1
• For 12.0.6 and 12.1.1, use Note 732203.1

• To access Diagnostics
• Select the Oracle Diagnostics Tool responsibility
• Select Oracle Receivables from the Application list of values
• Click the Advanced Tab
• Scroll down to the Transactions group
• Select Transaction Data

© 2009 Oracle Corporation – Proprietary and Confidential


68
Transaction Diagnostics

• This diagnostic collects data for a particular Invoice, Credit


Memo, Debit Memo or Bills Receivable across Receivables (AR),
Subledger Accounting (XLA), E-Business Tax (ZX), and General
Ledger (GL) tables.

• Input Parameters are:


• Responsibility ID (LOV)
• Customer TRX ID (LOV)
• Include GL Tables (LOV) – Yes / No

© 2009 Oracle Corporation – Proprietary and Confidential


69
Agenda
• Transactions Data Model
• Important Tables In Transactions Data Flow <Insert Picture Here>
• RA_CUSTOMER_TRX_ALL
• RA_CUSTOMER_TRX_LINES_ALL
• RA_CUST_TRX_LINE_GL_DIST_ALL
• RA_CUST_TRX_LINE_SALESREPS_ALL
• AR_PAYMENT_SCHEDULES_ALL
• Cross Product Table Dependencies
• Transaction Diagnostics
• Additional Information

© 2009 Oracle Corporation – Proprietary and Confidential


70
Additional Information

• Most of the tables discussed in this presentation have attribute


columns:
• ATTRIBUTE_CATEGORY
• ATTRIBUTE1 – 15 are used to store Descriptive Flexfield details
• GLOBAL_ATTRIBUTE_CATEGORY
• GLOBAL_ATTRIBUTE1 – 20 are reserved for Globalization /
Country-specific functionality.
• INTERFACE_HEADER_CONTEXT
• INTERFACE_HEADER_ATTRIBUTE1 – 15 used by AutoInvoice
imported records

© 2009 Oracle Corporation – Proprietary and Confidential


71
For More Information
• Note 431370.1, R12.0.[3-4]: Oracle Receivables Transaction Data
Setup Test
• Note 732203.1, R12.0.6+ : Oracle Receivables Transaction Data Setup
Test

• The recorded version of this webcast will be available within the next 24
hours and can be downloaded from the Advisor Webcast Archive, Note
740964.1.
• PDF files of previous Receivables presentations are available for
download from the Receivables Community Documentation area.
• Once in My Oracle Support, select the Community Tab
• Select the Enter Here button
• Select the Receivables Community from the My Communities
box
• Expand the “Receivables All Community Documents” area.

© 2009 Oracle Corporation – Proprietary and Confidential


72
Questions
• To ask a question on the phone line, select *1.
• To ask a question via voice streaming, move your
cursor to the top of the screen and select the ‘bubble’
icon next to the moderator’s name.

• A dialog box will open. Enter your question and select


“Send.”

• Do you have any requests for future Receivables


Advisor Webcast Events? Please email your
suggestions to ARNEWS_US@oracle.com, subject:
Topics of Interest.

© 2009 Oracle Corporation – Proprietary and Confidential


73
THANK YOU

© 2009 Oracle Corporation – Proprietary and Confidential


74
© 2009 Oracle Corporation – Proprietary and Confidential
75