Tuesday, December 11, 2018

“in” operator in Dynamics 365 for finance and operation

//From Platform update PU21

So far, it will supporrt only for ENUM in where clause


SalesTable salesTable;
container salesStatus = [SalesStatus::Canceled, SalesStatus::Delivered, SalesStatus::Invoiced];
 
New Update:
while select salesId from salesTable
    where salesTable.SalesStatus in salesStatus 
{
}

No comments:

Post a Comment

Copy Markup charges while posting purchase invoice using X++

 Copy Markup charges while posting purchase invoice using X++ Class: Important: Code logic is just for Reference.  New class => Duplicate...