Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

转载:http://blogs.msdn.com/saveenr/archive/2008/10/26/dynamics-ax-2009-launching-an-ssrs-report-from-the-dynamics-ax-client-ui.aspx

Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

In my previous post I showed how to create and deploy report. At that time I just manually browsed the SSRS website to find the report.

However, the typical way a user will launch a report is from the AX client (or from the AX Enterprise Portal web site)

In this example, I'll show how to create a menu item that launches the report so that users can easily get to the report.

 

Create a new Menu Item

Launch Dynamics AX 2009 client

image

Open the AOT

image

In the AOT, expand the Menu Items node

right-click on Output and select New Menu Item

You'll see a new menu item with a default name (called "MenuItem1" in this example)

Right-click on the new menu item and select Properties

image

The Properties window for that menu item will appear

image

Change the Name field to "DemoCustomersReport"

image

Select the Label field and click the ellipsis button

image

The Label Editor dialog will launch

image

(this step assumes you already created a label file)

Select the Setup tab

And pick which label file to use (in this case I already created one called "ABC")

image

Go back to the Label tab

Click the New Icon

image

A new row will appear in the list

In the Label column enter "Demo Customers Report"

Click the Save icon

Click Paste label

image

The dialog will close and you'll see the label has now been set in the properties window

image

Select the Object Type field

Click the drop-down and select SQLReportLibraryReport

image

Select the Object field

Click the drop-down and select "DemoReportsLibrary.DemoReportCustomers"

image

Close the properties dialog

and click the Save icon in the AOT

image

image

Collapse the Menu Items node

image

 

Now show the menu item in the UI

Expand the Menus node

image

Expand the AOT > Menus > Invent

Right-click on the Reports node and select New Menu Item

image

A new menu item will appear in the reports node. It will receive a default name "Menu Item" in this example

image

Right-click on it and select Properties

image

The Properties window will appear

image

Change the MenuItemType field to Output

image

Change the MenuItemName field to "DemoCustomersReport"

image

Close the Properties window

Click the Save Icon to save all the changes in the AOT

And then close the AOT

image

 

Try it out

Restart the AX client

image

Go to the Inventory Management module

image

The new menu is visible

image

Click it and the report launches

(in this example, I haven't configured everything correctly and instead of showing "Demo Customers Report" it shows "@ABC1" - I'll correct this in the post later)

image

image

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值