1 / 13

Adempiere Technical Training

Day 5 . Adempiere Technical Training. 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

qamar
Download Presentation

Adempiere Technical Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Day 5 Adempiere Technical Training

  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

More Related