cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

Ability to Cancel/Withdraw an Inventory Request from Work Order #1113

Closed johnclary closed 4 years ago

johnclary commented 4 years ago

Ability to cancel/withdraw an inventory item request if it has not been issued.

Precondition

Test Script

  1. Start from a Work Order that has an inventory item in a status of Submitted to Warehouse

  2. In the rightmost column of the table (Cancel), you should see an icon with a Return icon. Click the icon, then Submit the form that appears.

Expected behavior

johnclary commented 4 years ago

@dianamartin ready for testing

dianamartin commented 4 years ago

notes to self:

you can also play with the Edit ability in Data Tracker, but I haven’t written a test yet. Basically, to edit, you have to Cancel first, then you edit, and when you submit the edit, the update is sent to the finance system

dianamartin commented 4 years ago

For WO WRK20-073355, I had submitted to warehouse. I clicked the Cancel button, and a modal pop-up appeared asking to "Cancel Request".

The status changed from Submitted to Warehouse to Cancelled.

dianamartin commented 4 years ago

Success!