Spin-Suite: Create New Process

From ADempiere
Revision as of 13:27, 7 October 2014 by Yamel Senih (Talk) (Add Process Documentation for Spin-Suite)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Purpose

This manual is oriented to facilitate mobile system admin in ADempiere with Spin-Suite... Enjoy it.


As System Administrator

Main Menu

SFA MainMenu1.png


Create New Process (Cache Reset example)

Create the Process to be used in the device mobile, example: Cache Reset

SPS Process.png


Process Translation

Define the translation for Process

SPS Process Trl.png


Add Parameters to Process

Add Parameter to Process if is necessary


Add Process to Menu

Add Process to Mobile Menu

SPS Process Menu.png


Define Menu Translation

Define the Menu translation for your location

SPS Process Menu Trl.png


In the Source Code

Project Code

SPS Add Process Class.png


Add Class

Add class, note: the class must be extend from class org.spin.process.StdProcess

SPS Add Process Class1.png


Write Class

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.

SPS Process Class.png

Mobile Front End

Parameters
Report Query

I hope this tutorial will get you started...faster!

Powered By

Logo erp.png
Logo lubo.png