ESYU: Order Import를 통해 기존에 있는 Order에 hold를 적용할 수 있는 방법

Purpose
Oracle Order Management - Version: 11.5.10
Information in this document applies to any platform.
Order Import를 통해 기존에 존재하는 Order에 hold를 적용하는 방법에 대해 알아본다.
Solution
아래와 같이 order import interface를 이용하여 기존에 존재하는 order에 hold를 적용할 수 있다.
OE_HEADERS_IFACE_ALL:
ORDER_SOURCE_ID
ORIG_SYS_DOCUMENT_REF
OPERATION_CODE => 'UPDATE'
ORG_ID
ORDER_TYPE_ID
CREATED_BY
CREATION_DATE
LAST_UPDATED_BY
LAST_UPDATE_DATE
OE_ACTIONS_IFACE_ALL:
ORDER_SOURCE_ID,
ORIG_SYS_DOCUMENT_REF,
ORG_ID,
HOLD_ID,
HOLD_TYPE_CODE,
HOLD_TYPE_ID,
OPERATION_CODE => 'APPLY_HOLD'
HOLD_ID는 적용되어야 할 hold type을 의미한다.
(HOLD_ID from OE_HOLD_DEFINITIONS)
HOLD_TYPE_CODE는 생성되어야 하는 hold source에 대한 entity code이다.
C: Customer hold source
S: Bill To or Ship To hold source
I: Item hold source
O: Order hold source
W: Warehouse Hold Source
HOLD_TYPE_ID 값은 입력하는 HOLD_TYPE_CODE에 의존한다.
예를들어 HOLD_TYPE_CODE = 'C' 라면 HOLD_TYPE_ID는 customer_number가 되어야 한다.
Reference
Note 444040.1

