Merged PR 4104: Refactor Invoiced Revenue from Account Code + New Revenue Streams
# Description Changes: * Major changes on int_kpis__metric_daily_invoiced_revenue. Now data is retrieved from the account codes, following the previous analysis. This actually reads from a work done on Accounting Codes, with the default aggregations set as a seed. I've also included here new revenue streams for new dash, and the split of guesty fees between resolutions and real API fees. However, New Dash services are still not visible as final metrics. I'll do this separately. * Propagation of changes in intermediate models. This will affect currently displayed metrics, but not show any new metric. Since this is quite dense, let's discuss. # 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: #26531
This commit is contained in:
parent
151bb46182
commit
d12a7233c9
7 changed files with 598 additions and 91 deletions
|
|
@ -17,7 +17,7 @@ account_code,root_aggregation,kpis_aggregation,financial_aggregation
|
|||
"216",Booking Fees,Invoiced Operator Revenue,Guest Screening and Protection
|
||||
"219",Athena API,Invoiced API Revenue,Guest Screening and Protection
|
||||
"220",E-Deposit API,Invoiced API Revenue,Guest Screening and Protection
|
||||
"221",Guesty Resolutions,Accounting Resolutions,Mediation and Resolution
|
||||
"221",Guesty Resolutions,Invoiced API Revenue,Mediation and Resolution
|
||||
"222",Check In Cover,Accounting Guest Revenue,Guest Products
|
||||
"227",Basic Protection,Invoiced Operator Revenue,Guest Screening and Protection
|
||||
"228",Waiver Pro,Invoiced Operator Revenue,Deposit Management
|
||||
|
|
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue