After following this thread PO Detail Comment Text - Approved PO's - #18 by danbedwards very carefully (and having to recreate the BPM workflow multiple times), I have been able to get my uBAQ to update records (one at a time).
Another issue is on a uBAQ, in Analyze, after you update, you need to Get List to see the actual current status (that tripped me up for a while).
Because I am on Kinetic 2021.2.9, there are no longer tt, so I changed the references to queryResultDataset.Results (wherever the tt references existed).
So I can actually update multiple rows, but I get an error (and then rows do not get re-approved). Text from error:
Business Layer Exception
The table queryResultDataset.Results has more than one record
Exception caught in: Epicor.ServiceModel
Error Detail
Correlation ID: 8630a7dd-f975-4938-bc1a-863012b59bdf
Description: The table queryResultDataset.Results has more than one record
Program: Epicor.Customization.dll
Method: GetSingleRow
Line Number: 73
Column Number: 17
Table: queryResultDataset.Results
Client Stack Trace
at Epicor.ServiceModel.Channels.ImplBase1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets) at Ice.Proxy.BO.DynamicQueryImpl.Update(DynamicQueryDataSet queryDS, DataSet queryResultDataset) at Ice.Adapters.DynamicQueryAdapter.<>c__DisplayClass37_0.<Update>b__0(DataSet datasetToSend) at Ice.Adapters.DynamicQueryAdapter.ProcessUbaqMethod(String methodName, DataSet updatedDS, Func
2 methodExecutor, Boolean refreshQueryResultsDataset)
at Ice.Adapters.DynamicQueryAdapter.Update(DynamicQueryDataSet queryDS, DataSet updatedDS, Boolean refreshQueryResultsDataset)
at Ice.UI.App.BAQDesignerEntry.BAQTransaction.b__374_0(Int32& rowReturned)
at Ice.UI.App.BAQDesignerEntry.Forms.BAQDiagramForm.ShowQueryResults(DataSet dsResults, getQueryResult getResults, ReportAdditionalInfo additionalInfo)
at Ice.UI.App.BAQDesignerEntry.BAQTransaction.CallUpdate()
I was not able to understand how @danbedwards intended how to trigger a refresh after the change is processed. Having the BAQ refresh after the Update is made would be helpful.