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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.11.2012, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Malaysia: Another way of displaying custom options
Источник: http://axmas.blogspot.com/2012/11/an...m-options.html
==============


1. In the AOT, create a new job named SysListSelectSingle:
static void SysListSelectSingle(Args _args)
{
container choices;
container headers;
container selection;
container selected;
boolean ok;
choices = [ ["3.0\nAxapta 3.0", 1, false], ["4.0\nDynamics AX 4.0", 2, false],
["2009\nDynamics AX 2009", 3, false], ["2012\nDynamics AX 2012", 4, true]];
headers = ["Version", "Description"];
selection = selectSingle("Choose version", "Please select Dynamics AX version", choices, headers);
[ok, selected] = selection;

if (ok && conLen(selected))
{
info(strFmt("You've selected option No. %1", conPeek(selected,1)));
}
}

2. Run the job to display the options:


3. Select any of the options, click the OK button, and notice your choice displayed in
the Infolog:



Notice that in this case, the returned value is a container holding the selected options.





Источник: http://axmas.blogspot.com/2012/11/an...m-options.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Malaysia: Creating a custom instant search filter Blog bot DAX Blogs 0 14.11.2012 14:11
Microsoft Dynamics CRM Team Blog: How to control surfacing of Custom Activity Blog bot Dynamics CRM: Blogs 0 17.05.2011 01:14
kamalblogs: Creating a custom compiler output type and displaying in the compiler output in Dynamics Ax 2009 Blog bot DAX Blogs 2 06.05.2011 21:50
sumitsaxfactor: Creating a custom compiler output type and displaying in the compiler output in Dynamics Ax 2009 Blog bot DAX Blogs 0 06.05.2011 02:19
Microsoft Dynamics CRM Team Blog: CRM Online: Reporting Options Blog bot Dynamics CRM: Blogs 0 18.06.2009 06:14

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:10.