OK, backstory.
I’ve been asked to integrate our physical access control into Epicor.
For example, gates and doors. Fob Readers / Keypads to be exact.
Epicor will not be running the opening and closing of doors, but instead acting as the
repository of knowledge, and platform to build management tools on.
A local service will sync with Epicor on a schedule (Probably every 5 minutes or so), and
handle the dirty work locally.
We will do logging and such through Epicor as well.
Technical:
I am using a UD Table to store Fob Information, and at current, it is one to one records, with the
primary key being either an EmpBasic.EmpID for Employees, and a Percon.PersonID? for Contractors.
These types are distinguished by a type field.
Primary management is planned to be the “Employee” App for Employees, and the “Person / Contact” App for Contractors. These will be customized and secured for appropriate roles/people.
Employees are managed by HR/IT, and Contractors by Purchasing/IT.
Anyway, on to my questions.
We plan to do something similar to both apps, but I will limit this to just “Employee”, as the solutions
will be similar.
I would like to do as much of this on the server as possible, so what I want to do is when
appropriate conditions are met, (open correct customization / layer, user authorized) is to inject
this data into the form / layer so the fob information can be manipulated, and saved on update.
My thought was, to create a field, or fields to use in EmpBasic, so when conditions are right,
that data is populated, and on update, it is discarded from EmpBasic, and saved appropriately
in the UD Table.
This works fine, however, while my task is simple at the moment, we may add schedules, etc in the
future, or more readers bla bla bla.
So what I really want to do in that field, is bring down a json object, that I can manipulate with code,
instead of adding fields every time I need to bring in something new, or want to change the architecture.
In classic, this is easy, in Kinetic, I’m not so sure.
So, I guess what my question is…
Say I add a field to EmpBasic.
Populate it on read from the server, with a json object.
Can I break that json object down in the Kinetic web UI into fields/controls ?
Can I pack it back up again into json for the Update/Save?
That’s where I’m at.
Any insight would be appreciated.