-- parametro de empresa, en entregaalmacen

This commit is contained in:
2021-02-11 15:16:49 -07:00
parent d3e892d8cd
commit 16eabbea8b

View File

@@ -2918,11 +2918,12 @@ Public Class ClsInventarios
#End Region
#Region " INVENTARIOS - VENTAS "
Public Function EntregaAlmacenGet(CveVenta As Integer) As Boolean
Public Function EntregaAlmacenGet(CveVenta As Integer, Optional CveAlmacen As Integer = -1) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Inv_EntregaAlmacenGet")
With SqlAdapter.SelectCommand.Parameters
.Add("@CveVenta", SqlDbType.Int).Value = CveVenta
.Add("@CveAlmacen", SqlDbType.Int).Value = CveAlmacen
End With
Try
SqlAdapter.Fill(Data)