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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.06.2010, 01:09   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Shekhar: Dynamics AX2009 – Useful utility “SysQueryRangeUtil”
Источник: http://shekhardiptiman.spaces.live.c...B978!214.entry
==============

In AX 2009 there is utility through whihc we can provide arguments/ placeholders for field values in Select query whicle processing reports or filtering data in an inquiry  form.

There are following functions for use in AX2009 in Select query as an argument for field values..

e.g. to use the current employee’s ID as an argument use the following in the “Employee” field in Select query filter. In the following screenshot we are trying to fetch the Project Journals posted by the employee ID attached the current user so that user can see their own journals only. 



class SysQueryRangeUtil

Run On :Called

Methods

Method                                                                                   Description

cancelTimeOut  Cancels a previous method call to the Object::setTimeOut Method. (Inherited from Object.)

equal Determines whether the specified object is equal to the current one. (Inherited from Object.)

getTimeOutTimerHandle  Returns the timer handle for the object. (Inherited from Object.)

handle Retrieves the handle of the class of the object. (Inherited from Object.)

new  Initializes a new instance of the Object class.. (Inherited from Object.)

notify Releases the hold on an object that has called a wait method on this object. (Inherited from Object.)

notifyAll Releases a lock on the object that was issued by a wait method on this object. (Inherited from Object.)

objectOnServer Determines whether the object is on a server. (Inherited from Object.)

owner Returns the instance that owns the object. (Inherited from Object.)

setTimeOut  Sets up the scheduled execution of a specified method. (Inherited from Object.)

toString Returns a string that represents the current object. (Inherited from Object.)

usageCount Returns the current number of references (the value of the reference counter) that the object has. (Inherited from Object.)

wait Pauses a process. (Inherited from Object.)

xml Returns an XML string that represents the current object. (Inherited from Object.)

The following arguments are very useful and easy to understand for consultants 

::currentBusinessRelationsAccount

::currentContactPersonId

::currentCustomerAccount

::currentEmployeeId

::currentSessionDate

::currentSessionDateTime

::currentStaticMasterPlan

::currentUserId

::currentVendorAccount

::dateRange

::day

::dayRange

::greaterThanDate

::lessThanDate

::monthRange

::yearRange

These arguments may play a useful roles when configuring a periodic batches for cleanups e.g. Deleting the Invoiced orders and moving them to voided order table..































































Источник: http://shekhardiptiman.spaces.live.c...B978!214.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Shekhar: Dynamics AX2009 : Standalone Installation on Vista with Role centres and workflow. Blog bot DAX Blogs 0 30.03.2010 15:05
Shekhar: Dynamics AX,AX2009 – Credit remaining quantity Blog bot DAX Blogs 0 30.03.2010 15:05
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

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

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

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