Вы находитесь на странице: 1из 14

9/24/2014

O2C(Order to Cash) CyCle

O2C(Order to Cash) CyCle


Order To Cash:
-------------------1)Enter the Sales Order:
We have to give Customer,Customer No,Ship to location,Bill to location,Order type

[http://4.bp.blogspot.com/-ecV5xHQ-mrU/Ubrn7iaqKjI/AAAAAAAAAEU/9phJaY-Ux00/s1600/order+headers.bmp]

Tables will be effect:

select * from oe_order_headers_all where order_number = 4721


select * from oe_order_lines_all where header_id = 39441
select * from oe_transaction_types_tl where transaction_type_id = 1153 --order_type_id
select * from qp_list_headers where list_header_id = 1027 --price _list_id
select * from qp_list_lines where list_header_id = 1027 --price _list_id
select * from ar_customers where customer_id = 1146 --sold_to_org_id
select * from hz_cust_accounts where cust_account_id=1146 --sold_to_org_id
select * from hz_parties where party_id=1146 --hz_cust_accounts.party_id
http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

1/14

9/24/2014

O2C(Order to Cash) CyCle

select * from hr_operating_units where organization_id = 600 -- org_id operating unit


select * from hz_cust_site_uses_all where site_use_id=1283 --oe_order_headers_all.ship_to_org_id
select * from hz_cust_acct_sites_all where cust_acct_site_id=1242 -hz_cust_site_uses_all.cust_acct_site_id
select * from hz_party_sites where party_site_id=1242 --hz_cust_acct_sites_all.party_site_id
select * from hz_locations where location_id=990--hz_party_sites.location_id
select * from ra_salesreps_all salerep where salesrep_id =1187 --oe_order_headers_all.salesrep_id and
rownum =1
select * from ra_terms_tl where term_id =1000 and language = 'US' -oe_order_headers_all.payment_term_id
select name from oe_order_sources where order_source_id= oe_order_headers_all.order_source_id and
enabled_flag= 'Y'
select * from org_organization_definitions where organization_id =207 -oe_order_headers_all.ship_from_org_id warehouse
select ship_method_code from wsh.wsh_carrier_services
where ship_method_code = oe_order_headers_all.shipping_method_code
Before that we have to enter line items

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

2/14

9/24/2014

O2C(Order to Cash) CyCle

[http://4.bp.blogspot.com/-Diokxxb3FWs/Ubro7rtEEZI/AAAAAAAAAEg/twPNRrF9fTI/s1600/order+headers.bmp]

2)Book The Sales Order:


after entering the items Book the sales order and the flow_status_code under headers is Entered and in lines
flow_status_code is Awaiting_shipping And wsh_delivery_details the released_status is ready_to_release(R)
Effecting tables are

select * from oe_order_lines_all where header_id = 39441


select * from mtl_system_items_b where --segment1 like oe_order_lines_all.ordered_item and
organization_id= 604 --oe_order_lines_all.ship_from_org_id

select * from mtl_units_of_measure_tl


where upper(uom_code)= 'Ea'--upper(oe_order_lines_all.order_quantity_uom)
select * from mtl_onhand_quantities
where inventory_item_id=1196--oe_order_lines_all.inventory_item_id
and organization_id=604--oe_order_lines_all.ship_from_org_id
select * from wsh_delivery_details
where source_header_id=39441--oe_order_headers_all.header_id

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

3/14

9/24/2014

O2C(Order to Cash) CyCle

select * from wsh_delivery_assignments


where delivery_detail_id=29561--wsh_delivery_details.delivery_detail_id
select * from wsh_new_deliveries
where delivery_id=7098--wsh_delivery_assignments.delivery_id
select * from wsh_delivery_legs
where delivery_id=7098--wsh_new_deliveries.delivery_id
select * from wsh_trip_stops
where stop_id=3557--wsh_delivery_legs.pick_up_stop_id
select * from wsh_trips
where trip_id=6077--wsh_trip_stops.trip_id
select * from org_organization_definitions
where organization_id = 604--wsh_new_deliveries.organization_id

select * from mtl_material_transactions mmt


where inventory_item_id=--oe_order_lines_all.inventory_item_id
and organization_id=--oe_order_lines_all.ship_from_org_id
select * from mtl_transaction_types
where transaction_type_id = --mmt.transaction_type_id
select * from mtl_txn_source_types
where transaction_source_type_id= --mmt.transaction_source_type_id
3)Pick Release:
---------------------------Shipping > Release Sales Order > Release Sales Orders.

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

