Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Entered

oe_order_headers_all  : -1 record created in header table


oe_order_lines_all :- Lines for particular records
---oe_price_adjustments :- When discount gets applied
---oe_order_price_attribs :- If line has price attributes then populated
---oe_order_holds_all :- If any hold applied for order like credit check etc.
Booked
oe_order_headers_all :- Booked_flag=Y Order booked.
wsh_delivery_details :- Released_status Ready to release
Pick Released
wsh_delivery_details :- Released_status=Y Released to Warehouse (Line has been
released to Inventory for processing)
wsh_picking_batches :-After batch is created for pick release.
mtl_reservations :-This is only soft reservations. No physical movement of stock
Full Transaction:-
mtl_material_transactions :-No records in mtl_material_transactions
mtl_txn_request_headers:-
mtl_txn_request_lines:-
wsh_delivery_details :-Released to warehouse.
wsh_new_deliveries :-if Auto-Create is Yes then data populated.
wsh_delivery_assignments :-deliveries get assigned
Pick Confirmed
wsh_delivery_details :-Released_status=Y Hard Reservations. Picked the stock. Physical
movement of stock
Ship Confirmed
wsh_delivery_details:-Released_status=C Y to C: Shipped; Delivery Note get printed
Delivery assigned to trip stop quantity will be decreased from staged
mtl_material_transactions:-On the ship confirm form, check Ship all box
wsh_new_deliveries:-If Defer Interface is checked I.e. it’s deferred then OM & inventory
not updated. If Defer Interface is not checked.: Shipped
oe_order_lines_all Shipped_quantity get populated.
wsh_delivery_legs :-1 leg is called as 1 trip.1 Pickup & drop up stop for each trip.
oe_order_headers_all:- If all the lines get shipped then only flag N
Auto invoice
wsh_delivery_details:- Released_status=I Need to run workflow background process.
ra_interface_lines_all:- Data will be populated after wk fw process.
ra_customer_trx_all:- After running Auto invoice Master Program for
ra_customer_trx_lines_all:-specific batch transaction tables get populated
Price Details
qp_list_headers_b:-To Get Item Price Details.
qp_list_lines;-
Items On Hand Qty:-
mtl_onhand_quantities:- TO check On Hand Qty Items.
Payment Terms
ra_terms:- Payment terms
AutoMatic Numbering System
ar_system_parametes_all you can chk Automactic Numbering is enabled/disabled.
Customer Information
hz_parties Get Customer information include name,contacts,Address and Phone
hz_party_sites
hz_locations
hz_cust_accounts
hz_cust_account_sites_all
hz_cust_site_uses_all
ra_customers
Document Sequence
fnd_document_sequences Document Sequence Numbers
fnd_doc_sequence_categories
fnd_doc_sequence_assignments
Default rules for Price List
oe_def_attr_def_rules Price List Default Rules
oe_def_attr_condns
ak_object_attributes
End User Details
csi_t_party_details To capture End user Details
Sales Credit Sales Credit Information(How much credit can get)
oe_sales_credits

Attaching Documents
fnd_attached_documents Attached Documents and Text information
fnd_documents_tl
fnd_documents_short_text
Blanket Sales Order
oe_blanket_headers_all Blanket Sales Order Information.
oe_blanket_lines_all

Processing Constraints
oe_pc_assignments Sales order Shipment schedule Processing Constratins
oe_pc_exclusions
Sales Order Holds
oe_hold_definitions Order Hold and Managing Details.
oe_hold_authorizations
oe_hold_sources_all
oe_order_holds_all
Hold Release
oe_hold_releases_all Hold released Sales Order.
Credit Chk Details
oe_credit_check_rules to get the Credit Check against Customer.
Cancel Orders
oe_order_lines_all Cancel Order Details.
FLOW OF ORDER TO CASH:-
 Enter the Sales Order

 Book the Sales Order

 Launch Pick Release

 Ship Confirm

 Create Invoice

 Create the Receipts either manually or using Auto Lockbox (In this article we will concentrate on
Manual creation)

ORDER ENTRY
Order Entry :-
This is the first stage where Order is entered into the system. It creates a record in Headers table and
Lines table .

OE_ORDER_HEADERS_ALL: This table stores the Header Information of the Sales Order

1. Entered the order details in header -- oe_order_headers_all

OE_ORDER_LINES_ALL: This table stores the Line Information of the Sales Order
1. Entered order details in lines  oe_order_lines_all

