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

Filter out deleted accounts #143

Merged
merged 6 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# dbt_quickbooks v0.16.0
[PR #143](https://github.com/fivetran/dbt_quickbooks/pull/143) introduces the following updates:

## Upstream Source Package Updates
- Deleted records have been previously been brought into the `dbt_quickbooks` package. To ensure accuracy in reporting, the following updates were made in the [v0.11.0 release](https://github.com/fivetran/dbt_quickbooks_source/releases/tag/v0.11.0) of `dbt_quickbooks_source`:
- We introduced the `_fivetran_deleted` field to filter out deleted records from the following staging models:
- `stg_quickbooks__account`
- `stg_quickbooks__bundle`
- `stg_quickbooks__customer`
- `stg_quickbooks__department`
- `stg_quickbooks__item`
- `stg_quickbooks__vendor`
Comment on lines +4 to +12
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add which end models could potentially be affected by this change? This would help customers check their data if they need to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's impacting all models haha, so just tweaked line 13.

- As this will filter out deleted records that were previously being counted and we are adding a new field to these staging models, this will be a breaking change here and in `dbt_quickbooks`.
- Because deleted records are now being removed from these staging tables that then flow into `dbt_quickbooks` reports, these are **breaking changes** for this package.

## Documentation update
- Added the `_fivetran_deleted` field to the above corresponding seed files in integration tests.

# dbt_quickbooks v0.15.0
[PR #142](https://github.com/fivetran/dbt_quickbooks/pull/142) introduces the following updates:

Expand Down
106 changes: 53 additions & 53 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2
name: 'quickbooks'

version: '0.15.0'
version: '0.16.0'

require-dbt-version: [">=1.3.0", "<2.0.0"]

Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions integration_tests/ci/sample.profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ integration_tests:
pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}"
dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}"
port: 5439
schema: quickbooks_integration_tests_15
schema: quickbooks_integration_tests_16
threads: 8
bigquery:
type: bigquery
method: service-account-json
project: 'dbt-package-testing'
schema: quickbooks_integration_tests_15
schema: quickbooks_integration_tests_16
threads: 8
keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}"
snowflake:
Expand All @@ -33,7 +33,7 @@ integration_tests:
role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}"
database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}"
warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}"
schema: quickbooks_integration_tests_15
schema: quickbooks_integration_tests_16
threads: 8
postgres:
type: postgres
Expand All @@ -42,13 +42,13 @@ integration_tests:
pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}"
dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}"
port: 5432
schema: quickbooks_integration_tests_15
schema: quickbooks_integration_tests_16
threads: 8
databricks:
catalog: "{{ env_var('CI_DATABRICKS_DBT_CATALOG') }}"
host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}"
http_path: "{{ env_var('CI_DATABRICKS_DBT_HTTP_PATH') }}"
schema: quickbooks_integration_tests_15
schema: quickbooks_integration_tests_16
threads: 8
token: "{{ env_var('CI_DATABRICKS_DBT_TOKEN') }}"
type: databricks
4 changes: 2 additions & 2 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'quickbooks_integration_tests'

version: '0.15.0'
version: '0.16.0'

profile: 'integration_tests'
config-version: 2
Expand All @@ -21,7 +21,7 @@ models:

