mejoras en contratos
This commit is contained in:
@@ -4476,7 +4476,7 @@ Partial Class Contratos_ContratoObra
|
||||
End Function
|
||||
|
||||
|
||||
Private Sub ProcesaDatosCargaPresupuesto(DTPresupuesto As DataTable, DTCargaPresupuestoManoObra As DataTable, DTCargaPresupuestoFlotillas As DataTable, DTCargaPresupuestoIndirectos As DataTable)
|
||||
Private Sub ProcesaDatosCargaPresupuesto(TipoPresupuesto As EnumTipoCargaPresupuesto, DTPresupuesto As DataTable, DTCargaPresupuestoManoObra As DataTable, DTCargaPresupuestoFlotillas As DataTable, DTCargaPresupuestoIndirectos As DataTable)
|
||||
|
||||
|
||||
If Not DTPresupuesto Is Nothing Then
|
||||
@@ -4548,8 +4548,10 @@ Partial Class Contratos_ContratoObra
|
||||
End If
|
||||
End If
|
||||
|
||||
'si el presupuesto es de ventas. solo valida con el codigo del producto
|
||||
'si es presupuesto es de control, valida por ambos
|
||||
|
||||
If CvePS = -1 Then
|
||||
If CvePS = -1 AndAlso TipoPresupuesto = EnumTipoCargaPresupuesto.Control Then
|
||||
|
||||
StrArray = GetPS("PS", DrowPS("Producto").ToString).Split("|"c)
|
||||
If StrArray.Length > 0 Then
|
||||
@@ -4584,7 +4586,8 @@ Partial Class Contratos_ContratoObra
|
||||
End If
|
||||
|
||||
ObjPS.Dispose()
|
||||
|
||||
Else
|
||||
RowNoEncontrados &= "Producto: " & StrArray(1) & "<\BR>"
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user