UBAQ not saving in app studio

Hi all, so I’ve got a UBAQ that updates fine in the BAQ editor, however, I’ve added it to a dashboard and added a save action. I’ve made sure that the grid allows updates, marked all of my fields as updatable. then i have this event.


It shows the loading bar and everything but once I publish and try to do it in the actual dashboard, it doesn’t work. Am I missing something?

1 Like

What is the setup on the first kinetic-baq action? Is it set to update? The second one shows get but the first one is blank.

What shows on network dev tools (f12) when you click?

1 Like

Yeah it’s set as update. Not sure why its like…blank there


Console doesn’t show anything but the Network stack is showing UpdateBAQ

1 Like

Depending on the context, you may need a row-update before that to set RowMod = “U”

Also, I have had to ensure all the required columns for the update are defined even if they are not visible in the grid view.

2 Likes

Check the Payload for the UpdateBaq call, what is sent?

Mike covered the usual suspects,

Always include all fields that are display fields in the uBAQ in the Update call (Epicor does weird/dumb things if you don’t, like set omitted columns to null - the update call is considered as an “overwrite the record with this set of columns and set anything else null” call) - and set RowMod = “U”

3 Likes

The RowMod thing worked perfectly! yay! Thanks all (put a picture for anyone who ever runs into this and needs a visual) :slight_smile:

2 Likes

What were the dataview settings. Was it set to track dirty rows?

2 Likes

Not sure what you mean by that? Like was Dirty View-confirm changes checked? If that’s what you’re referring to I did try that with no success :frowning: unless there’s some other setting I’m not familiar with?

1 Like