-- autorización de limites de NC, que considere importe
This commit is contained in:
@@ -26934,7 +26934,10 @@ Partial Class Ventas
|
|||||||
If ObjVentas.GetAutorizacionLimite(UsuarioActual.CveEmpresa, CveCliente, -1, "Egs", CveEstatus:=1) Then
|
If ObjVentas.GetAutorizacionLimite(UsuarioActual.CveEmpresa, CveCliente, -1, "Egs", CveEstatus:=1) Then
|
||||||
Dim RowAutorizacion As DataRow = ObjVentas.DtResultados.FiltroPrimero($"CveVenta IS NULL ", Orderby:="TipoAutorizacion")
|
Dim RowAutorizacion As DataRow = ObjVentas.DtResultados.FiltroPrimero($"CveVenta IS NULL ", Orderby:="TipoAutorizacion")
|
||||||
If RowAutorizacion IsNot Nothing Then
|
If RowAutorizacion IsNot Nothing Then
|
||||||
Verificacion = True
|
Dim ImporteAutorizacion As Decimal = RowAutorizacion("Importe").ToString().ToDecimal()
|
||||||
|
If ImporteAutorizacion > TxtTotalGv.Text.ToDecimal Then
|
||||||
|
Verificacion = True
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
ObjVentas.Dispose()
|
ObjVentas.Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user