- actualizar corte a venta

This commit is contained in:
2024-01-25 07:23:28 -07:00
parent 1b16a8021e
commit ddd1b8058e

View File

@@ -6020,7 +6020,24 @@ Public Class ClsVentas
End Function
Public Function UpdateVentaCorte(CveVenta As Integer, CveEmpresa As Integer, CveCorte As Integer) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Vta_VentaCorteUpdate")
With SqlAdapter.SelectCommand.Parameters
.Add("@CveVenta", SqlDbType.Int).Value = CveVenta
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
.Add("@CveCorte", SqlDbType.Int).Value = CveCorte
End With
Try
SqlAdapter.Fill(Data)
Retorno = True
Catch ex As Exception
OnError("Ocurrió un error al eliminar los datos de facturación.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
End Try
Return Retorno
End Function
#Region "TIPO VENTA"