Similar Messages

  • ESYU: Order Import를 통해 기존 Order를 reference 하는 RMA Order를 생성하는 방법

    Purpose
    Oracle Order Management - Version: 11.5.9 to 12.0.5
    Information in this document applies to any platform.
    Order Import를 통해 기존 존재하는 Order를 reference 하는 RMA Order의 생성 방법을 알아본다.
    Solution
    Order Import interface의 header와 line에 data를 insert 하기 위해 아래 script를 이용한다.
    INSERT INTO OE_HEADERS_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,creation_date
    ,created_by
    ,last_update_date
    ,last_updated_by
    ,operation_code
    ,sold_to_org_id
    ,order_type_id
    ,booked_flag
    VALUES
    1227 --order_source_id
    ,'123456' --orig_sys_document_ref
    ,sysdate --creation_date
    ,-1 --created_by
    ,sysdate --last_update_date
    ,-1 --last_updated_by
    ,'INSERT' --operation_code
    ,1005 --sold_to_org_id
    ,1436 --order_type_id
    ,'Y' --booked_flag
    INSERT INTO OE_LINES_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,orig_sys_line_ref
    ,inventory_item_id
    ,ordered_quantity
    ,operation_code
    ,created_by
    ,creation_date
    ,last_updated_by
    ,last_update_date
    ,return_reason_code
    ,return_context
    ,return_attribute1
    ,return_attribute2
    VALUES
    1227 --order_source_id
    ,'123456' --orig_sys_document_ref
    ,'1' --orig_sys_line_ref
    ,249 --inventory_item_id
    ,10 --ordered_quantity
    ,'INSERT' --operation_code
    ,-1 --created_by
    ,sysdate --creation_date
    ,-1 --last_updated_by
    ,sysdate --last_update_date
    ,'CANCELLATION' --return_reason_code
    ,'ORDER' --referencing a sales order
    ,'157638' --header_id of referenced order
    ,'256619' --line_id of referenced line
    commit;
    API guide와 eTRAM을 참조하여 귀사의 testcase에 알맞게 위 insert script를 수정하거나 다른 columns을 add 한다.
    위 모든 interface tables의 order_source_id에는 당신의 order_source_id 값을 입력한다.
    위 모든 interface tables의 orig_sys_document_ref에는 각각의 order에 대한 unique 값을 입력한다.
    Interface table에 값을 insert 하면 Order Import Concurrent program을 실행한다.
    - Navigate to Orders, Returns -> Import Orders -> Order Import Request
    - Select your Order Source from the LOV in the parameters form.
    - Submit the concurrent request.
    Reference
    Note 746668.1

  • ORDER IMPORT를 통해 ORDER CANCEL 할 수 있는 방법

    제품 : MFG_OM
    작성날짜 : 2006-05-22
    ORDER IMPORT를 통해 ORDER CANCEL 할 수 있는 방법
    ================================================
    PURPOSE
    고객사 중 많은 수의 order cancel 작업을 해야 하기 때문에 이 cancel 작업
    을 API 즉 order import를 통해 할 수 있는 방법을 문의한다.
    이런 경우 아래와 같이 작업하여 order import를 통해 order cancel 작업을
    할 수 있다.
    Explanation
    - OPERATION_CODE = 'UPDATE'
    - CANCELLED_FLAG = 'Y'
    - CHANGED_REASON = 사용 가능한 value 입력
    - Order 전체 cancel을 하려면 OE_LINES_IFACE_ALL table에 어떤 record도
    입력하지 않으면 된다.
    Reference Documents
    Note 367621.1

  • ESYU: Order Import를 통해 간단한 ATO Model을 위한 Order를 생성하는 방법

    Purpose
    Oracle Order Management - Version: 11.5.9 to 12.0.5
    Information in this document applies to any platform.
    아래와 같은 구조를 갖는 간단한 ATO model을 위한 order를 order import를 통해 생성하는 방법에 대해 알아본다.
    ATO Model (542851)
    |- ATO Option Class (542852)
    |--Option Item (152840)
    Solution
    Order Import interface table에 header와 lines을 입력하는 아래 script를 이용한다.
    Interface tables에 data insert 후 Order Import concurrent program을 실행한다.
    INSERT INTO OE_HEADERS_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,creation_date
    ,created_by
    ,last_update_date
    ,last_updated_by
    ,operation_code
    ,sold_to_org_id
    VALUES (
    1227 --order_source_id
    ,'12345' --orig_sys_document_ref
    ,sysdate --creation_date
    ,-1 --created_by
    ,sysdate --last_update_date
    ,-1 --last_updated_by
    ,'INSERT' --operation_code
    ,1005 --sold_to_org_id
    INSERT INTO OE_LINES_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,orig_sys_line_ref
    ,inventory_item_id
    ,ordered_quantity
    ,operation_code
    ,created_by
    ,creation_date
    ,last_updated_by
    ,last_update_date
    ,top_model_line_ref
    ,item_type_code
    VALUES (
    1227 --order_source_id
    ,'12345' --orig_sys_document_ref
    ,'1' --orig_sys_line_ref
    ,542851 --inventory_item
    ,1 --ordered_quantity
    ,'INSERT' --operation_code
    ,-1 --created_by
    ,sysdate --creation_date
    ,-1 --last_updated_by
    ,sysdate --last_update_date
    ,'1' --top_model_line_ref
    ,'MODEL' --item_type_code
    INSERT INTO OE_LINES_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,orig_sys_line_ref
    ,inventory_item_id
    ,ordered_quantity
    ,operation_code
    ,created_by
    ,creation_date
    ,last_updated_by
    ,last_update_date
    ,top_model_line_ref
    ,link_to_line_ref
    ,item_type_code
    VALUES (
    1227 --order_source_id
    ,'12345' --orig_sys_document_ref
    ,'2' --orig_sys_line_ref
    ,542852 --inventory_item_id
    ,1 --ordered_quantity
    ,'INSERT' --operation_code
    ,-1 --created_by
    ,sysdate --creation_date
    ,-1 --last_updated_by
    ,sysdate --last_update_date
    ,'1' --top_model_line_ref
    ,'1' --link_to_line_ref
    ,'CLASS' --item_type_code
    INSERT INTO OE_LINES_IFACE_ALL (
    order_source_id
    ,orig_sys_document_ref
    ,orig_sys_line_ref
    ,inventory_item_id
    ,ordered_quantity
    ,operation_code
    ,created_by
    ,creation_date
    ,last_updated_by
    ,last_update_date
    ,top_model_line_ref
    ,link_to_line_ref
    ,item_type_code
    VALUES (
    1227 --order_source_id
    ,'12345' --orig_sys_document_ref
    ,'3' --orig_sys_line_ref
    ,152840 --inventory_item_id
    ,1 --ordered_quantity
    ,'INSERT' --operation_code
    ,-1 --created_by
    ,sysdate --creation_date
    ,-1 --last_updated_by
    ,sysdate --last_update_date
    ,'1' --top_model_line_ref
    ,'2' --link_to_line_ref
    ,'OPTION' --item_type_code
    ); commit;
    - Orders, Returns -> Import Orders -> Order Import Request
    - Parameter form의 Order Source LOV에서 Order Source를 선택
    - Submit the concurrent request.
    Reference
    Note 746677.1

  • What are the values for operation code in order import open interface

    Hi,
    I am trying to create the sales order by populating the interface table and run the request import order i.e. open interace without standard OE APIs.
    I am also populating the actions interface table i.e. OE_ACTIONS_IFACE_ALL along with header, line, & price adjustment tables to hold the order. The sales order creates successfully but it fails at holding action due to invalid operation code. It has been tried with ‘CREATE’, ‘UPDATE, ‘INSERT’ for operation code in action interface table but no use.
    So my concern is what value needs to pass for operation code in action interface table.
    Any help would appreciate.
    Thanks,
    Sai Krishna

    If you are planning to apply holds, For holds the action is OE_Globals.G_APPLY_HOLD or APPLY_HOLD.
    Thanks
    Nagamohan

  • Why did I get an email from the fraud dept saying my order is on hold, told to call a number, and then told by dept it's not true?

    I placed an order to upgrade my phone yesterday, and the order went through, I was told the new phone would arrive Thursday. After I got home from work today I saw an email from Verizon that says "Dear Customer:
    Verizon Fraud Prevention Team is currently reviewing the following order on your wireless account. Please call the Verizon Fraud Prevention Team at 888-483-7200 option 3, press 1 to verify this Order."
    I called this number immediately, since I need this phone ASAP, assuming it would just be a recording and I would have to verify an account number or something. But instead, after following the instructions, I was put on hold because I needed to speak to someone in person. After several instances of my call being cut off after being on hold for at least half an hour, I finally got through after three hours and was able to speak to a fraud representative. I gave her my info and told her the problem and she told me I had called the wrong department. Instead of the fraud department, I needed the online order department. She transferred me, and I waited on hold again. When the representative from the online order dept picked up, she first told me if it was a fraud issue I'd need to speak with the fraud dept - who had JUST transferred me to her. After this, she said that my order is not on hold, because it hasn't even been processed yet or had the credit check done. When I asked if this meant I hadn't needed to call at all, she said yes. Is this actually true or is there a chance that there's an issue with my order I don't know about? If there is no issue, these emails really shouldn't be sent out, they're incredibly misleading, and I've wasted a whole lot of time and experienced an incredible amount of anxiety for no reason.

    Hi.  I checked on the order and it says the order is currently being processed and I should check back tomorrow. I'm mostly just concerned because I got an email saying the order was on hold, and I want to make sure it actually does go through and I'm not just waiting for a delivery that's not going to come. I'm still confused as to why I'd get an email saying I had to call the fraud department only to be told I shouldn't have called the fraud department.

  • Order Import Erroring while importing closed Order

    Hello,
    I am working on importing closed order for historical purpose and order import is erroring without giving much details. I set the debug level to 5 and log file contains only one error' ORDER IMPORT FAIL DUE TO UNEXPECTED ERROR.
    I am attaching the insert statements for headers and lines. Please review and hope to get a solution from one of the OM gurus here.
    Thanks a bunch in advance.
    Anant
    INSERT INTO OE_HEADERS_IFACE_ALL
    (ORIG_SYS_DOCUMENT_REF
    ,ORDER_SOURCE_ID
    ,ORG_ID
    ,ORDER_NUMBER
    ,ORDERED_DATE
    ,ORDER_TYPE_ID
    ,PRICE_LIST_ID
    ,SOLD_FROM_ORG_ID
    ,SOLD_TO_ORG_ID
    ,CUSTOMER_NUMBER
    ,TAX_EXEMPT_FLAG
    ,TRANSACTIONAL_CURR_CODE
    ,INVOICING_RULE_ID
    ,ACCOUNTING_RULE_ID
    ,PAYMENT_TERM_ID
    ,CREATION_DATE
    ,CREATED_BY
    ,LAST_UPDATED_BY
    ,LAST_UPDATE_DATE
    ,SALESREP_ID
    ,OPERATION_CODE
    ,CLOSED_FLAG --BOOKED_FLAG
    ,DROP_SHIP_FLAG
    ,SHIP_TO_ORG_ID
    ,INVOICE_TO_ORG_ID
    ,SHIP_FROM_ORG_ID
    ,ORIG_SYS_CUSTOMER_REF
    ,ORIG_SHIP_ADDRESS_REF
    ,ORDER_CATEGORY
    ,BOOKED_FLAG)
    VALUES
    ('514'     -- ORIG_SYS_DOCUMENT_REF
    ,1001                    -- ORDER SOURCE ID
    ,'102'                    -- ORG ID          
    ,10001006               -- ORDER NUMBER
    ,SYSDATE               -- ORDERED_DATE               
    ,1021                    -- ORDER TYPE ID
    ,6024                    -- PRICE LIST ID
    ,102                    -- SOLD FROM ORG ID
    ,2632                    -- SOLD TO ORG ID      
    ,'UN1666'               -- CUSTOMER NUMBER
    ,'S'                    -- TAX_EXEMPT_FLAG
    ,'USD'                    -- TRANS CURRENCY_CODE
    ,-2                         -- INVOICING_RULE_ID
    ,1                         -- ACCOUNTING_RULE_ID
    ,5                         -- TERMS_ID
    ,SYSDATE               -- CREATION_DATE
    ,1150                    -- CREATED_BY
    ,1150                    -- LAST_UPDATED_BY
    ,SYSDATE               -- LAST_UPDATE_DATE
    ,-3                         -- SALESREP_ID
    ,'INSERT'               -- OPERATION CODE
    ,'Y'                    -- CLOSED FLAG
    ,'N'                    -- DROP SHIP FLAG
    ,NULL                     -- SHIP_TO_ORG_ID (SITE USE ID FROM RA_SITE_USES_ALL, SITE_USE_CODE = SHIP_TO)
    ,1712                     -- INVOICE_TO_ORG_ID (SITE USE ID FROM RA_SITE_USES_ALL, SITE_USE_CODE = BILL_TO)
    ,103                    -- SHIP FROM ORG ID
    ,NULL                    -- ORIG_SYS_CUSTOMER_REF
    ,NULL                    -- ORIG_SHIP_ADDRESS_REF
    ,'Order'               -- ORDER CATEGORY
    ,'N')                    -- BOOKED_FLAG
    COMMIT
    INSERT INTO OE_LINES_IFACE_ALL
    (ORDER_SOURCE_ID
    ,ORIG_SYS_DOCUMENT_REF
    ,ORIG_SYS_LINE_REF
    ,ORIG_SYS_SHIPMENT_REF
    ,INVENTORY_ITEM
    ,REQUEST_DATE
    ,ORDERED_QUANTITY
    ,ORDER_QUANTITY_UOM
    ,PRICE_LIST_ID
    ,UNIT_SELLING_PRICE --UNIT_LIST_PRICE
    ,ACCOUNTING_RULE_ID
    ,PAYMENT_TERM_ID
    ,SALESREP_ID
    ,CREATION_DATE
    ,CREATED_BY
    ,LAST_UPDATE_DATE
    ,LAST_UPDATED_BY
    ,OPERATION_CODE
    ,DROP_SHIP_FLAG
    ,SHIP_TO_ADDRESS1
    ,SHIP_TO_ADDRESS2
    ,SHIP_TO_CITY
    ,SHIP_TO_POSTAL_CODE
    ,SHIP_TO_sTATE
    ,SHIP_TO_COUNTRY
    ,CLOSED_FLAG
    ,ITEM_TYPE_CODE
    ,INVENTORY_ITEM_ID
    ,DELIVERY_LEAD_TIME
    ,DELIVERY_ID
    ,TAX_EXEMPT_FLAG)
    VALUES
    (1001                    -- ORDER SOURCE ID
    ,'514'          -- ORIG SYS DOC REF
    ,'L4'               -- ORIG SYS LINE REF
    ,NULL               -- ORIG SYS SHIP REF
    ,'KR4R362478-07'     -- ITEM NUMBER
    ,SYSDATE               -- REQUEST DATE
    ,40                    -- ORDER QTY
    ,'EA'                    -- ORDER QTY UOM
    ,6024                    -- PRICE LIST ID
    ,95                -- UNIT LIST PRICE
    ,1                    -- ACCOUNTING RULE ID
    ,5                    -- PAY TERM ID
    ,-3                    -- SALESREP ID
    ,SYSDATE               -- CREATION DATE
    ,1150                    -- CREATED BY
    ,SYSDATE               -- LAST UPDATE DATE
    ,1150                    -- LAST UPDATED BY
    ,'INSERT'               -- OPERATION_CODE
    ,'N'                    -- DROP SHIP FLAG
    ,NULL --'1003 WASHINGTON AVE'     -- SHIP ADD1
    ,NULL --'SUITE 340'          -- SHIP ADD2
    ,NULL -- 'CHICAGO'          -- CITY
    ,NULL -- 60610               -- POSTAL
    ,NULL -- 'IL'               -- STATE
    ,NULL -- 'US')               -- COUNTRY
    ,'Y'
    ,'FG'
    ,7488
    ,1
    ,1
    ,'Y')
    commit
    ---------------------------------------

    Ganapati,
    Did you try passing the customer_number like -1 or some random high number that does not exist in hz_cust_accounts table in the account_number for party_type='PERSON' in the table oe_customer_info_iface_all?
    As I see this check for the first_name||last_name is done only of the customer number is not passed and customer_number is not used any where in the customer creation (if you are using automatic numbering for the customer accounts then you will obviously not passing any value to new_account_number which is used to created).
    Give it a try while I keep myself busy with my airport woes here.
    Thanks
    Nagamohan

  • How to Import an Order via Order Import with multiple shipment lines?

    Good Morning,
    I have a question concerning Oracle's order import functionality. We are importing orders from an outside system and need to consolidate orders by customer id. So if the same customer places 2 orders for different items on the outside system, they should interface to Oracle as a single order to that customer with a shipment line for each ordered item (ex 1.1, 2.1..).
    I know this can be done, but do not know how to implement the solution.
    Can someone please help?
    Thank you!!
    Edited by: user11984882 on Jun 22, 2011 7:03 AM

    Hi,
    I guess that this zip-file contains a transport. This transportfiles have to be copied in the /usr/trans/data und /usr/trans/cofiles and imported by the transaction STMS.
    Thomas Jung wrote how to do this in this: How to import examples from book "Advanced BSP Programming"
    Perhaps your basis administrator can help you to do this?
    Regards,
    Stefan

  • Import order not creating internal sales orders for some orgs

    Hi,
    We are getting one issue in UAT instance. The details are as below -
    1. Created Sales Orders in all 7 orgs.
    2. Ran ASCP plan
    3. planned orders got auto released in all orgs.
    4. Corresponding Internal requisitions got created in all orgs.
    5. Ran 'Create Internal Orders' from each org.
    6. Ran 'Order Import' from BE org as all the IR's were sourced from BE as per sourcing rules.
    7. Issue is that out of 7 orgs, in 2 orgs, DK and SE, the internal sales orders didn't get created and order import gave error. I am attaching the error log below.
    For other 5 orgs, ISO got created successfully and we performed picking/shipping and receiving as well for these 5 orgs.
    Any help will be most welcome.
    error log is -
    Order Import Concurrent Program
    Concurrent Program Parameters
    Validate Only: N
    Order Source: 10
    Order Ref:
    Sold To Org Id:
    Sold To Org:
    Change Sequence:
    Performance Parameter: Y
    Trim Blanks: N
    Operation:
    Number of Instances: 0
    Debug Level: 0
    Request Id: 6891
    Org Id: 2453
    Failed to perform Action Request BOOK_ORDER
    Failed to perform Action Request BOOK_ORDER
    Failed to perform Action Request BOOK_ORDER
    No. of orders found: 2
    No. of orders imported: 0
    No. of orders failed: 2
    Source/Order/Seq/Line Message
    10/1046001536//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_rec
    10/1046001536//2 ATP Process resulted in no data
    10/1046001536//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_tbl
    10/1046001538//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_rec
    10/1046001538//2 ATP Process resulted in no data
    10/1046001538//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_tbl
    End of Order Import Concurrent Program

    Try running the Order import from a responsibility where the profile "OM: Override ATP flag" is set to YES at that responsibility level..

  • Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and  yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Thanks for your advise.
    However, I missed to mention that we have two set of users  One is for Finished Goods and another for Spares.
    Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
    As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
    Further, I tried to test one scenario through Processing Constraints but it did not work.
    Application
    OM
    Validation Type
    Entity
    Temp
    Short Name
    TBL
    Validation Semantics
    Created By
    Equal To
    User(Myself)
    Processing Cosntraint
    Application
    OM
    Entity
    Order Header
    Constraint
    Operation
    User Action
    Create
    Not Allowed
    Conditions
    Group
    Scope
    Validation Entity
    Record Set
    Validation Template
    101
    Any
    Order Header
    Order
    Above Created
    Please advise.

  • Order import open interface program

    hi
    i m working on changes to item quantity through order import open interface program
    the orders are already imported through order import
    i have to make changes to the item quantity
    i m passing the details like orig_sys_document_ref,orig_sys_line, orig_sys_shipment_ref
    order_source_id, change_reason. operation_code as update, changed order quantity like previously it was 5,now i m sending as 8
    but still the program is failing
    the error is
    0/70000// You are entering a duplicate orig_sys_line_ref and orig_sys_shipment_ref for the same order.
    0/70000//1 You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code.
    tell me how to identify the order in apps
    thru orig_sys_document_ref or anything else
    i m passing the same orig_sys_document_ref which is in headers table
    can anyone help on what are the necessary details to pass to order import interface tables
    thanks

    Not sure why you posted this in the OCI forum - an EBS forum (http://forums.oracle.com/forums/category.jspa?categoryID=3) is more appropriate.
    HTH
    Srini

  • Issue in sales order order import program

    Hi all,
    I need to create a Sales Order using interface tables.First I inserted the record into the interface table OE_HEADERS_IFACE_ALL.I populated necessary columns in it.
    Then I executed Order Import Concurrent program giving value of order source(which I created using order import source setup),order reference(which is origSysDocumentRef column value in the above said interface table).
    But the concurrent program is not picking up the records in the interface table and its output shows no order to process.As a result no record is inserted in the OE_ORDER_HEADERS_ALL table.
    I dont understand where the problem lies.Please help me out to solve the issue.
    Thanks,
    goutam

    Hi Sandeep Gandhi,
    Thanks for your reply.
    Now Order Import Concurrent program picks up the header records from the OE_HEADERS_IFACE_ALL interface table successfully for processing.
    But during the process some errors are raised, and the error_flag in the header interface table is set to 'Y'.
    I want to know where can i find those errors,so that I can correct them.
    Is there any error log tables that contains these errors occured during import?
    Or we have any other way to identify it?
    Please help me..
    Thanks,
    goutam

  • Error while running Process Order API to import orders - URGENT HELP NEEDED

    Hi all,
    I'm stuck with order import using OE_ORDER_PUB.PROCESS_ORDER api. Wanted to import a simple order in Vision database using the process order api. Figured out the right data to use, inserted into Headers and Lines Iface All tables. When calling the OE_ORDER_PUB.PROCESS_ORDER api, it is throwing this error:
    "Header ID does not exist on this record or does not match ID specified on header record. You require a valid header ID if the operation is Create."
    But when I validate the same record using the CORRECTIONS form in Order Import GUI, the order is successfully validated. Also the order is imported when I click the IMPORT button.
    I understand that HEADER_ID column is not required for creating a new order, but not sure why it is erroring. Here is the data I'm using:
    Insert into oe_headers_iface_all
    (org_id, order_type_id, order_source_id, orig_sys_document_ref, ordered_date, request_date,
    sold_from_org_id, sold_to_org_id, ship_from_org_id, ship_to_org_id, invoice_to_org_id,
    CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,OPERATION_CODE)
    values (204, 1430, 1046, '101040', sysdate, sysdate, 204, 1004, 606, 1018, 1017, 0, sysdate, 0, sysdate, 0, 'CREATE');
    Insert into oe_lines_iface_all
    ("ORDER_SOURCE_ID","ORIG_SYS_DOCUMENT_REF","ORIG_SYS_LINE_REF","ORIG_SYS_SHIPMENT_REF","ORG_ID","INVENTORY_ITEM","LINE_TYPE_ID",request_date,"SCHEDULE_DATE","DELIVERY_LEAD_TIME","ORDERED_QUANTITY","ORDER_QUANTITY_UOM",sold_from_org_id, sold_to_org_id, ship_from_org_id, ship_to_org_id, invoice_to_org_id,"UNIT_SELLING_PRICE","CREATED_BY","CREATION_DATE","LAST_UPDATED_BY","LAST_UPDATE_DATE","LAST_UPDATE_LOGIN","OPERATION_CODE")
    values
    (1046,'101040', '1', '1', 204, 'AS72111', 1427, sysdate, sysdate+1, 0, 10, 'Ea' ,204, 1004, 606, 1018, 1017,100,0,sysdate,0,sysdate,0,'CREATE');
    Any help is appreciated.
    FYI - this is a 11.5.10.2 version installed on Windows 2003 server.
    Thanks in advance.
    Jags

    I might be late in replying, but hope it might help.
    From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
    This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
    If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
    Regards,
    Nitin Darji

  • Problem in calling order import concurrent program from BPEL

    Hi all,
    Iam doing a sales order creation in oracle apps using Apps Adapter.
    I have successfully inserted the order into the interface tables using an Apps adapter.
    Now I need to run Order Import program from BPEL to move the data from interface tables to the base tables for which i use another Apps Adapter.
    When I invoke the OEIMP concurrent program from BPEL ,request id is returned.But the concurrent program fails showing incomplete parameters.
    But it works when I invoke it from the front end in oracle apps.
    I think the problem lies in passing the inputs to the concurrent program from the BPEL.
    Any help to solve the issue will be appreciated.
    Thanks,
    goutam

    Previously, I was passing the values to the concurrent program variables through ASSIGN component,which resulted in some namespace issues.Then I replaced it with TRANSFORM component.
    Also,First I assigned the values to the concurrent program variables as 'Vision Operations'(operating_unit), 'Online'(order_source) ,No (validate_only), No (validate_desc_flex) which are mandatory and just left non mandatory variables without assigning values.
    I changed those values as *'204','0','N','N'*. And also set non mandatory variables value as EMPTY.
    After doing all these I found the concurrent program catches all the parameter values correctly, and the records got imported from interface tables to the base tables.Thus the sales order got created successfully.
    Thanks,
    goutam

  • Urgent: ORA-01403: no data found Error during Order Import

    Hi Experts,
    I 'am performing order import by populating the order interface tables and then running the order import concurrent program. I 'am encountering the following error while running the order import program:
    No. of orders failed: 1
    "*ora-01403: no data found in package oe_order_pvt procedure lines*"
    Can anyone please provide some pointers on why this is occurring and how this can be overcome. Any pointers on this will be immensely helpful.
    Thanks,
    Ganapathi

    Hi Nagamohan,
    Thanks for your response. I tried calling mo_global.set_policy_context('S', <org_id>) before invoking the concurrent program using fnd_request.submit_request(...); But, this still does n't seem to prevent the No data found issue.
    One more thing that I noticed is, this is happening while importing the customer along with the order. I 've ensured that I use the same org_id for the customer data as well. Can you please let me know whether there is anything else that I should check for.
    Thanks,
    Ganapathi

Maybe you are looking for

  • Processo de Subcontratação - Contingência

    Pessoal, Estou com o seguinte problema, ao efetuar um processo de subcontratação mov. 541 com saída de NFe, eu a comutei para contingência para teste. Verifiquei que após estornar o documento via MBST e gerar uma nova NFe utilizando o mesmo pedido, e

  • Is it possible to call mail adapter in a UDF

    Hi, In my mapping if I find that, a field length is more than 50 I need to mail this field in the body of a mail. Can I call the receiver mail adapter in a UDF similar to RFC/JDBC adapter? Thanks.

  • Problem initializing device in applet for logitech camera

    I have an applet that uses a logitech camera. It works fine in the applet viewer for JBuilder 2005, but cannot initialize the camera in IE browser. The applet is signed, so that is not the problem. The error occurrs in the following line di = Capture

  • How do i reinstall Firefox and save all my favorites?

    I have Firefox as my default browser and Google Search Page as my homepage. However when I click on a new tab, the pesky AVG search page comes up and i can't get rid of it. From what I have read, it looks like reinstalling Firefox is the only way to

  • What is the use of Externalizable interface?

    What is the use of Externalizable? and what is the diff b/w Serializable and Externalizable interfaces?