예제 #1
0
 public Boolean EliminarDB(ct_rpt_SaldoxCta_Info info)
 {
     try
     {
         ct_rpt_SaldoxCta_Data data = new ct_rpt_SaldoxCta_Data();
         return(data.EliminarDB(info));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "EliminarDB", ex.Message), ex)
               {
                   EntityType = typeof(ct_rpt_SaldoxCta_Bus)
               };
     }
 }
예제 #2
0
 public List <ct_rpt_SaldoxCta_Info> Get_Saldo_Inicial_x_Cuenta(int IdEmpresa, List <string> listCuentas, DateTime FechaIni, DateTime FechaFin, ref string MensajeError)
 {
     try
     {
         ct_rpt_SaldoxCta_Data data = new ct_rpt_SaldoxCta_Data();
         return(data.Get_Saldo_Inicial_x_Cuenta(IdEmpresa, listCuentas, FechaIni, FechaFin, ref MensajeError));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Get_Saldo_Inicial_x_Cuenta", ex.Message), ex)
               {
                   EntityType = typeof(ct_rpt_SaldoxCta_Bus)
               };
     }
 }
예제 #3
0
        public List <ct_rpt_SaldoxCta_Info> Get_List_SaldoxCta(int IdEmpresa)
        {
            List <ct_rpt_SaldoxCta_Info> lm   = new List <ct_rpt_SaldoxCta_Info>();
            ct_rpt_SaldoxCta_Data        data = new ct_rpt_SaldoxCta_Data();

            try
            {
                lm = data.Get_list_rpt_SaldoxCta(IdEmpresa);
                return(lm);
            }
            catch (Exception ex)
            {
                Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
                throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Get_list_rpt_SaldoxCta", ex.Message), ex)
                      {
                          EntityType = typeof(ct_rpt_SaldoxCta_Bus)
                      };
            }
        }