Reference → Data Service Macros → Object Macros → PES_MACRO_TIMEPHASE_ATTRIBUTES_SELF_CONTRIBUTION
PES_MACRO_TIMEPHASE_ATTRIBUTES_SELF_CONTRIBUTION is used to get all the self-contributing buckets for the time phase attributes in the system converted into the requested storage unit (i.e. currency, hours, FTE or units). This macro is different from PES_MACRO_TIMEPHASE_ATTRIBUTE_DETAIL in that it returns all the self-contributing buckets (PES_MACRO_TIMEPHASE_ATTRIBUTE_DETAIL only returns self-contributing buckets that have been promoted to the detail object).
SELECT self.Start, self.Finish, self.Value, detail.Description FROM PES_MACRO_TIMEPHASE_ATTRIBUTES_SELF_CONTRIBUTION (self, obj_UID = 49, Currency) LEFT OUTER JOIN PES_MACRO_TIMEPHASE_ATTRIBUTE_DETAIL (detail, obj_InvestmentUID = 49, Description) ON self.obj_BucketUID = detail.obj_UID
Copyright © 2003–2010 Serena Software, Inc. All rights reserved.