Here is the code for ledger dimension values for active account structure
public static DimensionValue getdimension(LedgerDimensionAccount _ledgerDimension,
Name _dimensionName )
{
DimensionAttributeLevelValueAllView dimAttrView; //View that will display all values for ledger dimensionsDimensionAttribute dimAttr;
select DisplayValue from dimAttrViewwhere dimAttrView.ValueCombinationRecId == _ledgerDimension
return dimAttrView.DisplayValue;
}
No comments:
Post a Comment