You are on page 1of 11

Type Of Interface

Interface Table

Base Table

Pre-requisites: Order Management

Order Import (Concurrent Program ) The main functions of order import are : Validation , Defaulting , Inserting updating , or deleting of orders processing constraint checks scheduling of shipments applying and releasing Holds

oe_headers_iface_all oe_lines_iface_all oe_lotserials_iface_all oe_credits_iface_all oe_actions_iface_all oe_price_adjs_iface_all oe_price_atts_iface_all oe_reservnts_iface_all oe_order_cust_iface_all

oe_order_headers_all oe_lines_all oe_lot_serial_numbers oe_sales_credits

1) order Type 2) Line Type 3) Items 4) Customers 5) Ship Method /Freight Carrier 6) Sales Person 7) Sales Territories 8) Customer Order Holds 9) Sub inventory/Locations 10) On Hand Quantity

oe_price_adjustments

Oe_upgrade_wsh_iface

Validations:

API

Remarks

1) Check for sold_to_org_id. If does not exist, create new customer by calling create_new_cust_info API. 2) Check for sales_rep_id. Should exist for a booked order. 3) Ordered_date should exist (header level) 4) Delivery_lead_time should exists

Order Import API OE_ORDER_PUB.GET_ORDER and PROCESS_ORDER can also be used to import orders. Auto Release Order :-----------------------1. Populate the data into WSH_ PICKING_BATCHS 2.Call WSH_PICK_LIST.Online_Release 3.WSH_DELIVERIES_PUB.CREATE_UPD ATE_DELIVERY Move Order and Staged :-----------------------1. INV_Replenish_Detail_PUB.Line_Details_ PUB 2. INV_PICK_WAVE_PICK_CONFIRM_PUB.P ick_Confirm Create Delivery and Ship Confirm:-----------------------1.WSH_DELIVERY_DETAILS_PUB.detail_t o_delivery (assign and unassign delivery) 2. WSH_DELIVERIES_PUB.Delivery_Action 3. Call Concurrent Program WSHINTERFACES

1) During import of orders,shipping tables are not populated. 2) If importing customers together with the order, OE_ORDER_CUST_IFACE_ALL has to be populated and the base. tables are HZ_PARTIES, HZ_LOCATIONS. 3) Orders can be categorized as

O2C (Order To Cash)


Steps
Setup Order Type / Price Lists Customer Creation Status: Order Header: Entered Order Line: Entered Shipping Transaction form: NA Table Level : OE_ORDER_HEADERS_ALL Flow_Status_code Entered OE_ORDER_LINES_ALL Flow_Status_code Entered After Order Booking: Order Header: Booked Order Line : Awating Shipping Shipping Transaction form: Ready to release Table Level : OE_ORDER_HEADERS_ALL Flow_Status_code Booked OE_ORDER_LINES_ALL Flow_Status_code Awaiting Shipping WSH_DELIVERY_DETAILS Released_Status - R ( means Ready to release) Delivery Detail id will be created Delivery id will not be created , data gets populated into wsh_delivery_assignments Mtl_demand also get populated at this point of time after running cp in the background demand interface program Ideally pick release is the process which is defined in which the items on the sales order are taken out from inventory. It process of putting reservation on ON-HAND QTY available in the inventory. Normally pick release SRS program runs in background . Once the program get completed these are the table get affected: oe_order_lines_all (flow_status_code PICKED ) wsh_delivery_details (released_status S submitted for release ) mtl_txn_request_headers mtl_txn_request_lines (move order tables.Here request is generated to move item from saleble to staging sub inventory) Mtl_material_transactions_temp

Base Tables

Creating Order

Booking the Order

Pick Release

O2C (Order To Cash)Cont.


Steps Base Tables
Items are transferred from saleble to staging Subinventory mtl_material_transactions mtl_transaction_accounts wsh_delivery_details (released_status Y Released ) wsh_delivery_assignments

Pick Confirm

Here ship confirm interface program runs in background .Data removed from wsh_new_deliveries oe_order_lines_all (flow_status_code shipped) wsh_delivery_details (released_status C Shipped) 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 Ship Confirm Interface Trip Stop Workflow Background process ra_interface_lines_all , ra_interface_salescredits_all Autoinvoice program Tables: ra_customer_trx_all ra_customer_trx_lines_all oe_order_lines_all (flow_status_code shipped, open_flag "N") oe_order_lines_all , oe_order_headers_all (flow_status_code closed,open_flag "N") Ar_cash_receipts_all (General Import Transfer Program transfer the accounting entry with following important parameters : GL Post date , Post In Summary , Run Journal Import if YES then data transfer from gl_interface to GL base table else reside into gl_interface) . We can also run the import journal through GL responsibility. Underlying base table is gl_je_batches , gl_je_headers and gl_je_lines. After that we can post journals under the GL responsibility. (ar_receipt_api_pub)

Invoicing Complete Line Close Order

Receipts

O2C (Order To Cash)Cont.


Pre-requisites: Remarks

1) Transaction Types have been defined. 2) Customers exist in the Customer Master, including Contacts, Addresses, and Location Business Purposes. 3) Price Lists have been defined. 4) Items have been defined in the Item Master and assigned to Price Lists. 5) Tax Codes and Tax Categories have been defined. 6) Invoicing and Accounting Rules have been defined. 7) Freight Carriers have been defined. 8) Shipping Warehouses have been setup. 9) Payment types have been set-Up

