diff --git a/App_Code/ClsContabilidad.vb b/App_Code/ClsContabilidad.vb
index 8b7a8ebff..e00c34042 100644
--- a/App_Code/ClsContabilidad.vb
+++ b/App_Code/ClsContabilidad.vb
@@ -4627,7 +4627,8 @@ Public Class ClsContabilidad
Return Retorno
End Function
- Public Function AddCuenta(CvePadre As Integer, Codigo As String, Nombre As String, Tipo As String, CtaMayor As Integer, CveMoneda As Integer, Optional DigAgrupador As Integer = -1, Optional CveAgrupadorSAT As Integer = -1, Optional NomIdioma As String = "") As Integer
+ Public Function AddCuenta(CvePadre As Integer, Codigo As String, Nombre As String, Tipo As String, CtaMayor As Integer, CveMoneda As Integer, Optional DigAgrupador As Integer = -1,
+ Optional CveAgrupadorSAT As Integer = -1, Optional NomIdioma As String = "", Optional CveEmpresaParam As Integer = -1) As Integer
Dim Retorno As Integer = 0
DataAdapter("PA_Conta_AddCuentas")
@@ -4641,6 +4642,7 @@ Public Class ClsContabilidad
.Add("@DigAgrupador", SqlDbType.Int).Value = DigAgrupador
.Add("@NomIdioma", SqlDbType.VarChar).Value = NomIdioma
.Add("@CveAgrupadorSAT", SqlDbType.Int).Value = CveAgrupadorSAT
+ .Add("@CveEmpresaParam", SqlDbType.Int).Value = CveEmpresaParam
'.Add("@CveCuenta", SqlDbType.Int).Value = 0
'.Add("@Error", SqlDbType.VarChar).Value = ""
'.Add("@Error", SqlDbType.VarChar).Direction = ParameterDirection.Output
diff --git a/Ashx/TareasProgramadas.ashx b/Ashx/TareasProgramadas.ashx
index 76932ef83..e7168ab56 100644
--- a/Ashx/TareasProgramadas.ashx
+++ b/Ashx/TareasProgramadas.ashx
@@ -41,8 +41,8 @@ Public Class TareasProgramadas : Implements IHttpHandler
retorno = ""
context.Response.Write(retorno)
Case "EstadosCuenta"
- 'CargaEstadosCuenta(context, 119, 227736)
- CargaEstadosCuenta(context, -1, -1)
+ 'CargaEstadosCuenta(context, 119, 227774)
+ CargaEstadosCuenta(context, 119, -1)
End Select
Catch ex As Exception
ex.GuardaLog(ex.ToString())
@@ -341,7 +341,7 @@ Public Class TareasProgramadas : Implements IHttpHandler
End If
End Using
- If DTClientes IsNot Nothing Then
+ If DTClientes IsNot Nothing Then
For Each RowCliente As DataRow In DTClientes.Rows
Dim CveCliente As Integer = RowCliente("CveCliente").ToString().ToEntero()
Dim Correo As String = RowCliente("CobranzaCorreo").ToString()
@@ -435,9 +435,6 @@ Public Class TareasProgramadas : Implements IHttpHandler
drr("CveMoneda") = drt("CveMoneda")
DtCxCFact.Rows.Add(drr)
Next
- Else
- Retorno = False
- Return Retorno
End If
If DtCxCFact IsNot Nothing Then
@@ -470,6 +467,11 @@ Public Class TareasProgramadas : Implements IHttpHandler
TotalIng = SaldoIngPesos + SaldoIngDolaresPesos
TotalAnt = SaldoAntPesos + SaldoAntDolaresPesos
+ If TotalIng.RoundSQL(2) = 0 AndAlso TotalAnt.RoundSQL(2) = 0 Then
+ Retorno = False
+ Return Retorno
+ End If
+
Dim DtCxCFact2 As DataTable = DtCxCFact.FiltraParametros($"TipoDocto IN ({TipoDocto2})")
'INGRESOS
diff --git a/Bancos/DepositosCaja.aspx b/Bancos/DepositosCaja.aspx
index aba1c1776..db3f0d7a9 100644
--- a/Bancos/DepositosCaja.aspx
+++ b/Bancos/DepositosCaja.aspx
@@ -110,14 +110,17 @@
-
+