DefaultDimensionView defaultDimensionView;
select defaultDimensionView where defaultDimensionView.DefaultDimension == _defualtDimension//recId && defaultDimensionView.Name == 'CostCenter';
info(defaultDimensionView.displayvalue);
info(defaultDimensionView.dimensionDiscription());
============================================================
DefaultDimensionView dimensionView;
DimensionAttribute dimensionAttribute;
select firstOnly dimensionView
where dimensionView.DefaultDimension == 5637146834
join dimensionAttribute
where dimensionView.Name == dimensionAttribute.Name
&& dimensionView.Name == 'Costcenter';
info(dimensionView.DisplayValue);
info(strFmt("Display value= %1",dimensionView.dimensionDiscription()));
No comments:
Post a Comment
Give me the commetns and solutions