Here we going to look at how to get dropdown list options from a table in a different Module.
For example, I want a contact person name list from the Company module in my Order module.
- You must configure the Company module with a Contact table like this.
- Configure Order Module.
- Company - Module type - link to Company Module
- Contact - Select type
When adding Contact (Select type) information
Now you should be able to see the details below:
Reference Module > module to refer to get the list (Company)
Reference Module Table > the table name from Company Module
Reference Display Field > table column get as option list.
Now I can get the contact list based on the selected company.