Update Price List in SBO

Hallo All,
I try to update a specific price list in Business One, but keep on getting errors. There are 2 objects to use: oItems and Items_Prices which is the child object, but I can't seem to put everything together! Can somebody help please. I do not find an update example in the help samples.

Hi Carin,
Herewith an example. You can search by the price list name or the number. I am not aware of another way to update the prices.
        Dim oItem As SAPbobsCOM.Items
        Dim i As Integer
        oItem = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
        oItem.GetByKey("A1001")
        For i = 0 To oItem.PriceList.Count - 1
            oItem.PriceList.SetCurrentLine(i)
            If oItem.PriceList.PriceListName = "Sales Price list Small Customers" Then
                oItem.PriceList.Price = 500
                Exit For
            End If
        Next
        If oItem.Update <> 0 Then
            MessageBox.Show("Error: " & oCompany.GetLastErrorDescription)
        Else
            MessageBox.Show("Updated")
        End If
Hope it helps,
Adele

Similar Messages

  • Update price list by DTW

    Hi all!
    i wanna update price list by DTW, but i enter price list manual before. Now i use DTW to update but not successful. Althought, system reports successful, but i check result , old price list as before. I don't undersatnd. Can you help me!

    Hey
    It is Better to Upload Pricelist through Data Import Function in Administration Module
    Select Item Code
    Select the Pricelist code you want to upload in next coloum and select the excel file.
    It is easy and fastest way
    Regards

  • Unable to update Price list

    Dear all,
    I am unable to update price list from
    Inventry->Price List->price list->Pricelist A
    geting no error.Update buton doesnt work.
    I am using SAP B1 2007 PL :12 SP:00
    Thank You
    Ratish Pratihast

    hi Raj
    please also check if there is any coding done in relation to it also please check it in transitional notification.
    Regards,
    Manish

  • Update Price List by DTW ODBC Connection

    Hi Experts,
    I wondered if there was a way to update a Price List in SAP by DTW ODBC connection please?  I have two databases with exactly the same Price Lists, apart from I need to update one price list in one of the databases with the inforamtion as a Price List in another SAP database on the same server.  The price list is called C60000 and is the 7th Price list (therefore number 6) and this is the Query I was using:
    SELECT T1.[ItemCode], T1.[Price] FROM OPLN T0  INNER JOIN ITM1 T1 ON T0.ListNum = T1.PriceList WHERE T1.[PriceList] = '6' 
    The Query shows correctly in STEP 4 of DTW when I click on Import in the last Step nothing really seems to happen...
    Many many thanks for all your help.
    Caroline

    HI Gordon,
    Thanks for your fast reply!
    I guess it's ITM1 I need to update... the actual prices in the Price List.
    Thanks,
    Caroline

  • Need to Update Price List at Ship to Address Level

    Hello All,
    Can you please let me know whether there is an API to update the price list at SHip to Address Level.
    Thanks
    Rakesh

    Check the TCA public API hz_cust_account_site_v2pub. I've used the below and am sure there'll be an update API as well.
    hz_cust_account_site_v2pub.create_cust_acct_site
    hz_cust_account_site_v2pub.create_cust_site_use
    Thanks
    Gopal

  • Slow in updating price lists using import from excel

    Hello,
    I am concerned about the slow process of updating prices in SAP using import from excel. It took me hours to complete the upload for 3700 item rows and 2 price lists. It is also slow in adding warehouses. I am not sure if the account segmentation has something to do with it but it never happened to my other databases where there is no account segmentation. Other than this, SAP is running real fast on the server.
    How could this be? Thank you and regards.
    Derrick

    Yes vijay, There is query params in step 2 of DTW.
    2 week before only we have updated to SAP B1 2005B PL41,
    but i'm not sure whether DTW is updated to latest version or not ?
    Current DTW version is 2005.0.15 & API version is 6.80.320.
    What is procedure to update DTW ?
    Jeyakanthan

  • Using DTW to update price lists with ITM1 template

    I'm trying to update prices in a price list using the ITM1 DTW template, but I continue to get an error:  This entry already exists in the following tables (ODBC - 2035) Application-defined or object-defined eror65171.
    Any suggestions?
    Thank you,
    Avraham

    Hi Caroline,
    AtcEntry is correct for the document, this relates to the AbsEntry in OATC, which then in turn links to AbsEntry in ATC1.
    There are a few fields that need to be populated in ATC1:
    AbsEntry
    Line - To be used if more than 1 Attachment
    SrcPath - for the file path
    Filename - for the file name
    FileExt - for file type - i.e. .pdf
    You may be able to configure DTW to import these as a manually created DTW but I suspect that OATC and ATC1 are not open to the Di which will stop it. Coincidently I have been looking at Task Centre to update these but have encountered the same problem
    Regards
    Sean Martin

  • Updating price list

    I have an excel file that has a number of columns.
    I want to be able to UPDATE the Prices only in Windows SQL
    database.
    What's the best way to get from an EXCEL file to SQL and what
    would the
    query look like?

    Steve wrote:
    > On Tue, 02 Jan 2007 13:19:24 -0600, Lee
    <[email protected]>
    > wrote:
    >
    >> I have an excel file that has a number of columns.
    >>
    >> I want to be able to UPDATE the Prices only in
    Windows SQL database.
    >>
    >> What's the best way to get from an EXCEL file to SQL
    and what would the
    >> query look like?
    >
    > Perhaps this product is of use to you?
    >
    >
    http://www.sqlmanager.net/en/products/mssql/dataimport
    >
    Thanks but that's probably not the route I want to take.

  • How to copy Sales Quotaton prices to Price List or Special Prices

    We frequently use Sales Quotation to communicate deal price offers to customers.  Once these prices are approved, we have to re-type these prices into applicable price lists or special prices. 
    We are looking for a way to copy these deal prices from Sales Quotation (by Business Partner) over to the applicable price list and special prices?
    Please assist?
    Jaco de Villiers

    I was told by my Implementation Partner that it is possible to import and update price list by using the Import function that is available in SBO.  To do this:
    1. From your sales quotation with the agreed prices - export to excel.
    2. Change the format to list: Product code, Price list to update, New price, Currency
    3. Save the file as tab delimited text
    4. Import into SBO using the Administration, Data Import/Export, Data Import, Import from Excel option.
    5. Choose Item type to import
    6. In the B line, choose Price List Code, the list updates to show only the fields relevant to price list updates
    7. Press OK and follow rest of instructions to complete the import.
    I found the above to be simple, repeatable and reliable enough to solve my initial question.

  • Change Log needed at price list and special prices

    Tracking changes made to the price list and special prices by BP is a valuable control function missing that needs to be included in future.

    I was told by my Implementation Partner that it is possible to import and update price list by using the Import function that is available in SBO.  To do this:
    1. From your sales quotation with the agreed prices - export to excel.
    2. Change the format to list: Product code, Price list to update, New price, Currency
    3. Save the file as tab delimited text
    4. Import into SBO using the Administration, Data Import/Export, Data Import, Import from Excel option.
    5. Choose Item type to import
    6. In the B line, choose Price List Code, the list updates to show only the fields relevant to price list updates
    7. Press OK and follow rest of instructions to complete the import.
    I found the above to be simple, repeatable and reliable enough to solve my initial question.

  • Price List Issue

    Hi Experts,
    I am preparing Price List for Item Master Data.
    I go through procedure as below :
    1. Filled Base Price for Item 'A' in Price List.
    2. In Spl price for BP selected BP Code '123' and updated price, Set Price List on both header and row level.
    3. Same process as '2nd row' for diff. vendor and set diff price, system generate some disc. for that and price shows in price after disc. coloum.
    4. Select same Priec list in BP MAster > Payment Terms and in Admin > General > Base Price Origin.
    5. Select  Price List in form settings on Purchase Order Form.
    But now the prb is when i select BP '1234' in Purchase Order and item 'A' in Item No. system does not shows me unit price but when i manually update the price list in form setting then it is updating price in P.O.
    I mean i have to update price list manually in form setting every time when creating P.O.
    Regards,
    Ravi
    Edited by: RAVI_JHA_SAP on May 6, 2011 12:52 PM

    hi Ravi
    Is your B1 system running on Last purchase price last evaluated price or simply by the price list if its by last purchase price then system would pick up the price automatically the last purchased price and if its the second option then the system would pick the price from last evaluated price and if its the third option then my dear friend u would have to define the price of the item once under inventory =price list- double click of the left column and that would open up the complete price list there please put the price and this price would be picked in the marketing forms
    Regards,
    Manish

  • Price lists

    Good morning.
    I have a question: I buy my items in US dollars. My currency is Euro. I created a sale price list based on last purchase price. Can I have my sale price list in euro?
    Which documents update last purchase price? When?
    Thanks for your answers!
    Alberto Malacarne

    Hi,
    Besides using DTW, you can also using utility tools embed in SAP application program.
    a)Go -> Administration -> Data import/Export -> date import -> import from excel
    b)Select data type to import to 'item'
    c)You must have excel column for item no, price list code,price according to price list, price list price currency.
    d) All the above column can select from the list
    e) The item no is compulsory; price list code = 1(if u wanted update price list 1 in standard b1), price according to price list=   
        price amount based on currency, price list price currency = currency code(example :EURO)
    f) Check the bottom option checkbox 'update existing records'
    system will update the record and price accordingly based on specific item number
    Regards,
    Eric

  • How to create price list in all item..?

    Hi all,
    I want to modify the price list in all items because changing the price. If I have more 100 items, I have got difficult change on SBO one by one, there is not an efficient and need a long time. I used SBO 2005A PL 43.
    How to create it fast on SBO? How to create add on module to modify the price list in all items so I modify the price list is faster? I don't know relationship the tables to change the price list on SBO. Please let me know...
    Thanks in advance for your help....
    Agung

    Dear Mr Adrianto,
    In the stock module under price list there are different options. It could be possible to change the prices of Parent items according to thier children's prices.
    Also, you can use the option: Special prices for BP, if you need to change the prices for on BP.
    There is also the discount group if you want to reduce the price of items for the whole group. Please note that you can also increase prices when you use a percentage > 100%.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Inventory Price Lists Period and Volume Discounts

    Hi all
    Is it possible to mass import Inventory Price Lists Period and Volume Discounts for all Items?
    Kedalene Chong

    Hi,
    To get correct result, you need to split your existing records in maximum of 1000 records per import. If more than that, you may get incorrect update.
    Please check SAP note for updating price list:
    903392
    - DTW_How to set PriceList field for the Items_Price object
    Thanks & Regards,
    Nagarajan

  • Price List Auto Update based on Last Purchase Price

    Dear Expert
                         I have a problem in updating the PriceList at one of my client site . They are making CST purchase
    Eg.    We are entering purchase through Goods Receipt PO item cost 100RS and CST tax 20 RS
             Then Copy to AP invoice . so the item cost is coming to 120 as CST is non deductible tax .
             If we goto Price list , it will clearly show last purchase Price is 120 every thing is fine till now
           Now the issue comes :- company is incurring frieght charges 10 Rs or any amount this also has to be included to cost that we are entering through Landed Cost . This 10Rs is automatically adding to cost . if we look the item cost it will be 130 this is also correct . But the Problem is that when we go to Pricelist we find that Last Purchase price as 110 that is 100 Rs base doc price +10 Rs Frieght (Landed Cost) . .
    Actually the Last Purchase Price should come as 130 (1002010) . We are dealing with 4000+ items it is difficult to mannually update the Price List .
    Regards
    Shihabuddin CC
    Jr . Consultant SAP B1
    CCS Technologies P Lrd

    Dear Shihabuddin,
    In most localization, price is for before tax price. If you want tax included in the price, you can create your own price list to calculate.
    Thanks,
    Gordon

Maybe you are looking for

  • How to convert AVCHD for use on ipad

    Is there a free convertor for mac to convert AVCHD to the format needed for ipad?? i want to try editing with reeldirector on my ipad, i then need to import it to my ipad is the camera kit the only option?

  • Server Admin & WGM not working after 10.6 upgrade

    Hi, I've just done a fresh install of SL Server and migrated my setup from a previous server (10.4.11). Now when i try launch Server Admin or WGM they just hang and have to be force quit. I've tried to reboot, repair permissions and delete the prefer

  • Error: Boot loader didn't return any data when creating VM

    Env: VirtualBox Host: Windows 7 Guest: Linux Domain Type: Xen PVM Network Boot Path: http://192.168.1.200/aaa (THis is how I mounted... cd /var/www/html mkdir aaa mount -o ro,loop /var/www/html/Linux6.3V33411-01.iso /var/www/html/aaa ) When creating

  • SPECIFIED MODULE COULD NOT BE FOUND

    Dear Sir/Madam, While Starting my laptop the following error message is displaying on my desktop screen: "There was a problem Starting C:\user\dell\app data\local\conduit\API support\API support.dll The Specified Module could not be found" Kindly hel

  • A plea to Discussions users

    Please remember that by posting to Discussions you have agreed to its terms of use, which expressly forbid discussing Apple's policies, ranting, disrespectful language, & focusing in general on non-technical issues. Whatever your feelings on these th