-- transferencias

This commit is contained in:
2024-10-04 16:36:01 -07:00
parent 67bb092a95
commit 2246590efd
2 changed files with 3 additions and 5 deletions

View File

@@ -9219,7 +9219,7 @@ Partial Class OC_OC
Select row.Field(Of Decimal)(ColumnaSaldo)).Sum()
If saldoTotal > 0 Then
Dim TotalAcumuladoTabla As Decimal = (DtDetalle.SUM("Total", $" CveSubProyecto = {ValCveSubProyecto} AND CveClasificacion = {ValCveClasificacion} "))
Dim TotalAcumuladoTabla As Decimal = (DtDetalle.SUM("Total", $" CveOrdenCompraDetalle is null AND CveSubProyecto = {ValCveSubProyecto} AND CveClasificacion = {ValCveClasificacion} "))
Dim Diferencia As Decimal = saldoTotal - TotalAcumuladoTabla - ValImporte
If (Diferencia) < 0 Then