I have a table of Weekly Work Plans where each Plan can have many Planned Activities. Also shown on the form is an embedded report of Primavera P6 Schedule IDs filtered for tasks that are due to start in the next three calendar weeks.
Currently users must take note of the Sched. ID they need, click the [ + Planned Act. ] button to add a Planned Activity, then find the Sched. ID in a dropdown list and save the record. That's a lot of extra steps.
I want the user to be able to review the list of Schedule IDs and click a button on the one they want to create a Planned Activity for, and subsequently have the record generate and the Sched. ID to be populated on it.
The challenge is this, the button would be located on the Sched. ID record in the embedded report, and would not know record ID of the Weekly Plan needed for the API_GenAddRecordForm function. The Record ID is available in the URL of the form, but I don't know how to grab it for the button without using JS.
------------------------------
Jon Froderberg
PRIME Developer
Harder Mechanical Contractors
https://www.harder.comPortland, OR
801.946.0576
------------------------------