Thursday 11 April 2013

Sales Order Conversion


Hi , recently I have done SO conversion, I like to share my knowledge...

This is only Psudeo Code and I hope this is helpfull...

before starting the sales order conversion we have know the some of the basic concepts.

STEP-1:
we have to create the staging tables  for sales order headers and order lines based on your data template.
after that we have to move the data by using the SQL * Loader or Direct TOAD.
once moving the data from flat file to staging tables.

STEP-2:
Creating the package in that we have to create two procedures, one is for validations and one for Loading
please find some of the validations in Sales order conversion.

-->Validate Customer Name
-->alidate Site BILL/SHIP Location
-->Customer Po number
-->Validate Operating unit
-->Validate Price List
-->Validate Order Type
-->validate Payment type
-->validate Organization Code
-->validate Currency on Order
-->validate Freight Terms
-->validate Sales Person Name
-->validate Conversion Type
-->Item Number
-->alidate UOM code


once all validations done in validation procedure same time all id's updated to staging tables after that
running the loading program the data is moving to the interface tables.
once the below interface tables are updated.

INTERFACE TABLES:

oe_headers_iface_all
oe_lines_iface_all

STEP-3

in the 3rd step we have to run the Order Import Program same time child program also running once the
status is completed normal after that checking the base tables in back end and same time we will see the
front end applications also. just we will  pass the sales order number and query.

Base Tables:

Oe_order_headers_all
Oe_order_lines_all.

Thanks a lot ......if we have any quires just give me comment...........


7 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. hi koteswar,
    what are the mandatory colums for sales order conversion??

    ReplyDelete
  3. Hi Sandeep,


    Sales order conversion mandatory header columns.


    ORIG_SYS_DOCUMENT_REF
    ,ORDER_SOURCE_ID
    -- ,CONVERSION_DATE
    ,ORG_ID
    ,ORDER_TYPE_ID
    ,PRICE_LIST_ID
    ,SOLD_FROM_ORG_ID
    ,SOLD_TO_ORG_ID
    ,SHIP_TO_ORG_ID
    ,SHIP_FROM_ORG_ID
    ,INVOICE_TO_ORG_ID
    ,OPERATION_CODE
    ,last_update_date
    ,last_updated_by
    ,creation_date
    ,created_by
    ,last_update_login
    Lines

    ORDER_SOURCE_ID
    , ORIG_SYS_DOCUMENT_REF
    , ORIG_SYS_LINE_REF
    , ORIG_SYS_SHIPMENT_REF
    , INVENTORY_ITEM_ID
    , LINK_TO_LINE_REF
    , REQUEST_DATE
    , DELIVERY_LEAD_TIME
    -- , DELIVERY_ID
    , ORDERED_QUANTITY
    , ORDER_QUANTITY_UOM
    , SHIPPING_QUANTITY
    , PRICING_QUANTITY
    , PRICING_QUANTITY_UOM
    , SOLD_FROM_ORG_ID
    , SOLD_TO_ORG_ID
    , INVOICE_TO_ORG_ID
    , SHIP_TO_ORG_ID
    , PRICE_LIST_ID
    , PAYMENT_TERM_ID
    ,last_update_date
    ,last_updated_by
    ,creation_date
    ,created_by
    ,last_update_login
    ,unit_selling_price
    .unit_list_price
    Thanks,
    Koteswar.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. HI Koteswar

    Very nice blog, but i need complete details can u provide me including all i need to do this one of my client can u send or mail to me ksmavuri@gmail.com

    ReplyDelete
  6. I need complete dlprocess .please can u provide me all docs.can u mail to me chinnagp137@gmail.com thanks in advance

    ReplyDelete
  7. I need complete dlprocess .please can u provide me all docs.can u mail to me chinnagp137@gmail.com thanks in advance

    ReplyDelete

Note: only a member of this blog may post a comment.