Exferia/Exferia_Informes/Exferia_Informes/Datos_Informes.cs

591 lines
44 KiB
C#

using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Informes;
using Exferia_EntityFramework;
using Exferia_Formularios;
using Exferia_Informes._1_Datos;
using Exferia_Informes._3_Vistas;
using Exferia_Informes._3_Vistas.PorClientes;
using Exferia_Informes.General;
using Exferia_Informes.Informes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Informes
{
public class Datos_Informes
{
#region INF_Impresoras
private bool INF_Impresoras_Hay_Impresoras()
{
bool bol_HayImpresoras = false;
try
{
INF_Impresoras_Datos obj_INF_Impresoras_Datos = new INF_Impresoras_Datos();
bol_HayImpresoras = obj_INF_Impresoras_Datos.Hay_Impresoras();
}
catch (Control_Errores)
{ }
return bol_HayImpresoras;
}
private int INF_Impresoras_Devolver_Asignacion_ImpresorasLocales()
{
INF_Impresoras_Datos obj_INF_Impresoras_Datos = new INF_Impresoras_Datos();
return obj_INF_Impresoras_Datos.Devolver_Asignacion_ImpresorasLocales();
}
private List<INTERNO_Impresoras_DocumentoLocal_Modelo> INF_Impresoras_Devolver_Impresoras_Por_InformeTipo(string str_Codigo_InformeTipo)
{
INF_Impresoras_Datos obj_INF_Impresoras_Datos = new INF_Impresoras_Datos();
return obj_INF_Impresoras_Datos.Devolver_Impresoras_Por_InformeTipo(str_Codigo_InformeTipo);
}
private List<dynamic> INF_Impresoras_Obtener_Listado()
{
List<dynamic> lst_AUX = null;
try
{
INF_Impresoras_Datos obj_INF_Impresoras_Datos = new INF_Impresoras_Datos();
lst_AUX = obj_INF_Impresoras_Datos.Obtener_Listado();
}
catch (Control_Errores)
{ }
return lst_AUX;
}
#endregion
#region INF_Rutas
private void INF_Rutas_Rellenar_Listado()
{
try
{
INF_Rutas_Datos obj_INF_Rutas_Datos = new INF_Rutas_Datos();
Variables.G_LST_RUTAS = obj_INF_Rutas_Datos.Obtener_ModeloListado();
}
catch (Control_Errores)
{}
}
#endregion
#region INF_ConfiguracionVencimientos_Socios
private INF_ConfiguracionVencimientos_Socios INF_ConfiguracionVencimientos_Socios_Obtener_Por_IdEjercicio(long _lng_idEjercicio)
{
INF_ConfiguracionVencimientos_Socios mdl_INF_ConfiguracionVencimientos_Socios = null;
try
{
INF_ConfiguracionVencimientos_Socios_Datos obj_INF_ConfiguracionVencimientos_Socios_Datos = new INF_ConfiguracionVencimientos_Socios_Datos();
mdl_INF_ConfiguracionVencimientos_Socios = obj_INF_ConfiguracionVencimientos_Socios_Datos.Obtener_Modelo_Por_IdEjercicio(_lng_idEjercicio);
}
catch (Control_Errores)
{
mdl_INF_ConfiguracionVencimientos_Socios = null;
}
catch (Exception)
{
mdl_INF_ConfiguracionVencimientos_Socios = null;
}
return mdl_INF_ConfiguracionVencimientos_Socios;
}
#endregion
#region INF_MOVIMIENTOSARTICULO
private P_Base INF_MovimientosArticulo_ObtenerPantalla(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle, long _lng_idArticulo)
{
P_Base frm_P_Base = null;
try
{
frm_P_Base = new P_MovimientosArticulos(_mdl_INTERNO_ValoresGenerales_Modelo, _dtt_FechaTrabajo, _mdl_PRV_OpcionesDetalle, _lng_idArticulo);
}
catch (Control_Errores)
{
frm_P_Base = null;
}
catch (Exception)
{
frm_P_Base = null;
}
return frm_P_Base;
}
#endregion
#region Abrir Pantallas
private void AbrirPantalla_PI_Mandato_B2B(INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo, INTERNO_Informes_Deudor_Modelo _mdl_INTERNO_Informes_Deudor_Modelo, byte[] _arr_Logo)
{
PI_Mandato_B2B frm_PI_Mandato_B2B = new PI_Mandato_B2B(_mdl_INTERNO_Informes_Acreedor_Modelo, _mdl_INTERNO_Informes_Deudor_Modelo, _arr_Logo);
frm_PI_Mandato_B2B.Show();
}
private void AbrirPantalla_PI_Mandato_CORE(INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo, INTERNO_Informes_Deudor_Modelo _mdl_INTERNO_Informes_Deudor_Modelo, byte[] _arr_Logo)
{
PI_Mandato_CORE frm_PI_Mandato_CORE = new PI_Mandato_CORE(_mdl_INTERNO_Informes_Acreedor_Modelo, _mdl_INTERNO_Informes_Deudor_Modelo, _arr_Logo);
frm_PI_Mandato_CORE.Show();
}
private void AbrirPantalla_PI_Vencimientos_ZEC(INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
PI_Vencimientos_ZEC frm_PI_Vencimientos_ZEC = new PI_Vencimientos_ZEC(_mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
frm_PI_Vencimientos_ZEC.Show();
}
private void AbrirPantalla_PI_Cartas(INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
PI_Cartas frm_PI_Cartas = new PI_Cartas(_mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
frm_PI_Cartas.Show();
}
private void AbrirPantalla_PI_OrdenComisionServicio(INTERNO_Informes_OrdenComisionServicio_Modelo _mdl_INTERNO_Informes_OrdenComisionServicio_Modelo)
{
PI_OrdenComisionServicio frm_PI_OrdenComisionServicio = new PI_OrdenComisionServicio(_mdl_INTERNO_Informes_OrdenComisionServicio_Modelo);
frm_PI_OrdenComisionServicio.Show();
}
private void AbrirPantalla_PI_InformeContable(CTA_InformesContablesCabecera _mdl_CTA_InformesContablesCabecera,
Dictionary<long, decimal?> _dct_Calculos_Por_IdInformeContableLinea_Actual,
GEN_Empresas _mdl_GEN_Empresas_Actual,
DateTime _dtt_FechaInicio_Actual,
DateTime _dtt_FechaFin_Actual,
bool _bol_Comparativa,
Dictionary<long, decimal?> _dct_Calculos_Por_IdInformeContableLinea_Comparativa,
GEN_Empresas _mdl_GEN_Empresas_Comparativa,
DateTime? _dtt_FechaInicio_Comparativa,
DateTime? _dtt_FechaFin_Comparativa,
string _str_Titulo,
int _int_NivelAMostrar,
bool _bol_MostrarDetalles,
bool _bol_CuentasEnBlanco,
int _int_Pagina)
{
PI_InformeContable frm_PI_InformeContable = new PI_InformeContable( _mdl_CTA_InformesContablesCabecera,
_dct_Calculos_Por_IdInformeContableLinea_Actual,
_mdl_GEN_Empresas_Actual,
_dtt_FechaInicio_Actual,
_dtt_FechaFin_Actual,
_bol_Comparativa,
_dct_Calculos_Por_IdInformeContableLinea_Comparativa,
_mdl_GEN_Empresas_Comparativa,
_dtt_FechaInicio_Comparativa,
_dtt_FechaFin_Comparativa,
_str_Titulo,
_int_NivelAMostrar,
_bol_MostrarDetalles,
_bol_CuentasEnBlanco,
_int_Pagina);
frm_PI_InformeContable.TopMost = true;
frm_PI_InformeContable.Show();
}
private void AbrirPantalla_PI_InformeOficial_LibroDiario(int _int_TipoInforme,
GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
bool _bolNumeracionAsientoAutomatico,
decimal _dcm_DatosIniciales_Debe,
decimal _dcm_DatosIniciales_Haber,
long? _lng_DatosIniciales_NumeroAsiento,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
long? _lng_Criterios_NumeroAsientoDesde,
long? _lng_Criterio_NumeroAsientoHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
int _int_Digitos_O_Mayor,
List<INTERNO_InformeOficial_LibroDiario_Modelo> _lst_INTERNO_InformeOficial_LibroDiario_Modelo)
{
PI_InformeOficial_LibroDiario frm_PI_InformeOficial_LibroDiario = new PI_InformeOficial_LibroDiario(_int_TipoInforme,
_mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_bolNumeracionAsientoAutomatico,
_dcm_DatosIniciales_Debe,
_dcm_DatosIniciales_Haber,
_lng_DatosIniciales_NumeroAsiento,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_lng_Criterios_NumeroAsientoDesde,
_lng_Criterio_NumeroAsientoHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_int_Digitos_O_Mayor,
_lst_INTERNO_InformeOficial_LibroDiario_Modelo);
frm_PI_InformeOficial_LibroDiario.TopMost = true;
frm_PI_InformeOficial_LibroDiario.Show();
}
private void AbrirPantalla_PI_InformeOficial_LibroMayor(GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
bool _bol_CuentaPorHoja,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
List<INTERNO_InformeOficial_LibroMayor_Anterior_Modelo> _lst_INTERNO_InformeOficial_LibroMayor_Anterior_Modelo,
List<INTERNO_InformeOficial_LibroMayor_Modelo> _lst_INTERNO_InformeOficial_LibroMayor_Modelo)
{
PI_InformeOficial_LibroMayor frm_PI_InformeOficial_LibroMayor = new PI_InformeOficial_LibroMayor( _mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_bol_CuentaPorHoja,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_lst_INTERNO_InformeOficial_LibroMayor_Anterior_Modelo,
_lst_INTERNO_InformeOficial_LibroMayor_Modelo);
frm_PI_InformeOficial_LibroMayor.TopMost = true;
frm_PI_InformeOficial_LibroMayor.Show();
}
private void AbrirPantalla_PI_InformeOficial_BalancesSumasYSaldos(GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
List<INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo> _lst_INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo,
List<CTA_PlanGeneralContable> _lst_CTA_PlanGeneralContable)
{
PI_InformeOficial_BalancesSumasYSaldos frm_PI_InformeOficial_BalancesSumasYSaldos = new PI_InformeOficial_BalancesSumasYSaldos(_mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_lst_INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo,
_lst_CTA_PlanGeneralContable);
frm_PI_InformeOficial_BalancesSumasYSaldos.TopMost = true;
frm_PI_InformeOficial_BalancesSumasYSaldos.Show();
}
private void AbrirPantalla_PI_Parte_Mythos(INTERNO_Informes_Mythos_Parte_Modelo _mdl_INTERNO_Informes_Mythos_Parte_Modelo)
{
PI_Parte frm_PI_Parte = new PI_Parte(_mdl_INTERNO_Informes_Mythos_Parte_Modelo);
frm_PI_Parte.TopMost = true;
frm_PI_Parte.Show();
}
#region VENTAS
//Abrir pantalla
private void AbrirPantalla_PI_Informe_Albaran(INTERNO_Informes_Ventas_Albaran _mdl_INTERNO_Informes_Ventas_Albaran,long _lng_CodigoCliente)
{
PI_Informe_Albaran frm_PI_Informe_Albaran = new PI_Informe_Albaran(_mdl_INTERNO_Informes_Ventas_Albaran, _lng_CodigoCliente);
frm_PI_Informe_Albaran.Show();
}
private void AbrirPantalla_PI_Informe_Factura(INTERNO_Informes_Ventas_Factura _mdl_INTERNO_Informes_Ventas_Factura, long _lng_CodigoCliente)
{
PI_Informe_Factura frm_PI_Informe_Factura = new PI_Informe_Factura(_mdl_INTERNO_Informes_Ventas_Factura, _lng_CodigoCliente);
frm_PI_Informe_Factura.Show();
}
private void AbrirPantalla_PI_Informe_Pedido(INTERNO_Informes_Ventas_Pedido _mdl_INTERNO_Informes_Ventas_Pedido, long _lng_CodigoCliente)
{
PI_Informe_Pedido frm_PI_Informe_Pedido = new PI_Informe_Pedido(_mdl_INTERNO_Informes_Ventas_Pedido, _lng_CodigoCliente);
frm_PI_Informe_Pedido.Show();
}
private void AbrirPantalla_PI_Informe_PedidoCompra(INTERNO_Informes_Compras_Pedido _mdl_INTERNO_Informes_Compras_Pedido)
{
PI_Informe_PedidoCompra frm_PI_Informe_Pedido = new PI_Informe_PedidoCompra(_mdl_INTERNO_Informes_Compras_Pedido);
frm_PI_Informe_Pedido.Show();
}
private void AbrirPantalla_PI_Informe_Presupuesto(INTERNO_Informes_Ventas_Presupuesto _mdl_INTERNO_Informes_Ventas_Presupuesto, long _lng_CodigoCliente)
{
PI_Informe_Presupuesto frm_PI_Informe_Presupuesto = new PI_Informe_Presupuesto(_mdl_INTERNO_Informes_Ventas_Presupuesto, _lng_CodigoCliente);
frm_PI_Informe_Presupuesto.Show();
}
//Obtener bytes
private byte[] ObtenerBytes_PI_Informe_Factura(INTERNO_Informes_Ventas_Factura _mdl_INTERNO_Informes_Ventas_Factura, long _lng_CodigoCliente)
{
PI_Informe_Factura frm_PI_Informe_Factura = new PI_Informe_Factura(_mdl_INTERNO_Informes_Ventas_Factura, _lng_CodigoCliente, false);
return frm_PI_Informe_Factura.Obtener_Bytes();
}
#endregion
#region SGA
private void AbrirPantalla_PI_SGA_Tablilla(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, List<MAE_Ubicaciones> _lst_MAE_Ubicaciones)
{
PI_SGA_Tablilla frm_PI_SGA_Tablilla = new PI_SGA_Tablilla(_mdl_INTERNO_ValoresGenerales_Modelo, _lst_MAE_Ubicaciones);
frm_PI_SGA_Tablilla.TopMost = true;
frm_PI_SGA_Tablilla.Show();
}
private void AbrirPantalla_PI_SGA_Balda(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, MAE_Ubicaciones _mdl_MAE_Ubicaciones)
{
PI_SGA_Balda frm_PI_SGA_Balda = new PI_SGA_Balda(_mdl_INTERNO_ValoresGenerales_Modelo, _mdl_MAE_Ubicaciones);
frm_PI_SGA_Balda.TopMost = true;
frm_PI_SGA_Balda.Show();
}
private void AbrirPantalla_PI_SGA_Articulo(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo,string _str_Codigo,string _str_Descripcion)
{
PI_SGA_Articulo frm_PI_SGA_Articulo = new PI_SGA_Articulo(_mdl_INTERNO_ValoresGenerales_Modelo, _str_Codigo, _str_Descripcion);
frm_PI_SGA_Articulo.TopMost = true;
frm_PI_SGA_Articulo.Show();
}
#endregion
#endregion
#region Crear PDFS
private bool CrearPdf_Cartas(INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
Crear_Pdfs_Informes obj_Crear_Pdfs_Informes = new Crear_Pdfs_Informes();
return obj_Crear_Pdfs_Informes.Crear_Pdf_Cartas(_mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
}
private bool CrearPdf_CartaNotificacionTasaAnual(INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
Crear_Pdfs_Informes obj_Crear_Pdfs_Informes = new Crear_Pdfs_Informes();
return obj_Crear_Pdfs_Informes.Crear_Pdf_CartaNotificacionTasaAnual(_mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
}
private bool CrearPdf_Vencimiento(INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
Crear_Pdfs_Informes obj_Crear_Pdfs_Informes = new Crear_Pdfs_Informes();
return obj_Crear_Pdfs_Informes.Crear_Pdf_Vencimiento(_mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
}
private string CrearPdf_ProvidenciaApremio(INTERNO_Informes_ProvidenciaApremio_Modelo _mdl_INTERNO_Informes_ProvidenciaApremio_Modelo)
{
string str_Ruta_FicheroGenerado_ConFirma = "";
try
{
Crear_Pdfs_Informes obj_Crear_Pdfs_Informes = new Crear_Pdfs_Informes();
str_Ruta_FicheroGenerado_ConFirma = obj_Crear_Pdfs_Informes.Crear_Pdf_ProvidenciaApremio(_mdl_INTERNO_Informes_ProvidenciaApremio_Modelo, true);
if (str_Ruta_FicheroGenerado_ConFirma.Trim().Length > 0)
{
obj_Crear_Pdfs_Informes.Crear_Pdf_ProvidenciaApremio(_mdl_INTERNO_Informes_ProvidenciaApremio_Modelo, false);
}
}
catch (Control_Errores)
{
str_Ruta_FicheroGenerado_ConFirma = "";
}
catch (Exception)
{
str_Ruta_FicheroGenerado_ConFirma = "";
}
return str_Ruta_FicheroGenerado_ConFirma;
}
#endregion
#region Imprimir_Directamente
private bool ImprimirDirectamente_Vencimiento(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_Vencimiento(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
}
private bool ImprimirDirectamente_CartaBajaConDomiciliacion(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_CartaBajaConDomiciliacion(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo);
}
private bool ImprimirDirectamente_CartaBajaSinDomiciliacion(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_CartaBajaSinDomiciliacion(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo);
}
private bool ImprimirDirectamente_Mandato_CORE(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo, INTERNO_Informes_Acreedor_Modelo _mdl_INTERNO_Informes_Acreedor_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_Mandato_CORE(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo, _mdl_INTERNO_Informes_Acreedor_Modelo);
}
private bool ImprimirDirectamente_CartaInformacionCargoCuenta(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_CartaInformacionCargoCuenta(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo);
}
private bool ImprimirDirectamente_Carta_NotificacionTasaAnual(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_Carta_NotificacionTasaAnual(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo);
}
private bool ImprimirDirectamente_CartaInicial(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo, INTERNO_Informes_Vencimiento_Modelo _mdl_INTERNO_Informes_Vencimiento_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_CartaInicial(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo, _mdl_INTERNO_Informes_Vencimiento_Modelo);
}
private bool ImprimirDirectamente_InformeContable( List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
CTA_InformesContablesCabecera _mdl_CTA_InformesContablesCabecera,
Dictionary<long, decimal?> _dct_Calculos_Por_IdInformeContableLinea_Actual,
GEN_Empresas _mdl_GEN_Empresas_Actual,
DateTime _dtt_FechaInicio_Actual,
DateTime _dtt_FechaFin_Actual,
bool _bol_Comparativa,
Dictionary<long, decimal?> _dct_Calculos_Por_IdInformeContableLinea_Comparativa,
GEN_Empresas _mdl_GEN_Empresas_Comparativa,
DateTime? _dtt_FechaInicio_Comparativa,
DateTime? _dtt_FechaFin_Comparativa,
string _str_Titulo,
int _int_NivelAMostrar,
bool _bol_MostrarDetalles,
bool _bol_CuentasEnBlanco,
int _int_Pagina)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_InformeContable( _lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
_mdl_CTA_InformesContablesCabecera,
_dct_Calculos_Por_IdInformeContableLinea_Actual,
_mdl_GEN_Empresas_Actual,
_dtt_FechaInicio_Actual,
_dtt_FechaFin_Actual,
_bol_Comparativa,
_dct_Calculos_Por_IdInformeContableLinea_Comparativa,
_mdl_GEN_Empresas_Comparativa,
_dtt_FechaInicio_Comparativa,
_dtt_FechaFin_Comparativa,
_str_Titulo,
_int_NivelAMostrar,
_bol_MostrarDetalles,
_bol_CuentasEnBlanco,
_int_Pagina);
}
private bool ImprimirDirectamente_InformeOficial_LibroDiario(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
int _int_TipoInforme,
GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
bool _bolNumeracionAsientoAutomatico,
decimal _dcm_DatosIniciales_Debe,
decimal _dcm_DatosIniciales_Haber,
long? _lng_DatosIniciales_NumeroAsiento,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
long? _lng_Criterios_NumeroAsientoDesde,
long? _lng_Criterio_NumeroAsientoHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
int _int_Digitos_O_Mayor,
List<INTERNO_InformeOficial_LibroDiario_Modelo> _lst_INTERNO_InformeOficial_LibroDiario_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_InformeOficial_LibroDiario(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
_int_TipoInforme,
_mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_bolNumeracionAsientoAutomatico,
_dcm_DatosIniciales_Debe,
_dcm_DatosIniciales_Haber,
_lng_DatosIniciales_NumeroAsiento,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_lng_Criterios_NumeroAsientoDesde,
_lng_Criterio_NumeroAsientoHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_int_Digitos_O_Mayor,
_lst_INTERNO_InformeOficial_LibroDiario_Modelo);
}
private bool ImprimirDirectamente_InformeOficial_LibroMayor(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
bool _bol_CuentaPorHoja,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
List<INTERNO_InformeOficial_LibroMayor_Anterior_Modelo> _lst_INTERNO_InformeOficial_LibroMayor_Anterior_Modelo,
List<INTERNO_InformeOficial_LibroMayor_Modelo> _lst_INTERNO_InformeOficial_LibroMayor_Modelo)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_InformeOficial_LibroMayor(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
_mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_bol_CuentaPorHoja,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_lst_INTERNO_InformeOficial_LibroMayor_Anterior_Modelo,
_lst_INTERNO_InformeOficial_LibroMayor_Modelo);
}
private bool ImprimirDirectamente_InformeOficial_BalancesSumasYSaldos(List<INTERNO_Impresoras_DocumentoLocal_Modelo> _lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
GEN_Empresas _mdl_GEN_Empresas,
GEN_EjerciciosActivos_Empresa _mdl_GEN_EjerciciosActivos_Empresa,
DateTime _dtt_FechaListado,
string _str_Titulo,
int? _int_DatosIniciales_Pagina,
DateTime _dtt_Criterio_FechaDesde,
DateTime _dtt_Criterio_FechaHasta,
string _str_Cuenta_Desde,
string _str_Cuenta_Hasta,
List<INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo> _lst_INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo,
List<CTA_PlanGeneralContable> _lst_CTA_PlanGeneralContable)
{
Imprimir_Directamente_Informes obj_Imprimir_Directamente_Informes = new Imprimir_Directamente_Informes();
return obj_Imprimir_Directamente_Informes.Imprimir_InformeOficial_BalancesSumasYSaldos(_lst_INTERNO_Impresoras_DocumentoLocal_Modelo,
_mdl_GEN_Empresas,
_mdl_GEN_EjerciciosActivos_Empresa,
_dtt_FechaListado,
_str_Titulo,
_int_DatosIniciales_Pagina,
_dtt_Criterio_FechaDesde,
_dtt_Criterio_FechaHasta,
_str_Cuenta_Desde,
_str_Cuenta_Hasta,
_lst_INTERNO_InformeOficial_BalancesSumasYSaldos_Modelo,
_lst_CTA_PlanGeneralContable);
}
#endregion
}
}