Set a variable in your script with the primary key of your customer record before going to your job layout. Use Go to Layout to go to the job layout, not Go to Related Record. Create a new record when you arrive at the Job layout, and have your script set your Job::id_Customer field (foreign key) with the value in the variable you saved before switching layouts.
Great! Works like a dream Jeremy, thanks for your help!