As the title suggests, I have a custom event that has been created within a Kinetic layer for Project Entry (in Application Studio).
I was wondering If I could create a function which triggers this event. Does anyone know if this is possible or have any examples of how this might be done?
It would be super-helpful to know the business problem you’re trying to solve. Functions and BPMs run at the server. Generally, events at the client could call them and then react accordingly.
Below are details of the problem we’re trying to resolve:
In Quote Entry > Line > Worksheet, we added a couple of custom cost fields.
In Project Entry > WBS Phases, we added a button to trigger an event which sums up the custom Cost fields for all quotes related to the current project. The cost is updated in the WBS Phases > WBS Phase Costs >ODC costs field. (There is a default WBS Phase on the project).
The event has been fully created in App Studio and makes use of a BAQ dataview to retrieve all quote lines and then sum up the custom costs.
Currently, users have to press this button in each Project to trigger the event.
However, I wanted to create a function which triggers the event for all active projects.
I don’t want to re-do the work done in App Studio. I was wondering if it was possible to trigger the App Studio event from within a function, so was looking for examples of this.
Seems like it would be better to have built your logic in a function that would be triggered from application studio but could also be scheduled or triggered from another function. I don’t think you can go the other way.