Wednesday, August 6, 2008

Item upload thru Item interface

Item upload thru Item interface:

1. Gather all your data in excel sheet.

2. We need to enter data in the table mtl_system_items_interface. Below is the statement.(Here extra dta are entered but can be increase or decrease more data but some mandatory are to be needed.

insert into mtl_system_items_interface(item_number,description,transaction_type,organization_id,organization_code,unit_weight,weight_uom_code,
primary_unit_of_measure,attribute_category,process_flag,set_process_id,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10,attribute11,attribute12,attribute13,attribute14,attribute15)

3. To enter the data in the table best way is to first enter data in the customised table and then insert in the mtl_system_items_interface table.

Below is the example:

create table X

(ITEM VARCHAR2(200),
DESCRIPTION VARCHAR2(300),
TRANS VARCHAR2(200),
ORGID VARCHAR2(200),
ORGCODE VARCHAR2(200),
UNIT_WEIGHT VARCHAR2(200),
WEIGHT_UOM_CODE VARCHAR2(200),
PRIMARY_UNIT_OF_MEASURE VARCHAR2(200),
ATTCAT VARCHAR2(200),PROFLAG VARCHAR2(200),
SETPROID VARCHAR2(200),
ATTRIBUTE1 VARCHAR2(200),
ATTRIBUTE2 VARCHAR2(200),
ATTRIBUTE3 VARCHAR2(200),
ATTRIBUTE4 VARCHAR2(200),
ATTRIBUTE5 VARCHAR2(200),
ATTRIBUTE6 VARCHAR2(200),
ATTRIBUTE7 VARCHAR2(200),
ATTRIBUTE8 VARCHAR2(200),
ATTRIBUTE9 VARCHAR2(200),
ATTRIBUTE10 VARCHAR2(200),
ATTRIBUTE11 VARCHAR2(200),
ATTRIBUTE12 VARCHAR2(200),
ATTRIBUTE13 VARCHAR2(200),
ATTRIBUTE14 VARCHAR2(200),
ATTRIBUTE15 VARCHAR2(200))

Data can be enter in the table X through below command:@C:\Prod_All_length_items.txt;

where the Prod_All_length_items.txt is a text file stored in the c drive containg all the rows to be inserted in the table X in below format

Insert into Length_Items values('AL100-100-10-10*CA*R','ANGLE 100MM X 100MM X 10MM, ASTM A572 GR50 X MM','CREATE','230','CAN','CAN Length
Raw Material','15','KG','Millimeter','CAN','1','88888','15','L100X100X10','ASTM A572 GR50');

Then insert data as below statement:
insert into mtl_system_items_interface(item_number,description,transaction_type,organization_id,organization_code,unit_weight,weight_uom_code,
primary_unit_of_measure,attribute_category,process_flag,set_process_id,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10,attribute11,attribute12,attribute13,attribute14,attribute15)select * from x

4. After data are entered in the mtl_system_items_interface check the data

select * from mtl_system_items_interface.

5. To import the items follow the below navigation

Under Inventory responsibility:

Items-->Import--> Import Items
In the parameter all will be default except Process set. Enter Set_process_id value which was entered in the mtl_system_items_interface.
The last parameter is by default 1 which is for creating new item. If you want to update existing one enter value 2 here.

6. After completion the request see the log if any error is there. Correct that fault and update the process flag as 1 in the mtl_system_items_interface table and again import the items.

Error can be seen in the below table also:
select * from MTL_INTERFACE_ERRORS

update mtl_system_items_interfaceset process_flag=1where organization_id=230

7. Before creating items in the child org first item must be created in master org then same process must be followed for other organization by simply updating the org_id in the mtl_system_items_interface table.

Category Updation for existing item thru interface:

1. Arrange data in the correct format.

2. We need to enter data in the table MTL_ITEM_CATEGORIES_INTERFACE. Below is the statement.(Here extra data are entered but can be increase
or decrease more data but some mandatory are to be needed.

insert into MTL_ITEM_CATEGORIES_INTERFACE(inventory_item_id,category_set_id, category_id,process_flag,organization_id,OLD_CATEGORY_ID,set_process_id, transaction_type)values('341980',1,1136,1,22,1135,88888,'UPDATE')
insert into MTL_ITEM_CATEGORIES_INTERFACE(item_number,category_set_id, category_id,process_flag,organization_id,OLD_CATEGORY_ID,set_process_id, transaction_type)values('20-01*16*PC',1,1135,1,22,1136,88888,'UPDATE')

3. To import the items follow the below navigation
Under Inventory responsibility:
Items-->Import--> Item Category Assignment Open Interface
In the parameter all will be default except Record set id. Enter Record set id value which was entered in the MTL_ITEM_CATEGORIES_INTERFACE as set_process_id.

create table CAT_INT
( item_number VARCHAR2(200),
CATEGORY_NAME VARCHAR2(200),
category_set_id VARCHAR2(300),
process_flag VARCHAR2(200),
organization_id VARCHAR2(200),
OLD_CATEGORY_ID VARCHAR2(200),
set_process_id VARCHAR2(200),
transaction_type VARCHAR2(200))

insert into CAT_INT values ('35-05*723*PC','20.MP FITTING.RF-3',1,1,22,1,88888,'UPDATE');

13 comments:

Anonymous said...

Good stuff, step by step of item uploading. Good work.

BHAVIG said...

hey hi nice work and thanks a lot for the informative article. i needed information on mandatory field in mtl_system_item_interface tables thx for help in advance

Haider said...

Hi Mr. Kutub,
Thanks for your valuable Blogs. I have been looking for a technical script to update my items and here I found it.

Thanks,
Haider

Unknown said...

Hi,

Good work!!!

Can you help me with this?

We are a company of television in Mexico.

At the moment we are working with Oracle EBS R12.

We buy and we registered material for production in units INV and PO but the administration of
the production takes control of another software. This software provides report to us of material
used for a production.

We want to make an interface to pass the information of the production from this
another software to the EBS as to unload the material used in INV of the EBS.

Exist some does interface in the EBS that we can use for this or we must do one?

Can we use table MTL_SYSTEM_ITEM_INTERFACE for our purpose or is another table?

Thanks in advance.

Unknown said...

Hi,

Its really helpful to fix my issue with step by step navigation.

Keep up the good work. Thanks.

-- Manjoor

Unknown said...

Hi,

Its really helpful to fix my issue with step by step navigation.

Keep up the good work. Thanks.

-- Manjoor

Anonymous said...

Dear All,

Is there a way of importing 50,000 items from the excel sheet into the interface table. I tried import table data through TOAD but it is failing by out of memory error.

Kindly advice.

Thanks in advance.

Anonymous said...

This info is priceless. Where can I find out more?

Also visit my page mike chang monster mass review

Anonymous said...

Wen u try it did it operate

Stop by my web blog; teeth whitening strips during pregnancy ()

Anonymous said...

Saved as a favorite, I like your web site!

my weblog - office furniture warehouse indianapolis

Anonymous said...

Wow the hulk cause supper man not fighting the hulk
come on that would only make him a lot more mad witch
would make him far more strong as it says up top hulk can withstand the sun so heat blast dont mater
supper speed can let supper man get far more hits but
inturn make the hulk far more strong an sense the more mad the hulk gets the
more energy he will get so fighting him for extended points of time
will be no difficulty for the hulk but for supper man he would get tried
more than time and his freeze breath is usless beacuse the hulk can bust out or jump away
from it

Here is my web page: best spray for premature ejaculation in india

Anonymous said...

Oh, and I am thoroughly disgusted by China's human rights violations as listed originally within this submit.

Also visit my web blog; what scents attract women

Anonymous said...

America's notion of meal..."Let's hurry up and pressurize one thing then crack an egg more than it!
"

My web page; healthy cooking show