...
2) Check that the respondent does not match any quotas where currently_open=0.
If remaining=currently_open=0 & type=0, this quota is full, and the respondent will be redirected to the supplier as ps_rstatus=12 (ps_quotafull).
If remaining=currently_open=0 & type=1, this quota is used for temporary exclusion, and the respondent will be redirected to the supplier as ps_rstatus=34 (ps_temp_exclusion).
If remaining>0, but currently_open=0, then the respondent will be redirected to the supplier as ps_rstatus=24 (ps_unopened_quota_term).
3) If a qualification set (like age/gender of child) has a quota - Check that the respondent matches at least one active quota within the qualification set .
...