Merged PR 4138: Adds Account Code Name in reporting
# Description Adds account code name in reporting for sales denom mart in xero # 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: #26618
This commit is contained in:
parent
ddc806583c
commit
437460065e
2 changed files with 7 additions and 1 deletions
|
|
@ -1380,3 +1380,8 @@ models:
|
|||
data_type: character varying
|
||||
description: |
|
||||
The default macro-aggregation for Financial reporting.
|
||||
|
||||
- name: account_code_name
|
||||
data_type: character varying
|
||||
description: |
|
||||
The code and name of the account separated by a "-".
|
||||
|
|
|
|||
|
|
@ -42,5 +42,6 @@ select
|
|||
sdm.contact_name as contact_name,
|
||||
sdm.accounting_root_aggregation as accounting_root_aggregation,
|
||||
sdm.accounting_kpis_aggregation as accounting_kpis_aggregation,
|
||||
sdm.accounting_financial_aggregation as accounting_financial_aggregation
|
||||
sdm.accounting_financial_aggregation as accounting_financial_aggregation,
|
||||
sdm.account_code || '-' || sdm.account_name as account_code_name
|
||||
from int_xero__sales_denom_mart sdm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue