cancel
Showing results for 
Search instead for 
Did you mean: 

Set Default WH into Item Master Data

Former Member
0 Kudos

Hi forum,

I need a massive update into master data. I need to set the default WH into each item. Now no-one default WH is set in stock tab but I need to set it. I use DTW to upload many items but I don't be able to find a solution.

Thank you.

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184566
Active Contributor
0 Kudos

Hi

I'm not sure if you can do it through the dtw. The dtw uses the di api. In the di api you can do it, but they just might of not provided the field needed for this in the template. Worse comes to worse you can write a mini progarm that reads a file that has the items in it and the default warehouse and then you can set it by using the di api.

In the DI API, after reading the file and using getbykey to get the item.

Oitem.DefaultWarehouse = 2

Hope this helps

former_member184566
Active Contributor
0 Kudos

Hi

I'm not sure if you can do it through the dtw. The dtw uses the di api. In the di api you can do it, but they just might of not provided the field needed for this in the template. Worse comes to worse you can write a mini progarm that reads a file that has the items in it and the default warehouse and then you can set it by using the di api.

In the DI API, after reading the file and using getbykey to get the item.

Oitem.DefaultWarehouse = 2

Hope this helps