New classes in Dynamics 365 for Dimensions – ww12345678 的部落格 | AX Helper
最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

New classes in Dynamics 365 for Dimensions

网络文摘 William 481浏览 0评论
Hi Folks,

Since many days I was trying to perform few logics over LedgerDimensions and DefaultDimensions, like merge and replace etc. In AX2012 its handled by DiemsionDefaultingService class that having many static method to help us to play around ledger/default dimensions.

But in Dynamics 365 FO , this class is deprecated, and MS introduce few more classes to help us with these requirements. Here are few name of classes and method that can be used.

1. LedgerDimensionFacade : This class used for fixed LedgerDimension, we have many static methods here, like Merge Dimension, getdefaultDimension and many more, refer below image.


2. LedgerDimensionDefaultFacade: This class will help us to perform action over default dimension. Like Merge specify default dimension into single default dimension, replace attribute value etc.
Please refer below image, 


Both classed having almost same method that is available in AX with DiemsionDefaultingService  class.




  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址