pjs_webui.job_split
Error in query number 7
We are sorry, but an error occurred while generating this page. You should contact the site's administrator.
In "dwui/table/pjs_webui.job_split.sql": Failed to set variable records_count: In "dwui/table/pjs_webui.job_split.sql": The following error occurred while executing an SQL statement:
error returned from database: ODBC emitted an error calling 'SQLExecDirect':
State: 42501, Native error: 1, Message: ERROR: permission denied for view job_split;
Error while executing the query
The SQL statement sent by SQLPage was:
SELECT COUNT(*) FROM pjs_webui.job_split WHERE (CAST(? AS TEXT) IS NULL OR (((CAST(? AS TEXT)::JSONB) ->> 'old_job_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'old_job_uuid')::UUID = old_job_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'old_record_created_by_user_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'old_record_created_by_user_uuid')::UUID = old_record_created_by_user_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'max_splitable' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'max_splitable')::"numeric" = max_splitable) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_job_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_job_uuid')::UUID = new_job_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_jobcode' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_jobcode')::TEXT = new_jobcode) AND ((CAST(? AS TEXT)::JSONB) ->> 'split_off' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'split_off')::INT8 = split_off) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_record_created_by_user_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_record_created_by_user_uuid')::UUID = new_record_created_by_user_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'uuid')::UUID = uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'key' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'key')::"varchar" = key)))
dwui/table/pjs_webui.job_split.sql: line 48
dwui/table/pjs_webui.job_split.sql: line 48 Backtrace
Failed to set variable records_countIn "dwui/table/pjs_webui.job_split.sql": The following error occurred while executing an SQL statement:
error returned from database: ODBC emitted an error calling 'SQLExecDirect':
State: 42501, Native error: 1, Message: ERROR: permission denied for view job_split;
Error while executing the query
The SQL statement sent by SQLPage was:
SELECT COUNT(*) FROM pjs_webui.job_split WHERE (CAST(? AS TEXT) IS NULL OR (((CAST(? AS TEXT)::JSONB) ->> 'old_job_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'old_job_uuid')::UUID = old_job_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'old_record_created_by_user_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'old_record_created_by_user_uuid')::UUID = old_record_created_by_user_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'max_splitable' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'max_splitable')::"numeric" = max_splitable) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_job_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_job_uuid')::UUID = new_job_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_jobcode' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_jobcode')::TEXT = new_jobcode) AND ((CAST(? AS TEXT)::JSONB) ->> 'split_off' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'split_off')::INT8 = split_off) AND ((CAST(? AS TEXT)::JSONB) ->> 'new_record_created_by_user_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'new_record_created_by_user_uuid')::UUID = new_record_created_by_user_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'uuid')::UUID = uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'key' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'key')::"varchar" = key)))
dwui/table/pjs_webui.job_split.sql: line 48Note: You can hide error messages like this one from your users by setting the 'environment' configuration option to 'production'.