Presentation is loading. Please wait.

Presentation is loading. Please wait.

Adempiere Technical Training Day 5. Processes prepare method for getting the parameters into variables – Record_ID just work for buttons doIt method for.

Similar presentations


Presentation on theme: "Adempiere Technical Training Day 5. Processes prepare method for getting the parameters into variables – Record_ID just work for buttons doIt method for."— Presentation transcript:

1 Adempiere Technical Training Day 5

2 Processes prepare method for getting the parameters into variables – Record_ID just work for buttons doIt method for execution of the process addLog to keep log of the executions / for auditing purposes and showed at the end of the process return a message for errors must throw exceptions

3 Forms Custom swing windows – special cases Not recommended – not supported for webUI clients Extend org.compiere.swing.CPanel Swing code – implement listeners Use javax.swing and org.compiere.swing components

4 File Loaders Stage table File definition Import of the file Import process to pass from the stage table to the definite tables

5 Exercise Exercise: Add POReference column to the I_Invoice stage table Change the ImportInvoice process to manage the import of this new column

6 Workflows Workflow definition: A repeatable pattern of activity enabled by a systematic organization of resources, defined roles and mass, energy and information flows, into a work process that can be documented and learned. Business Process Management - covers activities performed by organizations to manage and, if necessary, to improve their business processes.

7 Workflows Definition (Static): Workflow: Definition of a flow of tasks – nodes and transitions Node: Piece of work Transition: Rules to make the transitions between nodes Execution (Dynamic): Process: An active workflow Activity: An active node (a process can have multiple activities in parallel)‏

8 Responsible Defined on workflow level, can be overwritten in node level. Human: a user – when no user defined then the invoker (user who started) is the responsible Organization: the supervisor of the document organization Role: Any user of the assigned role “Workflow Activities” -> your to-do list you can Approve, Reject, View, Zoom to the record, Forward.

9 Workflow (Actions)‏ Apps Process – launch a predefined process Apps Report – Issue a report, send a note with attachment to the User Document Action – execute the defined document action Email – send and e-mail to the defined recipient Set Variable – set value of a column on the table that triggered the workflow User Choice – get authorization from the approval user for the IsApproved column Wait (Sleep) – wait the defined period of time

10 Workflow (Transitions)‏ When empty is unconditional Approval (predefined)‏ Conditional AND/OR @Variable@/Constant Operator @Variable@/Constant Transitions are evaluated according to sequence when more than one – evaluation left to right – no precedence When more than one valid outgoing transition: XOR split = first transition only AND split = parallel activities When more than one incoming transitions XOR join = first arrival continues workflow AND join = wait for completion of all activities to continue workflow

11 Escalations / Alerts / Priority In the workflow you define the duration unit. For every node you can define a duration limit. When the duration limit is reached an e-mail reminder is sent to the responsible. In Workflow Processor you can define Inactivity alert and Reminder days, as well as Alert over Priority Priority: Relative number to prioritize the activities. Activities are sorted by priority in tab. You can configure rules to increase the priority in a time basis, i.e. Every day waiting increase priority in 5

12 Workflow Types General workflow: Simple workflow for guiding a series of tasks (one single line of execution, no conditions in transitions)‏ Attached directly on the menu – this is an online process Document Process Workflow: Every document has a defined process – the workflow is started with the Process button. They can be customized for all clients or for single client. Record Value Workflow: Triggered on saving a record when condition is fulfilled. Condition for new records: Created = Updated

13 Exercise Exercise: Review, discuss and test the GardenWorld example for Business Partner approval Review, discuss and test the GardenWorld example of Requisition approval


Download ppt "Adempiere Technical Training Day 5. Processes prepare method for getting the parameters into variables – Record_ID just work for buttons doIt method for."

Similar presentations


Ads by Google