18.09.2013, 17:11 | #1 |
Участник
|
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 |
Участник
|
SysOperationControlVisibilityAttribute(false) вроде не работает с отчетами
или у кого то получилось это использовать? Парень написал книгу и не проверил что-ли Последний раз редактировалось trud; 19.09.2013 в 11:12. |
|
30.09.2013, 17:50 | #3 |
Участник
|
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.
Цитата:
Kamal |
|
|
За это сообщение автора поблагодарили: trud (3), Logger (3). |
|
|