Java PX: string comparison in a query
Hi all,
I'm not an expert Java programmer and I'm trying to create a Java PX.
I have to set a criteria to a query, but the command STRCMP returns me an error, I'm doing something wrong but I don't know what.
I have to compare a string (taken from the Page Three.Numero RMA field) to a string called min_rma. What I want is to have a list of all the objects having "Numero RMA" greater than min_rma as the result of my query.
My code is:
private final String min_rma = "150001";
IQuery queryRMAOrdiniProduzione = (IQuery) iAgileSession.createObject(IQuery.OBJECT_TYPE, "TATTILERMA");