Item import interface

Dear All,
I need Item Import open interface code, can any body help me?
Regards,
Hanimi.

Hanimi
It is very specific to your needs. Basic code can be taken from Metalink Note: 115557.1. You can modify that based on your needs. Also you can read up charpter 14 of the supply chain management APIs and interface guide for clear instructions.
Thanks
Nagamohan

Similar Messages

  • Oracle Open interface- Error in Item Import (INCOIN)

    Hi,
    I am migrating items to oracle using oracle open interface.
    I am getting the follwing errors.
    1. The TEMPLATE_ID or TEMPLATE_NAME specified is not valid for this Organization
    2. The revision entered is for an item that does not exist in MTL_SYSTEM_ITEMS nor MTL_SYSTEM_ITEMS_INTERFACE (No Revision Is Used)
    3. Expense Account is required when Inventory Asset Value is "No" and Inventory Item is "Yes"
    4. Item number is invalid.
    EBS: 11.5.10
    The Migratin was working fine in the previous instance. Pls let me know if you have any information on this.
    Thanks
    AM

    Hi,
    Please see these docs.
    INCOIN: Error Message Template_ID or Template Name Specified is not a Valid Template When Item Catalog ID is NULL during Item Import in UPDATE Mode [ID 1076193.1]
    Item Import: What Does "Sync" Items Do? [ID 417887.1]
    INCOIN Gets INV_TEMPLATE_ERROR After Patch Applied [ID 141579.1]
    Item Open Interface (INCOIN/IOI) Setup and How-To [ID 115557.1]
    Understanding Item Import and Debugging Problems with Item Import [ID 268968.1]
    Thanks,
    Hussein

  • Item Import Open Interface

    After running Import Items Open Interface the concurrent program gets completed normal.But the item does not come into display in front end.It is not in the back end tables also.

    This is something unusual thats happening, Run Import items and set the value of parameter Delete Processed Rows to No and process Items to No. This will only validate the records and the records will not be inserted in base table and will be sittin in the interface tables.
    Take a note of request Id and see if there are any records in mtl_interface_errors table for that request ID.
    www.sureshvaishya.blogspot.com

  • Importing Items using Items Open Interface

    Hi ,
    I am creating items using Items Open interface program. I have populated the data in the MTL_SYSTEM_ITEMS_INTERFACE. Itemcode, oganization, primary_uom and template id and getting the following error.
    TRANSACTION ID : 18739
    ORGANIZATION ID : 103
    TABLE NAME : MTL_ITEM_REVISIONS_INTERFACE
    COLUMN NAME : ITEM_ID
    MESSAGE NAME : INV_IOI_REV_NO_ITEM
    ERROR MESSAGE : The revision entered is for an item that does not exist in MTL_SYSTEM_ITEMS nor MTL_SYSTEM_ITEMS_INTERFACE.
    Item is not revision control and them same is in the template also. still system is giving this error. Whats needs to be done.
    Regards/Prasanth

    @ ABOVE ALL
    Hi all,
    Please see this document from meta-link,most probably it WILL solve your problem.
    Note: 801354.1 INV_IOI_REV_NO_ITEM Error - The revision entered is for an item that does not exist
    else you can refer following doc from meta-link
    Note: 268968.1 Understanding Item Import and Debugging Problems with Item Import
    Hope this helps. :)
    Regards,
    -sDJ

  • Item Import - completes with " Completed Error" status and process_flag=4

    I am trying to Import Item through Open Interface.
    RDBMS : 9.2.0.5.0
    Oracle Applications : 11.5.10
    Populated data into mtl_system_items_interface with process_flag = 1.
    Once I run the "Item Import" program it completes with error, with the following in the log file.
    The records are updated with process_flag = 4. but there are no error details in mtl_interface_errors for those corresponding records in the interface table.
    How do I identify the error ?
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Inventory: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    INCOIN module: Import Items
    Current system time is 07-SEP-2010 11:39:11
    Page Length = 93, Page Width = 132
    ===================================================================
    Debug Mode : Enabled
    Output to Terminal : No
    Argument Method : Database Fetch
    Trace Mode : Disabled
    ===================================================================
    Argument 1 (ORG_ID) = 174
    Argument 2 (ALL_ORG) = 1
    Argument 3 (VAL_ITEM_FLAG) = 1
    Argument 4 (PRO_ITEM_FLAG) = 1
    Argument 5 (DEL_REC_FLAG) = 1
    Argument 6 (PROCESS_SET) = 11
    Argument 7 (CREATE_UPDATE) = 1
    ===================================================================
    Item Catalog Group Descriptive Elements Open Interface import completed successfully for all records in this record set.
    Item Catalog Group Descriptive Elements Open Interface import completed successfully for all records in this record set.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Found a few Packages related to Item revision , were in Invalid status.
    Compiled them all and now the items are getting imported without any issue.
    Thanks Sandeep for your word.

  • Open Item Import fails with a process_flag = -999 or -888

    Problem description
    ============
    The Open Item Import fails with a process_flag = -999 in
    mtl_system_items_interface. This keeps the item from being imported into
    mtl_system_items. The process_flag has to be set back to 1 to have the row(s)
    reprocessed.
    Solution
    ======
    UPDATE mtl_system_items_interface
    set transaction_type='CREATE'
    where transaction_type=<'>
    Commit;
    Re run the Item Import it should go fine.
    Regards,
    Mehboob

    Hi,
    It looks like you have posted the same in below thread.
    Item Import completed with Process_Flag = 31, 41 and 42
    Any way if you have problem you can refer to below metalink notes.
    NOTE:103869.1 - Item Attribute vs Template Attributes Using IOI
    NOTE:106812.1 - Instructions for Running Item Open Import (IOI) Including Historical Revision Da
    NOTE:109628.1 - FAQ for Item Import
    NOTE:268968.1 - Understanding Item Import and Debugging Problems with Item Import
    NOTE:458544.1 - Inventory Item Open Interface ITAR Template
    NOTE:52746.1 - A Guideline to IOI Error Messages and Solutions
    Thanks
    Vishalaksha

  • How to use XML Gateway for Order Import and Item Import?

    Hello XML gurus,
    I'm working in Oracle Apps area and do not have much knowledge on XML or web programming. Currently in my project there is a need to use Order Import and Item Import using interface tables and XML Gateway. The items/orders information will be in the XML format from Siebel system, there will be no custom processing...just process the data as-is.
    I've read the XML Gateway user guide but did not understand much.
    Anyone with similar implementation experience?
    I'm looking for a step-by-step guide on what needs to be done in Oracle Apps side to populate the interface tables from XML file and call the import APIs?
    Your inputs, suggestions, tips are highly appreciated. :)
    Thx,
    Jags

    I have a similar requirement to automate the order import and was looking at XML Gateway. Please update if you were able to find more information.
    - Ayyappa

  • Item Import Error Message

    Hi
    I'm running the import items program to update the existing item in inventory. For that it is throwing some error when the record move from interface table to inventory base table. See below error message.
    TRANSACTION ID : 203532465
    ORGANIZATION ID : 3895
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : MASTER_CHILD_4F
    MESSAGE NAME : INV_IOI_MASTER_CHILD_4F
    ERROR MESSAGE : Master - Child Conflict in one of these Attributes: Pick Components(PICK_COMPONENTS_FLAG), Assemble To Order(REPLENISH_TO_ORDER_FLAG), Base Model(BASE_ITEM_ID), ATP Components(ATP_COMPONENTS_FLAG), Check ATP(ATP_FLAG), Fixed(FIXED_LEAD_TIME
    Can anyone give the solutuion for this?
    Thanks

    Hi,
    Please review the following documents and see if it helps.
    Note: 142697.1 - IOI PROCESS: Error Master - Child Conflict in One of These Attributes
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=142697.1
    Note: 208715.1 - Item Import Errors When Loading Into Child Organizations
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=208715.1
    Note: 360542.1 - Import Price Catalog Errors with Master/ Child Conflict on the UOM when Importing Item
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=360542.1
    Regards,
    Hussein

  • Item Import similar set process ID

    Hi All,
    I am working on Oracle Applications 11.5.10
    While running item import program for a set_process_id, the program ( standard item import) picked the records for similar set process ID too.
    For eg, I submitted Item import for set_process_id 1234. Item import picked up unprocessed records for set_process_id 10000001234 and processed them. I got to know about this, since the records for set_process_id 10000001234 erred.
    Not sure is anyone else has encountered this error or not . Wanted to know if this is a common behavior ??? If yes then is there anyway this can be avoided ?

    Hi Sandeep,
    Can you please tell why is the set_process_id column updated by Oracle?
    I am inserting records into interface table with set_process_id = -9990 but this value is modified by oracle when i run "Item Import" program.
    Because of this, i am unable to distinguish between the records which i inserted into interface and the existing records.
    I need to distinguish my records and send error report to the user. Is there any way to do this?
    Regards,
    Sreekanth

  • Item Import effeciency pointers

    I will be looking to load around approximately 30 million (200000 items X 150 Inventory Organizations) items into Items table. Any one of you have been involved in huge load into Item tables please share your experiences, any tricks/methods you adopted, any new indexes you built to make the whole effort more effective and trouble free. By any chance does Item Import program has any in-built parallel workers working for it?
    I am sharing couple of things which worked for me before and feel free to comment or to add more.
    What is the optimum load/batch? Usually 5000 items takes 15-20mts and I treat this as optimum load. Please let me know if you have a better number.
    By not letting the item import program delete the records from Interface table, Item import completes faster. I think this will cut down at least 2-3 minutes for each batch.
    I greatly appreciate your pointers in making Item load faster.

    We converted about 100000 items for 68 organizations (including one master). The whole import consistently finished (we did trial runs about 10 times) in 6 to 7 hours.
    1. Mistakes make your import to run longer. Wrong data leads to longer validations and hence adds to import time. Then again you need to spend time on correcting them again.
    1.1 We assigned process_id in the staging table and wrote a wrapper program that kicks off the item import with correct parameters (process_IDs). Manually submitting can lead to mistakes.
    2. First we load into the master all items. Assign a set_process_id for 5000 (idle batch as you said) and run the item import for all the processes (so you will be running 200000/5000 which is about 40 concurrent requests at the same time).
    3. Purging interface table is OK as long as you gather stats on the table continuously. In fact this strategy helped us more than keeping the records in the interface table.
    4. We did not have all 100000 items to be assigned to 67 child organizations. Some of them had much fewer than that some same number.
    5. So depending on that we run for some number organizations at the same time lie say 10 child organization rows at the same time.
    6. Over the period of time we corrected the mistakes in data (master child attribute differences, conflicts between attribute values and so on).
    7. Obviously you need a strong functional resource to understand the data issues to recommend the data corrections. More number of applications more attributes used,hence more issues.
    8. Consistently gather status on entire INV, IBE, EGO schemas.
    9. Plan server resources carefully. Allocate as many computing resource as you can when you are converting items.
    10. Understand all attributes well and inter and intra dependency between them. You can avoid time taken by pre validating them (using oracle APIS). You can take a cue from database package INVPOPIF.inopinp_OI_process_create or inv_item_grp.create_item.
    11.Understand the process flag number and the stages where they error out. Again the same database package can help you in that.
    Finally have a good book or a movie while you kick off as it is going to be a loooong process :)
    HTH.
    Thanks
    Nagamohan

  • ESYU: Item Import 실행시 'Sync Items' option의 의미는?

    Purpose
    Item Master - Version: 11.5.10
    Information in this document applies to any platform.
    EXECUTABLE:INCOIN - Import Items
    Item Import concurrent에서 "Sync Items"는 무엇을 하는 것인가?
    Import Items program을 실행시 "Create or Update Items" 라는 parameter가 있다.
    1은 'Create', 2는 'Update', 3은 'Sync Items' 인데 3 option은 무엇인가?
    Solution
    Item이 존재하지 않을때 item을 create 하거나 item이 존재하지만 item을 update 할 때 'SYNC' transaction type을 이용할 수 있다.
    예를 들면,
    Item이 존재하지 않아 item을 생성할 경우..
    insert into mtl_system_items_interface
    (process_flag, set_process_id, transaction_type,organization_id,segment1,
    description,template_name)
    values
    (1,1,'SYNC',204,'sync_item', 'Testing through the interface','Finished Good');
    Item이 이미 존재할 때 transactable flag를 update 하는 경우..
    insert into mtl_system_items_interface
    (process_flag, set_process_id, transaction_type,organization_id,segment1,
    description,MTL_TRANSACTIONS_ENABLED_FLAG)
    values
    (1,1,'SYNC',204,'sync_item', 'Testing through the interface ','N');
    Reference
    Note 417887.1

  • Inentory Items Import

    I am trying to load Inventory Items thorugh interface "mtl_system_items_interface". Ther "Import Items" request completing noral but neither loading the record in base table nor giving any error messge in log or output of request.
    One thing I want to add here is that request_id column of table "mtl_system_items_interface" is still null after running the request.
    Please help me.

    What is the process_flag and set_process_id of your rows in the msii table?
    Are you running the program with org = all ?

  • Error in Supplier importing interface

    Hi,
    I am working on supplier Importing Interface. I have to import suppliers, and supplier site information into base tables.
    I successfully loaded the data into AP_SUPPLIER_INT and AP_SUPPLIER_SITE_INT interface tables. After submitting 'SUPPLIER OPEN INTERFACE IMPORT' program to move data from interface to base table, i am getting below error.
    ERROR: '1099 Type is inconsistent' for a particular vendor.
    I checked type_1099 validation with the base table AP_INCOME_TAX_TYPES.INCOME_TAX_TYPE, validation was fine.
    Could anyone has any idea, how to solve this error.
    Thanks in advance.

    Hi;
    Duplicate post
    Re: type_1099 error after submitting supplier open interface import
    Please post once
    Regard
    Helios

  • Customer Item Open Interface Validation

    Hi Folks,
    I have to write package for customer item open interface ,
    can anyone let me know what are the validation required or if any one have package written ,please share it with me .[email protected]
    Waiting for your kind response.
    Thanks in advance....
    Regards
    RP

    Hi
    Please find the code below for Customer Item Interface
    HTH
    Dinesh
    declare
         ex_not_ok     exception          ;
         Cursor      cur_cust_item  is
         select     b.*,rowid from btl_cust_item b      ;
         rec_cur_cust_item     cur_cust_item%rowtype;
         vc_rowid          varchar2(50);     
         vc_error_desc          varchar2(2000);
         vc_org_code          varchar2(20)     :='F02';
         vc_org_id          varchar2(20)     ;
         vc_inv_item          number          ;
         vc_cust_id          varchar2(50)     ;
         vc_create_by          number;
         vc_last_updated_by     number;
         vc_user_name          varchar2(100);
         vc_login_name          varchar2(30)     := '&1';
         vc_master               number;
    begin
         vc_org_id := &2 ;
      vc_master := &3;
         begin
              select      user_id          ,last_updated_by      ,user_name 
              into     vc_create_by     ,vc_last_updated_by     , vc_user_name     
              from      fnd_user
              where      user_name = vc_login_name;
         end;
         open     cur_cust_item;          -- open cursor
         loop
              begin 
              fetch     cur_cust_item
              INTO     rec_cur_cust_item;
              vc_rowid     := rec_cur_cust_item.rowid;
              exit when cur_cust_item%NOTFOUND;
              -- perform the mandatory validations
              -- 1. Check the validity of the customer
              begin
                   select      count(*)
                   into     vc_cust_id
                   from      ra_customers
                   where     upper(customer_number) = upper(rec_cur_cust_item.customer_number);
                   if      vc_cust_id > 0 then
                        null;
                   else
                        vc_error_desc := rec_cur_cust_item.customer_number||' '|| rec_cur_cust_item.customer_name ||' - Customer Number  Does not Exist in Ra_customers';
                        raise     ex_not_ok;
                   end if;                
                   exception
                        when no_data_found then
                        update      btl_cust_item
                        set     process_flag = 'E',
                             error_message = 'XREF-  Customer Does not exist '||vc_error_desc
                        where     rowid     = vc_rowid;
              end ;
              -- 2. Check that the Customer Item Is not Null
              begin
                   if     rec_cur_cust_item.customer_item_number is not null then
                        null;
                   else
                        vc_error_desc := rec_cur_cust_item.Customer_Number ||' - '|| rec_cur_cust_item.customer_item_number || ' - Customer Item has no value    ';
                        raise ex_not_ok;
                   end if;
              end;
              -- 3. Validate the Inventory Item
              begin
                   select      count(*)
                   into     vc_inv_item
                   from      mtl_system_items  a, org_organization_definitions b
                   where     a.organization_id            = b.organization_id
                   and     rec_cur_cust_item.inventory_item = segment1
                   and     a.organization_id             = vc_org_id;
                   if     vc_inv_item != 0 then
                        null;
                   else
                        vc_error_desc := 'Inventory Item '|| rec_cur_cust_item.inventory_item ||'  is not valid/exist in mtl_system_item ';
                        raise ex_not_ok;
                   end if;
              end;
        rec_cur_cust_item.commodity_code := 'MISC';
              insert into mtl_ci_interface (               
                        PROCESS_FLAG          ,
                        PROCESS_MODE          ,
                        TRANSACTION_TYPE     ,
                        CUSTOMER_NUMBER          ,
                        CUSTOMER_NAME          ,
                        CUSTOMER_ITEM_NUMBER     ,
                        ITEM_DEFINITION_LEVEL     ,
                        COMMODITY_CODE          ,
                        INACTIVE_FLAG          ,
                        LOCK_FLAG          ,
                        LAST_UPDATE_DATE     ,
                        LAST_UPDATED_BY          ,
                        CREATION_DATE          ,
                        CREATED_BY          ,
                        --LAST_UPDATE_LOGIN     ,
                        ERROR_CODE          ,
                        ERROR_EXPLANATION               
              values
                        '1'                                ,     --PROCESS_FLAG
                        '1'                                ,     --PROCESS_MODE
                        'CREATE'                     , -- TRNASACTION_TYPE
                        rec_cur_cust_item.customer_number     ,     --CUSTOMER_NUMBER          
                        rec_cur_cust_item.customer_name           , --CUSTOMER_NAME          
                        rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER     
                        '1'                          , --ITEM_DEFINATION_LEVEL
                        rec_cur_cust_item.commodity_code      , --COMMODITY_CODE
                        '2'                          , --INACTIVE_FLAG
                        'N'                          ,     --LOCK_FLAG
                        sysdate                      , --LAST_UPDATE_DATE
                        vc_last_updated_by                    , --LAST_UPDATED_BY
                        sysdate                          , --CREATION_DATE
                        vc_create_by                     , --CREATED_BY
                        --'10'                          , --LAST_UPDATE_LOGIN
                        'N'                          , --ERROR_CODE
                        ' '                             --ERROR_EXPLANATION
              Insert into mtl_ci_xrefs_interface (
                        PROCESS_FLAG          ,
                        PROCESS_MODE          ,
                        TRANSACTION_TYPE     ,
                        CUSTOMER_NUMBER          ,
                        CUSTOMER_NAME          ,
                        CUSTOMER_ITEM_NUMBER     ,
                        ITEM_DEFINITION_LEVEL     ,
                        INVENTORY_ITEM          ,
                        MASTER_ORGANIzATION_ID     ,
                        PREFERENCE_NUMBER     ,
                        INACTIVE_FLAG          ,
                        LOCK_FLAG          ,
                        LAST_UPDATE_DATE     ,
                        LAST_UPDATED_BY          ,
                        CREATION_DATE          ,
                        CREATED_BY          ,
                        --LAST_UPDATE_LOGIN     ,
                        ERROR_CODE          ,          
                        ERROR_EXPLANATION
              Values
                        '1'                    ,      --PROCESS_FLAG          
                        '1'                    ,      --PROCESS_MODE          
                        'CREATE'               ,      --TRNSACTION_TYPE          
                        rec_cur_cust_item.customer_number,     --CUSTOMER_NUMBER          
                        rec_cur_cust_item.customer_name     ,      --CUSTOMER_NAME          
                        rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER     
                        '1'                    ,     --ITEM_DEFINATION_LEVEL     
                        rec_cur_cust_item.inventory_item,     --INVENTORY_ITEM
                        vc_master               ,      --MASTER_ORGANISATION_ID
                        '1'                    ,     --PREFERENCE_NUMBER
                        '2'                    ,     --INACTIVE_FLAG     
                        'N'                    ,     --LOCK_FLAG     
                        sysdate                    ,     --LAST_UPDATE_DATE     
                        vc_last_updated_by          ,     --LAST_UPDATED_BY          
                        sysdate                    ,     --CREATION_DATE          
                        vc_create_by               ,     --CREATED_BY          
                        --'10'                    ,     --LAST_UPDATE_LOGIN     
                        'N'                    ,     --ERROR_CODE                    
                        ' '                         --ERROR_EXPLANATION     
    --dbms_output.put_line( ' Inserting into reference table - done');
              exception
                   when ex_not_ok then
                        update      btl_cust_item
                        set     process_flag = 'E',
                             error_message = 'XREF-'||vc_error_desc
                        where     rowid     = vc_rowid;                    
              end ;
         end loop;
         commit;
         begin
               dbms_application_info.set_client_info(' ');     
         end;
         dbms_output.put_line ( ' End time ' || to_char( sysdate, 'DD-MON-YYYY HH24:MI:SS'));
         exception
              when others then
                   dbms_output.put_line( Sqlcode || ' ' || Sqlerrm );
    end ;
    /

  • Customer Item Open Interface

    Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.

    Hi
    I didn't find this flag in TRM of 11.5.10. In what table did you find it?
    Regards,
    Ricardo Cabral

Maybe you are looking for

  • Devices does not show up in left-hand column

    Ipod nano is connected to USB port and has fully charged. "Devices" doesn't show up in left-hand column.  Library, Store, Genius, and Playlists are listed.  Looked on public forums, but no viable solution displayed.  I welcome suggestions.  Nano was

  • Activity Monitor shows very little free space.  Help?

    I am wanting to do Photoshop Creative Suite 6 on my MacBook Pro and everything is running SO SLOW!  I have opened the Activity Monitor to check things out.  I am not a computer expert at all, so I have included some information below in hopes that th

  • Where to get FlexPMD 1.0.1 for Eclipse plugin?

    I installed FlexPMD Eclipse plugin 1.0.0. The PMD View was totally blank when I run FlexPMD. According to the article, I should use FlexPMD 1.0.1, but I can only find 1.0.0. where can i get the 1.0.1 for eclipse?

  • Printing with template

    Hello all- Forgive me in advance if this question has been asked (searched, but could not find my answer). If I am using LR's 8x10 template with the default margins (mine show .25" on the top and sides, .56" at the bottom) what size will the actual p

  • Recover Chrome bookmarks with Time Machine?

    I mistakenly deleted all my Chrome bookmarks from my hard drive. I recently backed up the hard drive with Time Machine, though. I've searched through Time Machine files, including Application Support and Cache folders, and cannot find any Chrome User