If I understand correctly then your GDL object needs to save the calculation as a Parameter in the parameter list of the object.
Then in your schedule you can list the "Additional Parameters".
You can lock them in the GDL object so the user can't modify them - not that they would modify as they should revert back to the calculated value if scripted properly.
Locking them just means users won't get frustrated when they can edit them but the values dont change.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11