Показать сообщение отдельно
Старый 20.03.2019, 20:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: In keyword While select statement X++ Dynamics 365 for finance and operations
Источник: https://www.tech.alirazazaidi.com/in...nd-operations/
==============

Hi  Today I found very interesting post here , where we can use “In” keyword for While select or Select statement.

in will be enum based.

SalesTable  salesTable;
container   con = [SalesType::Sales, SalesType::ReturnItem, SalesType::Subscription];
while select * from salesTable
where salesTable.SalesType in con
{
Info(salesTable.SalesId);
}

reference :
D365/AX7:SQL IN Operator In X++ Where Clause (Enum Fields Only)



Источник: https://www.tech.alirazazaidi.com/in...nd-operations/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.