Doubts regarding item categories load in oracle inventory

Hi All,
I have to import item categories+ into oracle base tables. Kindly guide me in following aspects.
1) what are all the mandatory columns in staging table
2) what are all the interface tables should i use to import item categories
3) what are the APIs i should call to load data from interface tables to oracle base table
4)what are all the base tables that would be affected by this load
I dont have metalink account.. so please dont ask me to refer metalink.
I have searched a lot.. but couldnt find any complete solution. please kindly provide me the exact solution.

Hi,
Pre-requisites:
Creating an Organization
Code Combinations
Templates
Defining Item Status Codes
Defining Item Types
1) what are all the mandatory columns in staging table
MTL_SYSTEM_ITEMS_INTERFACE:
PROCESS_FLAG = 1 (1= Pending, 2= Assign Complete, 3= Assign/Validation Failed, 4= Validation succeeded; Import failed, 5 = Import in Process, 7 = Import succeeded)
TRANSACTION_TYPE = ‘CREATE’, ‘UPDATE’
SET_PROCESS_ID = 1
ORGANIZATION_ID
DESCRIPTION
ITEM_NUMBER and/or SEGMENT (n)
MATERIAL_COST
REVISION
TEMPLATE_ID
SUMMARY_FLAG
ENABLED_FLAG
PURCHASING_ITEM_FLAG
SALES_ACCOUNT (defaulted from
MTL_PARAMETERS.SALES_ACCOUNT)
COST_OF_SALES_ACCOUNT (defaulted from MTL_PARAMETERS.COST_OF_SALES_ACCOUNT)
MTL_ITEM_CATEGORIES_INTERFACE:
INVENTORY_ITEM_ID or ITEM_NUMBER.
ORGANIZATION_ID or ORGANIZATION_CODE or both.
TRANSACTION_TYPE = 'CREATE' ('UPDATE' or 'DELETE' is not possible through Item Import).
CATEGORY_SET_ID or CATEGORY_SET_NAME or both.
CATEGORY_ID or CATEGORY_NAME or both.
PROCESS_FLAG = 1
SET_PROCESS_ID (The item and category interface records should have the same set_process_id, if you are importing item and category assignment together)
MTL_ITEM_REVISIONS_INTERFACE:
INVENTORY_ITEM_ID or ITEM_NUMBER (Must match the
ORGANIZATION_ID or ORGANIZATION_CODE or both
REVISION
CHANGE_NOTICE
ECN_INITIATION_DATE
IMPLEMENTATION_DATE
IMPLEMENTED_SERIAL_NUMBER
EFFECTIVITY_DATE
ATTRIBUTE_CATEGORY
ATTRIBUTEn
REVISED_ITEM_SEQUENCE_ID
DESCRIPTION
PROCESS_FLAG = 1
TRANSACTION_TYPE = 'CREATE'
SET_PROCESS_ID = 1
Each row in the mtl_item_revisions_interface table must have the REVISION and EFFECTIVITY_DATE in alphabetical (ASCII sort) and chronological order.
2) what are all the interface tables should i use to import item categories
MTL_SYSTEM_ITEMS_INTERFACE
MTL_ITEM_REVISIONS_INTERFACE (If importing revisions)
MTL_ITEM_CATEGORIES_INTERFACE (If importing categories)
MTL_INTERFACE_ERRORS (View errors after import)
3) what are the APIs i should call to load data from interface tables to oracle base table
1. EGO_ITEM_PUB can be used to Create / Update items.
This API will update mtl_system_items_interface and mtl_interface_errors if problems occur.
The following procedure may be used to facilitate initial testing and debugging of EGO_ITEM_PUB:
SET SERVEROUTPUT ON
DECLARE
l_item_table EGO_Item_PUB.Item_Tbl_Type;
x_item_table EGO_Item_PUB.Item_Tbl_Type;
x_Inventory_Item_Id mtl_system_items_b.inventory_item_id%TYPE;
x_Organization_Id mtl_system_items_b.organization_id%TYPE;
x_return_status VARCHAR2(1);
x_msg_count NUMBER(10);
x_msg_data VARCHAR2(1000);
x_message_list Error_Handler.Error_Tbl_Type;
BEGIN
--Setting FND global variables.
--Replace MFG user name with appropriate user name.
FND_GLOBAL.APPS_INITIALIZE(USER_ID=>&userid,RESP_ID=>NULL,RESP_APPL_ID=>NULL);
--FIRST Item definition
l_item_table(1).Transaction_Type := 'CREATE'; -- Replace this with 'UPDATE' for update transaction.
l_item_table(1).Segment1 := 'TEST1';
l_item_table(1).Description := 'TEST ITEM';
l_item_table(1).Organization_Code := '&masterorg';
l_item_table(1).Template_Name := '&template';
l_item_table(1).Inventory_Item_Status_Code := 'Active';
l_item_table(1).Long_Description := 'Create test item';
DBMS_OUTPUT.PUT_LINE('=====================================');
DBMS_OUTPUT.PUT_LINE('Calling EGO_ITEM_PUB.Process_Items API');
EGO_ITEM_PUB.Process_Items(
p_api_version => 1.0
,p_init_msg_list => FND_API.g_TRUE
,p_commit => FND_API.g_TRUE
,p_Item_Tbl => l_item_table
,x_Item_Tbl => x_item_table
,x_return_status => x_return_status
,x_msg_count => x_msg_count);
DBMS_OUTPUT.PUT_LINE('==================================');
DBMS_OUTPUT.PUT_LINE('Return Status ==>'||x_return_status);
IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
FOR i IN 1..x_item_table.COUNT LOOP
DBMS_OUTPUT.PUT_LINE('Inventory Item Id :'||to_char(x_item_table(i).Inventory_Item_Id));
DBMS_OUTPUT.PUT_LINE('Organization Id :'||to_char(x_item_table(i).Organization_Id));
END LOOP;
ELSE
DBMS_OUTPUT.PUT_LINE('Error Messages :');
Error_Handler.GET_MESSAGE_LIST(x_message_list=>x_message_list);
FOR i IN 1..x_message_list.COUNT LOOP
DBMS_OUTPUT.PUT_LINE(x_message_list(i).message_text);
END LOOP;
END IF;
DBMS_OUTPUT.PUT_LINE('==================================');
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Exception Occured :');
DBMS_OUTPUT.PUT_LINE(SQLCODE ||':'||SQLERRM);
DBMS_OUTPUT.PUT_LINE('=====================================');
END;
2. INV_ITEM_CATEGORY_PUB can be used to Create / Update category assignments.
11.5.9 customers can apply patch 4088037 to introduce Update functionality for this API.
3. INV_ITEM_CATALOG_ELEM_PUB can be used for importing item catalog descriptive element value assignments. This functionality is not available until 11.5.10.
4)what are all the base tables that would be affected by this load
     MTL_SYSTEM_ITEMS_B