4/14

9/24/2014

O2C(Order to Cash) CyCle

[http://2.bp.blogspot.com/-hUHseP2n0vQ/UbrzfLPWirI/AAAAAAAAAE4/eMx41N0mMw4/s1600/order+headers.bmp]

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

5/14

9/24/2014

O2C(Order to Cash) CyCle

[http://4.bp.blogspot.com/-l2Gowu_sTD0/Ubrze4bb0OI/AAAAAAAAAFA/R8QVXYpA0zc/s1600/order+headers2.bmp]

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

6/14

9/24/2014

O2C(Order to Cash) CyCle

[http://3.bp.blogspot.com/-ERZcn8oTLOk/UbrzfMKI1MI/AAAAAAAAAE8/IzIc_GDeAm8/s1600/order+headers3.bmp]

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

7/14

9/24/2014

O2C(Order to Cash) CyCle

[http://3.bp.blogspot.com/-u6MSM549J7c/Ubrzfyufz2I/AAAAAAAAAFM/P8tbyTCIipA/s1600/order+headers4.bmp]

If Autocreate Delivery is set to Yes then a new record is created in the table WSH_NEW_DELIVERIES.
DELIVERY_ID is populated in the table WSH_DELIVERY_ASSIGNMENTS.
The RELEASED_STATUS in WSH_DELIVERY_DETAILS would be now set to Y (Pick Confirmed) if Auto Pick Confirm is set
to Yes otherwise RELEASED_STATUS is S (Release to Warehouse).
4)Ship

Confirm the Order:

Navigation:
----------------Order Management Super User>Shipping >Transactions.

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

8/14

9/24/2014

O2C(Order to Cash) CyCle

[http://4.bp.blogspot.com/-evOYAxTKfK8/Ub6V-EdIttI/AAAAAAAAAGA/8ycWr8Q2Wi8/s1600/untitled2.bmp]

[http://4.bp.blogspot.com/-DCs51hn7BcY/Ub6WEV4YDLI/AAAAAAAAAGI/ia8DfgpAQLg/s1600/untitled.bmp]

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

9/14

9/24/2014

O2C(Order to Cash) CyCle

[http://3.bp.blogspot.com/-O09hDrXff5Y/Ub6WInzZDDI/AAAAAAAAAGQ/P7LaZ7Y5jVo/s1600/untitled1.bmp]

and select ship confirm and select go


and shipping we be completed and the tables will be effected is
select flow_status_code from oe_order_lines_all where header_id = 190384; "shipped"

select released_status from wsh_delivery_details


where source_header_number ='66413' "closed"
and run the workflow background process

[http://4.bp.blogspot.com/Pz_Milysi6E/Ub6X32ZQ1hI/AAAAAAAAAGk/g99Jo1mfQE4/s1600/untitled.bmp]

and background programms are


1)workflow background process
2)auto invoice master programm
http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

10/14

9/24/2014

O2C(Order to Cash) CyCle

3)process transaction interface


4)Auto invoice import program

[http://4.bp.blogspot.com/ca67PSPO2Xw/Ub6bIbBJBaI/AAAAAAAAAGw/n5aNRqeYk4I/s1600/untitled.bmp]

the tables effected is


Workflow Background Process inserts the records RA_INTERFACE_LINES_ALL with

INTERFACE_LINE_CONTEXT =
INTERFACE_LINE_ATTRIBUTE1=
INTERFACE_LINE_ATTRIBUTE3=

ORDER ENTRY
Order_number
Delivery_id

select * from ra_customer_trx_all where interface_header_attribute1 = '4721' --order_number


select * from ra_customer_trx_all where customer_trx_id = '23644'--ira_customer_trx_lines_all =
'customer_trx_id'
select * from ra_customer_trx_lines_all where interface_line_attribute1='4721'--oe_order_headers_all =
'order_number'
select * from ra_customer_trx_lines_all where interface_line_attribute6='43425'--oe_order_lines_all =
'line_id'
select * from ra_customer_trx_lines_all where interface_line_attribute3='7098' --wsh_new_deliveries =
'delivery_id'

select * from ra_customer_trx_lines_all where INTERFACE_LINE_CONTEXT = 'ORDER ENTRY'

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

11/14

9/24/2014

O2C(Order to Cash) CyCle

Order to Cash Cycle

1. Order Entry :
This is first stage, When the order is entered in the system, it creates a record in order headers and Order Lines table.
Enter header details: Once you enter details on the order header and save it or move it to lines, record goes to one
table oe_order_headers_all flow_status_code = ENTERED, booked_flag = N), Primary key=HEADER_ID
No record exists in any other table for this order till now.
Enter Line details for this order: Enter different item numbers, quantity and other details in line tab. When the record
gets saved, it goes to one table. Order header details will be linked with line details by order HEADER_ID.
oe_order_lines_all (flow_status_code = ENTERED, booked_flag = N, open_flag = Y) Primary key= LINE_ID
2.Order Booking:
This is next stage, when Order is booked then the Flow status changed from Entered to Booked. At this stage, these
below table get affected.
oe_order_headers_alL (flow_status_code as BOOKED, booked_flag updated to Y)
oe_order_lines_all (flow_status_code as AWAITING_SHIPPING, booked_flag updated Y)
wsh_delivery_details (DELIVERY_DETAIL_ID is assigned here, released_status R ready to release, LINE_ID comes
as SOURCE_LINE_ID)
wsh_delivery_assignments (DELIVERY_ASSIGNMENT_ID is assigned for DELIVERY_DETAIL_ID present in
wsh_delivery_details, DELIVERY_ID remains blank till this stage)
*In shipping transaction form order status remains "Ready to Release".
At the same time, Demand interface program runs in background And insert into inventory tables mtl_demand, here
LINE_ID come as a reference in DEMAND_SOURCE_LINE
3. Reservation:
This step is required for doing reservations SCHEDULE ORDER PROGRAM runs in the background and quantities
are reserved. Once this program get successfully get completed, the mtl_demand and mtl_reservations table get
updated. LINE_ID gets updated in DEMAND_SOURCE_LINE_ID in both the tables.
4. Pick Release:
Pick Release is the process of putting reservation on on-hand quantity available in the inventory and pick them for
particular sales order.
Pick release can be done from 'Release Sales Order' form or 'Pick release SRS' program can be scheduled in
background. In both of these cases all lines of the order gets pick released depending on the Picking rule used. If
specific line/s needs to be pick release it can be done from 'Shipping Transaction form. For this case Pick Release is
done from 'Release Sales Order' form with Pick Confirm=NO.Once pick release is done these are the tables get
affected:
If step 3 is not done then MTL_RESERVATIONS gets updated now.
wsh_new_deliveries (one record gets inserted with SOURCE_HEADER_ID= order header ID, status_code=OP
=>open)
wsh_delivery_assignments (DELIVERY_ID gets assigned which comes from wsh_new_deliveries)
wsh_delivery_details (released_status S submitted for release)
MTL_TXN_REQUEST_HEADERS
MTL_TXN_REQUEST_LINES (LINE_ID goes as TXN_SOURCE_LINE_ID)
(move order tables. Here request is generated to move item from Source (RM or FG) sub-inventory to staging subinventory)
Mtl_material_transactions_temp (link to above tables through move_order_header_id/line_id, this table holds the
http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

12/14

9/24/2014

O2C(Order to Cash) CyCle

record temporally)
MTL_SERIAL_NUMBERS_TEMP (if item is serial controlled at receipt then record goes in this table)
MTL_SERIAL_NUMBERS (enter value in GROUP_MARK_ID )
*In shipping transaction form order status remains "Released to Warehouse" and all the material still remains in source
sub-inventory. We need to do Move Order Transaction for this order. Till this no material transaction has been posted
to MTL_MATERIAL_TRANSACTIONS
5.Pick Confirm/ Move Order Transaction:
Items are transferred from source sub-inventory to staging Sub-inventory. Here material transaction occurs.
Order line status becomes 'Picked' on Sales Order and 'Staged/Pick Confirmed' on Shipping Transaction Form.
MTL_MATERIAL_TRANSACTIONS_TEMP (Record gets deleted from here and gets posted to
MTL_MATERIAL_TRANSACTIONS)
oe_order_lines_all (flow_status_code PICKED )
MTL_MATERIAL_TRANSACTIONS (LINE_ID goes as TXN_SOURCE_LINE_ID)
mtl_transaction_accounts
wsh_delivery_details (released_status becomes Y => Released )
wsh_delivery_assignments
MTL_ONHAND_QUANTITIES
MTL_SERIAL_NUMBERS_TEMP (record gets inserted after putting details for the item which are serial controlled at
'Sales order issue')
MTL_SERIAL_NUMBERS (record gets inserted after putting details for the item which are serial controlled at 'Sales
order issue')
* This step can be eliminated if we set Pick Confirm=YES at the time of Pick Release
6.Ship Confirm:
Here ship confirm interface program runs in background. Data removed from wsh_new_deliveries.
The items on the delivery gets shipped to customer at this stage.
oe_order_lines_all (flow_status_code shipped)
wsh_delivery_details (released_status C Shipped, SERIAL_NUMBER if quantity is ONE)
WSH_SERIAL_NUMBERS (records gets inserted with the DELIVERY_DETAIL_ID reference, only in case of shipped
quantity is two or more)
mtl_transaction_interface
mtl_material_TRANSACTIONS (linked through Transaction source header id)
mtl_transaction_accounts
Data deleted from mtl_demand, MTL_reservations
Item deducted from MTL_ONHAND_QUANTITIES
MTL_SERIAL_NUMBERS_TEMP (records gets deleted from this table)
MTL_SERIAL_NUMBERS (Serial number stauts gets updated CURRENT_STATUS=4 , 'Issued out of store')
7.Enter Invoice:
After shipping the order the order lines gets eligible to get transfered to RA_INTERFACE_LINES_ALL. Workflow
background engine picks those records and post it to RA_INTERFACE_LINES_ALL. This is also called Receivables
interface, that mean information moved to accounting area for invoicing details. Invoicing workflow activity transfers
shipped item information to Oracle Receivables. At the same time records also goes in the table
RA_INTERFACE_SALESCREDITS_ALL which hold details of sales credit for the particular order.
ra_interface_lines_all (interface table into which the data is transferred from order management) Then Autoinvoice
program imports data from this table which get affected into this stage are receivables base table. At the same time
records goes in
ra_customer_trx_all (cust_trx_id is primary key to link it to trx_lines table and trx_number is the invoice
http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

13/14

9/24/2014

O2C(Order to Cash) CyCle

number)ra_customer_trx_lines_all (line_attribute_1 and line_attribute_6 are linked to order number and line_id of the
orders)
8.Complete Line:
In this stage order line level table get updated with Flow status and open flag.oe_order_lines_all (flow_status_code
shipped, open_flag N)
9.Close Order:
This is last step of Order Processing. In this stage only oe_order_lines_all table get updated. These are the table get
affected in this step.oe_order_lines_all (flow_status_code closed, open_flag N)
oe_order_HEADERS_all
Posted 14th June 2013 by Nagarjuna Pamulapati
Labels: Oracle Applications
0

Add a comment

Enter your comment...

Comment as:

Publish

Google Account

Preview

http://chintuoracleappstechnicalstuff.blogspot.in/2013/06/o2corder-to-cash-cycle.html

14/14

Вам также может понравиться