Application Name: Appointments
Problem Facing in Booking Appointment Module
I am using a Parallel dropdown in the form for selecting data (Department,Doctor) while saving the data the values given in parallel dropdown is saved as 0 in the database (entity)
Hello,
I can see there is issue into your aggregate "GetDoctorsByDepartmentId" is using local variable "DepartmentId" into filter and this variable is never set to value so it always 0 so doctor dropdown is not showing any doctor.
You should use filter like screenshot below
The second issue that you assign variable of Doctor dropdown list to Id of doctor table which is not used into saving action as saving using only Appointment table so you should change variable of Doctor dropdown list as second screenshot and also assign list as Doctors aggregate not appointment aggregate
Thank you for the solution.It's working as expected.
Hi B Krisha,
you forgot to assign local variable for the aggregate refresh in on change action, and used wrong list for the doctors list.
i have fixed your things. i am attaching oml
Thanks
Prince
I found few issues in your code same as @Mostafa Othman ,
Please follow the changes and your code will work fine.