1
0
-1

Hi All,

I'm new to Joget and currently checking the possibilities of this software before buying license.

We need to develop an application that will handle ordering and invoicing process within one of the projects in our company.

Before I will ask speciefic questions please have a look at below.

Form:

I have created 3 forms, of which only one will be visible by end user. The most important thing in here is the "Status" and "Project Manager" on CPO header.

  • CPO header data (containing CPO Number, CPO date CPO Status and Project Manager etc), 
  • CPO Items data (this is grid in CPO header data)
  • CPO invoicing (this is grid in CPO header data)

User view:

Here I have created different lists for different statuses and with CRUD I have added it to Userview - thanks to this user will be able to track in which status we have speciefic CPO's.

Users:

We will have the following users and groups:

  • Coordinator (he will be uploading CPO's data with import functionality, reviewing acceptance protocol attached by PM and sending requests for invoicing to Invoicing team)  - he will have an access to all "views"
  • Project Manager (around 20-30 users) - they will be uploading acceptance protocols - they will have edit access only to "Created" and  "In progress" views
  • Invoicing team (COD) - they will be handling invoice requests - so they will have access to "Invoicing ready"

So finally I have something like that like that, I did not touched yet authorizations so eg. Invoicing team will have access to "Invoicing ready" list.

This is the process:

  1. We're getting Customer Purchase Orders (CPO) from our customer in PDF and excel format which contains CPO header and CPO line items.
  2. With Import tool possibilties CPO header and CPO item is uploaded by Coordinator to CPO tabel and CPO items table - status is set to "Created" - this is done on a weekly basis.
  3. Now we should have notification mail to PM that he has new items to be processed,
  4. PM acknowledge CPO by changing status from "Created" to "In Progress"
  5. Coordinator should get notification email that CPO has changed status from "Created" to "In Progress"
  6. Project is ongoing.....
  7. After part or whole work will be finalized Project Manager uploading signed acceptance protocol in CPO invoicing part and changing status from "In Progress" to "Acceptance protocol ready"
  8. Coordinator should get notification email that CPO has changed status from "In Progress" to "Acceptance protocol ready"
  9. Corrdinator checks Acceptance Protocol and add some detials eg. amount to be invoiced and date, change status from "Acceptance protocol ready" to "Invoicing ready" 
  10. Invoicing team should get notification that the CPO is waiting to be invoiced,
  11. Invoicing team issues an invoice in external system, uploads it in Joget and fills invoice number, then:
  • if this is partial invoicing change status to"Pratially invoiced, in progress" - still in progress so here there should be some loop to step number 6
  • Final invoicing - change status to "Closed" end of process

12. Notification mail send to Project Manager and Coordinator about update in the status.

Attached how I see it in excel.

Loading



In one time few thousand items can be opened.

And here we're getting to the point, I fully dont understand how to design the process in Joget, I was looking at instructions but I dont get it - can somebody have a look into attached what has been developed and try to answer my questions please?

  1. Can I design whole process using only one form? I mean the same form mapped to multiple activities?
  2. How can I add notification emails after field "status" will be changed in the form?
  3. How can I send notification mail after import tool will finish uploading CPO data - done one a weekly basis by Coordinator?

APP_HT_MS-1-20160318135922.jwa

 

Thanks,

Sylwester

 

 

    CommentAdd your comment...

    5 answers

    1.  
      2
      1
      0

      Hi Sylwester,

      • First, let us make the forms relation clear. You have 3 forms "ht_cpo", "ht_cpo_inv" and "ht_cpo_item".
      • The data of "ht_cpo" and "ht_cpo_item" forms are imported through the Import Menu of "Import CPO header data" and "Import CPO item data".
      • The Id of "ht_cpo" form is equal to "cpo_cpo_number".
      • The data of "ht_cpo_item" form related to "ht_cpo" form with "cpo_item_cpo_no" field. Here, you need to make a correction in "ht_cpo" form. The "Foreign Key" of your "CPO Items" grid is configured to "ht_cpo_item_key" which should be "cpo_item_cpo_no" instead. (This will solve your imported cop items does not show up in grid issue.)

       

      I understand that you would like to make thing simple and do not want to use a process flow in your app. The followings are what you can do.

      In "ht_cpo" form, you can go to Form Properties. There is a "Post Processing Tool" option which you can mapped to a Email Tool. You can configure the "Post Processing Tool" to run on "Both date creation and update". 

      By configure it this way, you will get an email when each "ht_cpo" form data are imported through "Import CPO header data" menu and also when someone are updating the "ht_cpo" form through CRUD menu.

      Hope it helps.

        CommentAdd your comment...
      1.  
        2
        1
        0

        Hi, 

        From your app, there is no process flow is designed. You can refer to Design Process

        Please refer to my answer in bold.

        1. Can I design whole process using only one form? I mean the same form mapped to multiple activities?
          Yes. It is allowed to use one form and mapped to every process activities.
        2. How can I add notification emails after field "status" will be changed in the form?
          To send notification/email, you can add a tool activity in your process flow and mapped it with a Email Tool.
        3. How can I send notification mail after import tool will finish uploading CPO data - done one a weekly basis by Coordinator?
          In your app, you are using Import Menu. You can set the "Post Processing Tool" in Form Properties of your chosen form to send email. But, please not that this will be execute for each imported data.
          If you modify it to use Import Tool in a process, you can add another tool activity right after the import data tool activity to send email.

         

        Some possible mistakes I noticed as below:

        1. There are no process flow designed. It is manually control through CRUD Menu.
        2. In "ht_cpo" form, you have 2 grids. The reference field ids for this 2 grids are "cpo_inv_id" and "ht_cpo_item_key". But, I can't seem to find this 2 values are imported from the Import Menu.

         

         

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi Owen,

          thanks for your continuous support.

          I have fixed an issue with ht_cpo and ht_cpo_item. Import tool works fine. Post Processing Tool also, but email is send every time when form is updated and saved - this does not fix my issue as I would like to have outgoing email only when field "status" in ht_cpo has been changed to speciefic status. Any solution for this?

          So I believe I would need to use a process, however I'm facing an issue that I dont know how to start the process for ht_cpo form which contains imported data. It's not an issue to run the process for "blank/new" ht_cpo form.

          Imported data - datalist view - ht_cpo:

          Imported data - form view - ht_cpo:

          Here I would like to have a Run process button or some other solution that will start the process with imported data.

          The process itself look's fine and everything works, but only for "new" ht_cpo form which needs to be filled manually and through Userview -> Run Process.

          BR,

          Sylwester

          1. Sylwester Nowak

            Hi Anders, unfortunately it's not what I need. I have found out partial solution for this one: http://dev.joget.org/community/display/KBv5/Bean+Shell+Programming+Guide#BeanShellProgrammingGuide-UseasProcessTool - Start a new process in the same app with current record id - Bean Shell with Post Processing Tool - but still need to evaluate this topic.

          CommentAdd your comment...
        2.  
          1
          0
          -1

          Hi Owen,

          thanks for your response! Still I have some questions regarding this one.

          How can I achieve below...

          1. Through Import Menu (here I can do it without running any process) or through Import Tool  (here I have added new form to store data in xls "File upload form" and defined short process to upload data to table CPO "Store data form") I'm uploading data for eg. 20 CPO's.


          Example of data in excel:

          After uploading through Import Menu or through Import Tool I have uploaded data into CPO table, so this is the first step. 

          Now what I would to achieve is to start running the process for each CPO record that has been uploaded (I believe this will be 2nd process already).

          I have used Datalist, Start Process from Datalist Hyperlink Action and CRUD to build "Run process" hyperlink but...

          1. Data uploaded through Import Menu or Import Tool, click Run process (hyperlink)

          2. Form with new process popsup, submit button

          3. New item with process has been created - with the same data as imported form, but without grid data

          The questions are:

          • how I can "translate" imported item into process, not to create new one record? 

          SQL from DB:

          • The next thing is that item created in the process don't have any references to a grid data that was included in CPO, how to achieve it?
          • For me manual control through CRUD Menu would work if there's any notification email (without running a process).

          Thanks,

          Sylwester

            CommentAdd your comment...
          1.  
            1
            0
            -1

            Something got wrong when I attached excel file.

            Below zip file.

             

            Hi level process.zip

              CommentAdd your comment...