Exemplo n.º 1
0
        public Boolean ActualizarDB(tb_sis_impuesto_Info Info, ref string msg)
        {
            try
            {
                bool res = false;

                res = oData.ActualizarDB(Info, ref msg);

                if (res)
                {
                    tb_sis_Impuesto_x_ctacble_Data Bus_impu_x_cta = new tb_sis_Impuesto_x_ctacble_Data();
                    Bus_impu_x_cta.DeleteDB(Info.Info_sis_Impuesto_x_ctacble.IdEmpresa_cta, Info.IdCod_Impuesto);
                    Bus_impu_x_cta.GrabarDB(Info.Info_sis_Impuesto_x_ctacble, ref msg);
                }


                return(res);
            }
            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("", "ListaBancos", ex.Message), ex)
                      {
                          EntityType = typeof(tb_banco_Bus)
                      };
            }
        }