Hi experts , i have the following select statement and need to write x++ query with the same result ,
my problem is i don't know how to make combination of OR ranges.
my select statement is :
CustTrans custTrans;
while select custTrans
order by custTrans.FlxContractId,custTrans.DueDate
where
(custTrans.FlxLeaseTypeId == "Rent" && custTrans.DueDate == dateStartMth(SysQueryRangeUtil::currentDate()))
||
(custTrans.FlxLeaseTypeId == "Elect. Settlement" && custTrans.DueDate < dateStartMth(SysQueryRangeUtil::currentDate()))
&& custTrans.KREC_Blocked== false
&& custTrans.Printed == false
&& custTrans.SettleAmountCur == 0
*This post is locked for comments
I have the same question (0)