Base Tables :-
 OE_ORDER_HEADERS_ALL
 OE_ORDER_LINES_ALL

BOOKING AN ORDER
Order Booking :-
Order Booking is the final stage in the Sales Order entry. Now that the Order Entry process is
complete and that the order is eligible for the next stage in the line flow for this order, as defined by
its Transaction Type. By clicking Book Order button, the Order is booked.

After entering the data. We have to book the order.

 OE_ORDER_HEADERS_ALL
 OE_ORDER_LINES_ALL
 WSH_DELIVERY_DETAILS

LAUNCH PICK RELEASE


Launch Pick Release :-
Launch Pick release is the process by which the items on the sales order are taken out from
inventory. This process allocates on-hand inventory to your order and inform the warehouse
personnel to move the item from inventory to the shipping staging area. Once your item is in the
shipping staging area, it is ready to be shipped.
 OE_ORDER_HEADERS_ALL
 OE_ORDER_LINES_ALL
 WSH_DELIVERY_DETAILS
 WSH_DELIVERY_ASSIGNMENTS

SHIP CONFIRM THE ORDER


Ship Confirm The Order :-
It is a process of sending the Items from shipping staging area to the Customer site. By ship
confirming you will notify EBS that the shipment is complete and thereby updating the on-hand
Inventory. Ships confirm process will kick off the following Concurrent Programs: Interface Trip stop,
Packing slip Report, Bill of Lading, Commercial Invoice.

Base Tables :-

 OE_ORDER_HEADERS_ALL
 OE_ORDER_LINES_ALL
 WSH_DELIVERY_DETAILS
 MTL_MATERIAL_TRANSACTIONS
 MTL_RESERVATIONS
 MTL_TXN_REQUEST_HEADERS
 MTL_TXN_REQUEST_LINES

CREATING INVOICES
Creating Invoices :-
Here the Invoices are created based on the goods sold.

RA_CUSTOMER_TRX_ALL: Stores Invoice header information.

RA_CUSTOMER_TRX_LINES_ALL: Stores Invoice lines information.


Base Tables : -
 RA_CUSTOMER_TRX_ALL
 RA_CUSTOMER_TRX_LINES_ALL

CREATING RECEIPTS
Creating Receipts: -
Creating Receipts against the payments received.
Base Tables: -

 AR_CASH_RECEIPTS_ALL

JOINS BETWEEN THESE TABLES:-


 oe_order_headers_all.header_id= oe_order_lines_all.header_id
 oe_order_headers_all.header_id=
wsh_delivery_details.source_header_id
 oe_order_lines_all.line_id= wsh_delivery_details.source_line_id
 wsh_delivery_details.delivery_detail_id = wsh_delivery_assignments.
delivery_detail_id
 wsh_delivery_assignments.delivery_id =
wsh_new_deliveries.delivery_id
 ra_customer_trx_all.customer_trx_id = ra_customer_trx_lines_all.
customer_trx_id
 ra_customer_trx_all.interface_header_attribute1 =
oe_order_headers_all.order_number
 ra_customer_trx_all.interface_header_attribute2=
oe_order_headers_all.order_type
 ra_customer_trx_all.interface_header_attribute3=wsh_delivery_details.deliver
y_id
 ra_customer_trx_all.interface_header_attribute6=oe_order_lines_all.line_id
 ra_customer_trx_all.tr_number = invoice_number
 oe_order_lines_all.line_id = mtl_reservations.demand_source_line_id
 Same for ra_customer_trx_lines_all ………
 mtl_txn_request_headers.header_id =
mtl_txn_request_lines.header_id
 mtl_txn_request_lines.txn_source_line_id = oe_order_lines_all.line_id
 mtl_txn_request_lines.txn_source_line_detail_id =
wsh_delivery_details.delivery_detail_id
 rcv_shipment_headers.shipment_header_id =
wsh_new_deliveries.rcv_shipment_header_id
 --------------------------Customer table joins ------------------------------------------
 Hz_parties.party_id = hz_party_sites.party_id
 Hz_parties.party_id = hz_cust_accounts_all.party_id
 Hz_party_sites.party_site_id = hz_cust_acct_sites_all.party_site_id
 Hz_locations.loaction_id = hz_party_sites.location_id
 Hz_cust_accounts_all.cust_account_id =
