Hello, we have a specific table in which we store our contracts. There are multiple type of contracts, and some contracts can link to eachother. So, for example, a lease contract can be linked to a maintenance contract. We want to do this with a lookup. How can we accomplish this?
For further context, we have a column contract_type. What I wanted to do is built a lookup reference with columns company_id and contract_id, and set the contract_type to the value it needs to be for maintenance. However, this is not possible. Is there a similar approach I can take that is possible?