crisvam Posted July 19, 2021 Report Share Posted July 19, 2021 Caros colegas. Eu uso a classe do Gilmer e não estou conseguido acrescentar a Tag de volume de trasporte na NFe. Alguém já tem isso resolvido e que possas me mostrar como inserir essa tag. Eu estou fazendo assim: oNfe:SetValue("transp",'Vol',vCaro) oNfe:SetValue("vol",'qVol',Tra_Qvol) oNfe:SetValue("vol",'esp',Tra_Espe) oNfe:SetValue("vol",'marca',Tra_Marc) oNfe:SetValue("vol",'nVol',Tra_Nvol) oNfe:SetValue("vol",'pesoL',Tra_Pliq) oNfe:SetValue("vol",'pesoB',Tra_Pbru) Quote Link to comment Share on other sites More sharing options...
devairlp Posted July 20, 2021 Report Share Posted July 20, 2021 METHOD StruVolume() CLASS TVoNFe local axArray := {} aadd(axArray, {"qVol" , TVoNFeItem():New("N", 0, 15,0, ) } ) aadd(axArray, {"esp" , TVoNFeItem():New("C", 0, 1,60, ) } ) aadd(axArray, {"marca" , TVoNFeItem():New("C", 0, 1,60, ) } ) aadd(axArray, {"nVol" , TVoNFeItem():New("C", 0, 1,60, ) } ) aadd(axArray, {"pesoL" , TVoNFeItem():New("N", 0, 15,15,3 ) } ) aadd(axArray, {"pesoB" , TVoNFeItem():New("N", 0, 15,15,3 ) } ) aadd(axArray, {"lacres", {},0 } ); nPos := len(axArray) aadd(axArray[nPos][2], {"nLacre", TVoNFeItem():New("C", 1, 1, 60 ) } ) return( axArray ) Você tem que ter isto inserido na classe . Quote Link to comment Share on other sites More sharing options...
crisvam Posted July 20, 2021 Author Report Share Posted July 20, 2021 Obrigado devairlp. Uso a classe do Gilmer e tem isto na classe, mas mesmo inserindo os dados para chama-la os dados não aparece no danfe Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 20, 2021 Report Share Posted July 20, 2021 Verifique se o DANFE.PRG está atualizado. Quote Link to comment Share on other sites More sharing options...
crisvam Posted July 21, 2021 Author Report Share Posted July 21, 2021 Grato kapiaba, Resolvido, eu estava acrescentado uma variável a mais na mina rotina e o méthod não lia 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.