Get financial dimension by Recid.
public static container getFinancialDimensionsByRecId(RecId _defaultDimension)
{
DimensionAttributeValueSetStorage dimStorage;
Counter i;
container ctr;
;
dimStorage = DimensionAttributeValueSetStorage::find(_defaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
ctr += [DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name, dimStorage.getDisplayValueByIndex(i)];
}
return ctr;
}
public static container getFinancialDimensionsByRecId(RecId _defaultDimension)
{
DimensionAttributeValueSetStorage dimStorage;
Counter i;
container ctr;
;
dimStorage = DimensionAttributeValueSetStorage::find(_defaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
ctr += [DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name, dimStorage.getDisplayValueByIndex(i)];
}
return ctr;
}