Releases: fivetran/dbt_quickbooks
v1.4.2 dbt_quickbooks
PR #199 includes the following updates:
Bug Fixes
- With variable configuration now available in Quickstart, the
quickbooks__home_currencyvariable from the v1.1.1-a2 pre-release is now available across all 13 intermediate double-entry transaction models to optimize multi-currency handling. When the variable is set, transactions in the designated home currency will not apply exchange rate conversions onconverted_amount, improving accuracy. When left empty, all transactions will see exchange rate conversions applied. (PR #197)- Updates the README with instructions for configuring the
quickbooks__home_currencyvariable.
- Updates the README with instructions for configuring the
- Applies fixes in
int_quickbooks__sales_receipt_double_entrymodel to correctly referencequickbooks__global_tax_account_referenceandquickbooks__sales_tax_account_referencevariables. (PR #197) - Introduces the
partition_by_source_relationmacro to conditionally includesource_relationin window function PARTITION BY clauses only when multiple sources are configured via thequickbooks_union_schemasandquickbooks_union_databasesvariables. This resolves partition by constant expression errors on Redshift. See the README on how to leverage these variables. (PR #198)
Under the Hood
- Changes default
quickbooks__home_currencyvalue to empty string for easier understanding within Quickstart UI. (PR #197)
Full Changelog: v1.4.1...v1.4.2
v1.4.2-a1 dbt_quickbooks
PR #197 is a pre-release that includes the following updates:
Bug Fixes
- With variable configuration now available on Quickstart, we can now introduce the
quickbooks__home_currencyvariable for full release from the v1.1.1-a2 pre-release across all 13 intermediate double-entry transaction models to optimize multicurrency handling. When set, transactions already set in their home currency will not apply exchange rate conversions onconverted_amount, improving accuracy. When left empty, all transactions will see exchange rate conversions applied.- Updates the README with instructions for configuring the
quickbooks__home_currencyvariable.
- Updates the README with instructions for configuring the
- Applies fixes in
int_quickbooks__sales_receipt_double_entrymodel to correctly referencequickbooks__global_tax_account_referenceandquickbooks__sales_tax_account_referencevariables.
Under the Hood
- Changes default
quickbooks__home_currencyvalue to empty string for easier understanding within Quickstart UI.
Full Changelog: v1.4.1...v1.4.2-a1
v1.4.1 dbt_quickbooks
PR #196 includes the following updates:
Schema/Data Change
1 total change • 0 possible breaking changes
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
quickbooks__general_ledger |
running_balance and running_converted_balance logic update |
Window function ordered by source_relation, transaction_date, account_id, class_id, transaction_id, transaction_index |
Window function now orders by transaction_date, transaction_id, transaction_index |
Removes redundant fields (source_relation, account_id, class_id) from ORDER BY clause as they are already in the PARTITION BY clause and do not affect ordering within each partition. These changes eliminate undeterministic behavior in the running balance calculations |
Under the Hood
Removes redundant source_relation field from ORDER BY clauses in window functions where this field was already included in the PARTITION BY clause for the following models:
int_quickbooks__bill_payment_double_entryint_quickbooks__credit_card_pymt_double_entryint_quickbooks__payment_double_entryint_quickbooks__transfer_double_entryint_quickbooks__general_ledger_balancesquickbooks__cash_flow_statement
Full Changelog: v1.4.0...v1.4.1
v1.4.1-a1 dbt_quickbooks
PR #196 includes the following updates:
Schema/Data Change
1 total change • 0 possible breaking changes
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
quickbooks__general_ledger |
running_balance and running_converted_balance logic update |
Window function ordered by source_relation, transaction_date, account_id, class_id, transaction_id, transaction_index |
Window function now orders by transaction_date, transaction_id, transaction_index |
Removes redundant fields (source_relation, account_id, class_id) from ORDER BY clause as they are already in the PARTITION BY clause and do not affect ordering within each partition. These changes eliminate undeterministic behavior in the running balance calculations |
Full Changelog: v1.4.0...v1.4.1-a1
v1.4.0 dbt_quickbooks
PR #195 includes the following updates:
Schema/Data Change
4 total changes • 1 possible breaking change
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
stg_quickbooks__bill |
Column rename | due_date_at |
due_date |
Corrects naming since the datatype is date |
quickbooks__expenses_sales_enhanced |
New columns | account_number, parent_account_number |
Adds account number fields for easier account identification and grouping | |
quickbooks__general_ledger |
New columns | period_first_day, period_last_day |
Adds monthly period fields for easier period-based reporting without requiring joins to GL by period model | |
(analysis) quickbooks__income_statement_analysis |
New columns | source_relation |
Adds multi-source support |
Under the Hood
- Updates
int_quickbooks__general_ledger_date_spinedate generation logic to prevent errors during compilation. - Renames
analysis/directory toanalyses/for consistency with dbt naming conventions. - Corrects misspelling of
payed_to_account_idtopaid_to_account_idwithinint_quickbooks__bill_double_entrymodel. Note this does not result in a schema change.
Full Changelog: v1.3.1...v1.4.0
v1.3.1 dbt_quickbooks
PR #194 include the following updates:
Under the Hood (Quickstart Update)
- Removes duplicative variables defined within the quickstart.yml.
Full Changelog: v1.3.0...v1.3.1
v1.3.0 dbt_quickbooks
PR #192 and PR #193 include the following updates:
Bug Fixes
- Fixed typo in
stg_quickbooks.ymlchangingtest:totests:for proper dbt syntax compliance.
Documentation
- Updates README with standardized Fivetran formatting.
- Updates DECISIONLOG to explicitly call out join logic that requires a single designated Accounts Payable and a single designated Accounts Receivable account per currency with a possible workaround using variable configuration.
- Updates README to reference the DECISIONLOG for additional details on configuring account type names to avoid potential data fanout issues.
Under the Hood
- Removed tax line table variables from
quickstart.ymlfor Quickstart customers to prevent potential configuration issues until tax lines are fully validated for Quickstart use. - In the
quickstart.ymlfile:- Adds
table_variablesfor relevant sources to prevent missing sources from blocking downstream Quickstart models. - Adds
supported_varsfor Quickstart UI customization.
- Adds
Full Changelog: v1.2.1...v1.3.0
v1.2.1 dbt_quickbooks
PR #187 includes the following updates:
Bug Fixes
- Fixes
int_quickbooks__purchase_double_entryby bringing in purchase tax line amounts and converted amounts for customers leveraging multicurrency. - Updates
int_quickbooks__invoice_double_entrywith join oncurrency_idfor Accounts Receivable accounts to prevent fanout for customers with multiple currencies.
Full Changelog: v1.2.0...v1.2.1
v1.2.0 dbt_quickbooks
PR #189 includes the following updates:
Features
- Increases the required dbt version upper limit to v3.0.0
Full Changelog: v1.1.0...v1.2.0
v1.1.1-a2 dbt_quickbooks
PR #188 is a pre-release that includes the following updates:
Bug Fixes
- Introduced the
quickbooks__home_currencyvariable to optimize multicurrency handling. When set transactions in the home currency will not apply exchange rate conversions, improving accuracy and performance. This variable is implemented across all 13 intermediate double-entry transaction models to ensure consistent multicurrency behavior throughout the package.
Full Changelog: v1.1.1-a1...v1.1.1-a2