tracking data flow through receipts tables 9-11-13

68
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

Upload: sudheer-sanagala

Post on 26-Dec-2015

132 views

Category:

Documents


3 download

DESCRIPTION

This document is for the AR recipts flow

TRANSCRIPT

Page 1: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

Page 2: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2

Oracle Advisor Webcast Program

Current schedule

Archived recordings

Doc ID 740966.1

Page 3: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3

Future Advisor Webcasts

12-Sep-13, Supply Tolerancing: Implement and Use (Doc ID

1573966.1)

10-Oct-13, Fundamentals of Oracle Financials Accounting Hub

(Doc ID 1577621.1)

23-Oct-13, Receivables Release 12 Late Charges Functionality

(Doc ID )

For complete details on all upcoming Oracle E-Business Suite

Advisor Webcast Events and recordings, please review

Document ID 740966.1.

Do you have any topic requests for future Advisor Webcast

Events? Please email your suggestions to

[email protected], subject: Webcast Topics.

Teleconference Access:

VOICE STREAMING

ENABLED

North America:

877-664-9143

International:

706-634-8961

Conference ID:

29582776

Doc ID: 1574830.1

Page 4: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4

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.

Safe Harbor Statement

Page 5: Tracking Data Flow Through Receipts Tables 9-11-13

Oracle Advisor Webcast

Tracking the Dataflow Through Important

Receipts Tables

Pawan Panwar, Senior Software Engineer

Bharat Rajani, Sr. Principal Software Engineer

Page 6: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6

Tracking the Dataflow Through Important Receipts Tables Webcast Resource Links

To access the Tracking the Dataflow Through Important Receipts

Tables webcast recording:

https://oracleaw.webex.com/oracleaw/lsr.php?AT=pb&SP=EC&rID=

77762962&rKey=12d9fa2d9924be99

To ask questions on the topic of Tracking the Dataflow Through

Important Receipts Tables:

https://communities.oracle.com/portal/server.pt/community/view_dis

cussion_topic/216?threadid=742654

Page 7: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7

Objectives

Identify the six most important

Receipts tables and their key

columns

Show how Receipt data flows

through these tables

Understand the relationship

between table data and Receipts

forms

Page 8: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8

Agenda

Receipt Types & Important Tables

Cases With Associated Data Flows

– Simple Cash Receipt

– Cash Receipt Remitted & Cleared

– Cash Receipt Applied To An Invoice

– Miscellaneous Receipt

Receipt Diagnostics

Page 9: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9

Simple Cash Receipt

Page 10: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10

Receipt Types & Important Tables

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Page 11: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11

AR_CASH_RECEIPTS_ALL

• Stores one record for each receipt created

• Primary key column = CASH_RECEIPT_ID • Identifier to find Receipt data in all tables

• For cash receipts, Receivables creates records concurrently in • AR_CASH_RECEIPT_HISTORY_ALL

• AR_PAYMENT_SCHEDULES_ALL

• AR_RECEIVABLE_APPLICATIONS _ALL

Page 12: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12

AR_CASH_RECEIPTS_ALL

• Oracle Receivables associates a Status with each receipt

• Unidentified (UNID)

• Unapplied (UNAPP)

• Applied (APP)

• Non–Sufficient Funds(NSF) (Imp during reconciliation)

• Reversed receipt (REV)

• Stop Payment (STOP)

• Receipt status is not updated from UNAPP to APP until entire receipt amount is applied or placed on account. A receipt can have a status of APP even if the entire receipt amount is placed on account. (E.g.)

Page 13: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13

AR_CASH_RECEIPTS_ALL

COLUMN NAME DETAILS

CASH_RECEIPT_ID Primary Key

AMOUNT Receipt Amount

RECEIPT_NUMBER Receipt Number

RECEIPT_DATE Receipt Date

CURRENCY_CODE Currency Code (e.g. USD)

STATUS

APP Applied

UNAPP Unapplied

UNID Unidentified

NSF Non-Sufficient Funds

REV Reversal-User Error

STOP Stopped Payment

TYPE CASH Cash

MISC Miscellaneous

COMMENTS Comments

Page 14: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14

AR_CASH_RECEIPTS_ALL

COLUMN NAME DETAILS SET_OF_BOOKS_ID Ledger Id

REVERSAL_DATE Reversal Date

REVERSAL_REASON_CODE Reversal Reason

REVERSAL_CATEGORY Reversal Category entered while

reversing Receipt

NSF Non-sufficient Funds

REV Reverse Payment

STOP Stop Payment

REVERSAL_COMMENTS Reversal Comments as entered

EXCHANGE_RATE_TYPE Exchange Rate details for a Foreign

Currency Receipt EXCHANGE_RATE

EXCHANGE_DATE

LEGAL_ENTITY_ID Legal Entity Identifier (R12)

ORG_ID Organization ID

Page 15: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15

AR_CASH_RECEIPTS_ALL COLUMN NAME DETAILS

PAY_FROM_CUSTOMER Customer ID

CUSTOMER_SITE_USE_ID Customer site use ID

CUSTOMER_BANK_ACCOUNT_ID Customer Bank Account ID

REMITTANCE_BANK_ACCOUNT_ID Remittance Bank Account ID

RECEIPT_METHOD_ID Receipt Method

SELECTED_REMITTANCE_BATCH_ID Used to lock Receipts for Remittance

DOC_SEQUENCE_VALUE Document Sequence details if Enabled

DOC_SEQUENCE_ID

OVERRIDE_REMIT_ACCOUNT_FLAG

Flag = Y when remittance bank account

can be overridden by the remittance

selection process, else = N

REC_VERSION_NUMBER Used for audit purposes; ensure locking;

should be incremented by every update

Page 16: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16

AR_CASH_RECEIPTS_ALL

select * from AR_CASH_RECEIPTS_ALL

where RECEIPT_NUMBER = 'CommunityTestReceipt';

CASH_RECEIPT

_ID AMOUNT

SET_OF_

BOOKS_ID CURRENCY_CODE

PAY_FROM_

CUSTOMER

85224 10000 1 USD 1287

STATUS TYPE RECEIPT_NUMBER RECEIPT_DATE

UNAPP CASH CommunityTestReceipt 19-Jan-09

COMMENTS RECEIPT_METHOD_ID ORG_ID LEGAL_ENTITY_ID

This is a Dummy receipt 1002 204 204

Page 17: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17

Cash Receipt Remitted & Cleared

Receipt State Details as seen from Receipts History

Page 18: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Receipt Types and Important Tables

Page 19: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19

AR_CASH_RECEIPT_HISTORY_ALL

• Contains one row for each step in a receipt's life cycle

• Status column indicates which step the receipt has reached:

• APPROVED – receipt approved for Automatic Creation; only valid for an

automatically created receipt

• CONFIRMED – the receipt confirmed by the customer

• REMITTED – the receipt has been remitted

• CLEARED – the receipt has been cleared

• REVERSED – the receipt has been reversed

• RISK_ELIMINATED – the receipt is in Risk-Eliminated status

• Primary Key Column = CASH_RECEIPT_HISTORY_ID

Page 20: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20

AR_CASH_RECEIPT_HISTORY_ALL

• CURRENT_RECORD_FLAG shows current status of the receipt

• Receivables posts each row in this table to General Ledger (GL)

• POSTABLE_FLAG determines if a row can be posted to GL.

• Should be Y or NULL

• N means not postable

• Each row debits the account that is represented by the

ACCOUNT_CODE_COMBINATION_ID column on the date specified in the

GL_DATE column

• Also known as the CRH table or history table

Page 21: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21

AR_CASH_RECEIPT_HISTORY_ALL

COLUMN NAME DETAILS

CASH_RECEIPT_HISTORY_ID Primary key column

