We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d623b14 + 45cd8f2 commit b3d42d6Copy full SHA for b3d42d6
tests/pg_data/03a_function_add_mandate.sql
@@ -40,8 +40,8 @@ BEGIN
40
end if;
41
42
43
- IF p_can_sub_delegate = TRUE AND rec_role_conf.can_sub_delegate = FALSE THEN
44
- RAISE 'The role with code=% is defined with can_sub_delegate=FALSE but mandate to be added has it true', p_role USING ERRCODE = '23011';
+ IF p_can_sub_delegate = TRUE AND rec_role_conf.sub_delegable = 'NO' THEN
+ RAISE 'The role with code=% is defined with sub_delegable=NO but mandate to be added has it true', p_role USING ERRCODE = '23011';
45
46
47
-- Insert or update person record corresponding to representee
0 commit comments