This package models NetSuite SuiteAnalytics data from Fivetran's connector. It uses data in the format described by this ERD.
This dbt package:
- Recreates both the balance sheet and income statement
- Recreates commonly used data by using the transaction lines as the base table and joining other data
- A Fivetran NetSuite Analytics connector, with the following tables synced:
- accounts
- accounting_periods
- accounting_books
- consolidated_exchange_rates
- currencies
- customers
- classes
- departments
- expense_accounts
- income_accounts
- items
- locations
- partners
- transaction_lines
- transactions
- subsidiaries
- vendors
-
Include this package in your
packages.yml
- check our installation guide for installation instructions. -
Check the location of your NetSuite data — if it is in a schema named
netsuite
and in the same database as your target database, no further modification is required. If it is in a different database or schema:- Copy the
src_netsuite.yml
file into your own project. - Uncomment the
schema
and thedatabase
configurations, updating the values for your own data source.¹
- Copy the
-
Execute
dbt run
– the NetSuite models will get built as part of your run! -
Execute
dbt test
— these models include tests to check the output of the models.
These package can be used on Snowflake, BigQuery, and Redshift.
Additional contributions to this package are very welcome! Please create issues
or open PRs against master
. Check out
this post
on the best workflow for contributing to a package.
All contributions must be widely relevant to NetSuite customers and not contain logic specific to a given business.
- Provide feedback on our existing dbt packages or what you'd like to see next
- Learn more about Fivetran in the Fivetran docs
- Check out Fivetran's blog
- Learn more about dbt in the dbt docs
- Check out Discourse for commonly asked questions and answers
- Join the chat on Slack for live discussions and support
- Find dbt events near you
- Check out the dbt blog for the latest news on dbt's development and best practices