How to prohibit submitting a document until a linked document is confirmed?

How to make a change in the status of a draft document into a submission dependent on the status of a linked document?
For example, as is done with the documents Work Order and Job Card - until you transfer to the status of the Job Card submission, then the Work Order cannot be submitted.