Luiz Fernando Posted July 20, 2018 Report Share Posted July 20, 2018 Colegas estou usando a classe do Gilmer, alguém consegue ver aonde estou errando no codigo abaixo Function LoadDuplicatas( oNFe,nFiscal ) if len(aDuplicata)>0 for j=1 to len(aDuplicata) oItem := TVoNfeCobr() //TVoNFeDupl() WITH OBJECT oItem if j=1 // fatura :nFat := nFiscal :vOrig := aDetalhe[1,37]-aDetalhe[1,31] :vDesc := aDetalhe[1,31] :vLiq := aDetalhe[1,37] endif // duplicata :nDup := aDuplicata[j,1] // Numero da Duplicata :dVenc := ctod(aDuplicata[j,2]) // Data de vencimento :vDup := val(aDuplicata[j,3]) // Valor Duplicata END oNFe:AddItem( oItem ) next endif Return(nil) qdo vou transmitir da este erro Application =========== Path and name: C:\NFE4.0\empre-gestor.EXE (32 bits) Size: ********* bytes Time from start: 0 hours 0 mins 17 secs Error occurred at: 20/07/2018, 15:34:33 Error description: Error BASE/2022 Argument error: ALLTRIM Args: [ 1] = A { ... } Stack Calls =========== Called from: => ALLTRIM(0) Called from: C:\NFE4.0\classes\nfe400\VONFE2G_v4.PRG => TVONFE2G:R_TAG(1348) Called from: C:\NFE4.0\classes\nfe400\VONFE2G_v4.PRG => TVONFE2G:GETTAG(1228) Called from: C:\NFE4.0\classes\nfe400\VONFE2G_v4.PRG => TVONFE2G:GETTAG(1218) Called from: C:\NFE4.0\classes\nfe400\VONFE2G_v4.PRG => TVONFE2G:GERARXML(1147) Called from: C:\NFE4.0\source\NfeFlexdocs.prg => GERARNFE(334) Quote Link to comment Share on other sites More sharing options...
Luiz Fernando Posted July 20, 2018 Author Report Share Posted July 20, 2018 Resolvido era erro meu, tentei exclui mais não conseguir Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.