vars:
quickbooks_source:
quickbooks_schema: quickbooks_integration_tests_15
quickbooks_schema: quickbooks_integration_tests_16
quickbooks_account_identifier: "account_data"
quickbooks_address_identifier: "address_data"
quickbooks_bill_line_identifier: "bill_line_data"
Expand Down
23 changes: 11 additions & 12 deletions integration_tests/seeds/account_data.csv
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
id,_fivetran_synced,account_number,account_sub_type,account_type,active,balance,balance_with_sub_accounts,classification,created_at,currency_id,description,fully_qualified_name,name,parent_account_id,sub_account,sync_token,tax_code_id,updated_at
52,2020-06-23 3:58:54,,d225490f65343b9016d6db95c0b146d8,Expense,TRUE,41493,41493,,2020-06-18 14:09:07,USD,,a8dd055b9b91809ca74ddb5a5f357173,9b3a3362b3b1b8055be9d27401cd1be9,51,TRUE,0,,2020-06-18 14:09:07
51,2020-06-23 3:58:54,,d225490f65343b9016d6db95c0b146d8,Expense,TRUE,45528,45528,,2020-06-18 14:08:47,USD,,82be779191266b6ef0597be0c7f60d6d,82be779191266b6ef0597be0c7f60d6d,,FALSE,0,,2020-06-18 14:09:07
40,2020-12-09 19:02:02,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,93234,93234,Asset,2020-06-05 16:30:39,USD,,dd6e03342a9e50cf278448f99e66d998,dd6e03342a9e50cf278448f99e66d998,,FALSE,0,,2020-12-09 19:01:03
39,2020-12-09 19:16:58,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,17735,17735,Asset,2020-05-28 13:09:16,USD,,6d69cd92d636a07b52a62b37e1f5201a,6d69cd92d636a07b52a62b37e1f5201a,,FALSE,1,,2020-12-09 19:02:26
28,2020-12-17 20:32:00,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,77166,77166,Asset,2020-04-30 17:27:58,USD,,ee791126ad0eff462e26b36f4a97fce0,ee791126ad0eff462e26b36f4a97fce0,,FALSE,2,,2020-12-17 20:17:44
54,2020-12-08 21:01:59,,195917574edc9b6bbeb5be9785b6a479,Bank,FALSE,23231,23231,Asset,2020-07-08 18:08:40,USD,,245178490d20e65c6626c6af75f62215,245178490d20e65c6626c6af75f62215,,FALSE,1,,2020-12-08 20:58:43
33,2020-06-23 3:58:54,,4d604dd8f008145471dc845683399189,Other Current Asset,TRUE,80922,80922,Asset,2020-04-30 17:29:35,USD,,07bd344f6acd4e8ed41ae67f8d8b4aee,07bd344f6acd4e8ed41ae67f8d8b4aee,,FALSE,0,,2020-04-30 17:29:35
34,2020-12-17 19:31:57,6674,263b6c4c47a488aab804c8b8c12b4f76,Bank,TRUE,83287,83287,Asset,2020-04-30 17:36:45,USD,,939ee17c7427610c55083b8623cde590,939ee17c7427610c55083b8623cde590,,FALSE,0,,2020-12-17 19:21:21
57,2020-12-02 15:31:58,,100fb8196b919896e083af2939bbffb2,Other Current Asset,TRUE,84550,84550,Asset,2020-07-13 19:15:58,USD,,5270c9c9f9382af307c28a838e89c57d,5270c9c9f9382af307c28a838e89c57d,,FALSE,0,,2020-12-02 15:19:27
60,2020-11-09 22:47:02,,9337c3fde59c076b0d3ba902fa18e4e8,Other Current Asset,TRUE,65627,65627,Asset,2020-11-09 22:33:35,USD,,4d41392cafa229d9dffd274c9bf6d278,4d41392cafa229d9dffd274c9bf6d278,,FALSE,0,,2020-11-09 22:33:35
75,2020-11-09 22:47:02,,DiscountsRefundsGiven,Discount,TRUE,6,6,,2020-11-09 22:33:35,USD,,4d41392cafa229d9dffd274c9bf6d278,4d41392cafa229d9dffd274c9bf6d278,,FALSE,0,,2020-11-09 22:33:35
id,_fivetran_synced,account_number,account_sub_type,account_type,active,balance,balance_with_sub_accounts,classification,created_at,currency_id,description,fully_qualified_name,name,parent_account_id,sub_account,sync_token,tax_code_id,updated_at,_fivetran_deleted
52,2020-06-23 3:58:54,,d225490f65343b9016d6db95c0b146d8,Expense,TRUE,41493,41493,,2020-06-18 14:09:07,USD,,a8dd055b9b91809ca74ddb5a5f357173,9b3a3362b3b1b8055be9d27401cd1be9,51,TRUE,0,,2020-06-18 14:09:07,FALSE
51,2020-06-23 3:58:54,,d225490f65343b9016d6db95c0b146d8,Expense,TRUE,45528,45528,,2020-06-18 14:08:47,USD,,82be779191266b6ef0597be0c7f60d6d,82be779191266b6ef0597be0c7f60d6d,,FALSE,0,,2020-06-18 14:09:07,FALSE
40,2020-12-09 19:02:02,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,93234,93234,Asset,2020-06-05 16:30:39,USD,,dd6e03342a9e50cf278448f99e66d998,dd6e03342a9e50cf278448f99e66d998,,FALSE,0,,2020-12-09 19:01:03,FALSE
39,2020-12-09 19:16:58,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,17735,17735,Asset,2020-05-28 13:09:16,USD,,6d69cd92d636a07b52a62b37e1f5201a,6d69cd92d636a07b52a62b37e1f5201a,,FALSE,1,,2020-12-09 19:02:26,FALSE
28,2020-12-17 20:32:00,,195917574edc9b6bbeb5be9785b6a479,Bank,TRUE,77166,77166,Asset,2020-04-30 17:27:58,USD,,ee791126ad0eff462e26b36f4a97fce0,ee791126ad0eff462e26b36f4a97fce0,,FALSE,2,,2020-12-17 20:17:44,FALSE
54,2020-12-08 21:01:59,,195917574edc9b6bbeb5be9785b6a479,Bank,FALSE,23231,23231,Asset,2020-07-08 18:08:40,USD,,245178490d20e65c6626c6af75f62215,245178490d20e65c6626c6af75f62215,,FALSE,1,,2020-12-08 20:58:43,FALSE
33,2020-06-23 3:58:54,,4d604dd8f008145471dc845683399189,Other Current Asset,TRUE,80922,80922,Asset,2020-04-30 17:29:35,USD,,07bd344f6acd4e8ed41ae67f8d8b4aee,07bd344f6acd4e8ed41ae67f8d8b4aee,,FALSE,0,,2020-04-30 17:29:35,FALSE
34,2020-12-17 19:31:57,6674,263b6c4c47a488aab804c8b8c12b4f76,Bank,TRUE,83287,83287,Asset,2020-04-30 17:36:45,USD,,939ee17c7427610c55083b8623cde590,939ee17c7427610c55083b8623cde590,,FALSE,0,,2020-12-17 19:21:21,FALSE
57,2020-12-02 15:31:58,,100fb8196b919896e083af2939bbffb2,Other Current Asset,TRUE,84550,84550,Asset,2020-07-13 19:15:58,USD,,5270c9c9f9382af307c28a838e89c57d,5270c9c9f9382af307c28a838e89c57d,,FALSE,0,,2020-12-02 15:19:27,FALSE
60,2020-11-09 22:47:02,,9337c3fde59c076b0d3ba902fa18e4e8,Other Current Asset,TRUE,65627,65627,Asset,2020-11-09 22:33:35,USD,,4d41392cafa229d9dffd274c9bf6d278,4d41392cafa229d9dffd274c9bf6d278,,FALSE,0,,2020-11-09 22:33:35,TRUE
22 changes: 11 additions & 11 deletions integration_tests/seeds/bundle_data.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
id,_fivetran_synced,active,created_at,description,fully_qualified_name,name,print_grouped_items,purchase_cost,sync_token,taxable,unit_price,updated_at
19,2020-04-07 2:01:57,FALSE,2018-06-13 18:11:46,f69f149c065f9ba26db109327236d5cf,ded3af31c45f3f147bd29c5712d26867,ded3af31c45f3f147bd29c5712d26867,TRUE,0,1,FALSE,0,2019-01-15 19:16:42
308,2020-10-06 21:15:35,FALSE,2020-10-05 18:12:56,,323c5927c3d020f010a685027d9953e6,323c5927c3d020f010a685027d9953e6,FALSE,0,2,FALSE,0,2020-10-06 20:51:43
149,2020-04-07 2:01:57,FALSE,2019-09-24 21:53:03,,6a35b856f545b3f10fe168733755db80,6a35b856f545b3f10fe168733755db80,FALSE,0,7,FALSE,0,2019-09-30 3:12:01
314,2020-10-06 19:16:08,TRUE,2020-10-05 18:21:41,,6d6314f5d29eb469be5607ab4dc43eb9,6d6314f5d29eb469be5607ab4dc43eb9,FALSE,0,1,FALSE,0,2020-10-06 18:46:23
311,2020-10-05 20:16:13,TRUE,2020-10-05 18:18:28,,03bbca4dc28a8e558eb6115b79ad4b45,03bbca4dc28a8e558eb6115b79ad4b45,FALSE,0,1,FALSE,0,2020-10-05 19:22:50
323,2020-10-05 20:16:13,TRUE,2020-10-05 18:34:02,,5884cbfcd93a0b9c97e91135c395e8fe,5884cbfcd93a0b9c97e91135c395e8fe,FALSE,0,1,FALSE,0,2020-10-05 19:18:55
296,2020-10-05 20:16:13,TRUE,2020-10-05 17:51:13,,15500c470b4f3ed71ab9fbdde2115ad4,15500c470b4f3ed71ab9fbdde2115ad4,FALSE,0,1,FALSE,0,2020-10-05 19:30:13
299,2020-10-05 20:16:13,TRUE,2020-10-05 17:59:13,,9fae5687972112018aaefea9c5334dc5,9fae5687972112018aaefea9c5334dc5,FALSE,0,1,FALSE,0,2020-10-05 19:29:03
320,2020-10-05 19:15:37,TRUE,2020-10-05 18:30:16,,d1e02e5b96bd4d756b2974d1075ffd00,d1e02e5b96bd4d756b2974d1075ffd00,FALSE,0,1,FALSE,0,2020-10-05 19:14:19
305,2020-10-05 20:16:13,TRUE,2020-10-05 18:10:06,,8154dbb4a94945236fed5a263f68ea8f,8154dbb4a94945236fed5a263f68ea8f,FALSE,0,1,FALSE,0,2020-10-05 19:26:36
id,_fivetran_synced,active,created_at,description,fully_qualified_name,name,print_grouped_items,purchase_cost,sync_token,taxable,unit_price,updated_at,_fivetran_deleted
19,2020-04-07 2:01:57,FALSE,2018-06-13 18:11:46,f69f149c065f9ba26db109327236d5cf,ded3af31c45f3f147bd29c5712d26867,ded3af31c45f3f147bd29c5712d26867,TRUE,0,1,FALSE,0,2019-01-15 19:16:42,FALSE
308,2020-10-06 21:15:35,FALSE,2020-10-05 18:12:56,,323c5927c3d020f010a685027d9953e6,323c5927c3d020f010a685027d9953e6,FALSE,0,2,FALSE,0,2020-10-06 20:51:43,FALSE
149,2020-04-07 2:01:57,FALSE,2019-09-24 21:53:03,,6a35b856f545b3f10fe168733755db80,6a35b856f545b3f10fe168733755db80,FALSE,0,7,FALSE,0,2019-09-30 3:12:01,FALSE
314,2020-10-06 19:16:08,TRUE,2020-10-05 18:21:41,,6d6314f5d29eb469be5607ab4dc43eb9,6d6314f5d29eb469be5607ab4dc43eb9,FALSE,0,1,FALSE,0,2020-10-06 18:46:23,FALSE
311,2020-10-05 20:16:13,TRUE,2020-10-05 18:18:28,,03bbca4dc28a8e558eb6115b79ad4b45,03bbca4dc28a8e558eb6115b79ad4b45,FALSE,0,1,FALSE,0,2020-10-05 19:22:50,FALSE
323,2020-10-05 20:16:13,TRUE,2020-10-05 18:34:02,,5884cbfcd93a0b9c97e91135c395e8fe,5884cbfcd93a0b9c97e91135c395e8fe,FALSE,0,1,FALSE,0,2020-10-05 19:18:55,FALSE
296,2020-10-05 20:16:13,TRUE,2020-10-05 17:51:13,,15500c470b4f3ed71ab9fbdde2115ad4,15500c470b4f3ed71ab9fbdde2115ad4,FALSE,0,1,FALSE,0,2020-10-05 19:30:13,FALSE
299,2020-10-05 20:16:13,TRUE,2020-10-05 17:59:13,,9fae5687972112018aaefea9c5334dc5,9fae5687972112018aaefea9c5334dc5,FALSE,0,1,FALSE,0,2020-10-05 19:29:03,FALSE
320,2020-10-05 19:15:37,TRUE,2020-10-05 18:30:16,,d1e02e5b96bd4d756b2974d1075ffd00,d1e02e5b96bd4d756b2974d1075ffd00,FALSE,0,1,FALSE,0,2020-10-05 19:14:19,FALSE
305,2020-10-05 20:16:13,TRUE,2020-10-05 18:10:06,,8154dbb4a94945236fed5a263f68ea8f,8154dbb4a94945236fed5a263f68ea8f,FALSE,0,1,FALSE,0,2020-10-05 19:26:36,TRUE
12 changes: 6 additions & 6 deletions integration_tests/seeds/customer_data.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id,_fivetran_synced,active,alternate_phone_number,ar_account_id,balance,balance_with_jobs,bill_address_id,bill_with_parent,company_name,created_at,currency_id,default_tax_code_id,display_name,email,family_name,fax_number,fully_qualified_name,given_name,job,level,middle_name,mobile_number,notes,open_balance_date,parent_customer_id,payment_method_id,phone_number,preferred_delivery_method,print_on_check_name,resale_number,sales_term_id,shipping_address_id,suffix,sync_token,tax_exemption_reason_id,taxable,title,updated_at,website
10,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-05-28 13:09:22,USD,,ce7566d1d08cc094b74cf283cf9c56a5,,,,ce7566d1d08cc094b74cf283cf9c56a5,,FALSE,,,,,,,,,None,ce7566d1d08cc094b74cf283cf9c56a5,,,,,0,,FALSE,,2020-05-28 13:09:22,
14,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-06-18 14:11:42,USD,,3e977179d3344861661c03c9e05b9c9a,,,,3e977179d3344861661c03c9e05b9c9a,,FALSE,,,,,,,,,None,3e977179d3344861661c03c9e05b9c9a,,,,,0,,FALSE,,2020-06-18 14:11:42,
17,2020-07-08 18:17:14,TRUE,,,0,0,,FALSE,,2020-07-08 18:08:43,USD,,56c544fdd8d49c60722aa65430f208df,,,,56c544fdd8d49c60722aa65430f208df,,FALSE,,,,,,,,,None,56c544fdd8d49c60722aa65430f208df,,,,,0,,FALSE,,2020-07-08 18:08:43,
13,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-06-18 14:11:37,USD,,d60433b278363da21329557992b65fef,,,,d60433b278363da21329557992b65fef,,FALSE,,,,,,,,,None,d60433b278363da21329557992b65fef,,,,,0,,FALSE,,2020-06-18 14:11:37,
19,2020-10-28 16:47:00,TRUE,,,0,0,,FALSE,213cf6f5ce08115d91586b22c0bf6dd7,2020-10-28 16:36:54,USD,,687886f59fa51b6b55d598f3c952c90e,1559d132be94aacd10a778abfb6ecd61,d41d8cd98f00b204e9800998ecf8427e,,687886f59fa51b6b55d598f3c952c90e,780c462e85ba4399a5d42e88f69a15ca,FALSE,,,,,,,,,None,687886f59fa51b6b55d598f3c952c90e,,,,,0,,TRUE,,2020-10-28 16:36:54,
id,_fivetran_synced,active,alternate_phone_number,ar_account_id,balance,balance_with_jobs,bill_address_id,bill_with_parent,company_name,created_at,currency_id,default_tax_code_id,display_name,email,family_name,fax_number,fully_qualified_name,given_name,job,level,middle_name,mobile_number,notes,open_balance_date,parent_customer_id,payment_method_id,phone_number,preferred_delivery_method,print_on_check_name,resale_number,sales_term_id,shipping_address_id,suffix,sync_token,tax_exemption_reason_id,taxable,title,updated_at,website,_fivetran_deleted
10,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-05-28 13:09:22,USD,,ce7566d1d08cc094b74cf283cf9c56a5,,,,ce7566d1d08cc094b74cf283cf9c56a5,,FALSE,,,,,,,,,None,ce7566d1d08cc094b74cf283cf9c56a5,,,,,0,,FALSE,,2020-05-28 13:09:22,,FALSE
14,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-06-18 14:11:42,USD,,3e977179d3344861661c03c9e05b9c9a,,,,3e977179d3344861661c03c9e05b9c9a,,FALSE,,,,,,,,,None,3e977179d3344861661c03c9e05b9c9a,,,,,0,,FALSE,,2020-06-18 14:11:42,,FALSE
17,2020-07-08 18:17:14,TRUE,,,0,0,,FALSE,,2020-07-08 18:08:43,USD,,56c544fdd8d49c60722aa65430f208df,,,,56c544fdd8d49c60722aa65430f208df,,FALSE,,,,,,,,,None,56c544fdd8d49c60722aa65430f208df,,,,,0,,FALSE,,2020-07-08 18:08:43,,FALSE
13,2020-06-23 3:58:55,TRUE,,,0,0,,FALSE,,2020-06-18 14:11:37,USD,,d60433b278363da21329557992b65fef,,,,d60433b278363da21329557992b65fef,,FALSE,,,,,,,,,None,d60433b278363da21329557992b65fef,,,,,0,,FALSE,,2020-06-18 14:11:37,,FALSE
19,2020-10-28 16:47:00,TRUE,,,0,0,,FALSE,213cf6f5ce08115d91586b22c0bf6dd7,2020-10-28 16:36:54,USD,,687886f59fa51b6b55d598f3c952c90e,1559d132be94aacd10a778abfb6ecd61,d41d8cd98f00b204e9800998ecf8427e,,687886f59fa51b6b55d598f3c952c90e,780c462e85ba4399a5d42e88f69a15ca,FALSE,,,,,,,,,None,687886f59fa51b6b55d598f3c952c90e,,,,,0,,TRUE,,2020-10-28 16:36:54,,TRUE
14 changes: 7 additions & 7 deletions integration_tests/seeds/department_data.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id,_fivetran_synced,active,created_at,fully_qualified_name,name,parent_department_id,sub_department,sync_token,updated_at
1,2020-01-15 0:02:28,TRUE,2018-06-13 19:11:32,456d0deba6a86c9585590550c797502d,456d0deba6a86c9585590550c797502d,,FALSE,0,2018-06-13 19:11:32
2,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:00,11cfee0d6391dcf2ef4d4242204230ec,11cfee0d6391dcf2ef4d4242204230ec,,FALSE,0,2018-06-13 19:29:00
3,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:30,7cb15e416d62919b1b40298324fbe30b,7cb15e416d62919b1b40298324fbe30b,,FALSE,0,2018-06-13 19:29:30
4,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:42,ab0268fb8036a892dc341945cb7ae3be,ab0268fb8036a892dc341945cb7ae3be,,FALSE,0,2018-06-13 19:29:42
5,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:56,11ff9f68afb6b8b5b8eda218d7c83a65,11ff9f68afb6b8b5b8eda218d7c83a65,,FALSE,0,2018-06-13 19:29:56
6,2020-01-15 0:02:28,FALSE,2018-06-13 19:30:07,4d4a1d25c4ccb3780cbf5c42a12b138b,4d4a1d25c4ccb3780cbf5c42a12b138b,,FALSE,1,2019-04-30 16:25:57
id,_fivetran_synced,active,created_at,fully_qualified_name,name,parent_department_id,sub_department,sync_token,updated_at,_fivetran_deleted
1,2020-01-15 0:02:28,TRUE,2018-06-13 19:11:32,456d0deba6a86c9585590550c797502d,456d0deba6a86c9585590550c797502d,,FALSE,0,2018-06-13 19:11:32,FALSE
2,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:00,11cfee0d6391dcf2ef4d4242204230ec,11cfee0d6391dcf2ef4d4242204230ec,,FALSE,0,2018-06-13 19:29:00,FALSE
3,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:30,7cb15e416d62919b1b40298324fbe30b,7cb15e416d62919b1b40298324fbe30b,,FALSE,0,2018-06-13 19:29:30,FALSE
4,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:42,ab0268fb8036a892dc341945cb7ae3be,ab0268fb8036a892dc341945cb7ae3be,,FALSE,0,2018-06-13 19:29:42,FALSE
5,2020-01-15 0:02:28,TRUE,2018-06-13 19:29:56,11ff9f68afb6b8b5b8eda218d7c83a65,11ff9f68afb6b8b5b8eda218d7c83a65,,FALSE,0,2018-06-13 19:29:56,FALSE
6,2020-01-15 0:02:28,FALSE,2018-06-13 19:30:07,4d4a1d25c4ccb3780cbf5c42a12b138b,4d4a1d25c4ccb3780cbf5c42a12b138b,,FALSE,1,2019-04-30 16:25:57,TRUE
8 changes: 4 additions & 4 deletions integration_tests/seeds/item_data.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,_fivetran_synced,active,asset_account_id,created_at,description,expense_account_id,fully_qualified_name,income_account_id,inventory_start_date,level,name,parent_item_id,purchase_cost,purchase_description,purchase_tax_code_id,purchase_tax_included,quantity_on_hand,sales_tax_code_id,sales_tax_included,stock_keeping_unit,sub_item,sync_token,taxable,track_quantity_on_hand,type,unit_price,updated_at
2,2020-06-23 3:58:55,TRUE,,2020-03-25 19:24:41,,,6a7e73161603d87b26a8eac49dab0a9c,22,,,6a7e73161603d87b26a8eac49dab0a9c,,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-03-25 19:24:41
1,2020-06-23 3:58:55,TRUE,,2020-03-25 19:24:41,,,11ff9f68afb6b8b5b8eda218d7c83a65,22,,,11ff9f68afb6b8b5b8eda218d7c83a65,,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-03-25 19:24:41
3,2020-07-08 18:17:14,TRUE,,2020-07-08 18:08:45,,,1c24051547edf65b7d7658ddf8e97e38,25,,,1c24051547edf65b7d7658ddf8e97e38,3,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-07-08 18:08:45
id,_fivetran_synced,active,asset_account_id,created_at,description,expense_account_id,fully_qualified_name,income_account_id,inventory_start_date,level,name,parent_item_id,purchase_cost,purchase_description,purchase_tax_code_id,purchase_tax_included,quantity_on_hand,sales_tax_code_id,sales_tax_included,stock_keeping_unit,sub_item,sync_token,taxable,track_quantity_on_hand,type,unit_price,updated_at,_fivetran_deleted
2,2020-06-23 3:58:55,TRUE,,2020-03-25 19:24:41,,,6a7e73161603d87b26a8eac49dab0a9c,22,,,6a7e73161603d87b26a8eac49dab0a9c,,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-03-25 19:24:41,FALSE
1,2020-06-23 3:58:55,TRUE,,2020-03-25 19:24:41,,,11ff9f68afb6b8b5b8eda218d7c83a65,22,,,11ff9f68afb6b8b5b8eda218d7c83a65,,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-03-25 19:24:41,FALSE
3,2020-07-08 18:17:14,TRUE,,2020-07-08 18:08:45,,,1c24051547edf65b7d7658ddf8e97e38,25,,,1c24051547edf65b7d7658ddf8e97e38,,0,,,,,,,,,0,FALSE,FALSE,92581ed3a1ac6dec57db359c3de94bb0,0,2020-07-08 18:08:45,TRUE
Loading