create items using items import interface

4
Create Items (SKU’s) and Revisions using MTL_SYSTEM_ITEMS_INTERFACE Interface Tables used: MTL_SYSTEM_ITEMS_INTERFACE: temporarily stores the definitions for inventory items, engineering items and purchasing items before loading this information into Oracle Inventory. Mandatory Columns (MTL_SYSTEM_ITEMS_INTERFACE): TRANSACTION_TYPE ITEM_NUMBER SET_PROCESS_ID ORGANIZATION_ID MTL_ITEM_REVISIONS_INTERFACE: temporarily stores revision levels for an inventory item before loading this information into Oracle Inventory. Mandatory Columns (MTL_ITEM_REVISIONS_INTERFACE): PROCESS_FLAG TRANSACTION_TYPE SET_PROCESS_ID ITEM_NUMBER ORGANIZATION_ID REVISION MTL_INTERFACE_ERRORS: stores errors that occur during the item interface process reporting where the errors occurred along with the error messages. Base Tables Affected: MTL_SYSTEM_ITEMS_B MTL_ITEM_REVISIONS

Upload: jeed

Post on 29-Jan-2016

12 views

Category:

Documents


0 download

DESCRIPTION

doc

TRANSCRIPT

Page 1: Create Items Using Items Import Interface

Create Items (SKU’s) and Revisions using MTL_SYSTEM_ITEMS_INTERFACE

Interface Tables used:

MTL_SYSTEM_ITEMS_INTERFACE: temporarily stores the definitions for inventory items, engineering items and purchasing items before loading this information into Oracle Inventory.

Mandatory Columns (MTL_SYSTEM_ITEMS_INTERFACE):

TRANSACTION_TYPE ITEM_NUMBER SET_PROCESS_ID ORGANIZATION_ID

MTL_ITEM_REVISIONS_INTERFACE: temporarily stores revision levels for an inventory item before loading this information into Oracle Inventory.

Mandatory Columns (MTL_ITEM_REVISIONS_INTERFACE):

PROCESS_FLAG TRANSACTION_TYPE SET_PROCESS_ID ITEM_NUMBER ORGANIZATION_ID REVISION

MTL_INTERFACE_ERRORS: stores errors that occur during the item interface process reporting where the errors occurred along with the error messages.

Base Tables Affected:

MTL_SYSTEM_ITEMS_B

MTL_ITEM_REVISIONS

Page 2: Create Items Using Items Import Interface

General Tips for Running the Create Item and Item Revisions:Save the script file and then run the script from the SQL Prompt (Example : RUN createitemandrevision.sql)

Enter the values for the Parameters from inside the script file itself unless it is required to enter some value from the SQL Prompt.

This script will create the Item and also the revisions, here for demo purpose we have created 2 Revisions.

- See more at: http://alloracleapps.com/scripts/apis_interfaces/inv-apis_interfaces/create-items-skus-and-revisions-using-mtl_system_items_interface/#more-1396

After successfully run, we need to submit the standard Program

 Import Items Program (INCOIN)

Parameters:

When you run the Item Interface, you are prompted for report parameters. These are runtime options for the Item Interface:

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.

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.

Page 3: Create Items Using Items Import Interface

No: Do not validate items in the interface table. Note that items that have not been validated will not be processed into Oracle Inventory. You would use this option if you had previously run the item interface and responded Yes for Validate Items and No for Process Items, and now want to process your items.

Process Items

Yes: All qualifying items in the interface table are inserted into Oracle Inventory.

No: Do not insert items into Oracle Inventory.

Delete Processed Rows

Yes: Delete successfully processed items from the item interface tables.

No: Leave all rows in the item interface tables.

Script To Verify whether the Create Location API is successful:

Oracle PL/SQL

1

2

3

select * from mtl_system_items_b where segment1='Item Test -4';

select * from mtl_item_revisions where trunc(creation_date)=trunc(sysdate) and inventory_item_id=213964; (pass inventory item id from above sql)

Navigation to find the above created in Application

(N) Inventory >> Items >> Master Items

Query for Item ‘Item Test -4’

To check Revisions

Page 4: Create Items Using Items Import Interface

Query for Item

(N) Query for Item >> Tools Menu >> Choose Revisions

- See more at: http://alloracleapps.com/scripts/apis_interfaces/inv-apis_interfaces/create-items-skus-and-revisions-using-mtl_system_items_interface/#more-1396