Hello,
I would like to create a filter like below but I think substr method is not possible in the where clause.
How can I manage it ?
while select * from vendTrans
join tri_NettingCorrelationAP
where
vendTrans.AccountNum == tri_NettingCorrelationAP.TRI_PurchAccount
&& (substr(vendTrans.Voucher,1,3) == "AFG" || substr(vendTrans.Voucher,1,2) == "FF" || substr(vendTrans.Voucher,1,3) == "AF")
&& vendTrans.createdDateTime >= this.dateCompare(SystemDateGet()-365)
Thanks

Report
All responses (
Answers (