CASH_RECEIPT_ID Receipt ID

STATUS APPROVED, CONFIRMED, REMITTED,

CLEARED, REVERSED, RISK_ELIMINATED

CURRENT_RECORD_FLAG Row with flag=Y indicates current Receipt

Amount and Status

TRX_DATE Date on which this status was changed

AMOUNT Amount of the Status

FIRST_POSTED_RECORD_FLAG First record in the table for a

CASH_RECEIPT_ID

POSTABLE_FLAG Y/N shows if postable to GL

GL_DATE Date on which record will be posted

BATCH_ID If Receipt or Receipt’s States created through

any Receipt batch

Page 22: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22

AR_CASH_RECEIPT_HISTORY_ALL

COLUMN NAME DETAILS ACCOUNT_CODE_COMBINATION_ID GL code combination (account)

POSTING_CONTROL_ID (default –3) If POSTING_CONTROL_ID >0 and

GL_POSTED_DATE is not null ,then record

is posted to GL. GL_POSTED_DATE (default NULL)

ACCTD_AMOUNT Amount in Functional Currency

FACTOR_DISCOUNT_AMOUNT Bank charges amount in Entered and

Functional Currency ACCTD_FACTOR_DISCOUNT_AMOUNT

PRV_STAT_CASH_RECEIPT_HIST_ID Contains CASH_RECEIPT_HISTORY_ID of

record preceding current record in status

REVERSAL_GL_DATE Signifies receipt went to next step or

reverted one step

REVERSAL_CASH_RECEIPT_HIST_ID CASH_RECEIPT_HISTORY_ID of the next row

ORG_ID Organization ID

EVENT_ID SLA EVENT_ID

Page 23: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23

select * from AR_CASH_RECEIPT_HISTORY_ALL

where CASH_RECEIPT_ID in (85224)

order by CASH_RECEIPT_HISTORY_ID;

AR_CASH_RECEIPT_HISTORY_ALL

CASH_

RECEIPT_

HISTORY_

ID

CASH_

RECEIPT_

ID STATUS TRX_DATE AMOUNT

FIRST_

POSTED_

RECORD_

FLAG GL_ DATE

CURRENT

_RECORD

_ FLAG

115927 85224 CONFIRMED 19-Jan-09 10000 Y 19-Jan-09

115928 85224 REMITTED 19-Jan-09 10000 N 19-Jan-09

115946 85224 CLEARED 31-Jan-09 10000 N 31-Jan-09 Y

Page 24: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24

select * from AR_CASH_RECEIPT_HISTORY_ALL

where CASH_RECEIPT_ID in (85224)

order by CASH_RECEIPT_HISTORY_ID;

AR_CASH_RECEIPT_HISTORY_ALL

ACCOUNT_

CODE_

COMBINATION

_ID

POSTABLE

_FLAG

POSTING_

CONTROL_

ID

GL_

POSTED

_DATE

ACCTD_

AMOUNT

PRV_STAT_

CASH_RECEIPT

_HIST_ID EVENT_ID

13496 Y -3 10000 761016

13496 Y -3 10000 115927 761016

12831 Y -3 10000 115928 761039

Page 25: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25

Cash Receipt Applied To An Invoice

Click on Apply

Page 26: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26

Cash Receipt Applied to an Invoice

Receipt

Application

Page 27: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 27

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Receipt Types and Important Tables

Page 28: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28

Cash Receipt Applied to an Invoice

• Stores all application entries for Cash Receipts

• Miscellaneous Receipts will not have any records in this table

• APPLICATION_TYPE = CASH (indicates cash receipt applications)

• Each row in this table posts to GL and includes • Amount Applied

• Status

• Accounting Information

• Primary Key Column = RECEIVABLE_APPLICATION_ID

• POSTABLE_FLAG determines if a row can be posted to General

Ledger

Page 29: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29

Cash Receipt Applied to an Invoice

• Possible Application Statuses:

APP – Applied

UNAPP – Unapplied

ACC - On-Account

UNID – Unidentified

ACTIVITY - Receivable Activity

OTHER ACC - Other Receipt Application

• Sum of AMOUNT_APPLIED column for cash applications should always be

equal to the amount of the cash receipt

• For Reversed Receipt the sum of amount applied is always 0

• Positive value becomes Credit and negative value become Debit when posted

to GL

Page 30: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30

Cash Receipt Applied to an Invoice

• When a cash receipt is initially created, Receivables creates a row in this table

for the cash receipt amount with a status of UNAPP.

• For each subsequent application, Receivables creates 2 rows:

• one row with a status of APP for the amount that is applied to the invoice,

• one row with status of UNAPP for the negative of the amount that is

applied.

• For reverse cash application, Receivables creates 2 new rows:

• one row with status of APP for the original application's inverse amount (the

negative of the original application amount),

• one row with a status of UNAPP for the positive amount of the application

that is reversed.

Page 31: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31

Cash Receipt Applied to an Invoice

• CASH_RECEIPT_ID column for the record identifies the receipt

• The APPLIED_CUSTOMER_TRX_ID and

APPLIED_PAYMENT_SCHEDULE_ID columns identify the invoice or

credit memo that receives the application

• Data from this table is fetched to populate On-Account, Unidentified,

Unapplied, etc. amounts as seen in the Receipts form

• AR_RECEIVABLE_APPLICATIONS_ALL is also known as RA table

Page 32: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 32

Cash Receipt Applied to an Invoice COLUMN NAME DETAILS

RECEIVABLE_APPLICATION_ID Primary key column

CASH_RECEIPT_ID Cash Receipt ID

AMOUNT_APPLIED

For same currency applications, the total

amount of the application in the currency of the

receipt and transaction.

For cross currency applications, the total

amount of the application in the currency of the

transaction.

LINE_APPLIED Line amount applied

TAX_APPLIED Tax amount applied

FREIGHT_APPLIED Freight amount applied

RECEIVABLES_CHARGES_APPLIED Receivables charges amount applied

EARNED_DISCOUNT_TAKEN Amount of earned and unearned discount

taken towards the application UNEARNED_DISCOUNT_TAKEN

Page 33: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 33

Cash Receipt Applied to an Invoice COLUMN NAME DETAILS

STATUS Lookup type for the status of the application

GL_POSTED_DATE These are used to control whether records are posted to GL

POSTING_CONTROL_ID If POSTING_CONTROL_ID >0 and GL_POSTED_DATE is not

null ,then record is posted to GL.

POSTABLE Y or N indicates whether the item is postable to the GL.

GL_DATE Date that 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 the application was applied

APPLICATION_TYPE CASH for Receipts

DISPLAY Y or N to indicate whether record will be displayed or not in the

Receipts Application form.

Page 34: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34

Cash Receipt Applied to an Invoice COLUMN NAME DETAILS

APPLIED_CUSTOMER_TRX_ID Identifies the debit item or credit memo to which

Receipt is applied

APPLIED_CUSTOMER_TRX_LINE_ID The line number of the debit item or credit memo to

which Receipt is applied

APPLIED_PAYMENT_SCHEDULE_ID Identifies the payment schedule of the debit item or

credit memo that Receipt is applied to

AMOUNT_APPLIED_FROM The amount applied to the transaction in the receipt

currency in cross currency applications

ACCTD_AMOUNT_APPLIED_FROM Receipt portion in functional currency, converted

using the receipt exchange rate

ACCTD_AMOUNT_APPLIED_TO Amount allocated to the transaction in functional

currency, converted using the transaction exchange

rate

CASH_RECEIPT_HISTORY_ID Foreign key to AR_CASH_RECEIPT_HISTORY

table identifying the row that was current when the

receivable application was created

Page 35: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35

Cash Receipt Applied to an Invoice

select * from AR_RECEIVABLE_APPLICATIONS_ALL where

CASH_RECEIPT_ID in (85225) order by RECEIVABLE_APPLICATION_ID ; RECEIVABLE_APPLI

CATION_ID CASH_RECEIPT_ID AMOUNT_APPLIED GL_DATE CODE_COMBINATION_ID SET_OF_BOOKS_ID

284479 85225 100 19-Jan-09 12838 1

284480 85225 -100 19-Jan-09 12838 1

284481 85225 100 19-Jan-09 24718 1

APPLY_DATE STATUS DISPLAY PAYMENT_SCHEDULE_I

D

APPLIED_CUSTOMER_T

RX_ID

APPLIED_PAYMENT_SC

HEDULE_ID CUSTOMER_TRX_ID

19-Jan-09 UNAPP N 183379

19-Jan-09 UNAPP N 183379

19-Jan-09 APP Y 183379 544167 183015

LINE_APPLIE

D TAX_APPLIED

FREIGHT_APPLIE

D

GL_POSTED_DAT

E

POSTING_CONTR

OL_ID

ACCTD_AMOUNT_

APPLIED_FROM

CASH_RECEIPT_H

ISTORY_ID ORG_ID EVENT_ID

-3 100 115929 204 761022

-3 -100 115929 204 761022

100 0 0 -3 100 115929 204 761022

Page 36: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 36

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Receipt Types and Important Tables

Page 37: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 37

AR_DISTRIBUTIONS_ALL

• Stores accounting distributions for

• Cash & Miscellaneous Receipts

• Adjustments

• Credit Memo applications

• Cash receipt applications

• Bills Receivable transactions

• Key Columns are SOURCE_ID, SOURCE_TABLE, and

SOURCE_TYPE

Page 38: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 38

AR_DISTRIBUTIONS_ALL

• For cash receipt history, the SOURCE_TABLE is CRH and the SOURCE_ID

is AR_Cash_Receipt_History_All.Cash_Receipt_History_Id

• For receivable applications records, the SOURCE_TABLE is RA and the

SOURCE_ID is

AR_Receivable_Applications_All.Receivable_Application_Id

• For miscellaneous receipt records, the SOURCE_TABLE is MCD and the

SOURCE_ID is

AR_Misc_Cash_Distributions_All.Misc_Cash_Distributions_Id

• AR_DISTRIBUTIONS_ALL is also known as ARD table

Page 39: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 39

AR_DISTRIBUTIONS_ALL COLUMN NAME DETAILS

LINE_ID Uniquely identifier for rows in this table - primarily when these rows

are passed to General Ledger

SOURCE_ID Identifier for record in SOURCE_TABLE that created this distribution

SOURCE_TABLE

Possible values are CRH for the

AR_CASH_RECEIPT_HISTORY_ALL table

RA for the AR_RECEIVABLE_APPLICATIONS_ALL table

MCD for the AR_MISC_CASH_DISTRIBUTIONS_ALL table

SOURCE_TYPE Account type of transaction for which distribution is posted.

CODE_COMBINATION_ID General Ledger code combination (account)

AMOUNT_DR Journal entry debit amount

AMOUNT_CR Journal entry credit amount

ACCTD_AMOUNT_DR Journal entry accounted debit amount

ACCTD_AMOUNT_CR Journal entry accounted credit amount

ORG_ID Organization identifier

Page 40: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 40

AR_DISTRIBUTIONS_ALL

select * from AR_DISTRIBUTIONS_ALL where (SOURCE_ID,SOURCE_TABLE )

in (select CASH_RECEIPT_HISTORY_ID ,'CRH' from

AR_CASH_RECEIPT_HISTORY_ALL where CASH_RECEIPT_ID in (85245)

union

select RECEIVABLE_APPLICATION_ID , 'RA' from

AR_RECEIVABLE_APPLICATIONS_ALL where CASH_RECEIPT_ID in

(85245)) order by LINE_ID ;

LINE_ID

SOURCE

_ID

SOURCE

