Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

base variable standardization #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ models:
"base.bills_line" : "quickbooks.quickbooks_bills__line"
"base.billpayments" : "quickbooks.quickbooks_billpayments"
"base.billpayments_line" : "quickbooks.quickbooks_billpayments__line"
"base.billpayments_line__linkedtxn" : "quickbooks.quickbooks_billpayments__line__linkedtxn"
"base.billpayments_line_linkedtxn" : "quickbooks.quickbooks_billpayments__line__linkedtxn"
"base.bills" : "quickbooks.quickbooks_bills"
"base.classes" : "quickbooks.quickbooks_classes"
"base.customers" : "quickbooks.quickbooks_customers"
"base.deposits_line" : "quickbooks.quickbooks_deposits__line"
"base.deposits_line_linkedtxn" : "quickbooks.quickbooks_deposits__line__linkedtxn"
"base.deposits" : "quickbooks.quickbooks_deposits"
"base.invoices_lines" : "quickbooks.quickbooks_invoices__line"
"base.invoices_line" : "quickbooks.quickbooks_invoices__line"
"base.invoices" : "quickbooks.quickbooks_invoices"
"base.items" : "quickbooks.quickbooks_items"
"base.journal_entries" : "quickbooks.quickbooks_journalentries"
Expand Down
2 changes: 1 addition & 1 deletion models/base/quickbooks_billpayment_lines.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ with lines as (
select *,
{{ var('source_key_id_field') }}::int as bill_payment_id,
{{ var('level_0_id_field') }}::int as _id
from {{ var('base.billpayments_line__linkedtxn') }}
from {{ var('base.billpayments_line_linkedtxn') }}

)

Expand Down
2 changes: 1 addition & 1 deletion models/base/quickbooks_invoice_lines.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ select
nullif(salesitemlinedetail__classref__value::varchar, '')::bigint as class_id,
salesitemlinedetail__itemref__value::int as item_id
from
{{ var('base.invoices_lines') }}
{{ var('base.invoices_line') }}
where
detailtype = 'SalesItemLineDetail'