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