Skip to Content
0
Former Member
Oct 13, 2006 at 05:13 PM

Updating prices in wharehouses.

17 Views

Hello there !

I'm trying to change the cost of an item as stored in the warehouse (OWHS) table, and i'm not sure what methods/objects to use.

I used something similar to change the prices of items in their pricelists, and i'm assuming the process will be pretty much the same:

Dim sboItemPrices As SAPbobsCOM.Items_Prices
sboItemPrices = oITdest.PriceList
sboItemPrices.SetCurrentLine(lngCount)
sboItemPrices.Price = (sboItemPrices.Price * (((CInt(newwidth) / 1000) + (CInt(newheight) / 1000)) * 2)) + fixedcost

Would this be the best way to go about it ? does anyone know what methods etc. i need to use ?