-
This commit is contained in:
@@ -1149,21 +1149,21 @@ Public Class WS_PuntoVenta
|
||||
Return objVtaCortes
|
||||
End Function
|
||||
|
||||
<WebMethod()>
|
||||
Public Function GetVta_MovimientosCajas(CveCorte As Integer, TipoMovimiento As Integer) As List(Of ClsMovimientosCajaWS)
|
||||
Dim objPV As New ClsPuntoVenta()
|
||||
Dim objMovimientosCaja As New List(Of ClsMovimientosCajaWS)
|
||||
'<WebMethod()>
|
||||
'Public Function GetVta_MovimientosCajas(CveCorte As Integer, TipoMovimiento As Integer) As List(Of ClsMovimientosCajaWS)
|
||||
' Dim objPV As New ClsPuntoVenta()
|
||||
' Dim objMovimientosCaja As New List(Of ClsMovimientosCajaWS)
|
||||
|
||||
If objPV.GetVta_MovimientosCajas(CveCorte, TipoMovimiento) Then
|
||||
For Each Row As DataRow In objPV.DtResultados.Rows
|
||||
objMovimientosCaja.Add(New ClsMovimientosCajaWS(Row("CveMovimiento").ToString.ToEntero, Row("CveCorte").ToString.ToEntero, Row("Importe").ToString.ToEntero, Row("Descripcion").ToString, Row("TipoMovimiento").ToString))
|
||||
Next
|
||||
End If
|
||||
' If objPV.GetVta_MovimientosCajas(CveCorte, TipoMovimiento) Then
|
||||
' For Each Row As DataRow In objPV.DtResultados.Rows
|
||||
' objMovimientosCaja.Add(New ClsMovimientosCajaWS(Row("CveMovimiento").ToString.ToEntero, Row("CveCorte").ToString.ToEntero, Row("Importe").ToString.ToEntero, Row("Descripcion").ToString, Row("TipoMovimiento").ToString))
|
||||
' Next
|
||||
' End If
|
||||
|
||||
objPV.Dispose()
|
||||
' objPV.Dispose()
|
||||
|
||||
Return objMovimientosCaja
|
||||
End Function
|
||||
' Return objMovimientosCaja
|
||||
'End Function
|
||||
|
||||
<WebMethod()>
|
||||
Public Function AddVta_MovimientosCajas(CveCorte As Integer, CveUsuario As Integer, Importe As Double, Descripcion As String, TipoMovimiento As Integer, Fecha As DateTime) As Integer
|
||||
|
||||
Reference in New Issue
Block a user