on 12-18-2009 3:15 PM
Bom dia,
Estamos enfrentando um problema na produção, após queda do servidor do GRC, que é o seguinte:
- Criamos uma NF-e o documento se encontra no status "waiting for response" na J1BNFE.
Todavia, apos consulta no web portal do GRC descobrimos que a nota não está lá.
Outras NF-e foram emitidas depois esta e todas estao OK.
Enfim, tentamos reenviar, cancelar e não conseguimos executar já que o status é MSS = A.
Qualquer orientação é bem vinda.
Atenciosamente,
Pessoal,
Muito Obrigado pelas rápidas respostas.
Grande Fernando,
Excelente essa função, mas estou procurando em qual campo da função devo colocar o I_MSGTYP=1
Tenho os campos:
I_DOCNUM = docnum (OK)
I_AK_REGIO
I_AK_NFYEAR
I_AK_NFMONTH
I_AK_STCD1
I_AK_MODEL
I_AK_SERIE
I_AK_NFNUM9
I_AK_DOCNUM9
I_AK_CDV
I_REQTYP (Acho que é esse por eliminação, mas para ter certeza)
E_ERROR
Obrigado
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fernandão,
Perfeito meu amigo... já funcionou.
Obrigado
Abraços
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bom dia Thiago,
Se a situação é está no R/3 como enviado e não está no GRC. É bem simples.
Execute no R/3 a função J_1BNFE_MS_REQUESTS_DATA preenchendo I_DOCNUM com o docnum e I_MSGTYP = 1.
Uma retransmissão acontecerá ao GRC sem mexer em nenhum status no R/3.
Atenciosamente, Fernando Da Ró
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thiago,
Nao vejo muitas alternativas. Uma possibilidade seria simular um retorno de nota para o ERP (execute a J_1B_NFE_XML_IN_TAB via SE37) com um status de rejeicao (verifique os valores corretos a serem preenchidos (MSGTYPE = 2)) e depois dar um reset, send na J1BNFE.
Abs,
Henrique.
PS: confirme se a nota nao chegou msm no GRC buscando pelo docnum ou chave de acesso na tabela /XNFE/NFEHD do GRC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Acho que nesse caso você tem que marretar a tabela J_1BNFE_ACTIVE para essa nota, apagando o campo SCSSTA (deixando em branco).
Provavelmente vc terá que apagar as entradas da tabela J_1BNFE_HISTORY para essa nota tambem, para resetar o historico dela.
[]'s
José Nunes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.