Order Entry Can be done by 3 ways 1) Manual Entry 2) Order Import 3) Copy an Order

O2C (Order To Cash)Cont.


Accounting Event Enter The Sales Order Ship Items Enter Invoice Enter Receipts Accounting Entries No Accounting impact Cost Of Goods Sold A/C ----------- DR. To Inventory A/C ----------- CR. Receivables To Revenue A/C ----------- DR. A/C ----------- CR.

Cash/Bank A/C ----------- DR. To Receivables A/C ----------- CR.

B2B and Drop shipment


Back to Back Order :- the literal meaning of B2B is when the stock is not available in the inventory and the co. is already placed a purchase order. In oracle when the purchase order is based on customer order then we can use B2B with certain setup and system provide some standard report so that we can track status at each level. Drop Shipment :- Business adopt the drop shipment when it does not require stock physically . Indeed the supplier ship the goods to the end customer on behalf of co. to implement the drop shipment we do require some setup. Steps
Setup

Back To Back
Following Items property should be checked in the Item Master Form : 1. OM Tab :-- Checked ATO 2. Purchasing Tab :-- Price List value optional 3.WIP TAB :-- Checked Build in WIP 4. General Planning Tab :-- Checked Make or Buy flag Note :- irrespective of ATO item as it call workflow Status of Sales Order Header is Entered And the Source Type is Internal Order Line Status is Supply_Eligble In the Sales Order Form Click on Action Progress Order Select Create Supply Order Eligible by doing this two things will happen 1. Line Status become PO-ReqRequest 2. It pump the data into po requisition interface Note :- we can also run the progress order through programmatically. apps.wf_engine.CompleteActivity('OEOL', to_char(pass order line id ), 'CREATE_SUPPLY_ORDER_ELIGIBLE', null); Now we can check the reservation status of the item by doing tools Scheduling reservation details Supply Tab as there is no requisition is created for inventory.

Drop Shipment
1. Item is to be purchasable item 2. OM TAB :- Checked both customer order and customer order enabled 3. Purchasing Tab :-- Default buyer (optional) and assign purchase price. 4. Profile option :-- OM: Population of Buyer Code for Dropship lines (Order Creator)

Create Sales Order Book Sales Order Progress Order

Status of Sales Order Header is Entered And the Source Type is External Check Workflow Status 1. Do the progress order and then run the workflow background process unless it is scheduled. We need to run the workflow background process to populate the po_requisitions_interfaces_all

B2B and Drop shipment (Cont.)


Steps
To Create requisition

Back To Back
Purchasing responsibility-> reports run Requisition Import here you can control approval too . You can also submit this program. Behind this screen MTL_reservation gets populated with the following key information supply_source_line_id = requisition_line_id and demand_source_type = requisition. Now one can check the reservation details now the type become in supply tab is External requisition

Drop Shipment
Run PO Requisition Import Concurrent Request (it run parent child request Requisition Import and Create Release) To identify the PO requisition Number In the sales order form click on Action Additional Line Information go to Drop ship tab and here we can find the PO requisition number and its status whether it is approved or not. In the same way we can check the sales order number in po requisition form on the related document tab. Purchasing Autocreate Approve Purchase Order , if not.

Create PO

Purchasing Autocreate The status of sales order line become PO Created And type = purchase order in the supply tab of reservation detail. Once item is received the sales Order line status become Awaiting shipping and we do rest of the process as we do in the normal O2C cycle.

Receiving

Received the item logically once the supplier sent the item to end customer

Internal Sales Order This functionality is basically implemented ,when there is a transfer from one Inventory to another inventory or Expense Locations. (Purchasing , OM and Inventory module is involved. ) There are two type of requisitions one Purchase requisition ( used for create PO ) and another is internal requisition which leads to Internal sales order
Steps Profile Options Remarks Set PO: Legal requisition Type to Both so that we can see the both kind of requisition. 1. On the purchasing tab add the price if the item is to be used in iprocurement 2. Uncheck the purchasing checkbox , if the item is only be ordered from an internal source. 3. On the OM Tab checked internal ordered , internal ordered enabled and the Oe transactable. 4. Make sure the item is assigned to both the source and destination inventory organization. 1. Inventory Shipping Networks are setup From and To for destination org and source org (Set up Organization -> Shipping Netwprk) 2. Choose the Transfer Type Direct , Intransit 3. Choose the Internal Order required checkbox Define a location and basically used for destination and is to be be linked with Customer. Create the internal Customer here we can tied the location what we have defined earlier step. In the internal Block. (Ship to address)

Creating the Item

Create Shipping Network Create the Location Create Customer Create Price List

Create Internal Requisition Form Create Internal Orders

Here we are going to specify the source and destination organization and location. In case of Internal Customer we can see the both value else it will show only supplier related defaulted value. Customer is also set to internal. ( table :-- Po_requisition_headers_all ) Run Create Internal Orders concurrent request Purchasing resp Reports run Create Internal Orders

Internal Sales Order (Cont..)


Steps Remarks OM Resp Order , Returns Import Orders Order Import Request . We need to pass the value in the parameter Order Source as Internal and Order Ref as internal requisition number. Table oe_order_headers_all Column orig_sys_document_ref = requisition number Note :-- Once Order is automatically booked if everything goes well and also the internal sales order be never invoiced. So in short we can say that drop ship and Internal sales order is opposite in nature.

Order Import Request

One can reach me at pdsharad@gmail.com

You might also like