Показать сообщение отдельно
Старый 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, напишите личное сообщение администратору.