Spin-Suite: Create New Process
- 1 Purpose
- 2 As System Administrator
- 3 In the Source Code
- 4 Mobile Front End
- 5 Powered By
This manual is oriented to facilitate mobile system admin in ADempiere with Spin-Suite... Enjoy it.
As System Administrator
Create New Process (Cache Reset example)
Create the Process to be used in the device mobile, example: Cache Reset
Define the translation for Process
Add Parameters to Process
Add Parameter to Process if is necessary
Add Process to Menu
Add Process to Mobile Menu
Define Menu Translation
Define the Menu translation for your location
In the Source Code
Add class, note: the class must be extend from class org.spin.process.StdProcess
Like Adempiere, in Spin-Suite you must extend from a class named org.spin.process.StdProcess and implement two methods prepare() and doIt(), in prepare method you can get parameters like Adempiere. In doIt method you define the process functionality.
Mobile Front End
I hope this tutorial will get you started...faster!