Hi,
I am trying to collect data for 'project work evidence' process based on 'resource allocation' feature. I would like to record on with 'ProjectID' resources spent their time, by which 'ProjectActivities'. So I have added new Tag into special elements for collecting the timesheet records.
Values from resource allocation and tag values I would like to use as primary data in Pivot table.
Problem is, that 'My search' returns 'Tags name' and 'Tag value' as Column names, and I need special column for every 'Tag Value'. It is possible via sql command 'create table as select'... (see
https://stackoverflow.com/questions/18637160/sql-create-columns-from-values-and-fill-with-other-column).
But it doesn't work for me. Maybe this sql command is not supported in EA at all?
My SQL search is:
select t_object.ea_guid AS CLASSGUID, t_object.Object_Type AS CLASSTYPE,
t_object.Object_ID,t_object.CreatedDate as CreatedDate,
t_objectresource.[Resource], t_objectresource.[Role], t_objectresource.DateStart, t_objectresource.DateEnd, Round(t_objectresource.[Time]/60) AS AllocatedHours,
(t_objectresource.[ExpectedHours]/60)As ExpectedHours, (t_objectresource.[ActualHours]/60)As ActualHours, t_objectresource.PercentComplete, t_object.Name, t_object.Alias, t_objectresource.Notes, p.property as Tag, p.value as TagValue
from t_objectresource, t_object
INNER JOIN t_objectproperties p
ON t_object.object_id = p.object_id
where t_object.Object_ID = t_objectresource.Object_ID
and p.Value LIKE '#WC#<Search Term>#WC#'
How to adopt this SQL statement in internal EA Search?
Thank You
Roman