data-dwh-dbt-project/models
Oriol Roqué Paniagua a3793121af Merged PR 4423: Logic for Billable Bookings in New Dash Bookings
# Description

Changes:
* Tags services to be billed (invoiced to host) in the staging models of product_service and protection_plan
* Propagates into booking_service_detail master table. This also computes billable dates.
* Propagates into booking_summary master table. This has the final determination of a booking being billable or not, and when the first and last billing should occur.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27619
2025-02-17 15:01:44 +00:00
..
intermediate Merged PR 4423: Logic for Billable Bookings in New Dash Bookings 2025-02-17 15:01:44 +00:00
reporting Fixed variable call and naming 2025-02-14 12:19:15 +01:00
staging Merged PR 4423: Logic for Billable Bookings in New Dash Bookings 2025-02-17 15:01:44 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00