hz_cust_acct_sites_all.cust_acount_id
 Hz_cust_acct_sites_all.cust_acct_site_id =
hz_cust_site_uses_all.cust_acct_site_id

Join b/w Order Headers and Lines Tables :-


SELECT * FROM
OE_ORDER_HEADERS_ALL OEH,OE_ORDER_LINES_ALL OEL
WHERE OEH.HEADER_ID = OEL.HEADER_ID;

Join b/w Shipping Tables :

SELECT *FROM
WSH_DELIVERY_ASSIGNMENTS WDA,
WSH_DELIVERY_DETAILS WDD
WHERE WDA.DELIVERY_DETAIL_ID = WDD.DELIVERY_DETAIL_ID;
SELECT *FROM
WSH_DELIVERY_ASSIGNMENTS WDA,
WSH_NEW_DELIVERIES WND
WHERE WDA.DELIVERY_ID = WND.DELIVERY_ID;

Join b/w Order Tables and Shipping Tables :

SELECT *FROM WSH_DELIVERY_DETAILS WDD,


OE_ORDER_HEADERS_ALL OOH
WHERE WDD.SOURCE_HEADER_ID = OOH.HEADER_ID;

SELECT *FROM
WSH_DELIVERY_DETAILS WDD,
OE_ORDER_LINES_ALL OOH
WHERE WDD.SOURCE_LINE_ID = OOH.LINE_ID;

SELECT *FROM
WSH_DELIVERY_DETAILS WDD,
OE_ORDER_HEADERS_ALL OOH
WHERE WDD.SOURCE_HEADER_NUMBER = OOH.ORDER_NUMBER;

Join b/w Order Management (Table(s)) and Receivables (Table(s)) (OM &
AR):

SELECT *FROM
RA_CUSTOMER_TRX_ALL RCT,
OE_ORDER_HEADERS_ALL OOH
WHERE RCT.INTERFACE_HEADER_ATTRIBUTE1 = OOH.ORDER_NUMBER;
SELECT *FROM
RA_CUSTOMER_TRX_LINES_ALL RCTL,
OE_ORDER_HEADERS_ALL OOH
WHERE RCTL.INTERFACE_LINE_ATTRIBUTE1 = OOH.ORDER_NUMBER;

SELECT * FROM
RA_CUSTOMER_TRX_LINES_ALL RCTL,
OE_ORDER_LINES_ALL OOL
WHERE RCTL.INTERFACE_LINE_ATTRIBUTE6 = OOL.LINE_ID;
RA_CUSTOMER_TRX_LINES_ALL Table
1.Order Number :- INTERFACE_LINE_ATTRIBUTE1
2.Order Type :- INTERFACE_LINE_ATTRIBUTE2
3.Delivery :-INTERFACE_LINE_ATTRIBUTE3
4.Waybill :- INTERFACE_LINE_ATTRIBUTE4
5.Count :- INTERFACE_LINE_ATTRIBUTE5
6.Line ID :- INTERFACE_LINE_ATTRIBUTE6
7.Picking Line ID:- INTERFACE_LINE_ATTRIBUTE7
8.Bill of Lading:- INTERFACE_LINE_ATTRIBUTE8
9.Customer Item Part:- INTERFACE_LINE_ATTRIBUTE9
10. Warehouse :- INTERFACE_LINE_ATTRIBUTE10
11. Price Adjustment ID :- INTERFACE_LINE_ATTRIBUTE11
12. Shipment Number :- INTERFACE_LINE_ATTRIBUTE12
13. Option Number :- INTERFACE_LINE_ATTRIBUTE13
14. Service Number :- INTERFACE_LINE_ATTRIBUTE14 */

Join b/w Order Management (Table(s)) and Party Tables :

SELECT * FROM OE_ORDER_HEADERS_ALL OOH,


HZ_CUST_ACCOUNTS HCA
WHERE OOH.SOLD_TO_ORG_ID = HCA.CUST_ACCOUNT_ID;

Join b/w Party Tables :

SELECT *FROM HZ_PARTIES HP,


HZ_CUST_ACCOUNTS HCA,
HZ_CUST_ACCT_SITES_ALL HCAS,
HZ_CUST_SITE_USES_ALL HCSU
WHEREHP.PARTY_ID = HCA.PARTY_ID
AND HCA.CUST_ACCOUNT_ID = HCAS.CUST_ACCOUNT_ID
AND HCAS.CUST_ACCT_SITE_ID = HCSU.CUST_ACCT_SITE_ID;

