Update requisition template column model with tags
Description
Confluence content
QAlity Plus - Test Management
Checklists
Activity

I re-rested the ticket, and everything works properly.
FYI @Joanna Bebak @Sebastian Brudziński
@Joanna Bebak 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.

@Sebastian Brudziński 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.

@Sebastian Brudziński @Joanna Bebak No, I'm requiring tags only on the UI, I've haven't change any back-end validation.
@Mateusz Kwiatkowski no, I was asking about back-end (Joanna mentioned you added backend validations)
Details
Details
Assignee
Reporter

Labels
Story Points
Original estimate
Time tracking
Components
Sprint
Fix versions
Priority
Time Assistant
Open Time Assistant
Time Assistant

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
Create template TC: https://openlmis.atlassian.net/browse/OLMIS-4696
View and edit templates TC: https://openlmis.atlassian.net/browse/OLMIS-4135
Update configuration guide