![]() |
#1 |
Участник
|
dynamicsaxinsight: D365: Get financial dimension value description in X++
Источник: https://dynamicsaxinsight.com/2024/0...iption-in-xpp/
============== Purpose: Demonstrate how can we get the financial dimension value description in X++. Application: Dynamics 365 for Finance and Operations Business requirement: Business requirement is to get and display the financial dimension value description in an inquiry screen. Solution: We can use the code below to get the financial dimension value description. Code internal final class ATLAS_LedgerDimensionHelper{ /// /// Gets dimension value description. /// /// /// Atlas Dynamics Pty Ltd. /// public static Name getDimensionAttributeValueDesc(Name _dimAttrName, DimensionDisplayValue _dimAttrValue) { DimensionAttribute dimAttribute; DimensionAttributeValue dimAttributeValue; dimAttribute = DimensionAttribute::findByName(_dimAttrName); dimAttributeValue = DimensionAttributeValue::findByDimensionAttributeAndValue(dimAttribute, _dimAttrValue); return dimAttributeValue.getName(); }} Источник: https://dynamicsaxinsight.com/2024/0...iption-in-xpp/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|