Показать сообщение отдельно
Старый 13.06.2012, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
ax-erp: Dialog selection Criteria
Источник: http://microsoft-dynamics-ax-erp.blo...-criteria.html
==============


I will assume you use the RunBase framework.
For the dialog part of your question see Axapta Dialog Validation.
To show the query dialog, you must provide two methods:
public boolean showQueryValues()
{
return true;
}
and
public QueryRun queryRun()
{
return queryRun;
}
The queryRun method must return a valid non-null value.
The queryRun instance variable is usually assigned a value in the unpack and initParmDefaultmethods.
Take a look on the CustInterestCancel class for a concise example.
How to disable the select button: return false from showQueryValues.



Источник: http://microsoft-dynamics-ax-erp.blo...-criteria.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.