コード例 #1
0
 public Boolean ModificarDB_proceso_cerrado(cp_orden_giro_Info info, ref string mensaje)
 {
     try
     {
         if (data.ModificarDB_proceso_cerrado(info, ref mensaje))
         {
             if (info.lst_formasPagoSRI != null)
             {
                 if (info.lst_formasPagoSRI.Count != 0)
                 {
                     if (!pagoSRI_B.GuardarDB(info.lst_formasPagoSRI, info.IdEmpresa, info.IdTipoCbte_Ogiro, info.IdCbteCble_Ogiro, ref mensaje))
                     {
                         mensaje = "No se pudo Ingresar la(s) Forma(s) de Pago \n Comuníquese con sistema por favor" + mensaje; return(false);
                     }
                 }
             }
         }
         return(true);
     }
     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("", "ExisteFacturaPorProveedor", ex.Message), ex)
               {
                   EntityType = typeof(cp_orden_giro_Bus)
               };
     }
 }