Data not loading or saving on customizations on native dashboard

Okay thank you that makes a LOT more sense.

Fields are now linked to the UD08_View.

Selecting a row in the grid does not change any of the UD08_View fields.

I have this little event which contains the data you had provided (UD08-ified) -

Accidentally replied a little too early. Still troubleshooting things out

Okay, that’s a decent event to troubleshoot with… change the trigger to on row change of your BAQ dataview though.

When you select a row in your BAQ grid, your selecting a row in your BAQ dataview. So, that is the row change we want to trigger our event.

Sorry I feel a bit confused asking this, but what do you mean? Lol.


The trigger shown is the BAQ dataview of UD08 being changed to another row that I clicked in the grid, and below shows that GetByID is triggered after I change a row. Do you mean the initial BAQ Dataview of NonConf?

my bad the text is a bit chopped off but it just shows that UD08_GetByID is triggered.

i am trying to call this… but my UD table doesn’t have any values in key2, key3, key4 and key5. and when i try to test it out i am getting this error


is there a way to send them in empty? or any ideas on how to fix

Gotcha, that’s my mistake. i didn’t realize your BAQ Dataview was called “UD08”! :rofl:

So… expand the debugger and lets see going on inside here:

Are those keys (even if they’re blank/empty) included in your BAQ?

yes they are

Try wrapping that Field value in curly braces and single quotes:

'{Shortages.UD01_Key2}'

I’m not seeing much I can decipher. What can you get out of this? My lack of experience with debugging is showing :grimacing:

You’re good! You’re better than most!!

This (I think) is your problem and it is one of the biggest headaches in Kinetic rest calls… cause it hard to know when to go in and when not to.

But your rest call is calling out a dataset where it shouldn’t.

See mine below… it doesn’t have that.

What causes this is by clicking into the Dataset parameter on your rest-erp action.

If you click into there… it adds that dataset you’re seeing in debugger and that boogers everything up. Even if you don’t change any settings inside there… its too late!

AND… there’s no way to get it back OUT!!!

So… this sucks (every time this happens)… but… you need to delete your rest-erp action out of your event. Add it back in and rebuild it. And this time DON’T go into that Dataset area in the Response parameters.

Wow… thats… AWESOME! Jk. Funny though. Good to know.

Recreated REST-erp, without touching Dataset, and debugger shows that ERP is gone.

Onto the next error - after hitting the landing page and choosing a TranID to load the data, I get “Record not found.”

Am I right to assume this might have to do with the keys?

Could be. Possible your GetByID is running before your baq dataview is populated. So it is trying to run (initially) without having any values to pass.

Is it when you load the TranID in NonConf? Or when you switch to your custom tab?

I ended up keeping all the information on the same tab. No seperate page. It happens after I click on the TranID on NonConf’s Landing page, when all the NonConf data fills and the BAQ dataview table fills, that’s when I get the record not found error. I’ll play around and attempt to trigger the GetByID after the baq dataview gets populated even though I think it already is.

Does it happen even if you switch rows? Or just initially? Or both?

Both.

Then we’re trying to do the GetByID and it’s not liking what we’re passing.

In debugger… now look at your MethodParameters… do you see values being passed?


We only use Key1 for the TranID and Key5 for Index. So all looks good, I think?

Another place to look for info in the debugger is the Network tab.

Look for your GetByID event… and then look at the:

Payload (the data your call is sending).
Preview
Response

What do you see in there?

Payload -
image

That looks a bit different than yours. Probably the issue.

Preview -

Response -

a WHOLE lot here under NonConf.

There is also two GetByID’s on the left under Name that are red, which are probably telling me the error definitely has to deal with GetByID.

in case anyone has the same problem… if you define your columns in your grid… you have to make sure you define the Keys as well