-- materiales

This commit is contained in:
2023-12-23 08:39:55 -07:00
parent 261f81b6ae
commit 4d62e4e57f

View File

@@ -852,15 +852,13 @@ Public Class ClsOS
Return Retorno
End Function
Public Function GetDetalleMateriales(CveOSDetalle As Integer, CveOS As Integer, Opcion As Integer, Optional FiltraTipoAlmacen As Boolean = False) As Boolean
Public Function GetDetalleMateriales(CveOSDetalle As Integer, CveOS As Integer) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_OS_OrdenesServicioDetallesMaterialesGet")
With SqlAdapter.SelectCommand.Parameters
.Add("@CveOSDetalle", SqlDbType.Int).Value = CveOSDetalle
.Add("@CveOS", SqlDbType.Int).Value = CveOS
.Add("@FiltraTipoAlmacen", SqlDbType.Bit).Value = FiltraTipoAlmacen
.Add("@Opcion", SqlDbType.Int).Value = Opcion
End With
Try