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

Add employees model, fix timestamps, and add common fields #53

Closed
wants to merge 28 commits into from

Conversation

jmongerlyra
Copy link
Contributor

@jmongerlyra jmongerlyra commented Aug 16, 2024

Please provide your name and company
Lyra Health

Link the issue/feature request which this PR is meant to address

Detail what changes this PR introduces and how this addresses the issue/feature request linked above.
This PR addresses the following issues.

  • Adds employees model to support inclusion of fields like "Name", "Supervisor", in downstream models.
  • CAST specific timestamp fields as date where the Netsuite UI does not perform timezone conversion. These are currently stored as timestamp with the time set to midnight UTC. Keeping these fields as timestamp causes issues in reporting tools that perform automatic timezone conversion.
  • Adds additional commonly used fields to accounts, subsidiaries, transaction_lines, transactions, transaction_accounting_lines, customers, and vendors models.

How did you validate the changes introduced within this PR?
Lyra maintains a fork of this repository. These changes were tested and validated there.

Which warehouse did you use to develop these changes?
Snowflake

Did you update the CHANGELOG?

  • Yes

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

  • Yes

Feedback

We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

PR Template

jmongerlyra and others added 28 commits October 19, 2023 13:55
Add extra fields for intercompany reconciliation.
…ran#8)

* Align sspecacct with upstream

* Add currency_id to stg_netsuite2__subsidiaries

* Fix currency_id

* Update get_subsidiaries_columns.sql

* Add type_based_document_number
addressing issues from "Merge upstream/v0.13.0"
fivetran#35
For timestamp fields not converted by the NetSuite UI, cast as date
@jmongerlyra jmongerlyra changed the title Lyra Add employees model, fix timestamps, and add common fields Aug 17, 2024
@jmongerlyra
Copy link
Contributor Author

Submitted a new PR w/ commits squashed.

@jmongerlyra jmongerlyra deleted the lyra branch August 18, 2024 11:40
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.

2 participants