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

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...