Page 1 of 1

Nested Roster

Posted: March 16th, 2019, 2:04 pm
by aelvirr201
Good morning community CSPro.

I am starting to develop my first exercises in CSPro and I would like to add a functionality with nested roster, in which I could have a roster by zones and for each zone a roster of homes and for each household I can add a roster of members per household. How could I develop this exercise or if you have a document in which you can guide me?

I attach an image of the exercise that I want to perform.

Thank you very much and awaiting your prompt reply[img]

Re: Nested Roster

Posted: March 19th, 2019, 6:31 pm
by Gregory Martin
This is nontrivial to do in CSPro, but one way do this is to:

1) Have each zone be a case.
2) Have the households be the first level of your application.
3) Have the members be the second level of your application.

This uses the concept of levels in CSPro, which are complicated, which is why we don't recommend them.

I think instead of nested "rosters," you might consider making each zone/household a separate case, and then you can easily collect the information about members of the household for each case.