considerando refacturaciones al relacionar ventas
This commit is contained in:
@@ -9473,7 +9473,7 @@ Partial Class Ventas
|
|||||||
Kilometraje:=TxtKilometraje.Text.ToDouble, EsAmortizacion:=EsNCAmortizacion, CveTipoRetencion:=CveTipoRetencion) Then
|
Kilometraje:=TxtKilometraje.Text.ToDouble, EsAmortizacion:=EsNCAmortizacion, CveTipoRetencion:=CveTipoRetencion) Then
|
||||||
ErrorList.Add("Ocurrió un error al Generar la Venta.<br />Revise su factura y cualquier detalle comuníquese a Soporte Técnico")
|
ErrorList.Add("Ocurrió un error al Generar la Venta.<br />Revise su factura y cualquier detalle comuníquese a Soporte Técnico")
|
||||||
Else
|
Else
|
||||||
If factura.TipoDocto.Contiene("Dev", "Egs") Or DtVentasNC IsNot Nothing Then
|
If factura.TipoDocto.Contiene("Dev", "Egs") Or DtVentasNC IsNot Nothing Or CveEstatusRefacturacion = 1 Then
|
||||||
If DtVentasNC IsNot Nothing Then
|
If DtVentasNC IsNot Nothing Then
|
||||||
For Each row As DataRow In DtVentasNC.Rows
|
For Each row As DataRow In DtVentasNC.Rows
|
||||||
If Not row("CveVenta").ToString().ToEntero() = -1 Then
|
If Not row("CveVenta").ToString().ToEntero() = -1 Then
|
||||||
|
|||||||
Reference in New Issue
Block a user