Skip to Content
author's profile photo Former Member
Former Member

Updating prices in wharehouses.

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 ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2006 at 08:30 PM

    Just remembet that the costing method chosen for the company does the costing job automatically...so you may not want to mess with the costs, but if you still want to go with it:

    Dim its As SAPbobsCOM.Items

    its.AvgStdPrice = 10.0

    -

    -


    Alfredo Pérez

    www.corponet.com.mx

    SAP Developer & Consultant

    alperal (at) gmail.com

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.