AX Query에서 사용하는 like operator
AX Engine에서 사용되는 Query 작성시 사용할 수 있는 Like 연산자 사용방법에 대한 예제입니다.
static void likeOperator(Args _args)
{
DirPartyTable dirPartyTable;
;
select dirPartyTable where dirPartyTable.Name like("*Pusan*");// match with Pusan
info(dirPartyTable.Name);
select dirPartyTable where dirPartyTable.Name like("*Pusan");// end with with Pusan
info(dirPartyTable.Name);
select dirPartyTable where dirPartyTable.Name like("Pusan*");// start with Pusan
info(dirPartyTable.Name);
}
'Dynamics AX' 카테고리의 다른 글
사용자가 AX 2012 화면 구성을 바꾸지 못하도록 막는 방법 (0) | 2013.11.14 |
---|---|
Excel 파일을 열어서 값 가져오기 (0) | 2013.11.13 |
Data Migration Framework (0) | 2013.11.13 |
AX 2012 Model store database and baseline model store (0) | 2013.11.13 |
System Compile/CIL Compile 자동화 하기 (0) | 2013.11.12 |