Hi,
So i made a batch using sysOperation. The contract has 2 fields. One Named field1 and the other is named field2. These 2 parameters supports multi select.
I made the multiselect using UIBuilder SysLookupMultiSelectGrid::lookup(query,_control,_control,_control,con);
so field1 gets filled like this Invoice1;Invoice2;Invoice3 (with semi colon) same goes for field2.
Now what i want to do is
First i want to
Table table1;
Table table2;
Select from table1where (table1.flag = no && table1.InvoiceId !=contract.field1) But how i'm going to get all the values from the contract in field1? and what should i do with semi colon?
then Select from table2 where table2.InvoiceId == contract.field2) Same goes here how to get all selected values contract field 2?
Now Let's say the first select statement returned 10 records and the 2nd one returned 3 records.
I'm trying to export data entity by code so i want to filter the data entity by these 13 records. (Please not this could be more than a thousand so a better approach to what i'm doing would be great).
sysquery::findorcreaterange(qbds, fieldnum(CustInvoiceJour, InvoiceId)).value(""); So here i want to put all the 13 invoices i got back, how to do that?