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