Refresh UI from BPM

Hello all, if this question has been CLEARLY answered somewhere else, feel free to point me to it. I’m working on a BPM screen customization on Order Entry. In this example, if a checkbox on the LINE is checked, a checkbox on the Header is updated. If I refresh the screen manually, the change shows up. I’d like to force a refresh of the Header when a line is updated. I know I can set a value in the BPM data, then check in the UI if that value is true / not, but I haven’t figured out how / where exactly in the UI to check that / call for a refresh. Thank you.

There is an example here

Ref

Dsholder.attach(db)
2 Likes

This does not seem to do it for me. Also, you can’t attach a Db, you need to attach a dataset. If I switch to working with the dataset, I can’t loop through records that I’m not updating? Let me know if I’m still missing something.

Initially, I had the code in a data directive. To get the DsHolder to work, I moved it to the SalesOrder UPDATE Method Directives. Is that what you would recommend?

1 Like

Sorry typo that should have been ds

You can’t force a refresh from the server side. You will need to figure something else out.

In Classic you could by simply calling GetByID as the last BPM Widget, or update the dsHolder. It should still work in Kinetic right?

1 Like

Not everywhere, only if the screen was designed to refresh that way.

1 Like