SELECT *FROM
HZ_PARTIES HP,
HZ_PARTY_SITES HPS,
HZ_LOCATIONS HL
WHEREHP.PARTY_ID = HPS.PARTY_ID
AND HPS.LOCATION_ID = HL.LOCATION_ID;

join b/w Recievables (Table(s)) and Party Tables :


SELECT *FROM
RA_CUSTOMER_TRX_ALL RCT,
HZ_CUST_ACCOUNTS HCA
WHERE RCT.BILL_TO_CUSTOMER_ID = HCA.CUST_ACCOUNT_ID;
Join b/w AR Transaction (Invoice) Tables :
SELECT *FROM RA_CUSTOMER_TRX_ALL RCT,
RA_CUSTOMER_TRX_LINES_ALL RCTL
WHERE RCT.CUSTOMER_TRX_ID = RCTL.CUSTOMER_TRX_ID;

Join b/w AR Transaction (Invoice) Table(s)and AR Receipts (Table(s)):

SELECT *FROM RA_CUSTOMER_TRX_ALL RCT,


AR_RECEIVABLE_APPLICATIONS_ALL ARA,
AR_CASH_RECEIPTS_ALL ACR
WHERE RCT.CUSTOMER_TRX_ID = ARA.APPLIED_CUSTOMER_TRX_ID
AND ARA.CASH_RECEIPT_ID = ACR.CASH_RECEIPT_ID;
*** /* For Customer Aging Purpose we need to use AR_PAYMENT_SCHEDULES_ALL */

Join b/w AR Transaction and AR Payment Schedule Tables :

SELECT *FROM RA_CUSTOMER_TRX_ALL RCT,


AR_PAYMENT_SCHEDULES_ALL APSA
WHERE RCT.CUSTOMER_TRX_ID = APSA.CUSTOMER_TRX_ID;

Join b/w Customer and AR Cash Receipts Tables :

SELECT *FROM AR_CASH_RECEIPTS_ALL ACRA,


HZ_CUST_ACCOUNTS HCA
WHERE
ACRA.PAY_FROM_CUSTOMER = HCA.CUST_ACCOUNT_ID;

Join with Operating Units :- Join HR_OPERATING_UNITS table with


OE_ORDER_HEADERS_ALL
OE_ORDER_LINES_ALL
RA_CUSTOMER_TRX_ALL
RA_CUSTOMER_TRX_LINES_ALL
AR_CASH_RECIEPTS_ALL. ORG_ID =HR_OPERATING_UNITS. ORGANIZATION_ID

Join b/w AR and GL through XLA Tables :

SELECT RCT.*FROM gl_je_batches b,


gl_je_headers h,
gl_je_lines l,
gl_code_combinations_kfv glcc,
gl_import_references gir,
xla_ae_lines xlal,
xla_ae_headers xlah,
xla_events xlae,
xla.xla_transaction_entities xlate,
ra_customer_trx_all rct
WHERE b.je_batch_id = h.je_batch_id
AND h.je_header_id = l.je_header_id
AND xlal.code_combination_id = glcc.code_combination_id
AND l.je_header_id = gir.je_header_id
AND l.je_line_num = gir.je_line_num
AND gir.gl_sl_link_table = xlal.gl_sl_link_table
AND gir.gl_sl_link_id = xlal.gl_sl_link_id
AND xlal.ae_header_id = xlah.ae_header_id
AND xlah.event_id = xlae.event_id
AND xlae.entity_id = xlate.entity_id
AND xlae.application_id = xlate.application_id
AND h.je_source = 'Receivables'AND rct.trx_number = xlate.transaction_number;
Link b/w AP-> GL, PO-> GL : /*When Source is Payable then reference_5 of GL_JE_LINES
table is the invoice Number
and reference_2 is the invoice_id and Ref3 is the check_id.
--> When Source is Purchasing then ref5 of GL_JE_LINES table represent the transaction_id
of rcv_transaction
--> When Source is Inventory then check the transaction type.
--> If transaction type is Average cost update then the transaction_id of the
mtl_material_transaction_id represents the transaction_id of rcv_transaction _id in
rcv_transaction table.
--> If transaction_type is PO Receipt then RCV_TRANSACTION_ID in
mtl_material_transaction_id reprensent the transaction_id of rcv_transaction_id in
rcv_transaction table.

You might also like