Book a Demo

Author Topic: Operations filtered by scope per SQL driven RTF  (Read 2983 times)

Embedded Office

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Operations filtered by scope per SQL driven RTF
« on: October 16, 2012, 01:46:49 am »
Hi, I try to generate a report, containing a list of public operations and ,using the same template, for a report of private operations.
To achieve this, I thought to create a SQL Search with search value "public" respective "private". This is my search
Code: [Select]
select fu.ea_guid AS CLASSGUID, 'Operation' AS CLASSTYPE, fu.Scope, fu.Name
from t_operation fu, t_object elem
where elem.Name <> "BSP Reference Implementation"
and  fu.Scope = "<Search Term>"
and elem.Object_ID = fu.Object_ID
Works like charm in the Model Search, but the generated document lists always functions of both scopes.

So what do I do wrong here?

I guess the underlying mechanism is just looking, if an element should be included in the report and if so, processes everything of that element. What I want to avoid is what actually works, namely to make two templates with a filter in "Other Filters" listing Method->Scope->Public, Required

Any help much appreciated.
Wolfgang
« Last Edit: October 16, 2012, 01:48:02 am by eo-engelhard »

Embedded Office

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Operations filtered by scope per SQL driven RT
« Reply #1 on: October 18, 2012, 12:14:22 am »
Just got word from support that this can't be done with the current version. Have to use the workaround till at least EA 10 comes out.

Thanks to support for the quick reply!

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Operations filtered by scope per SQL driven RT
« Reply #2 on: October 18, 2012, 02:48:55 am »
EA10 ?  May be because I haven't been on here much recently but is that the first time it's been mentioned?