_TABLE

SOURCE

_TYPE CC_ID

AMOUNT

_DR

AMOUNT

_CR

ACCTD_

AMOUNT

_DR

ACCTD_AMOU

NT_CR

393927 284479 RA UNAPP 12838 100 100

393928 115929 CRH CASH 12831 100 100

393929 284480 RA UNAPP 12838 100 100

393930 284481 RA REC 24718 100 100

Page 41: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 41

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Receipt Types and Important Tables

Page 42: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 42

AR_PAYMENT_SCHEDULES_ALL

• Stores balances for all Cash Receipts except Miscellaneous receipts and

includes

• AMOUNT_DUE_ORIGINAL

• AMOUNT_DUE_REMAINING

• AMOUNT_APPLIED

• ACCTD_AMOUNT_DUE_REMAINING

• The Primary key = PAYMENT_SCHEDULE_ID

• The CLASS column for Receipts is PMT

• Receipt record is created with Open (OP) STATUS in this table

Page 43: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 43

AR_PAYMENT_SCHEDULES_ALL

• Receivables updates this table when activity occurs against a cash receipt

• When a receipt is applied, Oracle Receivables updates

• AMOUNT_APPLIED

• AMOUNT_DUE_REMAINING

• ACCTD_AMOUNT_DUE_REMAINING

• STATUS

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

AMOUNT_DUE_REMAINING of zero

• For a receipt, the amount due that remains includes on-account and unapplied

amounts

• Oracle Receivables stores the receipt as negative numbers in all amounts

columns

Page 44: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 44

AR_PAYMENT_SCHEDULES_ALL

• The sum of the AMOUNT_DUE_REMAINING and

ACCTD_AMOUNT_DUE_REMAINING column for a customer for all confirmed

payment schedules reflects the current customer balance.

• If negative, the AMOUNT_DUE_REMAINING indicates the credit balance

amount that is currently available for this customer

• The ACTUAL_DATE_CLOSED column gives the date a payment or credit was

applied to an open transaction that set the AMOUNT_DUE_REMAINING

column to 0 for that transaction

• The GL_DATE_CLOSED column indicates the GL date the Receipt was closed

Page 45: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 45

AR_PAYMENT_SCHEDULES_ALL

COLUMN NAME •DETAILS

PAYMENT_SCHEDULE_ID Identifies the payment schedule

AMOUNT_DUE_ORIGINAL The original amount due

AMOUNT_DUE_REMAINING The current amount due remaining

STATUS OP or CL

CLASS PMT (indicates Payment)

CUSTOMER_ID Identifies the customer and customer site (BILL TO)

associated with the Receipt CUSTOMER_SITE_USE_ID

CASH_RECEIPT_ID Identifies the cash receipt

GL_DATE_CLOSED The accounting date when the schedule was closed.

If the schedule is not closed, this column is populated

with largest date (V7db supports 31-DEC-4712)

because, to improve aging report performance, this

column must have a value.

Page 46: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 46

AR_PAYMENT_SCHEDULES_ALL

COLUMN NAME DETAILS

ACTUAL_DATE_CLOSED The actual date when the schedule was

closed

AMOUNT_APPLIED Amount applied

TRX_NUMBER Receipt number

TRX_DATE Receipt Date

GL_DATE General Ledger date

INVOICE_CURRENCY_CODE Receipt Currency

CLASS PMT

ACCTD_AMOUNT_DUE_REMAINING Open amount of Receipt in functional

currency

ORG_ID Organization identifier

Page 47: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 47

AR_PAYMENT_SCHEDULES_ALL

select * from AR_PAYMENT_SCHEDULES_ALL where

CASH_RECEIPT_ID in (85225);

PAYMENT_SCHED

ULE_ID

AMOUNT_DUE_ORI

GINAL

AMOUNT_DUE_RE

MAINING STATUS

INVOICE_CURREN

CY_CODE CLASS CUSTOMER_ID

