-- actualización de timbre en carta porte.
This commit is contained in:
@@ -3483,6 +3483,14 @@ Public Class Timbrado
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If ObjCFDITimbre.Comprobante.TipoComprobante = "T" Then
|
If ObjCFDITimbre.Comprobante.TipoComprobante = "T" Then
|
||||||
|
Dim objGrales As New ClsGenerales
|
||||||
|
If objGrales.UpdateTimbreTimbrado(Ventas.CveTimbre, FolioFiscal, ObjCFDITimbre.Comprobante.Fecha, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, UsuarioActual.Empresa.CvePAC, "3.3") Then
|
||||||
|
Retorno = ""
|
||||||
|
Else
|
||||||
|
Retorno = "Error"
|
||||||
|
End If
|
||||||
|
objGrales.Dispose()
|
||||||
|
|
||||||
Using ObjInv As New ClsInventarios()
|
Using ObjInv As New ClsInventarios()
|
||||||
If ObjInv.UpdateMovimientoTimbrado(Ventas.Inv_CveMovimiento, 1, FolioFiscal, MinFecha) Then
|
If ObjInv.UpdateMovimientoTimbrado(Ventas.Inv_CveMovimiento, 1, FolioFiscal, MinFecha) Then
|
||||||
Retorno = ""
|
Retorno = ""
|
||||||
@@ -5706,6 +5714,14 @@ Public Class Timbrado
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If ObjCFDITimbre.Comprobante.TipoComprobante = "T" Then
|
If ObjCFDITimbre.Comprobante.TipoComprobante = "T" Then
|
||||||
|
Dim objGrales As New ClsGenerales
|
||||||
|
If objGrales.UpdateTimbreTimbrado(Ventas.CveTimbre, FolioFiscal, ObjCFDITimbre.Comprobante.Fecha, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, UsuarioActual.Empresa.CvePAC, "4.0") Then
|
||||||
|
Retorno = ""
|
||||||
|
Else
|
||||||
|
Retorno = "Error"
|
||||||
|
End If
|
||||||
|
objGrales.Dispose()
|
||||||
|
|
||||||
Using ObjInv As New ClsInventarios()
|
Using ObjInv As New ClsInventarios()
|
||||||
If ObjInv.UpdateMovimientoTimbrado(Ventas.Inv_CveMovimiento, 1, FolioFiscal, MinFecha) Then
|
If ObjInv.UpdateMovimientoTimbrado(Ventas.Inv_CveMovimiento, 1, FolioFiscal, MinFecha) Then
|
||||||
Retorno = ""
|
Retorno = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user