Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

using query build range with multi ranges

$
0
0

I have the below X++ code how can I apply the where clause using query build range.

select pionHCMVacationSettlement where pionHCMVacationSettlement.Worker==22565420970 && pionHCMVacationSettlement.posted==NoYes::No;

I try the following but it does not work

queryBuildRange = queryBuildDataSource.addRange(

FieldNum(PionHCMVacationSettlement,Worker));

queryBuildRange.value(strFmt('(%1 == %3) && (%4 == %5)',

fieldStr(PionHCMVacationSettlement, Worker),

queryvalue(22565420970),

fieldStr(PionHCMVacationSettlement, Posted),

queryvalue(NoYes::No)));


Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>