--FIX importe IE
This commit is contained in:
@@ -697,6 +697,7 @@ Partial Class Ventas_PVCobranza
|
||||
If respFactura.Factura.DtAnticiposAplicados IsNot Nothing Then
|
||||
PagoAplicado += respFactura.Factura.DtAnticiposAplicados.SUM("Importe")
|
||||
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
||||
SaldoPendientePagos = SaldoPendientePagos - PagoAplicado
|
||||
|
||||
For Each RowAnt As DataRow In respFactura.Factura.DtAnticiposAplicados.Rows
|
||||
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
||||
@@ -727,6 +728,7 @@ Partial Class Ventas_PVCobranza
|
||||
Else
|
||||
PagoAplicado += respNC.Factura.Total
|
||||
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
||||
SaldoPendientePagos = SaldoPendientePagos - PagoAplicado
|
||||
|
||||
For Each RowAnt As DataRow In respNC.Factura.DtAnticiposAplicados.Rows
|
||||
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
||||
|
||||
Reference in New Issue
Block a user