Skip to content

Y26-107 - As a TL (Tom) I would like a billing_report_view_v2 to be created in the mlwh_reporting database using the latest billing query including stock plates information so that faculty can relate bills back to plates. #51

Description

@TWJW-SANGER

User story
As a TL (Tom), I would like a billing_report_view_v2 to be created in the mlwh_reporting database using the latest billing query, including stock plates information, so that faculty can relate bills back to plates.

Who are the primary contacts for this story
Tom W
Ivy T
Laura H
Rich R

Who is the nominated tester for UAT
We can test this ourselves.

Acceptance criteria
To be considered successful the solution must allow:

  • A new database view is created in UAT and PROD environments for mlwh_reporting called billing_report_view_v2 backed by the new SQL query here.
  • The query date range for the view should be set to the last 2 years at time of querying.
  • The new query should be committed in sample_tracking/views with the correct placeholders so that the changes can be applied using apply.py to the different environments as described in the README.md
  • The confluence page "Automated Billing Report" is updated to reference the new database view.

References
This story has a non-blocking relationship with:
sanger/General-Backlog-Items#686

Additional context
See the confluence page for details of the original billing query (without any stock plate column).
See this story for the development of the new billing query with the stock plate column sanger/General-Backlog-Items#686

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions