Ronda Senior X – Integrador SAM – Operator does not exist nos logs do Integrador SAM e na tabela SAM_PENDENCIES
Incidente
No módulo Ronda X, ao tentar integrar crachás entre bases XT e X, é apresentada a mensagem: Operator does not exist nos logs do Integrador SAM e na tabela SAM_PENDENCIES.
Causa
Este incidente ocorre, pois não foram realizadas configurações específicas no banco de dados PostgreSQL, necessárias para a execução correta das instruções SQL utilizadas pelo Integrador SAM na integração entre o sistema XT (HCM ou Ronda) e o Ronda X.
Solução
Para que a mensagem não seja apresentada ao tentar integrar crachás entre bases XT e X, realize os passos a seguir:
1. Entre em contato com a equipe responsável pela configuração do banco de dados;
2. Solicite que a equipe verifique a criação das tasks abaixo:
CREATE FUNCTION text$(integer) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int4out($1));';
CREATE CAST (integer AS text) WITH FUNCTION text$(integer) AS IMPLICIT;
CREATE FUNCTION text$(bigint) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int8out($1));';
CREATE CAST (bigint AS text) WITH FUNCTION text$(bigint) AS IMPLICIT;
CREATE FUNCTION text$(smallint) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int2out($1));';
CREATE CAST (smallint AS text) WITH FUNCTION text$(smallint) AS IMPLICIT;
CREATE FUNCTION text$(decimal) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT to_char($1, ''FM99999999999999999999999999999999999999'');';
CREATE CAST (decimal AS text) WITH FUNCTION text$(decimal) AS IMPLICIT;