private Description DimensionbyDept()
{
DimensionAttributeValueSetStorage dimStorage;
Counter i;
str 20 dim;
int64 n;
dimStorage = DimensionAttributeValueSetStorage::find("DefaultDimension");
for (i=1 ; i<= dimStorage.elements() ; i++)
{
if(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name == 'Department')
{
n= dimStorage.getValueByIndex(i);
}
dim = DimensionFinancialTag::find(n).Description;
}
return dim;
{
DimensionAttributeValueSetStorage dimStorage;
Counter i;
str 20 dim;
int64 n;
dimStorage = DimensionAttributeValueSetStorage::find("DefaultDimension");
for (i=1 ; i<= dimStorage.elements() ; i++)
{
if(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name == 'Department')
{
n= dimStorage.getValueByIndex(i);
}
dim = DimensionFinancialTag::find(n).Description;
}
return dim;
No comments:
Post a Comment