AtendeSmart ControlP
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Ir para baixo
avatar
izaias silva
Mensagens : 105
Data de inscrição : 12/05/2020

erro integrador TBL_CLIENTE_ENDERECO ... CLIENTE.CODIGO_WEB = 0 Empty erro integrador TBL_CLIENTE_ENDERECO ... CLIENTE.CODIGO_WEB = 0

Qui Ago 24, 2023 12:56 pm
caso o erro "nao encontrado no banco de dados do food"
erro integrador TBL_CLIENTE_ENDERECO ... CLIENTE.CODIGO_WEB = 0 195

rodar o script abaixo, acerte os contadores no atende e atualize para a versao1.235+

update cliente cli
set cli.codigo_web = (select cw.id_atendesmart from cliente_web cw where cw.cliente_id = cli.codigo)
where cli.codigo_web is null;
update cliente c
set c.inscricao = '0'
where c.inscricao is null;
update tbl_cliente_endereco t
set t.cep = "0000000"
where t.cep is null;
update tbl_cliente_endereco t
set t.tbl_uf_id = 1
where t.tbl_uf_id is null;
update tbl_cliente_endereco t
set t.tbl_municipio_id = 0
where t.tbl_municipio_id is null;
update tbl_cliente_endereco t
set t.tbl_pais_id = 1
where t.tbl_pais_id is null;
update tbl_cliente_endereco t
set t.logradouro = 0
where t.logradouro is null;
update tbl_cliente_endereco t
set t.bairro = 0
where t.bairro is null;
update cliente set status_transfer = 1 where status_transfer = 2;
Ir para o topo
Permissões neste sub-fórum
Não podes responder a tópicos