ENUM values missing in SRSANALYSISENUMS Table



During one of assignment, I have to get some data directly from Dynamics Ax table in SQL Server.

All enum based column in table shown their numeric values in Sql Server. For Analysis services Or OLAP services Dynamics Ax holds a table with name “SRSANALYSISENUMS”. This table contains the all enum which are used inside the Cube ETL process.

Analysis services was not install on my machine, for this reason “SRSAnalysisENums” table was empty.

This table is populate with static method “populateSRSAnalysisEnums” of class “BIGenerator”. We can directly run this method to populate the require table so we can join it in SQL server to get enum display/Name in query result instead of their numeric values.

If you have custom table which has one or more tables are based on Enum data type. Or your required enum values are not present in “SRSANALYSISENUMS”.  You have to perform following steps.

  • Create a new prospective.
  • Drag required table in Table node of new prospect.

9-12-2014 6-06-17 PM

  • Save the prospect.
  • Open a new job inside the Dynamics Ax AOT node.

 

  • Run a static method populateSRSAnalysisEnums() of class BIGenerator as follow

static void Job4(Args _args)
{
//BIGenerator _Bi= new BIGenerator();
BIGenerator::populateSRSAnalysisEnums();
}

  • You will find that SRSAnalysisENums” will be populated and your required Enum will be present there.

SRSANALYSISENUMS

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值