From 5ffd8c1fb77fb8e33244a6eabcc267aacfe705ee Mon Sep 17 00:00:00 2001 From: demo Date: Wed, 23 Nov 2022 20:06:47 +0000 Subject: [PATCH] User: alex clicked save for misc/waku-messages/message/waku-message-body.dmn --- .../cc-invoice-approval}/approval-check.dmn | 2 +- .../cc-invoice-approval-process-v2.bpmn | 20 +- .../cc-invoice-approval/process_model.json | 6 +- .../submit_invoice_validation.dmn | 177 ------------------ .../message/waku-message-body.dmn | 26 +-- 5 files changed, 27 insertions(+), 204 deletions(-) rename manage-procurement/procurement/{vendor-invoice-management/invoice-approval => core-contributor-invoice-management/cc-invoice-approval}/approval-check.dmn (92%) rename manage-procurement/procurement/{vendor-invoice-management/invoice-approval => core-contributor-invoice-management/cc-invoice-approval}/cc-invoice-approval-process-v2.bpmn (99%) delete mode 100644 manage-procurement/procurement/vendor-invoice-management/invoice-approval/submit_invoice_validation.dmn diff --git a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/approval-check.dmn b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/approval-check.dmn similarity index 92% rename from manage-procurement/procurement/vendor-invoice-management/invoice-approval/approval-check.dmn rename to manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/approval-check.dmn index 2cd154d7..65e91029 100644 --- a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/approval-check.dmn +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/approval-check.dmn @@ -1,5 +1,5 @@ - + diff --git a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/cc-invoice-approval-process-v2.bpmn b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn similarity index 99% rename from manage-procurement/procurement/vendor-invoice-management/invoice-approval/cc-invoice-approval-process-v2.bpmn rename to manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn index 3eac4e33..8e99d5de 100644 --- a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/cc-invoice-approval-process-v2.bpmn +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn @@ -1,8 +1,8 @@ - - - + + + @@ -21,8 +21,8 @@ CorrelationProperty_Submit_Invoice - - + + Submit_the_invoice @@ -1090,7 +1090,7 @@ ___ - + @@ -1615,10 +1615,6 @@ ___ - - - - @@ -1651,6 +1647,10 @@ ___ + + + + diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/process_model.json b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/process_model.json index 14301115..f0857ab0 100644 --- a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/process_model.json +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/process_model.json @@ -5,7 +5,7 @@ "exception_notification_addresses": [], "fault_or_suspend_on_exception": "fault", "files": [], - "is_review": false, - "primary_file_name": null, - "primary_process_id": null + "is_review": true, + "primary_file_name": "cc-invoice-approval-process-v2.bpmn", + "primary_process_id": "Process_cc_invoice_approval_process_v2_a" } \ No newline at end of file diff --git a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/submit_invoice_validation.dmn b/manage-procurement/procurement/vendor-invoice-management/invoice-approval/submit_invoice_validation.dmn deleted file mode 100644 index c9473825..00000000 --- a/manage-procurement/procurement/vendor-invoice-management/invoice-approval/submit_invoice_validation.dmn +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - svc_is_num_in_name - - - - - svc_decimal_cnt - - - - - svc_is_due_date_after - - - - - - - False - - - <=2 - - - True - - - True - - - "No numbers in name, involce amount decimal places not greated than two, invoice due date after today's date" - - - - - True - - - <=2 - - - True - - - False - - - """**Validation Error:** - - Numbers are not allowed in the Contributor's Name """ - - - - - False - - - >2 - - - True - - - False - - - """**Validation error:** - - The involce amount must not have more than two decimal places """ - - - - - True - - - >2 - - - True - - - False - - - """**Validation errors:** - - Numbers are not allowed in the Contributor's Name - - The involce amount must not have more than two decimal places """ - - - - - False - - - <=2 - - - False - - - False - - - """**Validation error:** - - The invoice due date must be after today's date. """ - - - - - True - - - >2 - - - False - - - False - - - """**Validation errors:** - - Numbers are not allowed in the Contributor's Name - - The involce amount must not have more than two decimal places - - The invoice due date must be after today's date. """ - - - - - False - - - >2 - - - False - - - False - - - """**Validation errors:** - - The involce amount must not have more than two decimal places - - The invoice due date must be after today's date. """ - - - - - - - - - - - - - - False - - - "Something is wrong with the Invoice validation process. Please notify support" - - - - - - - - - - - - diff --git a/misc/waku-messages/message/waku-message-body.dmn b/misc/waku-messages/message/waku-message-body.dmn index 6339c1c4..521906e4 100644 --- a/misc/waku-messages/message/waku-message-body.dmn +++ b/misc/waku-messages/message/waku-message-body.dmn @@ -25,7 +25,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_submitted" @@ -42,7 +42,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_payment_pending_ismatch" @@ -59,7 +59,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_payment_pending_not_ismatch" @@ -76,7 +76,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_ismatch" @@ -93,7 +93,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_ismatch" @@ -110,7 +110,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_not_ismatch_not_pl_approve" @@ -127,7 +127,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_not_ismatch_not_pl_approve" @@ -144,7 +144,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_not_ismatch_pl_approve" @@ -161,7 +161,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_invoice_rejected_not_ismatch_pl_approve" @@ -178,7 +178,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_notify_finance" @@ -195,7 +195,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_notify_project_lead" @@ -212,7 +212,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval" "waku_no_team_lead_response" @@ -229,7 +229,7 @@ - "manage-procurement/procurement/vendor-invoice-management/invoice-approval" + "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"