![]() |
#1 |
Участник
|
daxline: QueryDataSourceStr - new intrinsic function in Dynamics AX 2012
Источник: http://feedproxy.google.com/~r/blogs...intrinsic.html
============== There is a new intrinsic function introduced in Dynamics AX 2012. This is the QueryDataSourceStr() function. This function returns a string of the datasource name. The queryDataSourceStr() function checks if the supplied datasource name exists in the query in the AOT or not. An important point to note here is that all the intrinsic functions like formStr, classStr, queryStr and queryDataSourceStr invoke real time compiler check. This means that the compiler checks for the existence of the object in the AOT as soon as the function call is completed. In case the object name is not found, an error is shown immediately by displaying a red squiggly line. Источник: http://feedproxy.google.com/~r/blogs...intrinsic.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. Последний раз редактировалось Poleax; 11.10.2011 в 06:23. |
|
![]() |
#2 |
Участник
|
А что это за новый тип объектов в АОТ? Что из себя представляет queryDataSource? Их можно на форме использовать в качестве FormDataSource?
|
|
![]() |
#3 |
Axapta
|
Где новый тип объекта? А вообще, описание функции есть на МСДН: http://msdn.microsoft.com/en-us/library/gg895213.aspx
|
|
|
За это сообщение автора поблагодарили: S.Kuskov (3). |
![]() |
#4 |
Участник
|
с MSDN стало понятно, что функция имеет два параметра и ссылается не на какой-то глобальный DataSource (как я предположил) а на внутренний узел Query.
|
|
|
|