on 11-18-2010 12:52 PM
Pessoal,
Estamos com o seguinte cenário:
Sefaz fora
SCAN Ativo
NAs notas de entrada (direct = 1) o tpemis está indo incorreto, no caso está indo 1 ao invés de 3. COnsequentemente temos o erro "Validation error: Field (ID) Chave de acesso de 44 caracteres, V11"
Alterei o Tpemis no debug para 3 e a nota foi aprovada.. Notei que na FUnção J_1B_NFE_GET_ACTIVE_SERVER linha 131 tem o segunte código que impede o tpemis de ser regerado em notas de entrada.
IF cs_header-xmlvers >= 2. "1489116
IF cs_header-direct = 2 OR "1489116
cs_header-direct = 3. "1489116
CALL FUNCTION 'J_1B_NFE_GET_TPEMIS' "1489116
EXPORTING "1489116
i_bukrs = cs_header-bukrs "1489116
i_branch = cs_header-branch "1489116
i_model = cs_header-model "1489116
i_serie = ls_j1bb2-series "1489116
i_conting = cs_header-conting "1489116
IMPORTING "1489116
e_tpemis = lv_tpemis "1489116
EXCEPTIONS "1489116
error = 1 "1489116
OTHERS = 2. "1489116
Alguém ja passou por isso? ja conseguiram alguma solução?
Obrigado,
ps: as notas abaixo estão aplicadas..
1505115 NF-e: Check- and Random Number are shown for Cancelled NF-is
1497422 TPEMIS wrong default value (0) for incoming NF-e
1489116 NF-e: Issuing type not correct for SCAN and non-decouple
1486401 NF-e: Issuing type not filled in accordance to XML-Version
1485996 NF-e: Issuing type in status contingency not correct
1470661 NF-e: Flexible XML-Version in Nota Fiscal-Writer
1454408 Nf-e: Change of access key: tpEmis and random number
1443089 NFe: Inclusion of NF-e issuing type in Access Key - Part 1
1513696 Wrong Issuing Type for Incoming NF-e in Contingency
Edited by: Rafael Freitas on Nov 18, 2010 2:31 PM
Bom dia Rafael,
Por favor abra um chamado em XX-CSC-NFE-BR passando os detalhe que você postou aqui, ao que parece o código precisa ser revisto.
BTW: Parabéns pela ótima investigação.
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 |
---|---|
15 | |
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.