I have an ‘Invoice’ and ‘Job’ datatype. User’s create a Job and Invoices are associated with the Parent’s Job.
Initially I pointed the table two ways, but I was advised to point only one way, so the Invoice table would reference Job.
Now, instead of the ‘create-invoice’ page being of type ‘Invoice’, it is now type ‘Job’. New invoice’s are saved to the database’s Invoice datatype and included in the save button workflow is Job = page-create-invoice's Job
.
This works, invoices are indeed linked correctly with their parent Job. However, because the database points only one way I can’t reference things like invoice’s notes. For example, on the invoice I want to reference Parent group's Job's invoice's invoice-notes
but of course I can’t refer to Job’s invoice, I can only refer to Invoice’s Job.
Am I missing something?