183379 -100 0 CL USD PMT 1287

CASH_RECEIPT_

ID

GL_DATE_CLOS

ED

ACTUAL_DATE_

CLOSED

AMOUNT_APPLI

ED TRX_NUMBER TRX_DATE GL_DATE

ACCTD_AMOUN

T_DUE_REMAINI

NG

85225 19-Jan-09 19-Jan-09 -100

Test Cleared

Applied 19-Jan-09 19-Jan-09 0

Page 48: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 48

Miscellaneous Receipt

Page 49: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 49

Miscellaneous Receipt

Distributions

Page 50: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 50

1) CASH (Standard)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_DISTRIBUTIONS_ALL

AR_PAYMENT_SCHEDULES_ALL

2) MISC (Miscellaneous)

AR_CASH_RECEIPTS_ALL

AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

AR_MISC_CASH_DISTRIBUTIONS_ALL

Receipt Types and Important Tables

Page 51: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 51

AR_MISC_CASH_DISTRIBUTIONS_ALL

• Stores all accounting entries for the Miscellaneous Cash Receipt

• The AR_CASH_RECEIPTS_ALL table stores one record for each receipt

while the AR_MISC_CASH_DISTRIBUTIONS_ALL table stores one record

for each receipt distribution

• Primary Key = MISC_CASH_DISTRIBUTION_ID.

• AR_MISC_CASH_DISTRIBUTIONS_ALL is also known as MCD table

Page 52: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 52

AR_MISC_CASH_DISTRIBUTIONS_ALL

COLUMN NAME DETAILS

MISC_CASH_DISTRIBUTION_ID Primary key for miscellaneous cash distributions

CASH_RECEIPT_ID Identifier for the cash receipt of the miscellaneous cash

APPLY_DATE The application date of the line

COMMENTS Comments

PERCENT Percent of the distribution that is attributed to this

record

AMOUNT Amount of the distribution

ACCTD_AMOUNT Amount of the distribution in functional currency

CASH_RECEIPT_HISTORY_ID Cash receipt history identifier for activity accounting

distribution

Page 53: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 53

COLUMN NAME DETAILS

GL_POSTED_DATE These are used to control whether records

are posted to GL

POSTING_CONTROL_ID

If POSTING_CONTROL_ID >0 and

GL_POSTED_DATE is not null ,then record is

posted to GL.

GL_DATE Date that 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

EVENT_ID SLA event_id

ORG_ID Operating unit identifier

AR_MISC_CASH_DISTRIBUTIONS_ALL

Page 54: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 54

AR_MISC_CASH_DISTRIBUTIONS_ALL

select * from AR_MISC_CASH_DISTRIBUTIONS_ALL where

CASH_RECEIPT_ID in (85245);

MISC_CASH_DISTRIB

UTION_ID CASH_RECEIPT_ID

CODE_COMBINATION

_ID GL_DATE PERCENT AMOUNT

16281 85245 13398 19-Jan-09 50 500

16282 85245 13399 19-Jan-09 50 500

GL_POSTED_DATE POSTING_CONTROL_

ID ACCTD_AMOUNT APPLY_DATE EVENT_ID

CASH_RECEIPT_HIST

ORY_ID

-3 500 19-Jan-09 761043 115953

-3 500 19-Jan-09 761043 115953

Page 55: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 55

AR_DISTRIBUTIONS_ALL (for MCD) select * from AR_DISTRIBUTIONS_ALL where (SOURCE_ID,SOURCE_TABLE )

in (select CASH_RECEIPT_HISTORY_ID ,'CRH‘ from

AR_CASH_RECEIPT_HISTORY_ALL where CASH_RECEIPT_ID in (85245)

Union

select MISC_CASH_DISTRIBUTION_ID,'MCD’ from

AR_MISC_CASH_DISTRIBUTIONS_ALL

where CASH_RECEIPT_ID in (85245)) order by LINE_ID;

LINE_ID SOURCE_I

D

SOURCE_

