Escolar Documentos
Profissional Documentos
Cultura Documentos
This conversion is done for import items from any source into Oracle Inventory and Oracle Engineering.
Description:
When you import items through the Item Interface, you create new items in your item master organization or assign existing items to additional organizations. You can specify values for all the item attributes, or you can specify just a few attributes and let the remainder default or remain null. Here we are importing items with template.
Interface Table:
The interface table for Item Import is MTL_SYSTEM_ITEMS_INTERFACE and it
ORGANIZATION_ID, DESCRIPTION, PROCESS_FLAG, and TRANSACTION_TYPE, all other columns are optional, either because they have defaults that can be derived, or because the corresponding attributes are optional and may be left null.
If you are importing revision details for your new items, you can use the
MTL_ITEM_REVISIONS_INTERFACE table. This table is used only for revision information, and is not mandatory.
Required Data:
ITEM_NUMBER or SEGMENTn columns Every row in the item interface table must identify the item and organization. To identify the item when importing it, you may specify either the ITEM_NUMBER or SEGMENTn columnsthe Item Interface generates the INVENTORY_ITEM_ID for you. ORGANIZATION_ID or ORGANIZATION_CODE You need to specify either the ORGANIZATION_ID or ORGANIZATION_CODE that identifies the organization. DESCRIPTION When you import a new item, you are also required to specify the DESCRIPTION. TRANSACTION_TYPE & PROCESS_FLAG
There are two other columns the Item Interface uses to manage processing. They are TRANSACTION_TYPE, which tells the Item Interface how to handle the row, and PROCESS_FLAG, which indicates the current status of the row. Always set the TRANSACTION_TYPE column to CREATE, to create an item record (true when both importing a new item and assigning an already existing item to another organization). This is the only value currently supported by the Item Interface. The Item Interface uses the PROCESS_FLAG to indicate whether processing of the row succeeded or failed. When a row is ready to be processed, give the PROCESS_FLAG a value of 1 (Pending), so that the Item Interface can pick up the row and process it into the production tables. Meaning of PROCESS_FLAG Values: Code Code Meaning 1 2 3 4 5 7 Note: When more than one of these columns has been entered and they conflict, ITEM_NUMBER overrides SEGMENTn and ORGANIZATION_ID overrides ORGANIZATION_CODE. It is strongly recommended that you use SEGMENT column instead of ITEM_NUMBER. For performance purpose, it is advised to batch set of records using set_process_id column and then run import program for that set_process_id. The item import (IOI) program can be run in parallel if separate set_process_ids are passed while submitting. Pending Assign complete Assign/validation failed Validation succeeded; import failed Import in process Import succeeded
Derived Data:
Many columns have defaults that the Item Interface uses when you leave that column null in the item interface table. Please refer Oracle Manufacturing APIs and Open Interfaces Manual for more details.
Validations:
1] Validation for organization code (standard table: ORG_ORGANIZATION_DEFINITIONS) 2] Validation for Item_number (standard table: mtl_system_items_b) 3] Validation for Description 4] Validation for Primary Unit of Measure (standard table: MTL_UNITS_OF_MEASURE) 5] Validation for Template Name (standard table: mtl_item_templates) 6] Validation for Item Type (standard table: FND_COMMON_LOOKUPS)
7] Validation for ENCUMBRANCE_ACCOUNT (standard table: gl_code_combinations) 8] Validation for EXPENSE_ACCOUNT (standard table: gl_code_combinations) Note: You can add more validation as per your business requirement.
Record Insertion:
Through your custom program you can insert the below columns in the interface table. Again the list is a sample one; you can add additional columns as your business requirement. Columns inserted:
ORGANIZATION_ID ORGANIZATION_CODE LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN DESCRIPTION SEGMENT1 PRIMARY_UOM_CODE PRIMARY_UNIT_OF_MEASURE ITEM_TYPE TEMPLATE_NAME TEMPLATE_ID MIN_MINMAX_QUANTITY MAX_MINMAX_QUANTITY LIST_PRICE_PER_UNIT ITEM_CATALOG_GROUP_ID SET_PROCESS_ID PROCESS_FLAG TRANSACTION_TYPE
>Taken from ORG_ORGANIZATION_DEFINITIONS table >Taken from Staging table >sysdate >fnd_global.user_id >sysdate >fnd_global.user_id >fnd_global.login_id >Taken from Staging table >Taken from Staging table >Taken from Staging table >Taken from MTL_UNITS_OF_MEASURE >NULL >Taken from Staging table >Taken from mtl_item_templates >Taken from Staging table >Taken from Staging table >Taken from Staging table >Taken from Staging table >1 >1 >CREATE
1] All Organizations:
Yes: Run the interface for all organization codes in the item interface table. No: Run the interface only for the organization you are currently in. Item interface rows for
organizations other than your current organization are ignored. 2] Validate Items:
Yes: Validate all items and their data residing in the interface table that have not yet been
validated. If items are not validated, they will not be processed into Oracle Inventory.
No: Do not validate items in the interface table.
3] Process Items:
Yes: All qualifying items in the interface table are inserted into Oracle Inventory. No: Do not insert items into Oracle Inventory.
5] Process Set: Enter a number for the set id for the set of rows you want to process. The program picks up the rows marked with that id in the SET_PROCESS_ID column. If you leave this field blank, all rows are picked up for processing regardless of the SET_PROCESS_ID column value.
The UNIQUE_ID column in MTL_INTERFACE_ERRORS is populated from the sequence MTL_SYSTEM_ITEMS_INTERFACE_S. Thus, for a given row, the sequence of errors can be determined by examining UNIQUE_ID for a given TRANSACTION_ID. You should resolve errors in the sequence that they were found by the interface, that is, in increasing order of UNIQUE_ID for any TRANSACTION_ID.
Useful Query: 01Select 02SEGMENT1, 03DESCRIPTION, 04PROCESS_FLAG, 05SET_PROCESS_ID, 06INVENTORY_ITEM_ID, 07ORGANIZATION_ID, 08ORGANIZATION_CODE, 09CREATION_DATE, 10ITEM_TYPE, 11UNIT_OF_ISSUE, 12TEMPLATE_ID, 13TEMPLATE_NAME, 14EXPENSE_ACCOUNT, 15ENCUMBRANCE_ACCOUNT, 16PRIMARY_UOM_CODE, 17PRIMARY_UNIT_OF_MEASURE, 18MIN_MINMAX_QUANTITY, 19MAX_MINMAX_QUANTITY, 20TAX_CODE,
21REQUEST_ID 22from 23MTL_SYSTEM_ITEMS_INTERFACE 24 orderb\CREATION_DATE; 25---------------------------26Select 27ORGANIZATION_ID, 28UNIQUE_ID, 29REQUEST_ID, 30TABLE_NAME, 31COLUMN_NAME, 32ERROR_MESSAGE 33CREATION_DATE, 34MESSAGE_TYPE 35from 36MTL_INTERFACE_ERRORS 37 orderb\CREATION_DATE; Useful Metalink Note:
1. FAQ for Item Import [ID 109628.1] 2. Error in Validating MTL_SYSTEM_ITEMS_INTERFACE [ID 1057175.6] 3. A Guideline to IOI Error Messages and Solutions [ID 52746.1] 4. How to Import Item Costs Using the Item Open Interface (IOI) [ID 191376.1] 5. Item Import Performance Tips [ID 66496.1] 6. INCOIN: Basic Steps for Researching Failed Item Imports [ID 552683.1] 7. Troubleshooting Guide for INV_IOI_MASTER_CHILD Errors in Item Import [ID 429924.1] 8. How To Prepare to Run Parallel Runs of the Item Import Interface INCOIN [ID 842767.1] 9. Item Import Gives Error: The Default Primary Unit of Measure Is Invalid [ID 789927.1] 10. Understanding Item Import and Debugging Problems with Item Import [ID 268968.1] 11. How to create a Category Set and Assign Items to Categories [ID 423551.1] 12. Item API Or Concurrent Manager, Which One Is Best For Item Creation? [ID 760498.1]