Wednesday, April 7, 2010

How to apply dimension hierarchy rule for a table

Generally to apply dimension hierarchy set rule we have to chose table collection from dimension set rule form, but if table reference is not available on table collection then have to do following steps to apply the same on new table
1-Add new table reference as a enum in DimensionSetRuleTableObject enumeration
2-Update following method of DimensionSetRuleTable to set new table reference on lookup rule
\Data Dictionary\Tables\DimensionSetRuleTable\Methods\ruleObjectType2SysModule
\Data Dictionary\Tables\DimensionSetRuleTable\Methods\refTableObject2MainTableId
\Data Dictionary\Tables\DimensionSetRuleTable\Methods\tableId2RuleTableObject

No comments: