O2C(Order to Cash) CyCle

download O2C(Order to Cash) CyCle

of 14

Transcript of O2C(Order to Cash) CyCle

  • 8/10/2019 O2C(Order to Cash) CyCle

    1/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    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* fromoe_order_headers_all whereorder_number =4721

    select* fromoe_order_lines_all whereheader_id =39441

    select* fromoe_transaction_types_tl wheretransaction_type_id =1153--order_type_id

    select* fromqp_list_headers wherelist_header_id =1027--price _list_id

    select* fromqp_list_lines wherelist_header_id =1027--price _list_id

    select* fromar_customers wherecustomer_id =1146--sold_to_org_id

    select* fromhz_cust_accounts wherecust_account_id=1146--sold_to_org_id

    select* fromhz_parties whereparty_id=1146--hz_cust_accounts.party_id

    O2C(Order to Cash) CyCle

    http://4.bp.blogspot.com/-ecV5xHQ-mrU/Ubrn7iaqKjI/AAAAAAAAAEU/9phJaY-Ux00/s1600/order+headers.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    2/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    select* fromhr_operating_units whereorganization_id =600-- org_id operating unit

    select* fromhz_cust_site_uses_all wheresite_use_id=1283--oe_order_headers_all.ship_to_org_id

    select* fromhz_cust_acct_sites_all wherecust_acct_site_id=1242--

    hz_cust_site_uses_all.cust_acct_site_id

    select* fromhz_party_sites whereparty_site_id=1242--hz_cust_acct_sites_all.party_site_id

    select* fromhz_locations wherelocation_id=990--hz_party_sites.location_id

    select* fromra_salesreps_all salerep wheresalesrep_id =1187--oe_order_headers_all.salesrep_id and

    rownum =1

    select* fromra_terms_tl whereterm_id =1000andlanguage='US'--

    oe_order_headers_all.payment_term_id

    selectnamefromoe_order_sources whereorder_source_id=oe_order_headers_all.order_source_id and

    enabled_flag='Y'

    select* fromorg_organization_definitions whereorganization_id =207--

    oe_order_headers_all.ship_from_org_id warehouse

    selectship_method_code fromwsh.wsh_carrier_services

    whereship_method_code =oe_order_headers_all.shipping_method_code

    Before that we have to enter line items

  • 8/10/2019 O2C(Order to Cash) CyCle

    3/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    [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 linesflow_status_code is Awaiting_shipping And wsh_delivery_details the released_status is ready_to_release(R)

    Effecting tables are

    select* fromoe_order_lines_all whereheader_id =39441

    select* frommtl_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* frommtl_units_of_measure_tlwhereupper(uom_code)='Ea'--upper(oe_order_lines_all.order_quantity_uom)

    select* frommtl_onhand_quantities

    whereinventory_item_id=1196--oe_order_lines_all.inventory_item_id

    andorganization_id=604--oe_order_lines_all.ship_from_org_id

    select* fromwsh_delivery_details

    wheresource_header_id=39441--oe_order_headers_all.header_id

    http://4.bp.blogspot.com/-Diokxxb3FWs/Ubro7rtEEZI/AAAAAAAAAEg/twPNRrF9fTI/s1600/order+headers.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    4/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    select* fromwsh_delivery_assignments

    wheredelivery_detail_id=29561--wsh_delivery_details.delivery_detail_id

    select* fromwsh_new_deliveries

    wheredelivery_id=7098--wsh_delivery_assignments.delivery_id

    select* fromwsh_delivery_legs

    wheredelivery_id=7098--wsh_new_deliveries.delivery_id

    select* fromwsh_trip_stops

    wherestop_id=3557--wsh_delivery_legs.pick_up_stop_id

    select* fromwsh_trips

    wheretrip_id=6077--wsh_trip_stops.trip_id

    select* fromorg_organization_definitions

    whereorganization_id =604--wsh_new_deliveries.organization_id

    select* frommtl_material_transactions mmt

    whereinventory_item_id=--oe_order_lines_all.inventory_item_id

    andorganization_id=--oe_order_lines_all.ship_from_org_id

    select* frommtl_transaction_types

    wheretransaction_type_id =--mmt.transaction_type_id

    select* frommtl_txn_source_types

    wheretransaction_source_type_id=--mmt.transaction_source_type_id

    3)Pick Release:

    ----------------------------

    Shipping > Release Sales Order > Release Sales Orders.

  • 8/10/2019 O2C(Order to Cash) CyCle

    5/14

    9/24/2014 O2C(Order to Cash) CyCle

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

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

    http://2.bp.blogspot.com/-hUHseP2n0vQ/UbrzfLPWirI/AAAAAAAAAE4/eMx41N0mMw4/s1600/order+headers.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    6/14

    9/24/2014 O2C(Order to Cash) CyCle

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

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

    http://4.bp.blogspot.com/-l2Gowu_sTD0/Ubrze4bb0OI/AAAAAAAAAFA/R8QVXYpA0zc/s1600/order+headers2.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    7/14

    9/24/2014 O2C(Order to Cash) CyCle

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

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

    http://3.bp.blogspot.com/-ERZcn8oTLOk/UbrzfMKI1MI/AAAAAAAAAE8/IzIc_GDeAm8/s1600/order+headers3.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    8/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    [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://3.bp.blogspot.com/-u6MSM549J7c/Ubrzfyufz2I/AAAAAAAAAFM/P8tbyTCIipA/s1600/order+headers4.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    9/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    [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://4.bp.blogspot.com/-DCs51hn7BcY/Ub6WEV4YDLI/AAAAAAAAAGI/ia8DfgpAQLg/s1600/untitled.bmphttp://4.bp.blogspot.com/-evOYAxTKfK8/Ub6V-EdIttI/AAAAAAAAAGA/8ycWr8Q2Wi8/s1600/untitled2.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    10/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    [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://4.bp.blogspot.com/-Pz_Milysi6E/Ub6X32ZQ1hI/AAAAAAAAAGk/g99Jo1mfQE4/s1600/untitled.bmphttp://3.bp.blogspot.com/-O09hDrXff5Y/Ub6WInzZDDI/AAAAAAAAAGQ/P7LaZ7Y5jVo/s1600/untitled1.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    11/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    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 = ORDER ENTRY

    INTERFACE_LINE_ATTRIBUTE1= Order_number

    INTERFACE_LINE_ATTRIBUTE3= Delivery_id

    select* fromra_customer_trx_all whereinterface_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* fromra_customer_trx_lines_all whereINTERFACE_LINE_CONTEXT ='ORDER ENTRY'

    http://4.bp.blogspot.com/-ca67PSPO2Xw/Ub6bIbBJBaI/AAAAAAAAAGw/n5aNRqeYk4I/s1600/untitled.bmp
  • 8/10/2019 O2C(Order to Cash) CyCle

    12/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    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 comeas 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 getupdated. 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 sub-

    inventory)

    Mtl_material_transactions_temp (link to above tables through move_order_header_id/line_id, this table holds the

  • 8/10/2019 O2C(Order to Cash) CyCle

    13/14

    9/24/2014 O2C(Order to Cash) CyCle

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

    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 sourc

    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

  • 8/10/2019 O2C(Order to Cash) CyCle

    14/14

    9/24/2014 O2C(Order to Cash) CyCle

    Posted 14th June 2013by Nagarjuna Pamulapati

    Labels: Oracle Applications

    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

    Enter your comment...

    Comment as: Google Accou

    Publish

    Preview

    0 Add a comment