Dear Gentlemen,
I want to create a new range On InventTransferTable which includes 2 different values, below is my code please advise if this is possible:
sender.query().dataSourceName(sender.name()).addRange(fieldnum(InventTransferTable, Transferstatus)).value('(TransferStatus=="Shipped") && (Inventlocationidfrom=="Location1") ||(TransferStatus=="Received") && (Inventlocationidfrom=="Location2") ');
The Point is, i want to assign this query range to a certain user to see only the Shipped from location 1 and the Received from location 2, on the Invent Trans Order Form.
Please Note that i also tried to create a new AOT Query and to add the same filter in range but it didn't work.
The results are always blank form with no data.
Appreciate your help.