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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.09.2013, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
kamalblogs: SSRS Tip: Using invisible parameters in contracts – Dynamics AX 2012
Источник: http://kamalblogs.wordpress.com/2013...amics-ax-2012/
==============

There can be cases where you wanted a contract in the attribute but do not want the UI builder to expose it to the user. The reporting framework in AX provides a very easy way to incorporate this.

Open the parm method in the contract that you don’t want to expose. Add the attribute shown here along with other attributes. This attribute when found in the parm method will automatically prevent the UI builder from adding this to the dialog.

[DataMemberAttribute, SysOperationControlVisibilityAttribute(false)]public LogisticsAddressing parmAddress(LogisticsAddressing _address = companyAddress){ companyAddress = _address; return companyAddress;}This feature comes as a part of the BOF, see here http://j.mp/185ufd2

For more tips and learning about SSRS – AX 2012 order the book Dynamics AX 2012 Reporting Cookbook authored by me.



Related articles


Источник: http://kamalblogs.wordpress.com/2013...amics-ax-2012/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 19.09.2013, 11:09   #2  
trud is offline
trud
Участник
Лучший по профессии 2017
 
1,038 / 1629 (57) ++++++++
Регистрация: 07.06.2003
Записей в блоге: 1
SysOperationControlVisibilityAttribute(false) вроде не работает с отчетами
или у кого то получилось это использовать?
Парень написал книгу и не проверил что-ли

Последний раз редактировалось trud; 19.09.2013 в 11:12.
Старый 30.09.2013, 17:50   #3  
casperkamal is offline
casperkamal
Участник
 
10 / 22 (1) +++
Регистрация: 16.03.2007
Адрес: Hyderabad, India
Thanks for pointing out trud. google helped me understand your comment. I realize what you say is right and i apologize for my mistake. I have posted an update here in my blog http://j.mp/1bm78za with the complete details of why it doesn't work that way.

Цитата:
Сообщение от trud Посмотреть сообщение
SysOperationControlVisibilityAttribute(false) вроде не работает с отчетами
или у кого то получилось это использовать?
Парень написал книгу и не проверил что-ли
Thanks Again
Kamal
За это сообщение автора поблагодарили: trud (3), Logger (3).
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 13 Blog bot Dynamics CRM: Blogs 0 27.03.2013 22:12
emeadaxsupport: Final Microsoft Dynamics AX 2012 R2 Content Available! Blog bot DAX Blogs 0 04.12.2012 06:12
dynamics-ax: Expert SSRS with AX Tip from Michael Stashwick Blog bot DAX Blogs 0 14.01.2011 05:18
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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