Hi,
so I am trying to create something like easy ERP/CRM for creating orders and have one “small” problem with linking multiple values to the table.
I have:
- Table with products and prices
- Table with companies and their info
- Table with employes that are linked to specific companies (that works)
- Table with orders
(here I have a problem)
In that order I am linking to which company it belongs to (so far so good)
But then I want to link one employe that is responsible for it - But only from company that was picked previously. I can’t be mixed from other company.
Now I can Link any company to the order and any employe from any other company to the same order.
Is there any way how to limit that?
Thank you and have a nice day.
Matt