2 KiB
2 KiB
Credit Notes Downstream Analysis
Base Model
int_xero__credit_notes
Downstream Models
int_xero__credit_note_line_items- No aggregations
int_xero__sales_denom_mart- No aggregations
int_xero__sales_monthly_trends- Aggregated at accounting financial level, need to update seed model with Resolution account codes
xero__credit_note_line_items- No aggregations
xero__credit_notes- No aggregations
xero__net_fees- Double check on this, but it shouldn’t affect since it’s grouped by
item_codewhich is null for Host Resolution payments. Indeed this change doesn’t affect for the reason previously mentioned
- Double check on this, but it shouldn’t affect since it’s grouped by
xero__net_fees_by_deal- This model would be affected by it since it’s aggregating all invoices and credit notes regardless of the type they are by
dateandid_deal. - Possible solution would be to add a new field
is_resolution_payoutinxero__credit_notesand use this field to filter out all credit notes from Resolutions Payouts
- This model would be affected by it since it’s aggregating all invoices and credit notes regardless of the type they are by
xero__sales_denom_mart- No aggregations
xero__sales_monthly_trends- No aggregations
- We do need to include the new
account_codefor all Resolutions Payouts tostg_seed__accounting_aggregations
int_kpis__metric_daily_invoiced_revenue- It does add new records but with all dimension values as 0 since the model adds the values filtering be
accounting_root_aggregationoraccounting_kpis_aggregationset for the different account codes instg_seed__accounting_aggregationsThis already adds records with all dimension values as 0 for every other account code that is not instg_seed__accounting_aggregations
- It does add new records but with all dimension values as 0 since the model adds the values filtering be
int_kpis__metric_daily_total_and_retained_revenue- No impact since it aggregates by the different revenue sources
int_kpis__metric_monthly_invoiced_revenue- No impact since it aggregates by the different revenue sources
int_kpis__metric_mtd_invoiced_revenue- No impact since it aggregates by the different revenue sources
