on 12-16-2010 6:51 PM
Olá a todos.
Estamos implementando a NF-e 2.0 e no monitor da NF-e estamos recebendo a mensagem para NF-e de importação: Validation error: Field IT_NFE_IMP: V12 (Field NDI).
Já lemos varios post sobre o mesmo problema porem não conseguimos resolver.
Implementamos o metodo fill_item da BADI CL_NFE_PRINT, passamos os dados na tabela OUT_IMPORT e OUT_ITEM porém não deu certo.
Notei que na chamada da função '/XNFE/NFE_CREATE' a tabela XML_ADI_TAB está vazia.
Alguém tem idéia do que pode estar ocorrendo?
loop at t_zycit085 into s_zycit085 where nrseqdi eq s_zycit042-nrseqnf.
s_import-docnum = s_zycit042-docnum.
s_import-itmnum = s_zycit042-ebelp.
s_import-ndi = s_zycit085-nrdi.
out_item-ndi = s_zycit085-nrdi.
s_import-ddi = s_zycit085-dtreg.
out_item-ddi = s_zycit085-dtreg.
s_import-ufdesemb = 'SP'.
out_item-ufdesemb = 'SP'.
s_import-XLOCDESEMB = 'SANTOS'.
out_item-XLOCDESEMB = 'SANTOS'.
s_import-ddesemb = s_zycit085-dtdesemb.
out_item-ddesemb = s_zycit085-dtdesemb.
s_import-cexportador = in_doc-parid.
out_item-cexportador = in_doc-parid.
s_import-nadicao = 1.
out_item-nadicao = 1.
s_import-nseqadic = 1.
out_item-nseqadic = 1.
s_import-cfabricante = 'XXXXXX'.
out_item-cfabricante = 'XXXXXX'.
append s_import to out_import.
endloop.
Bom dia Leandro,
Não precisa preencher out_item, apenas a out_import que já está fazendo e está faltando a out_adi da mesma forma que está fazendo com a out_import, lembre-se que também precisa dos campos chaves (DOCNUM, ITMNUM e NDI).
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.
User | Count |
---|---|
14 | |
4 | |
2 | |
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.