AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.12.2012, 21:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Dynamics AX 2012 Reporting: How to add company logo into query based report
Источник: http://blogs.msdn.com/b/axsupport/ar...ed-report.aspx
==============

In the old X++ framework (Dynamics AX 2009 and earlier) when you wanted to display company logo on report you could use display method on table. In Dynamics AX 2012 that would not work.

For RDP reports you could add CompanyLogo field into temporary table and then fill it in Data Provider class (for details please look into Sales Invoice report, class SalesInvoiceDP method insertIntoSalesInvoiceTmp).

But what if you don’t want to use RDP report but Query based report. To get it to work you need to:

1. Create query based on table CompanyImage and I added field dataAreaId to Range:



2. Add this query as data source to SSRS report with property Dynamic Filters = False



3. There has been added parameter CompanyImage_dataAreaId. Specify following properties for this parameter to be automatically populated:

DefaultValue: =Parameters!AX_CompanyName.Value

Visibility: Hidden



4. In precision design I could add Image to be connected to added data source







The company image will be displayed on report.










Источник: http://blogs.msdn.com/b/axsupport/ar...ed-report.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: How to copy a budget to a new budget in AX 2012 using Excel Add-in Blog bot DAX Blogs 0 27.11.2012 15:11
emeadaxsupport: Dynamics AX 2012 Services: How to process big messages using File adapter Blog bot DAX Blogs 0 03.07.2012 00:12
Sample Design Patterns: Book Give-away: 'Microsoft Dynamics AX 2012 Development Cookbook' Blog bot DAX Blogs 1 12.05.2012 16:55
emeadaxsupport: Dynamics AX Reporting Error "No such host is known" when running report which is based on cubes Blog bot DAX Blogs 0 10.05.2012 22:11
Rahul Sharma: Claims-Based Flexible Authentication in Dynamics AX 2012 Blog bot DAX Blogs 0 02.05.2012 09:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 05:33.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.