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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.06.2009, 20:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Dialog error when adding batch tasks to a batch job
Источник: http://palleagermark.blogspot.com/20...-tasks-to.html
==============

If you enter a new batch task to a batch job manually, AX might not initialize the Parameters dialog properly.

AX call unpack of the task class, with the contents of the Batch.Parameters field, but since we are creating a new entry to the table this field is empty.

What AX should do, and what RunBase normally does, is then to call initParmDefault of the task class to initalize it with for example a base query.th for example a base query.

Here is the code to insert in \Data Dictionary\Tables\Batch\Methods\showDialog in order to fix this issue.

Replace:
runClass.unpack(this.Parameters)With:
// As RunBase normally would do, we need to
// call initParmDefault here, if there are no
// values to unpack
if (!runClass.unpack(this.Parameters))
{
runClass.initParmDefault();
}


Источник: http://palleagermark.blogspot.com/20...-tasks-to.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axaptapedia: RunBaseBatch Blog bot DAX Blogs 0 04.04.2009 22:05
axaptapedia: RunBaseBatch Blog bot DAX Blogs 0 31.03.2009 06:06
palleagermark: Adding new financial dimensions to AX Blog bot DAX Blogs 1 17.02.2009 13:03
axaptapedia: Batch processing Blog bot DAX Blogs 0 29.01.2009 17:05

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

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

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