Order delivery flow integration with order fields and order organization participants #53
Reference in New Issue
Block a user
Delete Branch "order-delivery-flow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Order delivery flow integration with order fields and order organization participants
Details:
Smoke test:
Execute
composer update-dbLogin as admin on backend
Go to Forms tab and check that new action forms have been imported and also sample form for order delivery process.
Duplicate Example process form and rename it as you wish
Go to workflow settings and add steps:
Create two supplier organizations and user for each of them (update user mail in database to our own for test purpose)
Create commercial lead organization and user for it (update user mail in database to our own for test purpose)
Create customer organization and user for it (update user mail in database to our own for test purpose)
Create following simple products
Create two bundles
Set prices for bundles and make them available for customer to order
Login as customer on frontend and order both packages in single order
Go to order page and check that new process is available to assign to the order
Assign process to order
Check that process flow is created
Go to process flow page
Validate that all steps are present together with automatic (Order placed and Assign process)
Validate that
Validate Customer configurationstep is presentCheck that two workflows are present (one for each bundle) and document can be downloaded
Check your email and validate that two emails Validate Customer Configuration are received for each validation
Open order as customer and check that steps are listed
Validate that current active step is
Validate Customer configurationValidate that both questionnaire documents that customer uploaded are being validated and they can be downloaded
Go to admin interface and reject one of the documents and check that next step will ask from you to
enter validation reason (enter it and submit). Validate that next step is pending user input form customer.
Since you put your email for customer user validate that you received email informing you about rejected document.
Go to customer interface and validate that pending action is listed for uploading this file
Go to order details and validate that file upload field is present for that file and status is invalid
Upload new file and validate that status is changed to not-validate
Go to admin interface and open action workflow for this step and validate that your approval is pending. Also validate that you received email about pending validation for this document.
Accept document and validate that workflow for this action is completed
Go to customer interface and check that status of that document is validated
For second validation workflow just accept document and check that status is updated on customer interface.
Validate that two mails informing customer that documents are validated got sent.
From admin interface go to next step and validate that process workflow went to Procurement step. Download Procurement order report and validate that it contains delivery info, billing info, simple products and info about their suppliers.
Go to customer interface and validate that this step is not visible on customer interface.
From admin interface go trough * Wait for installation to be scheduled and confirmed* to Installation step
Validate that action step workflows are created
Validate that for bundle that had two installation products pending action step is to select one of the installation
companies. Select installation company and validate that next step is for installation company to confirm installation.
Validate that for bundle that had one installation product pending action step is for installation company to confirm installation is completed.
Since you set your email for users of these companies check that you received email informing you that you should confirm that installation is completed.
Login as these users and confirm installation.
Validate that next step is to upload test protocol. Upload test protocol and validate that action workflow is completed.
Go to admin interface to main workflow process and validate both actions are completed.
Go to next step Customer acceptance and check email is sent for pending customer acceptance upload.
Go to customer interface and check that file input for uploading acceptance is present.
Upload new customer acceptance and accept installation.
From admin interface validate customer acceptance can be downloaded.
Go to final process step and complete delivery.
Go to customer interface and check that order status is changed to completed.
added 1 commit
8d4f75cc- Handle process navigation betterCompare with previous version
added 28 commits
mastere8a3668c- Merge branch 'master' into order-delivery-flowCompare with previous version
added 1 commit
a6640548- Update delivery process fields and sample formCompare with previous version
changed the description
changed the description
added 1 commit
0b54ce54- remove procurement orderCompare with previous version
added 1 commit
3011c494- remove error logsCompare with previous version
added 1 commit
27795387- add dependenciesCompare with previous version
unmarked as a Work In Progress
added 1 commit
5e55d296- fix retrieval of process step action entriesCompare with previous version
added 1 commit
b7e4f7f4- Update db migration and remove unused filesCompare with previous version
assigned to @bilal.catic
added 1 commit
1d097eda- Get supplier organization from order itemCompare with previous version
typo, missing 'n' in 'has bee rejected'
added 1 commit
4e8b04fa- Handle order files download separately from delivery process filesCompare with previous version
merged
mentioned in commit
cedd4bf9e9