(@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (27) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (29) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (30) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (32) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (10) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (34) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (2)  AND (@IDType = 'RSA Identity Document' OR @IDType = 'Passport' OR @IDType = 'Temporary Identity Document' OR @IDType = 'Foreign Identity Document')) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (4,15,17,18,22,28) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (5) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (6,23,24) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (7,16,17,18,25,26) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (8,14,15,16,17,18,23,24,26,28) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (11) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (3,14,15,18,22,24,26,27) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (13) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (9) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (9) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (13) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (5) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (7,16,17,18,25,26) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (11) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (8,14,15,16,17,18,23,24,26,28) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (3,14,15,18,22,24,26,27) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (10) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (1,9,25)  AND (@IDType = 'RSA Identity Document' OR @IDType = 'Passport' OR @IDType = 'Temporary Identity Document' OR @IDType = 'Foreign Identity Document')) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (34) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (2)  AND (@IDType = 'RSA Identity Document' OR @IDType = 'Passport' OR @IDType = 'Temporary Identity Document' OR @IDType = 'Foreign Identity Document')) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (4,15,17,18,22,28) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (6,23,24) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (32) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (27) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (29) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (1) AND  @ApplicationRequestTypeID IN (30) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (38) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (31) ) OR (@DivisionTypeID = 2 AND  @ProvinceID IN (10) AND  @ApplicationRequestTypeID IN (1,9,25) ) OR (@DivisionTypeID = 1 AND  @ProvinceID IN (3) AND  @ApplicationRequestTypeID IN (1,9,25)  AND (@IDType = 'RSA Identity Document' OR @IDType = 'Passport' OR @IDType = 'Temporary Identity Document' OR @IDType = 'Foreign Identity Document'))