获取Finacial dimension value的description 值

时间:2021-02-13 18:34:28
public static Description findDimensionValueDescription(DimensionValue _dimensionValue, Name _dimensionAttributeName)
{
DimensionFinancialTag dimensionFinancialTag;
DimensionAttributeDirCategory dimensionAttributeDirCategory;
DimensionAttribute dimensionAttribute; select firstOnly Description from dimensionFinancialTag
where dimensionFinancialTag.Value == _dimensionValue
join DirCategory from dimensionAttributeDirCategory
where dimensionAttributeDirCategory.DirCategory == dimensionFinancialTag.FinancialTagCategory
join RecId from dimensionAttribute
where dimensionAttribute.RecId == dimensionAttributeDirCategory.DimensionAttribute
&& DimensionAttribute.Name == _dimensionAttributeName; return dimensionFinancialTag.Description;
}