There is a limitation when scripting the UDT Handler. The table of the UDT is a grid, which doesn't report the form that it should go into "Update" mode. However, a work-around for this exists. You can do this by using dynamic code to your Line Loop function (example in the pics below).
UF-007 in this case will switch the view to "Update" mode, by using "if(form.Mode == BoFormMode.fm_OK_MODE) { form.Mode = BoFormMode.fm_UPDATE_MODE; }" there (as shown below)
Keep in mind you cannot script the UDT Handler if you have "Use Change Tracking" checked/turned on, as that will have the effect that only field that are manually updated will actually be updated on pressing the "update" button.
Comments
0 comments
Please sign in to leave a comment.