Refacturaciones con venta minima
This commit is contained in:
@@ -17073,11 +17073,8 @@ Partial Class Ventas
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
'SI NO ES REFACTURACION verifica si tiene ventaminima
|
||||||
If NuevaFactura <> 1 Then
|
If NuevaFactura <> 1 Then
|
||||||
|
|
||||||
End If
|
|
||||||
'verifica si tiene ventaminima
|
|
||||||
If Cantidad > 0 AndAlso DrPS("VentaMinima").ToString().ToDecimal > 0 Then
|
If Cantidad > 0 AndAlso DrPS("VentaMinima").ToString().ToDecimal > 0 Then
|
||||||
'verifico que la cantidad sea multiplo de venta minima, es decir ventaminima =5, solo puede vender 5,10,15...
|
'verifico que la cantidad sea multiplo de venta minima, es decir ventaminima =5, solo puede vender 5,10,15...
|
||||||
If Cantidad Mod DrPS("VentaMinima").ToString().ToDecimal <> 0 Then
|
If Cantidad Mod DrPS("VentaMinima").ToString().ToDecimal <> 0 Then
|
||||||
@@ -17085,6 +17082,8 @@ Partial Class Ventas
|
|||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
'VERIFICA SI EN LA FACTURA PADRE SE DESGLOSO EL IEPS
|
'VERIFICA SI EN LA FACTURA PADRE SE DESGLOSO EL IEPS
|
||||||
Dim FacturaDesglosoIEPS As Boolean = ((CveDevolucion > 0 AndAlso NuevaFactura = 1) AndAlso (Me.ObjFacturaNC IsNot Nothing AndAlso Not Me.ObjFacturaNC.VentaDesglosaIEPS))
|
Dim FacturaDesglosoIEPS As Boolean = ((CveDevolucion > 0 AndAlso NuevaFactura = 1) AndAlso (Me.ObjFacturaNC IsNot Nothing AndAlso Not Me.ObjFacturaNC.VentaDesglosaIEPS))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user