This commit is contained in:
2025-02-06 19:07:36 -07:00
parent cc5c3af9cc
commit 8a837105c3
2 changed files with 40 additions and 36 deletions

View File

@@ -1493,6 +1493,7 @@ Partial Class Ventas_PVCobranza
ObjNC.CalculaTotales()
Dim CveIE As Integer = -1
Dim UUIDFactura As String = "" 'VACIO PORQUE AUN NO SE HA GENERADO
If GvRowAnticipo IsNot Nothing Then
CveIE = GvRowAnticipo.DataKey("CveIE").ToEntero()
End If
@@ -1501,13 +1502,13 @@ Partial Class Ventas_PVCobranza
DtVentasNC.Columns.Add("CveVenta", GetType(Integer))
DtVentasNC.Columns.Add("Importe", GetType(Decimal))
DtVentasNC.Columns.Add("FolioFiscal", GetType(String))
'DtVentasNC.Columns.Add("CveIE", GetType(Integer))
DtVentasNC.Columns.Add("CveIE", GetType(Integer))
DtVentasNC.Columns.Add(New DataColumn With {.ColumnName = "TC", .DataType = GetType(Decimal), .DefaultValue = 1})
DtVentasNC.Columns.Add(New DataColumn With {.ColumnName = "TCCambioValuacion", .DataType = GetType(Decimal), .DefaultValue = 1})
DtVentasNC.Columns.Add(New DataColumn With {.ColumnName = "CveEstatusFactura", .DataType = GetType(Integer), .DefaultValue = -1})
DtVentasNC.Columns.Add(New DataColumn With {.ColumnName = "Folio", .DataType = GetType(String), .DefaultValue = ""})
'DtVentasNC.Rows.Add(Venta.CveVenta, CveIE, Total, "")
DtVentasNC.Rows.Add(Venta.CveVenta, Total, UUIDFactura, CveIE)
ObjNC.DtVentasNC = DtVentasNC