Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -374,7 +374,7 @@ Partial Class AC_RegNomina
|
|||||||
Dim IdCtaDevolucionISPT As Integer = 1745
|
Dim IdCtaDevolucionISPT As Integer = 1745
|
||||||
Dim IdCtaMatriz As Integer
|
Dim IdCtaMatriz As Integer
|
||||||
Dim IdCtaCuotaSindical As Integer = 644
|
Dim IdCtaCuotaSindical As Integer = 644
|
||||||
Dim IdCtaInfonavit As Integer = 2018
|
Dim IdCtaInfonavit As Integer = 4478
|
||||||
Dim IdCtaFonacot As Integer = 646
|
Dim IdCtaFonacot As Integer = 646
|
||||||
Dim IdCtaServicioMedico As Integer = 643
|
Dim IdCtaServicioMedico As Integer = 643
|
||||||
Dim IdCtaPension As Integer = 643
|
Dim IdCtaPension As Integer = 643
|
||||||
|
|||||||
@@ -3504,7 +3504,7 @@ Public Class ClsBancos
|
|||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "PagosCajaChica"
|
#Region "PagosCajaChica"
|
||||||
Public Function GetPagosCajaChica(FechaI As String, FechaF As String, CveEmpresa As Integer, CveCuenta As Integer, Optional TipoPago As Integer = -1, Optional CveSubProyecto As Integer = -1) As Boolean
|
Public Function GetPagosCajaChica(FechaI As String, FechaF As String, CveEmpresa As Integer, CveCuenta As Integer, Optional TipoPago As Integer = -1, Optional CveSubProyecto As Integer = -1, Optional MSI As Integer = -1) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_BancosCajaChicaPagosGet")
|
DataAdapter("PA_BancosCajaChicaPagosGet")
|
||||||
|
|
||||||
@@ -3515,6 +3515,7 @@ Public Class ClsBancos
|
|||||||
.Add("@CveCuenta", SqlDbType.Int).Value = CveCuenta
|
.Add("@CveCuenta", SqlDbType.Int).Value = CveCuenta
|
||||||
.Add("@TipoChequeEfectivo", SqlDbType.Int).Value = TipoPago
|
.Add("@TipoChequeEfectivo", SqlDbType.Int).Value = TipoPago
|
||||||
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
|
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
|
||||||
|
.Add("@MSI", SqlDbType.Int).Value = MSI
|
||||||
End With
|
End With
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ Public Class ClsPaginas
|
|||||||
Application("Directorio") = value
|
Application("Directorio") = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
Public Shared ReadOnly Property GlobalDTPSATPS(SATClaveProductoServicio As String, Optional CveSATPS As Integer = -1) As DataTable
|
Public Shared ReadOnly Property GlobalDTPSATPS(SATProductoServicio As String, Optional CodigoSAT As String = "-1", Optional CveSATPS As Integer = -1) As DataTable
|
||||||
Get
|
Get
|
||||||
'If Application("GlobalDTPSATPS") Is Nothing Then
|
'If Application("GlobalDTPSATPS") Is Nothing Then
|
||||||
' Dim ObjGrales As New ClsGenerales
|
' Dim ObjGrales As New ClsGenerales
|
||||||
@@ -304,13 +304,12 @@ Public Class ClsPaginas
|
|||||||
'GlobalDTPSATPS = DirectCast(Application("GlobalDTPSATPS"), EnumerableRowCollection(Of DataRow)).CopyToDataTable
|
'GlobalDTPSATPS = DirectCast(Application("GlobalDTPSATPS"), EnumerableRowCollection(Of DataRow)).CopyToDataTable
|
||||||
|
|
||||||
Dim ObjGrales As New ClsGenerales
|
Dim ObjGrales As New ClsGenerales
|
||||||
If ObjGrales.GetSATProductosServicios(SATClaveProductoServicio, CveSATPS) Then
|
If ObjGrales.GetSATProductosServicios(CodigoSAT, SATProductoServicio, CveSATPS) Then
|
||||||
GlobalDTPSATPS = ObjGrales.DtResultados
|
GlobalDTPSATPS = ObjGrales.DtResultados
|
||||||
Else
|
Else
|
||||||
GlobalDTPSATPS = Nothing
|
GlobalDTPSATPS = Nothing
|
||||||
End If
|
End If
|
||||||
|
ObjGrales.Dispose()
|
||||||
'GlobalDTPSATPS = DirectCast(Application("GlobalDTPSATPS"), EnumerableRowCollection(Of DataRow)).CopyToDataTable
|
|
||||||
End Get
|
End Get
|
||||||
'Set(value As DataTable)
|
'Set(value As DataTable)
|
||||||
' Application("GlobalDTPSATPS") = value
|
' Application("GlobalDTPSATPS") = value
|
||||||
|
|||||||
@@ -15446,7 +15446,7 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
'SI PUEDE RECIBIR POR OC Y COMPRA
|
'SI PUEDE RECIBIR POR OC Y COMPRA
|
||||||
' si usa almacen, si tiene activado que reciba por OC, y que si la compra tipo Proveedor. que lo muestre
|
' si usa almacen, si tiene activado que reciba por OC, y que si la compra tipo Proveedor. que lo muestre
|
||||||
If UsuarioActual.CveEmpresa = 119 AndAlso UsuarioActual.Empresa.UsaInventarios And UsuarioActual.Empresa.Funcionalidad(131).ToEntero > 0 AndAlso CveTipoConcepto = 1 Then
|
If UsuarioActual.Empresa.UsaInventarios And UsuarioActual.Empresa.Funcionalidad(131).ToEntero > 0 AndAlso CveTipoConcepto = 1 Then
|
||||||
DivOCVinculaInv.Visible = True
|
DivOCVinculaInv.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -18235,12 +18235,12 @@ Partial Class Compras_Compras
|
|||||||
If Version = "3.3" And CveSATPS > 0 Then
|
If Version = "3.3" And CveSATPS > 0 Then
|
||||||
Dim DrPSSAT As DataRow = Nothing
|
Dim DrPSSAT As DataRow = Nothing
|
||||||
If CargaXml Then
|
If CargaXml Then
|
||||||
DrPSSAT = GlobalDTPSATPS("-1", CveSATPS).FiltroPrimero("")
|
DrPSSAT = GlobalDTPSATPS("-1", CveSATPS.ToString).FiltroPrimero("")
|
||||||
'If GlobalDTPSATPS().FiltraParametros(String.Format("SATClavePS={0}", CveSATPS)).Rows.Count > 0 Then
|
'If GlobalDTPSATPS().FiltraParametros(String.Format("SATClavePS={0}", CveSATPS)).Rows.Count > 0 Then
|
||||||
' DrPSSAT = GlobalDTPSATPS().FiltraParametros(String.Format("SATClavePS={0}", CveSATPS)).Rows(0)
|
' DrPSSAT = GlobalDTPSATPS().FiltraParametros(String.Format("SATClavePS={0}", CveSATPS)).Rows(0)
|
||||||
'End If
|
'End If
|
||||||
Else
|
Else
|
||||||
DrPSSAT = GlobalDTPSATPS("-1", CveSATPS).FiltroPrimero("") '= GlobalDTPSATPS().FiltroPrimero(String.Format("SATClavePS={0}", CveSATPS))
|
DrPSSAT = GlobalDTPSATPS("-1", CveSATPS.ToString).FiltroPrimero("") '= GlobalDTPSATPS().FiltroPrimero(String.Format("SATClavePS={0}", CveSATPS))
|
||||||
'If GlobalDTPSATPS().FiltraParametros(String.Format("CveSATPS={0}", CveSATPS)).Rows.Count > 0 Then
|
'If GlobalDTPSATPS().FiltraParametros(String.Format("CveSATPS={0}", CveSATPS)).Rows.Count > 0 Then
|
||||||
' DrPSSAT = GlobalDTPSATPS().FiltraParametros(String.Format("CveSATPS={0}", CveSATPS)).Rows(0)
|
' DrPSSAT = GlobalDTPSATPS().FiltraParametros(String.Format("CveSATPS={0}", CveSATPS)).Rows(0)
|
||||||
'End If
|
'End If
|
||||||
|
|||||||
@@ -576,7 +576,7 @@ Partial Class General_SaldosIniciales
|
|||||||
Dim CveTipoPS As Integer = If(TipoPS.ToUpper = "PRODUCTO", 2, 1)
|
Dim CveTipoPS As Integer = If(TipoPS.ToUpper = "PRODUCTO", 2, 1)
|
||||||
Dim CveClasificacion As Integer = GlobalDTClasificaciones(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveClasificacion", $"Clasificacion = '{Clasificacion}'").ToString.ToEntero
|
Dim CveClasificacion As Integer = GlobalDTClasificaciones(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveClasificacion", $"Clasificacion = '{Clasificacion}'").ToString.ToEntero
|
||||||
Dim CveUnidadMedida As Integer = GlobalDTUnidadesMedida(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveUnidadMedida", $"UnidadMedida = '{UnidadMedida}' OR Abreviatura = '{UnidadMedida}'").ToString.ToEntero
|
Dim CveUnidadMedida As Integer = GlobalDTUnidadesMedida(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveUnidadMedida", $"UnidadMedida = '{UnidadMedida}' OR Abreviatura = '{UnidadMedida}'").ToString.ToEntero
|
||||||
Dim CveSATPS As Integer = GlobalDTPSATPS.FiltroPrimeroValor("CveSATPS", $"SATClavePS = '{SATClavePS}'").ToString.ToEntero
|
Dim CveSATPS As Integer = ClsPaginas.GlobalDTPSATPS("-1", CodigoSAT:=SATClavePS).FiltroPrimeroValor("CveSATPS", "").ToEntero
|
||||||
Dim CveTamaño As Integer = GlobalDTAcumTamaños.FiltroPrimeroValor("CveTamaño", $"Tamaño = '{Tamaño}' AND CveEmpresa = {UsuarioActual.CveEmpresa}").ToString.ToEntero
|
Dim CveTamaño As Integer = GlobalDTAcumTamaños.FiltroPrimeroValor("CveTamaño", $"Tamaño = '{Tamaño}' AND CveEmpresa = {UsuarioActual.CveEmpresa}").ToString.ToEntero
|
||||||
Dim CveClasificacion2 As Integer = GlobalDTClasificaciones2(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveClasificacion", $"Clasificacion = '{Clasificacion2}'").ToString.ToEntero
|
Dim CveClasificacion2 As Integer = GlobalDTClasificaciones2(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveClasificacion", $"Clasificacion = '{Clasificacion2}'").ToString.ToEntero
|
||||||
Dim CveClasificacionDetalle As Integer = GlobalDTClasificacionesDetalle(UsuarioActual.CveEmpresa, -1).FiltroPrimeroValor("CveClasificacionDetalle", $"ClasificacionDetalle = '{Linea}'").ToString.ToEntero
|
Dim CveClasificacionDetalle As Integer = GlobalDTClasificacionesDetalle(UsuarioActual.CveEmpresa, -1).FiltroPrimeroValor("CveClasificacionDetalle", $"ClasificacionDetalle = '{Linea}'").ToString.ToEntero
|
||||||
|
|||||||
Reference in New Issue
Block a user