Apologies if this is too simple, but I am kind of stuck here.
I have created a new application from scratch to display data from Ice.UD01 as well as let user enter data or delete them.
On my application map, on the landing page I have two buttons (New and Delete)
For the new button I have an event that uses rest-erp and navigates user to Details page.
Here is how I do it and what issues I have:
I have a dataview called UD01 that I have created using DataView Guided setup with source type: BO Service Call, source type: Ice.BO.UD01Svc and Method: GetByID.
For response parameters I have selected UD01
For the btnNew event, I have the following widgets:
Sorry to sidestep your question, but why not use the built in UD01Entry app? Ice.UI.UD01Entry can have a layer added to it to customize for your needs but the basics of adding a new record, saving, deleting are all there already.
Fair enough. When you preview your app, before you hit the new button, turn on dev tools in your browser (F12) and then click somewhere in the whitespace of your app and hit Ctrl+Alt+8 to turn on the console logging.
Once that’s done click your new button. The Console tab of the dev tools will show you if your event is firing correctly, and the network tab will show you what calls are being made and what’s being received.
You can also click on the whitespace of your app and hit Ctrl+Alt+v to see all of the dataviews and what’s in them. If you successfully got a new UD01 record your UD01 view should be red to indicate it’s a dirty view with unsaved changes. Come back with the results from that and we can troubleshoot more.
Thanks a lot, I have used all that, I was hoping to have a short and direct instruction type of how to get it done instead of doing hours of debugging.
Well without seeing that info it’s hard to say what you’re missing to get it done. Grayed out fields usually point to an empty dataview. I suspect you don’t have anything setup in ERP Rest Arguments>Response parameters telling it to put the results in your UD01 dataview, but it could also be that there’s something wrong with your Method Parameters and the server isn’t returning a new row at all.
You could also open the UD01Entry app and walk through how epicor set it up originally to see where your version differs.
Yes that’s what I’ve been doing.
A small syntax error can also cause the whole thing to not work.
As much as I like what Epicor has done with Kinetic, I find their tools not very user friendly. Hope it gets better by time and they roll out more and better tools.
We used to create complex UD applications in the classic version. Forms that would have multiple tabs each containing data coming from various Epicor tables and some from outside Epicor… I cannot imagine how hard it would be to implement the same stuff using Kinetic. At the very least, it would require way too many steps to take if not hard to do.