Page 1 of 1

Call a process from menu

PostPosted: Sun Oct 15, 2006 8:55 pm
by Saber
Hi Red1,

I created a new process, 'myprocess.java' and placed it in the base/src/org/compiere/process folder. I want to to call this when I click on popup menu item in a form 'myform'. Is it possible to do that and how?

Thanks in advance,
Mnasri

PostPosted: Sun Oct 15, 2006 9:45 pm
by red1
Yes, u can follow the example in Compiere, the process such as GenerateInvoice.

Login as SystemAdmin > Report&Process and see how its is linked. Then u study the Java class concerned and notice that it must implement parameters and PInstance checking within it.