uBAQ dashboard only sometimes updating

I have a updateable BAQ inside of a kinetic dashboard, its only job is to toggle a check box UD field. My grid pulls in the BAQ and updates the dataview, then to actually update the field I have a normal kinetic-baq update event followed by a baq get:

Sometimes the table updates fine, and sometimes it just decides not to. When it doesn’t work, it still calls the erp-baq event - just doesn’t update.

Any ideas what could be happening here? I thought maybe it was a dataview issue but my dataview seems to be fine. The payload also looks the exact same when it works vs when it doesn’t, so I’m pretty lost on what to look for

1 Like

How are the fields updated?

What is the row mod for those records?

What does the network call on Update look like? dataset being sent on the wire.

Fields are updated from an update button on a panel card grid, which calls a kinetic-baq “update” event:


Rowmod is “U” for the changed row(s), null for an unchanged row
Network call looks fine to me, it’s successfully sending all of the rows in my dataview. The first call doesn’t successfully update the table, but the second one does. Maybe this is just an Epicor issue?

Does the uBAQ update as expected and reliably when run from designer?

Different methods are called when the uBAQ is run from a dashboard vs. designer, I have a post calling out differing functionality in the methods here: Updatable Dashboard w/uBAQ linked to Grid dropping data when columns not present in grid - 2024.2.10 (Kinetic) (and a case/PRB accompanying that didn’t get anywhere)

You might be able to call the same method called from BAQ Designer in app studio with kinetic-rest widget for a diagnostic test. you’d have to set up a new dataview with your (unchanged and changed) rows, with RowMod=“U” as appropriate, and set up that dataview in the request parameters to sendallrows.

Potential workarounds include using that kinetic-rest widget instead, or, chaining kinetic-rest(GetByID), row-update, kinetic-rest(Update) widgets in your event. Pull the record down, set rowmod U and checkbox true, push it back with update.

I’d open a bug on the indeterminate behavior - it should be consistent.

This seems like the case, yes it runs reliably when run in designer so guess it’s an issue with whatever funk is going on behind the scenes of the updatable dashboard kinetic-baq widget. I’ll open a bug on it, thank you!