Reference → Data Service Macros → Object Macros → PES_MACRO_WORKITEM_ASSIGNMENT_TIMESCALE
PES_MACRO_WORKITEM_ASSIGNMENT_TIMESCALE helps you view item assignment data, similar to how resource assignments for tasks are viewed in the Assignment and Team Roster views.
SELECT * FROM PES_MACRO_WORKITEM_ASSIGNMENT_TIMESCALE(ra, obj_ResourceUID IN (SELECT resource.obj_UID FROM PES_Object peso JOIN PES_Resource resource ON peso.obj_UID = resource.obj_ParentUID and resource.obj_ParentUID in (SELECT oa_DescendantUID FROM PES_ObjectAssociation WHERE oa_AncestorUID = 3)), Plan, Currency, Calendar Month, 4/1/2008, 4/30/2008, true)
Copyright © 2003–2011 Serena Software, Inc. All rights reserved.