Hello! I have been working on this for quite a while, and I am stumped. I was hoping for some guidance on the direction I should take to accomplish this task. I will use Non Conformance Dashboard as an example.
I am not VERY experienced as this is my first after college position, but I have a good understanding of SQL and data basics, and I also have been getting used to Epicor, Kinetic, App Studio, and all the fun they bring for a couple months. I’ve worked on multiple dashboards in app studio already, created some from scratch, but I haven’t worked much with editing a native dashboard.
Apologies for any confusion I may cause below, I can clarify if need be. But now to the issue.
I am adding fields to Non Conformance, on a separate custom page, called Quality. They must be populated when a Transaction ID is selected on NonConf’s landing page. On the Quality page, there is also a customized table, called Additional Parts. I have the below image’s structure as we have this working in Classic.
In Classic, multiple rows populate the additional parts table, as they all have the same Job Number. When a row is selected from the table, it populates the above fields with the newly selected row’s data over the initial data, which is the first listed row since the Transaction ID was selected. And whenever a change is made in those fields, and the native save button is pressed, everything needs to save. The data is stored in a UD table, UD08.
I started bringing in data using a BAQ that had UD08 as the only table within the BAQ. I got to a point where the data would load into the fields, but then came across errors when trying to select items within the table to change the rows, and nothing would EVER save. I played around with onClick_toolSave events and attempting to get the UD08 data to save, with no success. I further attempted connecting NonConf to UD08 in the BAQ to create a relationship between them, with no success.
I then decided to start over.
I looked into REST API. Calling Ice.BO.UD08Svc, using Update and GetByID and GetRows, only to continue to more errors. I have not been able to get any data to load into the fields like I did with the BAQ. I know GetByID needs Keys 1-5, and as I filled in required details, I would only ever get two errors - Record not found, and parameter key (1…2…3…) could not be found. I also tried using GetRows but still couldn’t get things to load.
So if I continue the REST route, would (the where clause) GetRows or (Key requiring) GetByID work better? and is there a way to find where the UD08 GetByID Keys are defined? (As in what the field behind them is? We have a sheet with what they should be, but it’s from a user who no longer works here and it is sloppy).
I tried using the debugger to find where to call the event to load UD08 data, (after the Transaction ID (Key1) is selected so it can go populate the UD08 fields), with no avail.
With regards to the data saving issue, I am pretty sure I need to use REST’s Update, and I wanted to add an event so UD08 can be saved using the native save tool. But I can’t edit the native event, so I should create my own Update event that triggers after the NonConf.Update event within onClick_toolSave?
In the end, I guess the best first question would be, would you recommend loading and then saving changes to the UD data with an updatable BAQ, reattempting to connect NonConf to UD08 in the BAQ, or continue to explore REST?
Any suggestions or thoughts are greatly appreciated. Thank you for taking the time to read the above.



























