Hi all,
Sorry to bother you all once more...
I'm updating some user defined fields of the currently displayed form as a response to a button-click and I would like the screen to reflect those changes.
According to the help file, this should be possible using form.update, but nothing happens.
When I query the form, the old data is still there and the old data is displayed as well. When I query the di-object the new data is there (after I did an oSboQuotation.update). when I close the form and re-open it, the new data is displayed
btw: I'm accessing the udf-form through
getFormBytypeandCount(-masterform.type, masterform.typecount) and I really appear to get the right form, so that is not the problem
Any ideas?
Thanks once more,
Jacques
Hi,
Form.Update updates the UI Items properties on the form and <b>not the data</b> (works for item Enabled/Visible/location).
Data requery is not exposed until SAP Business One version 2004(6.7).
until then - data requery should be done in your code(retrieving the data from DB and load it to the UI)
Regards,
Yaniv G.
SDK Consultant,
SAP Manage Israel.
Add a comment