Hello manoon sangnil,
I assume your question is the following:
- How to create a dropdown for shift auto
- How to automatically populate the Division from a Employee ID
The answer depends very much on your Domain Model. Here is how I would do it:
- Create an Employee -* -----> Department association between the Employee and Division Entities
- On the page, you can display the Division by using a Dataview over association. I assume you just want to display the data and not having to be able to change the department on the empleyee :-)
- Create an association ShiftAuto * ------> Employee
- On the page, user a Reference selector widget in the Employee Data view.
Go Make It