Thank you for your post.
The relationship "allows" you to create a new record in the related table. It will not do this for you automatically. If a portal is showing on your layout, this allows you to add a record to the portal via the relationship.
Instead, when your record is created, include the script steps:
Set Variable [ $id ; Jobcard::jobcard_id ]
Go to Layout [ <layout based on CostAnalysis table> ]
Set Field [ CostAnalysis::jobcard_id ; $id ]
Go to Layout [ <layout based on Jobcard table> ]
Let me know if you need clarification for any of the above steps.
If you have allow creation of record on, all you have to do is type ( or set a value ) into a field in CostAnalysis.
Thanks for your help guys.
It's working now. :smileyvery-happy: