stockbase.allreferences
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/stockbase.allreferences.sql": Failed to set variable records_count: In "dwui/table/stockbase.allreferences.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 table command;
Error while executing the query
The SQL statement sent by SQLPage was:
SELECT COUNT(*) FROM stockbase.allreferences WHERE (CAST(? AS TEXT) IS NULL OR (((CAST(? AS TEXT)::JSONB) ->> 'select_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'select_uuid')::UUID = select_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'barcode' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'barcode')::"varchar" = barcode) AND ((CAST(? AS TEXT)::JSONB) ->> 'title' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'title')::"varchar" = title) AND ((CAST(? AS TEXT)::JSONB) ->> 'source' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'source')::TEXT = source) AND ((CAST(? AS TEXT)::JSONB) ->> 'reference_order_nr' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'reference_order_nr')::INT8 = reference_order_nr) AND ((CAST(? AS TEXT)::JSONB) ->> 'printcode_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'printcode_uuid')::UUID = printcode_uuid)))
dwui/table/stockbase.allreferences.sql: line 48
dwui/table/stockbase.allreferences.sql: line 48 Backtrace
Failed to set variable records_countIn "dwui/table/stockbase.allreferences.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 table command;
Error while executing the query
The SQL statement sent by SQLPage was:
SELECT COUNT(*) FROM stockbase.allreferences WHERE (CAST(? AS TEXT) IS NULL OR (((CAST(? AS TEXT)::JSONB) ->> 'select_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'select_uuid')::UUID = select_uuid) AND ((CAST(? AS TEXT)::JSONB) ->> 'barcode' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'barcode')::"varchar" = barcode) AND ((CAST(? AS TEXT)::JSONB) ->> 'title' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'title')::"varchar" = title) AND ((CAST(? AS TEXT)::JSONB) ->> 'source' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'source')::TEXT = source) AND ((CAST(? AS TEXT)::JSONB) ->> 'reference_order_nr' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'reference_order_nr')::INT8 = reference_order_nr) AND ((CAST(? AS TEXT)::JSONB) ->> 'printcode_uuid' IS NULL OR ((CAST(? AS TEXT)::JSONB) ->> 'printcode_uuid')::UUID = printcode_uuid)))
dwui/table/stockbase.allreferences.sql: line 48Note: You can hide error messages like this one from your users by setting the 'environment' configuration option to 'production'.