cantidad minima
This commit is contained in:
@@ -56,10 +56,8 @@ Public Class ClsProductosServicios
|
|||||||
Public Property CveMetodoInventario As Integer
|
Public Property CveMetodoInventario As Integer
|
||||||
Public Property CveTipoPS As Integer
|
Public Property CveTipoPS As Integer
|
||||||
Public Property Estado2 As Integer
|
Public Property Estado2 As Integer
|
||||||
Public Property CveMarca As Integer
|
Public Property CveMarca As Integer
|
||||||
|
|
||||||
Public Property AlmacenSeccion As String
|
|
||||||
|
|
||||||
Public Property IEPSPorcentaje As Double
|
Public Property IEPSPorcentaje As Double
|
||||||
|
|
||||||
Public Property AplicaIEPS As Boolean
|
Public Property AplicaIEPS As Boolean
|
||||||
@@ -283,7 +281,7 @@ Public Class ClsProductosServicios
|
|||||||
|
|
||||||
Me.CveEmpresa = Data.Rows(0)("CveEmpresa").ToString.ToEntero
|
Me.CveEmpresa = Data.Rows(0)("CveEmpresa").ToString.ToEntero
|
||||||
CveMetodoInventario = Data.Rows(0)("Inv_CveMetodoInventario").ToString.ToEntero
|
CveMetodoInventario = Data.Rows(0)("Inv_CveMetodoInventario").ToString.ToEntero
|
||||||
'VentaMinima = Data.Rows(0)("VentaMinima").ToString.ToDecimal
|
VentaMinima = Data.Rows(0)("VentaMinima").ToString.ToDecimal
|
||||||
CveMoneda = Data.Rows(0)("CveMoneda").ToString.ToEntero
|
CveMoneda = Data.Rows(0)("CveMoneda").ToString.ToEntero
|
||||||
RetISR = Data.Rows(0)("RetISR").ToString.ToDouble
|
RetISR = Data.Rows(0)("RetISR").ToString.ToDouble
|
||||||
|
|
||||||
@@ -2112,13 +2110,14 @@ Public Class ClsProductosServicios
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function UpdateProductosServiciosSAT(CvePS As Integer, CveSATPS As Integer, CveUsuario As Integer) As Boolean
|
Public Function UpdateProductosServiciosSAT(CvePS As Integer, CveSATPS As Integer, CveUsuario As Integer, CveEmpresa As Integer) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_Gral_ProductosServiciosSATUpdate")
|
DataAdapter("PA_Gral_ProductosServiciosSATUpdate")
|
||||||
With SqlAdapter.SelectCommand.Parameters
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
||||||
.Add("@CveSATPS", SqlDbType.Int).Value = CveSATPS
|
.Add("@CveSATPS", SqlDbType.Int).Value = CveSATPS
|
||||||
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
||||||
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
End With
|
End With
|
||||||
Try
|
Try
|
||||||
SqlAdapter.Fill(Data)
|
SqlAdapter.Fill(Data)
|
||||||
|
|||||||
Reference in New Issue
Block a user