Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

How to add search criteria to existsing "select" query

$
0
0

I have an std class that uses  "select"  query to calculate the data.

There is already existing criteria in that query, that looks like:

select Field A, Field B from Table 

where Table.InventTransId = _inventTransId

But I need to pass several invent trans into this method to filter( not only by one)

so basically i need something like where Table.InventTransId not in ( _inventTransId1,  _inventTransId2,  _inventTransId3)

Is there any simple way of doing this?

(It could be nice if it was a queryBuild -based query, of course, but it's not in this case)


Viewing all articles
Browse latest Browse all 9880

Trending Articles