Jump to content
Fivewin Brasil

Acrescentar Volume trasnportado a NFe


crisvam

Recommended Posts

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)

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...