as far as i know that there is no IN operator available in X++
here is the solution for learners.
Alternative of IN operator in X++ AX 2012
select sum(Qty) from InventTrans
where InventTrans.ItemId==_itemID
&& (InventTrans.StatusReceipt == StatusReceipt::Purchased
|| InventTrans.StatusReceipt==StatusReceipt::Received)
&& inventTrans.DateFinancial <= _perDate;
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (