This commit is contained in:
2024-05-31 21:45:23 -07:00
parent 3609bb71d9
commit 194c4a6cc6

View File

@@ -3504,28 +3504,28 @@ Public Class ClsVentas
Return Retorno
End Function
'Public Function GetCortesDetalleVentas(CveCorte As Integer, CveSubProyecto As Integer, CveEmpresa As Integer, Opcion As Integer) As Boolean
' Dim Retorno As Boolean = False
Public Function GetCortesDetalleVentas(CveCorte As Integer, CveSubProyecto As Integer, CveEmpresa As Integer, Opcion As Integer) As Boolean
Dim Retorno As Boolean = False
' DataAdapter("PA_Vta_CortesDetalleVentasGet")
DataAdapter("PA_Vta_CortesDetalleVentasGet")
' With SqlAdapter.SelectCommand.Parameters
' .Add("@CveCorte", SqlDbType.Int).Value = CveCorte
' .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
' .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
' .Add("@Opcion", SqlDbType.Int).Value = Opcion
' End With
With SqlAdapter.SelectCommand.Parameters
.Add("@CveCorte", SqlDbType.Int).Value = CveCorte
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
.Add("@Opcion", SqlDbType.Int).Value = Opcion
End With
' Try
' SqlAdapter.Fill(Data)
Try
SqlAdapter.Fill(Data)
' Retorno = True
' Catch ex As Exception
' OnError("Ocurrió un error al obtener los detalle de cortes", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
' End Try
Retorno = True
Catch ex As Exception
OnError("Ocurrió un error al obtener los detalle de cortes", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
End Try
' Return Retorno
'End Function
Return Retorno
End Function
'Public Function AddVtaCortesDetalles(CveCorte As Integer, CveMetodoPago As Integer, Importe As Double) As Boolean