I'm trying to create a new process like RequisitionPOCreate using my new tables:
to make this I have prepared two tables like M_Requisition and M_RequisitionLine and ather two tables like C_Order and C_OrderLine.
After I have prepared the rights classes in java...
when I start the process in Compiere I get the following error: <nameClass>.process: java.lang.NullPointerException 
someone knows how I can resolve it?
I think that the problem is in this code line:
for (int i = 0; i < lines.length; i++)
if (lines[i].getM_RequisitionLine_ID() == 0)
process (lines[i]); --> lines[i] have no related object
Thanks to all!!!