Link one table to another table via backend code?

I have requirement where I need to make link between two tables based on some conditions through code , Is this possible ?

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.