Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: sd31 on March 12, 2010, 10:04:21 am

Title: Traceability from Virtual Document
Post by: sd31 on March 12, 2010, 10:04:21 am
EA Version - 7.1.832

Hello SparX World,

Trying to do define all processes/roles/responsibilities around EA. One issue I can't seem to find a solution is traceability from virtual document or model document back to original package.

I create a virtual document and add in packages. Now, from that virtual document how can I trace back to the package I added in?

 I ask this as I am trying to document our base project and as the package name in the virtual document can and has been changed, many of them don't intuitively indicate which package they orginate from.

I have tried relationship matrix, hierarchy, dependencies, element properties but I can't see where the virtual document can be traced back to the source packages.

Any help is appreciated!

Thanks!
Title: Re: Traceability from Virtual Document
Post by: Dermot on March 16, 2010, 04:19:55 pm
A SQL search (ctrl-F) using the following will give all attributes set as Model document packages and their respective packages:

SELECT t_object.ea_guid AS CLASSGUID, t_object.Object_Type AS CLASSTYPE, t_object.Name, t_attribute.Name
FROM t_object, t_attribute
Where  Val(t_attribute.Classifier) = t_object.Object_ID and t_attribute.Type = "Package";