Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt_netsuite v0.13.0 release #117

Merged
merged 56 commits into from
Apr 30, 2024
Merged

Conversation

Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
DECISIONLOG.md Outdated
For the sake of financial fidelity, we decided not to convert amounts that are non-posting because the exchange rates are subject to change. While that can provide additional value for customers looking to do financial forecasting, we do not want to create confusion by bringing in converted transactions that have amounts that are variable to change, and disrupt existing financial reporting processes.

For customers interested in creating future-facing `converted_amount` values, our recommendation would be to materialize the `intermediate` tables to grab the exchange rate data in your internal warehouse, then leverage the `transaction_amount` in these particular cases to produce the future `converted_amounts`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"our recommendation would be to materialize the intermediate tables"

Are these currently ephemeral by default and we are suggesting customers materialize them as tables or views? if so, i'd update this wording to be "our recommendation would be to materialize the intermediate models as views or tables (they are currently ephemeral by default)..."

or better yet, it could be good to provide the dbt_project.yml code snippet for how to do so ^

Copy link
Contributor Author

@fivetran-catfritz fivetran-catfritz Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-avinash Could you take a look at Jamie's comment since this is related to your PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fivetran-jamie! I agree with your suggestions.

@fivetran-catfritz

The code snippet they would want to update in the dbt_project.yml would be underneath models, so something like:

For customers interested in creating future-facing converted_amount values, our recommendation would be to materialize the intermediate tables to grab the exchange rate data in your internal warehouse, then leverage the transaction_amount in these particular cases to produce the future converted_amounts. You can update the models section of your dbt_project.yml to update the materialization.

    netsuite2:
      intermediate:
        +materialized: [table or view]

Should suffice to add in the DECISIONLOG.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

DECISIONLOG.md Outdated Show resolved Hide resolved
packages.yml Outdated
version: [">=0.9.0", "<0.10.0"]
# - package: fivetran/netsuite_source
# version: [">=0.10.0", "<0.11.0"]
- git: https://github.com/fivetran/dbt_netsuite_source.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminder to update before merging

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
Copy link
Contributor Author

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review @fivetran-jamie! Please see my updates.

DECISIONLOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
DECISIONLOG.md Outdated
For the sake of financial fidelity, we decided not to convert amounts that are non-posting because the exchange rates are subject to change. While that can provide additional value for customers looking to do financial forecasting, we do not want to create confusion by bringing in converted transactions that have amounts that are variable to change, and disrupt existing financial reporting processes.

For customers interested in creating future-facing `converted_amount` values, our recommendation would be to materialize the `intermediate` tables to grab the exchange rate data in your internal warehouse, then leverage the `transaction_amount` in these particular cases to produce the future `converted_amounts`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

DECISIONLOG.md Outdated Show resolved Hide resolved
@fivetran-catfritz fivetran-catfritz merged commit d16bb4a into main Apr 30, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Allow downstream filtering on transaction booleans in model netsuite2__transaction_details
5 participants