Skip to Content

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

Hello!

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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

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?

    Regards,

    Frank

    Add comment
    10|10000 characters needed characters exceeded