feature/exchange-gain-loss - #215
Conversation
fivetran-savage
left a comment
There was a problem hiding this comment.
Just one question about the changelog but nothing to hold off approval for a pre-release.
| | `quickbooks__general_ledger`<br>`quickbooks__general_ledger_by_period` | New records | — | Exchange gain/loss entries | | | ||
|
|
||
| ## Feature Update | ||
| - Adds realized exchange gain/loss entries to `int_quickbooks__bill_payment_double_entry` and `int_quickbooks__payment_double_entry` to capture the currency impact when a foreign currency transaction is settled at a different exchange rate than when it was originally recorded. Requires an `ExchangeGainOrLoss` account in QuickBooks to generate entries. |
There was a problem hiding this comment.
In the validation, it appears to be both an account_name value and an account_sub_type value. Do we need to call that out explicitly?
There was a problem hiding this comment.
Good question. It's the account_sub_type that is a pre-set list coming from Quickbook, and the name should follow, so yes I should clarify what field we're talking about here.
fivetran-joemarkiewicz
left a comment
There was a problem hiding this comment.
A few change requests before approval. Let me know if you have any questions.
|
|
||
| ## Feature Update | ||
| - Adds realized exchange gain/loss entries to `int_quickbooks__bill_payment_double_entry` and `int_quickbooks__payment_double_entry` to capture the currency impact when a foreign currency transaction is settled at a different exchange rate than when it was originally recorded. Requires an account with a subtype of `ExchangeGainOrLoss` in QuickBooks to generate entries. | ||
| - Adds the `using_exchange_gain_loss` variable (default `true`) to disable exchange gain/loss entry generation for users without multi-currency transactions or an Exchange Gain or Loss account. See the [README](https://github.com/fivetran/dbt_quickbooks/tree/main#disabling-exchange-gainloss-entries) for details. |
There was a problem hiding this comment.
Let's not set this a true by default to start. This is a major new accounting shift. While I agree this is necessary for users leveraging multi-currency and have an ExchangeGainOrLoss account, this may not be relevant for all users.
Let's set this as false by default and highlight the reason you would enable this and offer the configuration for those who need it or want to try it. We can plan to swap this to true in a future release once we have full confidence in it's behavior.
There was a problem hiding this comment.
Given this approach, we'll need to update the various files where we set this as true by default and where we document the default behavior.
fivetran-catfritz
left a comment
There was a problem hiding this comment.
@fivetran-joemarkiewicz Thank you! Made the udpates.
fivetran-joemarkiewicz
left a comment
There was a problem hiding this comment.
LGTM with a few change suggestions. Also, be sure to change the merge branch to be the release branch.
| ## Schema/Data Change | ||
| **2 total changes • 0 possible breaking changes** | ||
|
|
||
| | Data Model(s) | Change type | Old | New | Notes | | ||
| | ------------- | ----------- | --- | --- | ----- | | ||
| | `quickbooks__general_ledger`<br>`quickbooks__general_ledger_by_period` | New records | — | Exchange gain/loss entries | | |
There was a problem hiding this comment.
We should remove this since by default there's no schema/data change. The Feature Update section can highlight this.
Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
Updated the CHANGELOG to reflect changes in tax line models and potential breaking changes for users. Added details about enabling tax lines and configuration requirements.
Updated the CHANGELOG to reflect new features and updates regarding tax lines and exchange gain/loss entries.
* version bump * Feature/remaining tax lines (#212) * Feature re: remaining tax lines * Resolve outstanding issues * Testing tax lines * Schema * Take out tax line variable, will bring in later * Changelog, docs * Generate dbt docs via GitHub Actions * Fix compilation error * table/table doc additions --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Tax lines on Quickstart * Revert seeds to main; replace new tax-line seeds with actionable joined data Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Revert seeds * update seed col types * Validation test fixes * dbt_project.yml * Generate dbt docs via GitHub Actions * New source relation * Apply suggestions from code review Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> * PR changes * Apply suggestions from code review Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> * PR requests * float64 casting * Apply suggestions from code review Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com> * CHANGELOG * CHANGELOG * feature/exchange-gain-loss (#215) * feature/exchange-gain-loss * fixes * decisionlog * yml * Apply suggestion from @fivetran-catfritz * ad some aliases * convert to full * Generate dbt docs via GitHub Actions * update vars * update docs * Generate dbt docs via GitHub Actions * Apply suggestions from code review Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> * fix seed ids * fix seed dupes * put the seeds back * restore seeds again * restore seeds again * restore seeds again * update col seed types * Generate dbt docs via GitHub Actions * merge conflicts * Update CHANGELOG with tax line model changes Updated the CHANGELOG to reflect changes in tax line models and potential breaking changes for users. Added details about enabling tax lines and configuration requirements. * Update CHANGELOG.md * Revise CHANGELOG for new features and updates Updated the CHANGELOG to reflect new features and updates regarding tax lines and exchange gain/loss entries. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> * Generate dbt docs via GitHub Actions * Release final checks * Generate dbt docs via GitHub Actions * Changelog tweak * Generate dbt docs via GitHub Actions --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Catherine Fritz <111930712+fivetran-catfritz@users.noreply.github.com> Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com>
PR Overview
Package version introduced in this PR:
This PR addresses the following Issue/Feature(s):
Summary of changes:
int_quickbooks__bill_payment_double_entryandint_quickbooks__payment_double_entryto capture the currency impact when a foreign currency transaction is settled at a different exchange rate than when it was originally recorded. Requires anExchangeGainOrLossaccount in QuickBooks to generate entries.Submission Checklist
Changelog