data-dwh-dbt-project/models/staging
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
..
athena change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
check_in_hero change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
core Merged PR 4423: Logic for Billable Bookings in New Dash Bookings 2025-02-17 15:01:44 +00:00
edeposit change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
hubspot change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
screen_and_protect change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
screening change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
stripe change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
xedotcom change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
xero change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00