Overview: Users often create separate orders for the same material. It would save a substantial amount of time in the workflow if users were able to duplicate existing orders.
Given user has permission to view and create orders
When selecting an order
Then user has a "Clone" option in the dropdown menu
Given user wants to clone order
When clicking clone in action menu
Then system displays a confirmation message and user must click continue:
"Are you sure you want to clone this purchase order and all of its purchase order lines?"
Given user is cloning PO
When clicking continue
Then if successful system displays a success message
AND new PO is selected in the search result pane
Note cc: cmcnally
Cloning a purchase order all field information from PO and POL is duplicated
However the system MUST change PO and POL Number(s)
Update "Date Created" and "Created By'
AND create the new clone with a workflow status of "Pending"