From cf5eaac59356214e515775eb644eacc142a4b3fb Mon Sep 17 00:00:00 2001 From: Joaquin Date: Mon, 2 Jun 2025 15:59:34 +0200 Subject: [PATCH] Removed total --- models/intermediate/xero/int_xero__sales_denom_mart.sql | 2 -- models/intermediate/xero/schema.yml | 6 ------ models/reporting/xero/schema.yml | 6 ------ models/reporting/xero/xero__sales_denom_mart.sql | 1 - 4 files changed, 15 deletions(-) diff --git a/models/intermediate/xero/int_xero__sales_denom_mart.sql b/models/intermediate/xero/int_xero__sales_denom_mart.sql index 169b358..d3ba738 100644 --- a/models/intermediate/xero/int_xero__sales_denom_mart.sql +++ b/models/intermediate/xero/int_xero__sales_denom_mart.sql @@ -87,7 +87,6 @@ select i.total_tax_in_gbp as header_total_tax_in_gbp, i.total_due_local_curr as header_total_due_local_curr, i.total_due_in_gbp as header_total_due_in_gbp, - od.total_outstanding_in_gbp, od.outstanding_type as outstanding_type, c.id_contact as id_contact, @@ -164,7 +163,6 @@ select cn.total_tax_in_gbp * -1, cn.remaining_credit_local_curr * -1, cn.remaining_credit_in_gbp * -1, - od.total_outstanding_in_gbp, od.outstanding_type as outstanding_type, c.id_contact, diff --git a/models/intermediate/xero/schema.yml b/models/intermediate/xero/schema.yml index d37973b..306c65a 100644 --- a/models/intermediate/xero/schema.yml +++ b/models/intermediate/xero/schema.yml @@ -322,12 +322,6 @@ models: data_type: numeric description: "" - - name: total_outstanding_in_gbp - data_type: numeric - description: | - The total amount outstanding in GBP, which is the sum of all authorized documents - or due amounts for the deal account. This includes both invoices and credit notes. - - name: outstanding_type data_type: character varying description: | diff --git a/models/reporting/xero/schema.yml b/models/reporting/xero/schema.yml index 0f63582..02e8d23 100644 --- a/models/reporting/xero/schema.yml +++ b/models/reporting/xero/schema.yml @@ -1426,12 +1426,6 @@ models: data_type: numeric description: "" - - name: total_outstanding_in_gbp - data_type: numeric - description: | - The total amount outstanding in GBP, which is the sum of all authorized documents - or due amounts for the deal account. This includes both invoices and credit notes. - - name: outstanding_type data_type: character varying description: | diff --git a/models/reporting/xero/xero__sales_denom_mart.sql b/models/reporting/xero/xero__sales_denom_mart.sql index 35ab634..72273de 100644 --- a/models/reporting/xero/xero__sales_denom_mart.sql +++ b/models/reporting/xero/xero__sales_denom_mart.sql @@ -40,7 +40,6 @@ select sdm.header_total_tax_in_gbp as header_total_tax_in_gbp, sdm.header_total_due_local_curr as header_total_due_local_curr, sdm.header_total_due_in_gbp as header_total_due_in_gbp, - sdm.total_outstanding_in_gbp as total_outstanding_in_gbp, sdm.outstanding_type as outstanding_type, sdm.id_contact as id_contact, sdm.id_deal as id_deal,