Skip to Content

UI: Refresh combobox data on form (after change data in database)


I have two userfields which include extra amount added to price. When the user change the price in purchase-pricelist (item master data), i change the price in the sales-pricelists (SDK-DI Items_Prices). But the update is not visible on screen. After skip to next record and then back to the previous record, it is ok.

I try form.refresh, form.update, item.refresh and item.update - no effect.

Any idea?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 23, 2004 at 09:57 AM

    Hi Stephan,

    I just checked what happens to data on a form when e.g. editable data in an existing invoice are changed (Contact person / remark) in the UI.

    When I "Update" the form afterwards - what according to the information in the helpfile - should read the data from the database anew, nothing happens!

    IMHO, the data modified in the UI should be overridden by the original DB data after requesting confirmation by the user.

    The same happens when I change the data via DI API - just like you.

    So I would consider this to be a bug or an error in the helpfile.

    But your case is a little bit different:

    When you select data for a particular form (e.g. a business partner from the BP list), the data are not referenced, but copied to the form (+ when saving to the particular DB tables)!

    Therefore you cannot expect an "Update" to react on this as there's no link to the data you have changed.

    Do you have any update on this topic from your side?



    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.