Can I force a query refresh after a UBAQ update is performed

I have written a UBAQ allows editing of LaborDtl records to allow our supervisors to quickly adjust clock times on labor transactions. The UBAQ did not perform the calculations for LabHrs and BurdenHrs during the update, so I wrote and expression in the Query to Object mapping to perform the calculation.

As part of my code, I am storing the original values of the clock times to determine if the user wants to perform and update on the LabHrs directly (needed when an operator signs on to multiple jobs at the same time - to split the hours between the jobs). This works great for the first update, but since the query does not get refreshed automatically the code may not work on subsequent edits.

The simplest solution would be to automatically force a query refresh after each update. This would refresh the stored values and everything would work.
Is there a way to force a UBAQ to automatically refresh after and update?

1 Like