Update requisition template column model with tags

Description

Acceptance Criteria

  • Add tag field to the RequistionTemplateColumn class (String)

  • Add supportsTag field to the AvailableRequisitionColumn class (Boolean)

  • Set Total Received Quantity, Total Consumed Quantity and Total Losses and Adjustments to accept tags

  • Update demo data for columns (Total Consumed Quantity, Total Received Quantity, Total Losses and Adjustments) and existing requisitions

  • Add validation for two columns not using the same tag

  • Add validation to make sure Stock Based Requisitions have tags selected for columns that support tags and that are displayed

  • Rerun update/create test cases

  • Update configuration guide

Activity

Show:
Klaudia Pałkowska
May 21, 2018 at 1:31 PM

I re-rested the ticket, and everything works properly.

FYI

Sebastian Brudziński
May 21, 2018 at 11:41 AM

as discussed on standup - the validations have been added on the backend as well, but they cannot be tested at the moment. This is because backend does not allow to set total received/consumed qty and total loss/adj column as displayed for Stock based requisition templates. I've added ACC to verify this to two tickets that implement fetching total received qty, total consumed qty and total loss/adj from Stock Mgmt. Given all that, I suggest that you just re-test the same, to make sure nothing broke and we will test validations in those other tickets.

Joanna Bebak
May 17, 2018 at 11:41 AM

Sorry for the slight confusion. I thought that it was possible to save changes in the template despite the errors on the UI only because the back-end allowed it. And since now it's impossible to do it, I thought that also changes in the back-end validations were made.

Mateusz Kwiatkowski
May 17, 2018 at 11:38 AM

No, I'm requiring tags only on the UI, I've haven't change any back-end validation.

Sebastian Brudziński
May 17, 2018 at 11:36 AM

no, I was asking about back-end (Joanna mentioned you added backend validations)

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Original estimate

Time tracking

3d 1h 30m logged

Components

Sprint

None

Fix versions

Priority

Time Assistant

Created May 10, 2018 at 11:38 AM
Updated November 29, 2020 at 1:03 PM
Resolved May 21, 2018 at 1:31 PM