Hi Experts,
Need some help.
I customize a form that can view the some records but i want to remove some of it.
How to translate this SQL Query to X++ Codes (Query).
select * from INVENTTRANSORIGIN where ((((REFERENCEID not like '%INF-SO%' and REFERENCEID not like '%CLA-SO%' ) or (DATAAREAID != 'wiz')) and ((REFERENCEID not like '%INF-PO%') or (DATAAREAID != 'inf'))) and ((REFERENCEID not like '%CLA-PO%') or (DATAAREAID != 'cla')))
public void init() { super(); qbdsTrans = this.query().dataSourceTable(tableNum(InventTransOrigin)); }
public void executeQuery() { qbrDataAreaId = qbdsTrans.addRange(fieldNum(InventTransOrigin, DataAreaId)); super(); }
Thanks & Regards,