TABLE

SOURCE_TY

PE

CODE_C

OMBINA

TION_ID

AMOUNT_

DR

AMOUNT_

CR

ACCTD_A

MOUNT_D

R

ACCTD_A

MOUNT_C

R

393989 115953 CRH CASH 12831 1000 1000

393993 16281 MCD MISCCASH 13398 434.783 434.783

393994 16282 MCD MISCCASH 13399 434.782 434.782

393995 16281 MCD TAX 13394 130.435 130.435

Page 56: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 56

Receipt Diagnostics

The best way to understand Receipts Dataflow is to run Receipt Data test by

logging into Oracle Diagnostics Tool Responsibility

Navigation : Oracle

Diagnostics Tool

Responsibility

Application =

Receivables

Receipts Receipt

Data

Page 57: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 57

Summary

Basic Operations on the Receipt

form.

Understood 6 important tables in

which data gets updated/entered

while doing these operations.

Users can now write queries to fetch

data from these various tables.

What we covered today

Page 58: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 58

Top Articles and Community Links

R12 Whitepaper: Automatic Receipts - A

Complete Guide for Oracle Receivables

Users (Document ID 745996.1)

AutoLockbox Overview White Paper

(Document ID 201363.1)

Receipt Write-Off White Paper

(Document ID 203243.1)

Please refer to the ETRM at

http://etrm.oracle.com/ for more details

on all Oracle tables.

Page 59: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 59

Top Articles & Community Links

Continue the discussion! For follow up questions on topics

covered in this webcast, connect via this Receivables Community

thread:

https://communities.oracle.com/portal/server.pt/community/view_

discussion_topic/216?threadid=742654

Receivables Community:

https://communities.oracle.com/portal/server.pt/community/receiv

ables/233

Page 60: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 60

Stay Connected

Twitter: @Oracle_EBS

Facebook: OracleEBusinessSuiteSupport

Blog: http://blogs.oracle.com/EBS

My Oracle Support EBS Community:

https://communities.oracle.com/portal/server.pt/community/oracle_e-

business_suite/228

Oracle E-Business Suite Support Social Media Channels

Page 61: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 61

Oracle Advisor Webcast Program Locating Current Schedule & Archived Recordings

1. Access main Advisor

Webcast schedule &

archive via Doc ID

740966.1.

2. Select area of interest

from drop down list of

values. For example,

E-Business Suite (EBS).

Page 62: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 62

Oracle Advisor Webcast Program Locating Current Schedule & Archived Recordings For EBS

1. Alternatively, access the

EBS page directly via

Doc ID 1455369.1.

2. Select area of interest

from the drop down list of

values.

Page 63: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 63

Oracle Advisor Webcast Program

Note:

Click on a column heading

to sort by that column.

Hover on Webcast Title for

more detailed information.

Continue the discussion on

the Webcast or ask

questions on topics covered

via the Questions? link.

Recordings available within

48 hours.

Locating Current Schedule & Archived Recordings For EBS

Page 64: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 64

Visit My Oracle Support Community

Collaborate with industry peers, support professionals, and Oracle experts. Find out how

your peers are using Oracle technologies and services to better meet their needs.

• Exchange Knowledge

• Resolve Issues

• Gain Expertise

To access your My Oracle Support Community:

1. Log into My Oracle Support.

2. Select the Community tab.

3. Select your Community of interest from the My

Communities menu on the left side of the screen.

Page 65: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 65

Learn More

About Oracle Support Best Practices

www.oracle.com/goto/proactivesupport

Get Proactive in My Oracle Support

https://support. oracle.com | Doc ID: 432.1

Get Proactive Blog

https://blogs.oracle.com/getproactive/

Ask the Get Proactive Team

[email protected]

Available References and Resources to Get Proactive

Page 66: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 66

Questions & Answers

Page 67: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 67

THANK YOU

Page 68: Tracking Data Flow Through Receipts Tables 9-11-13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 68