MTL_ITEM_REVISIONS_B
MTL_CATEGORIES_B
MTL_CATEGORY_SETS_B
MTL_ITEM_STATUS
MTL_ITEM_TEMPLATES
Regards,
Yuvaraj.C

Similar Messages

  • Item I.D. in Oracle inventory

    Hellow
    We are currently implementing Oracle E.R.P including Inventory.
    As the first step we are in debate about the structure of the item I.D, key flex field. What segments should be implemented?
    We think of 3 segments: Item type,number, check digit.
    Did anyone implement this key flex field with other segments?
    Did anyone implement the logic of check digit (like CRC check in every byte)? How to make Oracle create the check digit as part of creating a new item?
    Does it take creating custom pll?
    Thanks in advance

    Hi,
    coming back to check digit, you can create a sequence and link to your value set that you
    associate with the check_digit segment, however you may loose some values if the user quits
    with out saving the item after entering the check digit.
    HOWEVER..
    I WOULD FIRMLY ADVICE NOT TO USE MORE THAN ONE SEGMENT FOR THE ITEM FOR THE FOLLOWING
    REASONS:
    1. Increases complexity in transactions, every time the user need to select an item
    he has to select three fields for each item.
    2. Item categories can be used for creating complex structures for items and then
    assigned to items for reporting/ classification purposes
    3. System overhead will increase as each time the data is retrieved it has to retrieve
    three fields, concatenate and then display on the screen.
    The disadvantages list goes on...
    "Quote on Unquote"
    Never use more than one segment for item unless its "REALLY" a business requirement..
    madhu.

  • Doubt regarding automatic statistics collection in Oracle 10g

    I am using Oracle 10g in Linux
    Does statistic collection for tables throughout the database happen automatically or should we manually analyze the tables using
    Analyze command or DBMS_STATS package ?
    AWR collects statistics(snapshots) every 1 hr but does it mean it collects only session and database related statistics and not the table related statistics?

    I am using Oracle 10g in Linux Version and os name and version?
    AWR collects statistics(snapshots) every 1 hr butIt's performance related statistics. Read about data gathering and AWR.
    Note that AWR is an extra licensable feature thru Management packs.

  • Doubt's regarding the Hierarchial Queries in Oracle

    Hi,
    i have a doubt regarding the Hierarchial Queries in Oracle.
    SELECT * FROM TMP_TEST;
    ID     NUMVAL     STRVAL
    1     100     Hello
    1     -100     World
    2     1     Concatenate
    2     2     In String
    2     3     using Connect By
    2     4     Using SYS_CONNECT_BY_PATH
    i am clear with my execution of IN_Line view (mechanism how it work's) .
    But i have also read about the Hierarchial queries in the Oracle product documentation's. i am also aware of the
    SYS_CONNECT_BY_PATH , LEVEL & START WITH , CONNECT BY Keywords.
    But i couldnot able to Manually work out as how this below Query works.
    Can you please explain me how this Hieracial query works ?
    SELECT ID, (SYS_CONNECT_BY_PATH(STRVAL,',')),LEVEL
    FROM
    SELECT ID,STRVAL,ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ID) RNUM,
    COUNT(*) OVER(PARTITION BY ID ORDER BY ID) CNT,NUMVAL
    FROM TMP_TEST
    START WITH RNUM = 1
    CONNECT BY PRIOR RNUM = RNUM - 1
    Many Thanks,
    Rajesh.

    Hi, Rajesh,
    My first message was in response to your first message.
    In your latest message, the query is:
    SELECT  ID, (SYS_CONNECT_BY_PATH(STRVAL,',')),LEVEL
    FROM    (
            SELECT  ID,STRVAL,ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ID) RNUM,
                    COUNT(*) OVER(PARTITION BY ID ORDER BY ID) CNT,NUMVAL
            FROM TMP_TEST
    WHERE   RNUM = CNT
    START WITH  RNUM = 1
    CONNECT BY  PRIOR RNUM = RNUM - 1;It looks like you lost the second CONNECT BY condition:
    AND PRIOR ID = IDPut it back: it's important.
    Now you're confused about the output row:
    2    ,Hello,World,using Connect By,Using SYS_CONNECT_BY_PATH   4It doesn't seem to correspond to anything results that you got when you ran the sub-query alone.
    That's because the resutls from your sub-query may change every time you run it, even though the data doesn't change. The ORDER BY clauses in both of the analytic functions do not result in a complete ordering. In fact, they're completely meaningless. It never makes any sense to PARTITON BY and ORDER BY the same value; "PARTITION BY id" means that only rows with the same id will be compared to each other; you might as well say "ORDER BY 0" or "ORDER BY dmbs_random.value".
    The ORDER BY clause of ROW_NUMBER whould reflect that way in which you want the results to appear within each id, for example:
    ROW_NUMBER () OVER (PARTITION BY id ORDER BY UPPER (strval))Note that this is very similar to what was in my first reply.
    In the COUNT function, why do you want an ORDER BY clause at all? Just say:
    COUNT (*) OVER (PARTITION BY id)

  • Doubt regarding SQL execution

    Hi Friends,
    Am using Oracle 10g DB - 10.2.0.3.0
    I have some basic doubts regarding sql query execution by Oracle.
    Say, Am executing a query from a toad/sqlplus session for the first time, it takes 10 secs then 1 sec and so on.
    Same thing happens for every 15 minutes.(Any specific reason for this ??).
    It takes more time when it executes first because of parsing and all those stuff but from then on it picks from the
    shared pool right??.. How long will it be there in Shared Pool does Oracle maintain any specific time period to clear that query from shared pool memory. How does Oracle handle this.
    Another thing is, say, I have a report query, I run this query monthly. What will be the execution time when I run this query each and every month. Will Oracle parse this query everytime I run. How do I improve the performance in this situation (May sound odd :)).
    Regards,
    Marlon

    Say, Am executing a query from a toad/sqlplus session for the first time, it takes 10 secs then 1 sec and so on.
    Same thing happens for every 15 minutes.(Any specific reason for this ??).
    It takes more time when it executes first because of parsing and all those stuff but from then on it picks from the
    shared pool right??.. How long will it be there in Shared Pool does Oracle maintain any specific time period to clear that query from shared pool memory. How does Oracle handle this. Share Pool caches the SQL statement. So when you execute the same SQL for the second time it goes for a soft parse. But this is not the only reason for the query to execute faster the second time. The time difference between a soft parse and hard parse is very minimal. So it really does not matter unless you are executing the same query several number of times.
    The thing that really matters is the Data Buffer Cache. That is the rows that are selected by your query are cached into the Data buffer that is available in the SGA. So for the next time when you run the same query the IO is reduced as the data is available in the memory and you don't have to go to your disk to get the data.
    But the data in Data Buffer is not persistent, meaning it follows the FIFO rule. That is first in first out. When the Data Buffer is full the content of the buffer is removed in the FIFO order.
    Another thing is, say, I have a report query, I run this query monthly. What will be the execution time when I run this query each and every month. Will Oracle parse this query every time I run. How do I improve the performance in this situation (May sound odd :)). Like the Data Buffer the Shared Pool is also maintained in the FIFO order. So if the query is still in the Shared Pool the query will be soft parsed else it will be hard parsed. But its very rare that you will have a query in your Shared Pool for a month.

  • Loading Item Categories

    Hi,
    I'm a newbie to Oracle Inventory. Actually I want to import item categories into Oracle base tables. I want to know what are all the api shoud i use.
    It would be very useful for me if you can provide me complete steps involved in loading item categories along with sample PLSQL code for loading item categories.
    Thanks in advance.
    Edited by: user13552077 on Jun 15, 2011 3:00 PM

    Hi,
    Please find the requested information below:
    1. Identify Public APIs For Importing Items, Categories, and Catalogs [ID 295475.1]
    2. A List Of Public API's for Item Master [ID 395493.1]
    Regards,
    Yuvaraj.C
    Edited by: user12945136 on Jun 15, 2011 3:58 PM

  • Item manager in Oracle Inventory

    Hi all,
    My organization Is implementing Oracle E.R.P with Inventory module, and we run into this problem:
    In every organization we have several people that are in charge of several Items. We need to assign Items to the certain Item managers so that every Item manager would be able to change only his Item's properties.
    As we were instructed we cannot give different rights according to different items.
    Did somebody encounter that problem and solve it in some way?
    Thanks in advance.

    If you have a single inventory organization and one segment for items, i am not sure if
    there is any way out,
    However, i would not suggest using multiple
    segments just for the security purposes as it would create the follwing problems.
    I WOULD FIRMLY ADVICE NOT TO USE MORE THAN ONE SEGMENT FOR THE ITEM FOR THE FOLLOWING
    REASONS:
    1. Increases complexity in transactions, every time the user need to select an item
    he has to select three fields for each item.
    2. Item categories can be used for creating complex structures for items and then
    assigned to items for reporting/ classification purposes
    3. System overhead will increase as each time the data is retrieved it has to retrieve
    three fields, concatenate and then display on the screen.
    The disadvantages list goes on...
    "Quote on Unquote"
    Never use more than one segment for item unless its "REALLY" a business requirement..
    coming back to you problem, you can only
    logically control by assigning items to
    buyers and planners so that users will query on corresponding fields and access the data
    the second option i could think of is to use
    logical item categories with employee name as one segment and assign items to corresponding categories after which the users will query on category to select a list
    of items which they can update.
    madhu.

  • Item import to oracle inventory from legacy system

    Hi,
    We have a requirement where we need to import a very large number of items (close to 500,000) from a legacy system to oracle inventory.
    We are using oracle open interface for this. We have designed a temp table for this purpose in order to validate data before moving it to the oracle interface tables. The data to be migrated is present in a separate data base and we need to move this data to Oracle temp table.
    Can we use DB link to migrate this kind of data(in terms of volume)? Also what are the best practices that need to be followed while importing data to Oracle inventory? Is there any other way that this can be done?
    Please share your thoughts and suggestions on this
    Thanks
    AM

    Hi,
    Some times DB link will fail, Please create custom package and try to interface with legacy system for periodically fetching the data into your tables. If the data is bulk please use API instead of Interface tables.
    Thanks.

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello
    my pc has following configurtion
    256mb ram
    60gb hdd
    p4 2.4 ghz
    win xp pro sp2
    I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it.
    <<http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html>>
    I thought of increasing RAM, but it is not feasible.
    I know i could run oracle XE, but can my pc also run the standard edition.
    I could not find minimum hardware requirements for standard edition on this site.
    anyway, i will use it for sql and and other advanced concepts in RDBMS which i may learn during my course in database. so i prefer standard edition instead of XE
    any help greatly appreciated
    thanks in advance

    I suggest you not to doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation.
    It is not necessary. If you don't receive an answer within a reasonable amount of time you could edit your thread with whatever ( a period is enough) to raise it to the top once again.
    It becomes difficult for us to track duplicated threads and unnecessarily duplicates efforts.
    ~ Madrid.

  • Can revison of the item is degraded from 07 to 03 in Oracle Inventory for one particular Org?

    Can revison of the item is degraded from 07 to 03 in Oracle Inventory for one particular Org?

    Avinash,
    What is the problem and what are you trying to do?  Is it Item Revision or BOM revision or both?

  • How to sagrigate sections by item categories

    Hi,
    How to assign category to sections?
    Also if category is assigned to section; then items of that category will directly get populated in section(web enabled)
    Plz let us know.
    Thanks and regards,
    Ashish

    After you have created the desired mappings between your leaf sections and Oracle Inventory categories, you must run the iStore Product Autoplacement Concurrent Program to populate the sections with products. You also can instruct the concurrent program to run in Replace mode, and it will update existing products as well as remove products which no longer match the category-section mappings.
    Please refer to the link I provided in the previous link. It has all the details in it...

  • Doubts regarding Inbound Interface

    Hello All,
    Im trying to import item categories into base table mtl_item_categories... for that in plsql program
    1) i loaded data into staging table
    2)performed some validations
    3)inserted into interface table-- mtl_item_categories_interface
    After this should i call the api INV_ITEM_CATEGORY_PUB.Create_Category_Assignment explicitly or not?????????
    Thanks in advance.
    Edited by: user13552077 on Jun 29, 2011 12:50 PM

    Hi,
    In order to import Item Categories from interface table (MTL_ITEM_CATEGORIES_INTERFACE) to base table, please run the concurrent program using below navigation, this should create item categories in inventory.
    Inventory>Items>Import>Import Item Category Assignments.
    Excerpts from previous post: ------------
    Hi before using the mtl_item_categories_interface you have load all the ietms into inv with the help of mtl_system_items_interface when you do this automatically a default category id and category set_id will be assigned to the loaded items. so when you try to insert it wont take it. instead you have to update the category and category set id if necesaary..so the status should be update and you should provide the defalut category and category set id and along with the desired category id and category set id which you wish to populate. still facing the issue post me ur code I will correct it as i already did this conversions
    Link: -------------------
    reg : mtl_item_categories_interface
    Regards,
    Yuvaraj.C

  • How to purge Item/Categories open interface tables

    Hi,
    We are importing items into oracle inventory using oracle open interface tables. There is some existing data in the standard interface tables mtl_system_items_interface and mtl_revision_interface that we need to remove. What is the best way to do this? IS hard deleting an option? Are there any links with other tables that we need to take into consideration? (eg. mtl_interface_error)
    I could not find what oracle suggests about this. Please share any info you have.
    Thanks
    AM

    Hi Am;
    What is your EBS? Pelase check below note which could be helpful for your issue:
    APC/PIM Item Attribute Import Performance Slow FAQ - Purging Interface? Why Do Successful User Defined Attributes (UDAs) Remain In the Interface (EGO_ITM_USR_ATTR_INTRFC) [ID 1101824.1]
    Purging Strategy for eBusiness Suite 11i) [ID732713.1] << its for 12 too
    Also see:
    http://oracleappstechnology.blogspot.com/2008/12/in-built-data-purge-concurrent-programs.html
    In r12 What is use of Purge log and Closed system alerts
    Purge Debug Log And System Alerts Performance Issues
    Regard
    Helios

  • Assign all Items from Item Master to a New Inventory Org

    Hi Gurus,
    Currently we have 1 Item Master Org and 7 Child Orgs in our system. We are adding one more Child Org into our system. How to assign all the Items at once from Item Master to the new Child Org? We have Oracle EBS R12.
    Thanks in advance.
    KM

    Hello,
    In 11.5.10.2 our developer added new organization to items:) I think in R12 you do not have any standard function.
    Regards,
    Luko
    Ps. Look also http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/item-assignment-to-orgs-in-inventory-r12-4688011
    Edited by: Luko on 2012-08-20 22:17

  • How to default inv mtl accnt based on the item categories for all trxns

    Hi all,
    There is a requirement for defaulting inventory material account based on the item categories accounts defined in the category accounts window. instead of defaulting from the inventory organization parameters.
    I researched on that and found that we need to do product line accounting setups and modify the accounting client extension code ( Cost Management PDF)
    Am i correct in the approach? will i succeed if we go ahead and do these?
    Need your kind comments....
    Regards,
    Prasad

    Hi,
    I can think of one of the probable solution for your requirement.
    Your need to create new condition table with item Category as one of the key combination.  I think you need to update the item category in field catalog as well as in Doc Structures. Then maintain free goods condition record all the item categories except for the Return item category. This way you can exclude free goods activation for return items.
    Note : If the number of active item categories are more then it may be difficult to maintain condition records for the item categories.
    Hope this will help
    Regards,
    Sanjay

Maybe you are looking for

  • Serializing an XML document

    Hello, I recently downloaded the Java XML Pack, which uses the Xerces2 XML Parser. A couple of questions with regards to serializing an XML document to a file: 1) Xerces1 used the org.apache.xml.serialize.* classes to do serialization (such as shown

  • LCD color profile and Keyboard shortcuts gets screwed up

    My macbook pro is connected to a Dell flat panel to extend the desktop. Recently, and inconsistently, the color profile of my MBP's LCD will get screwed up when I exit from the Screensaver - the external display looks right. Just clicking on display

  • Keyboard keys

    can i get different color keys? like the letter keys white and all the others black? thanks in advance

  • HT1923 Downloading iTunes Error

    I am trying to Download the newest version of iTunes on your website, apple.com/itunes. I am able to get to some part and then after a bit of downloading I get an error message. It say's An error occured during the installation of assembley 'Microsof

  • RFQ Config Steps

    Dear Experts,                 I want configure the Purchase Order Text from Material Master to RFQ and Item text which is a manual text that was entered while doing RFQ. Please give me the steps for that. With Regards, Vengatesh.S