17.11.2012, 11:12 | #1 |
Участник
|
vasantharivali: Using AOT Query Object in X++ Code
Источник: http://vasantharivali.wordpress.com/...ect-in-x-code/
============== Hi, Here i posted the code to use the AOT Query Object in our X++ code. Steps: 1) Create a AOT Query Object as your requirement. 2) Create a Job and paste the below code to check the Query Object. static void ExecuteAOTQuery(Args _args) { QueryRun queryRun; Counter totalRecords; ; queryRun = new QueryRun(queryStr(CreatedAOTQueryName)); if (queryRun.prompt()) { while (queryRun.next()) { totalRecords++; } } info(strFmt(“Total Records : %1”, totalRecords)); } Источник: http://vasantharivali.wordpress.com/...ect-in-x-code/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|