最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Dynamics 365 财务和运营 x++ While select 语句中的IN 关键字 / In keyword While select statement X++ Dynamics 365 for finance and operations

网络文摘 alirazazaidi 1115浏览 0评论
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)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址