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

apply data types for dates #51

Merged
merged 21 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# dbt_quickbooks_source v0.10.0

## 🚨 Breaking Change 🚨 :
[PR #51](https://github.com/fivetran/dbt_quickbooks_source/pull/51) includes the following updates:
## 🚘 Under the Hood
- Explicitly casts *_date fields as `date` type (`due_date`, `transaction_date`). Previously, some fields were getting interpreted as timestamps while some were interpreted as dates, leading to errors on downstream joins.
- Updated seed files to correct timestamp formats.

This will be a breaking change to those whose source tables still use the old timestamp formats, so please update your package version accordingly.

# dbt_quickbooks_source v0.9.1
[PR #49](https://github.com/fivetran/dbt_quickbooks_source/pull/49) includes the following updates:
## 🎉 Features
Expand Down
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_source'

version: '0.9.1'
version: '0.10.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.

6 changes: 3 additions & 3 deletions docs/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'quickbooks_source_integration_tests'
version: '0.9.1'
version: '0.10.0'


profile: 'integration_tests'
Expand Down Expand Up @@ -61,12 +61,14 @@ vars:
seeds:
quickbooks_source_integration_tests:
+quote_columns: "{{ true if target.type == 'redshift' else false }}"

+column_types:
fivetran-avinash marked this conversation as resolved.
Show resolved Hide resolved
transaction_date: date
due_date: date
clean-targets:
- target
- dbt_modules
- dbt_packages

dispatch:
- macro_namespace: dbt_utils
search_order: ['spark_utils', 'dbt_utils']
search_order: ['spark_utils', 'dbt_utils']
2 changes: 1 addition & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dbt-snowflake>=1.3.0,<2.0.0
dbt-bigquery>=1.3.0,<2.0.0
dbt-redshift>=1.3.0,<1.5.0
dbt-redshift>=1.3.0,<2.0.0
dbt-postgres>=1.3.0,<2.0.0
dbt-spark>=1.3.0,<2.0.0
dbt-spark[PyHive]>=1.3.0,<2.0.0
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/seeds/bill_payment_line_data.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bill_payment_id,index,_fivetran_synced,amount,bill_id,check_id,credit_card_charge_id,credit_card_credit_id,deposit_id,expense_id,journal_entry_id,linked_bill_payment_id,vendor_credit_id,bill_payment_credit_card_id
23,0,2020-05-20 14:03:30,38757,19.25,,,,,,,,,
23,0,2020-05-20 14:03:30,38757,19,,,,,,,,,
135,0,2020-11-01 16:02:01,79137,124,,,,,,,,,
90,0,2020-09-01 16:02:12,74592,89,,,,,,,,,
276,0,2020-12-01 16:02:03,88155,268,,,,,,,,,
Expand Down
22 changes: 11 additions & 11 deletions integration_tests/seeds/credit_memo_data.csv
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
id,_fivetran_deleted,_fivetran_synced,apply_tax_after_discount,balance,bill_email,billing_address_id,class_id,created_at,currency_id,custom_p_o_number,customer_id,customer_memo,department_id,doc_number,email_status,exchange_rate,global_tax_calculation,home_balance,home_total_amount,payment_method_id,print_status,private_note,remaining_credit,sales_term_id,shipping_address_id,sync_token,total_amount,total_tax,transaction_date,updated_at
2702,FALSE,2020-01-15 0:03:02,FALSE,0,,4,,2018-08-10 19:27:15,USD,,4,05393ead5d6967d305712273b22a7ad4,1,135,NotSet,,,,,,NeedToPrint,,0,,4,1,89051,0,2017-11-13 0:00:00,2018-08-10 19:27:27
2708,FALSE,2020-01-15 0:03:02,FALSE,0,025eabf1dc2d7418902f24bcf4f8b995,12,,2018-08-10 19:34:00,USD,,21,05393ead5d6967d305712273b22a7ad4,1,139,NotSet,,,,,,NeedToPrint,,0,,12,1,56181,0,2017-11-21 0:00:00,2018-08-10 19:34:11
2916,FALSE,2020-01-15 0:03:02,FALSE,0,,151,,2018-08-24 20:17:21,USD,,668,,1,205,NotSet,,,,,,NeedToPrint,,0,,151,1,47580,0,2018-08-24 0:00:00,2018-08-24 20:17:57
2919,FALSE,2020-01-15 0:03:02,FALSE,0,,3890,,2018-08-24 20:22:00,USD,,600,,1,206,NotSet,,,,,,NeedToPrint,,0,,4098,1,98033,0,2018-08-13 0:00:00,2018-08-24 20:22:25
2921,FALSE,2020-01-15 0:03:02,FALSE,0,,132,,2018-08-24 20:23:55,USD,,594,,1,207,NotSet,,,,,,NeedToPrint,,0,,132,1,67480,0,2018-08-14 0:00:00,2018-08-28 19:57:56
2924,FALSE,2020-01-15 0:03:02,FALSE,0,,3890,,2018-08-24 20:48:50,USD,,600,,1,208,NotSet,,,,,,NeedToPrint,,0,,4098,1,80865,0,2018-07-26 0:00:00,2018-08-24 20:49:05
2984,FALSE,2020-01-15 0:03:02,FALSE,0,,4003,,2018-08-29 16:45:04,USD,,599,,1,211,NotSet,,,,,,NeedToPrint,,0,,4259,2,3591,0,2018-07-25 0:00:00,2018-10-29 14:54:47
2986,FALSE,2020-01-15 0:03:02,FALSE,0,,4003,,2018-08-29 16:46:08,USD,,599,,1,212,NotSet,,,,,,NeedToPrint,,0,,4259,1,60522,0,2018-08-13 0:00:00,2018-08-29 16:46:19
3072,FALSE,2020-01-15 0:03:02,FALSE,0,,155,,2018-08-31 17:52:46,USD,,672,,1,214,NotSet,,,,,,NeedToPrint,,0,,557,1,17649,0,2018-08-28 0:00:00,2018-08-31 17:53:41
3089,FALSE,2020-01-15 0:03:02,FALSE,0,d41d8cd98f00b204e9800998ecf8427e,154,,2018-09-06 14:47:55,USD,,671,,1,215,NotSet,,,,,,NeedToPrint,,0,,154,1,16638,0,2018-07-20 0:00:00,2018-09-06 14:48:27
3093,FALSE,2020-01-15 0:03:02,FALSE,0,,131,,2018-09-06 17:14:05,USD,,593,,1,216,NotSet,,,,,,NeedToPrint,,0,,131,1,84675,0,2018-08-28 0:00:00,2018-09-06 17:14:34
2702,FALSE,2020-01-15 0:03:02,FALSE,0,,4,,2018-08-10 19:27:15,USD,,4,05393ead5d6967d305712273b22a7ad4,1,135,NotSet,,,,,,NeedToPrint,,0,,4,1,89051,0,2017-11-13,2018-08-10 19:27:27
2708,FALSE,2020-01-15 0:03:02,FALSE,0,025eabf1dc2d7418902f24bcf4f8b995,12,,2018-08-10 19:34:00,USD,,21,05393ead5d6967d305712273b22a7ad4,1,139,NotSet,,,,,,NeedToPrint,,0,,12,1,56181,0,2017-11-21,2018-08-10 19:34:11
2916,FALSE,2020-01-15 0:03:02,FALSE,0,,151,,2018-08-24 20:17:21,USD,,668,,1,205,NotSet,,,,,,NeedToPrint,,0,,151,1,47580,0,2018-08-24,2018-08-24 20:17:57
2919,FALSE,2020-01-15 0:03:02,FALSE,0,,3890,,2018-08-24 20:22:00,USD,,600,,1,206,NotSet,,,,,,NeedToPrint,,0,,4098,1,98033,0,2018-08-13,2018-08-24 20:22:25
2921,FALSE,2020-01-15 0:03:02,FALSE,0,,132,,2018-08-24 20:23:55,USD,,594,,1,207,NotSet,,,,,,NeedToPrint,,0,,132,1,67480,0,2018-08-14,2018-08-28 19:57:56
2924,FALSE,2020-01-15 0:03:02,FALSE,0,,3890,,2018-08-24 20:48:50,USD,,600,,1,208,NotSet,,,,,,NeedToPrint,,0,,4098,1,80865,0,2018-07-26,2018-08-24 20:49:05
2984,FALSE,2020-01-15 0:03:02,FALSE,0,,4003,,2018-08-29 16:45:04,USD,,599,,1,211,NotSet,,,,,,NeedToPrint,,0,,4259,2,3591,0,2018-07-25,2018-10-29 14:54:47
2986,FALSE,2020-01-15 0:03:02,FALSE,0,,4003,,2018-08-29 16:46:08,USD,,599,,1,212,NotSet,,,,,,NeedToPrint,,0,,4259,1,60522,0,2018-08-13,2018-08-29 16:46:19
3072,FALSE,2020-01-15 0:03:02,FALSE,0,,155,,2018-08-31 17:52:46,USD,,672,,1,214,NotSet,,,,,,NeedToPrint,,0,,557,1,17649,0,2018-08-28,2018-08-31 17:53:41
3089,FALSE,2020-01-15 0:03:02,FALSE,0,d41d8cd98f00b204e9800998ecf8427e,154,,2018-09-06 14:47:55,USD,,671,,1,215,NotSet,,,,,,NeedToPrint,,0,,154,1,16638,0,2018-07-20,2018-09-06 14:48:27
3093,FALSE,2020-01-15 0:03:02,FALSE,0,,131,,2018-09-06 17:14:05,USD,,593,,1,216,NotSet,,,,,,NeedToPrint,,0,,131,1,84675,0,2018-08-28,2018-09-06 17:14:34
20 changes: 10 additions & 10 deletions integration_tests/seeds/estimate_data.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
id,_fivetran_deleted,_fivetran_synced,accepted_by,accepted_date,apply_tax_after_discount,bill_email,billing_address_id,class_id,created_at,currency_id,custom_p_o_number,custom_sales_rep,customer_id,customer_memo,delivery_type,department_id,doc_number,due_date,email_status,exchange_rate,expiration_date,global_tax_calculation,home_total_amount,print_status,private_note,sales_term_id,ship_date,shipping_address_id,sync_token,tax_code_id,total_amount,total_tax,transaction_date,transaction_status,updated_at
40085,FALSE,2021-01-19 0:16:33,,,FALSE,,7161,,2021-01-18 23:34:30,USD,,,4953,6daa548b66caa8322851e9ac8fdbe270,,,2552,,NotSet,,,,,NeedToPrint,,,,7162,1,,29690,0,2021-01-18 0:00:00,Accepted,2021-01-18 23:35:13
40087,FALSE,2021-01-19 0:16:33,,,FALSE,,7512,,2021-01-18 23:54:01,USD,,,5073,6daa548b66caa8322851e9ac8fdbe270,,,2553,,NotSet,,,,,NeedToPrint,,,,7513,1,,77282,0,2021-01-18 0:00:00,Accepted,2021-01-18 23:54:24
40079,FALSE,2021-01-18 23:16:15,,,FALSE,,7617,,2021-01-18 23:09:42,USD,,,5121,6daa548b66caa8322851e9ac8fdbe270,,,2549,,NotSet,,,,,NeedToPrint,,,,7618,1,,26564,0,2021-01-18 0:00:00,Accepted,2021-01-18 23:10:33
40091,FALSE,2021-01-19 0:16:33,,,FALSE,,6923,,2021-01-19 0:11:28,USD,,,4895,6daa548b66caa8322851e9ac8fdbe270,,,2555,,NotSet,,,,,NeedToPrint,,,,6924,1,,34363.5,0,2021-01-18 0:00:00,Accepted,2021-01-19 0:11:49
40083,FALSE,2021-01-19 0:16:33,,,FALSE,,6131,,2021-01-18 23:22:28,USD,,,4547,6daa548b66caa8322851e9ac8fdbe270,,,2551,,NotSet,,,,,NeedToPrint,,,,6132,1,,32645,0,2021-01-18 0:00:00,Accepted,2021-01-18 23:23:19
40081,FALSE,2021-01-19 0:16:33,,,FALSE,,7740,,2021-01-18 23:15:52,USD,,,4132,6daa548b66caa8322851e9ac8fdbe270,,,2550,,NotSet,,,,,NeedToPrint,,,,5150,1,,28760,0,2021-01-18 0:00:00,Accepted,2021-01-18 23:16:15
40089,FALSE,2021-01-19 0:16:33,,,FALSE,bc5b17e4502ad6537ccdcf066e03bda7,2825,,2021-01-19 0:05:10,USD,,,3226,6daa548b66caa8322851e9ac8fdbe270,,,2554,,NotSet,,,,,NeedToPrint,,,,2826,1,,49442,0,2021-01-18 0:00:00,Accepted,2021-01-19 0:05:37
40095,FALSE,2021-01-19 1:18:11,,,FALSE,,6913,,2021-01-19 0:43:48,USD,,,4892,6daa548b66caa8322851e9ac8fdbe270,,,2557,,NotSet,,,,,NeedToPrint,,,,6914,1,,27832,0,2021-01-18 0:00:00,Accepted,2021-01-19 0:44:50
40093,FALSE,2021-01-19 1:18:11,,,FALSE,,6106,,2021-01-19 0:24:12,USD,,,4536,6daa548b66caa8322851e9ac8fdbe270,,,2556,,NotSet,,,,,NeedToPrint,,,,6107,1,,56661.5,0,2021-01-18 0:00:00,Accepted,2021-01-19 0:30:18
40112,FALSE,2021-01-19 21:16:21,,,FALSE,,6594,,2021-01-19 20:49:07,USD,,,4783,6daa548b66caa8322851e9ac8fdbe270,,,2558,,NotSet,,,,,NeedToPrint,,,,6595,1,,56321,0,2021-01-19 0:00:00,Accepted,2021-01-19 20:51:03
40085,FALSE,2021-01-19 0:16:33,,,FALSE,,7161,,2021-01-18 23:34:30,USD,,,4953,6daa548b66caa8322851e9ac8fdbe270,,,2552,,NotSet,,,,,NeedToPrint,,,,7162,1,,29690,0,2021-01-18,Accepted,2021-01-18 23:35:13
40087,FALSE,2021-01-19 0:16:33,,,FALSE,,7512,,2021-01-18 23:54:01,USD,,,5073,6daa548b66caa8322851e9ac8fdbe270,,,2553,,NotSet,,,,,NeedToPrint,,,,7513,1,,77282,0,2021-01-18,Accepted,2021-01-18 23:54:24
40079,FALSE,2021-01-18 23:16:15,,,FALSE,,7617,,2021-01-18 23:09:42,USD,,,5121,6daa548b66caa8322851e9ac8fdbe270,,,2549,,NotSet,,,,,NeedToPrint,,,,7618,1,,26564,0,2021-01-18,Accepted,2021-01-18 23:10:33
40091,FALSE,2021-01-19 0:16:33,,,FALSE,,6923,,2021-01-19 0:11:28,USD,,,4895,6daa548b66caa8322851e9ac8fdbe270,,,2555,,NotSet,,,,,NeedToPrint,,,,6924,1,,34363.5,0,2021-01-18,Accepted,2021-01-19 0:11:49
40083,FALSE,2021-01-19 0:16:33,,,FALSE,,6131,,2021-01-18 23:22:28,USD,,,4547,6daa548b66caa8322851e9ac8fdbe270,,,2551,,NotSet,,,,,NeedToPrint,,,,6132,1,,32645,0,2021-01-18,Accepted,2021-01-18 23:23:19
40081,FALSE,2021-01-19 0:16:33,,,FALSE,,7740,,2021-01-18 23:15:52,USD,,,4132,6daa548b66caa8322851e9ac8fdbe270,,,2550,,NotSet,,,,,NeedToPrint,,,,5150,1,,28760,0,2021-01-18,Accepted,2021-01-18 23:16:15
40089,FALSE,2021-01-19 0:16:33,,,FALSE,bc5b17e4502ad6537ccdcf066e03bda7,2825,,2021-01-19 0:05:10,USD,,,3226,6daa548b66caa8322851e9ac8fdbe270,,,2554,,NotSet,,,,,NeedToPrint,,,,2826,1,,49442,0,2021-01-18,Accepted,2021-01-19 0:05:37
40095,FALSE,2021-01-19 1:18:11,,,FALSE,,6913,,2021-01-19 0:43:48,USD,,,4892,6daa548b66caa8322851e9ac8fdbe270,,,2557,,NotSet,,,,,NeedToPrint,,,,6914,1,,27832,0,2021-01-18,Accepted,2021-01-19 0:44:50
40093,FALSE,2021-01-19 1:18:11,,,FALSE,,6106,,2021-01-19 0:24:12,USD,,,4536,6daa548b66caa8322851e9ac8fdbe270,,,2556,,NotSet,,,,,NeedToPrint,,,,6107,1,,56661.5,0,2021-01-18,Accepted,2021-01-19 0:30:18
40112,FALSE,2021-01-19 21:16:21,,,FALSE,,6594,,2021-01-19 20:49:07,USD,,,4783,6daa548b66caa8322851e9ac8fdbe270,,,2558,,NotSet,,,,,NeedToPrint,,,,6595,1,,56321,0,2021-01-19,Accepted,2021-01-19 20:51:03
16 changes: 8 additions & 8 deletions integration_tests/seeds/invoice_data.csv
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
id,_fivetran_deleted,_fivetran_synced,allow_ipnpayment,allow_online_achpayment,allow_online_credit_card_payment,allow_online_payment,apply_tax_after_discount,balance,billing_address_id,billing_bcc_email,billing_cc_email,billing_email,class_id,created_at,currency_id,custom_p_o_number,custom_sales_rep,customer_id,customer_memo,delivery_time,delivery_type,department_id,deposit,deposit_to_account_id,doc_number,due_date,email_status,exchange_rate,global_tax_calculation,home_balance,home_total_amount,print_status,private_note,sales_term_id,ship_date,shipping_address_id,sync_token,tax_code_id,total_amount,total_tax,tracking_number,transaction_date,transaction_source,updated_at
40113,FALSE,2021-01-19 22:16:19,FALSE,TRUE,TRUE,FALSE,FALSE,55650,6594,b9c5e50ca61c38e84166419f9dce62c9,,3705902ea0f445f94349c7a577eac53b,,2021-01-19 20:51:02,USD,,,4783,,2021-01-19 0:00:00,Email,,,,2021011355,2021-02-03 0:00:00,EmailSent,,,,,NeedToPrint,,6,,6595,1,,565214,0,,2021-01-19 0:00:00,,2021-01-19 21:48:12
28957,TRUE,2020-06-24 21:00:39,,,,,,,,,,ebe31c0498dd42addc9e5fddd2fdabb8,,2020-06-08 17:26:39,USD,,,,,2020-06-08 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-06-10 21:13:31
21779,TRUE,2020-02-14 18:45:35,,,,,,,,,,9e8157829783c1a20c5111bdb16009d9,,2020-01-15 20:42:40,USD,,,,,2020-01-15 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-01-16 14:15:41
29429,TRUE,2020-06-30 19:30:39,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-06-29 19:24:41,USD,,,,,2020-06-29 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-06-30 14:14:43
40113,FALSE,2021-01-19 22:16:19,FALSE,TRUE,TRUE,FALSE,FALSE,55650,6594,b9c5e50ca61c38e84166419f9dce62c9,,3705902ea0f445f94349c7a577eac53b,,2021-01-19 20:51:02,USD,,,4783,,2021-01-19 00:00:00,Email,,,,2021011355,2021-02-03,EmailSent,,,,,NeedToPrint,,6,,6595,1,,565214,0,,2021-01-19,,2021-01-19 21:48:12
28957,TRUE,2020-06-24 21:00:39,,,,,,,,,,ebe31c0498dd42addc9e5fddd2fdabb8,,2020-06-08 17:26:39,USD,,,,,2020-06-08 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-06-10 21:13:31
21779,TRUE,2020-02-14 18:45:35,,,,,,,,,,9e8157829783c1a20c5111bdb16009d9,,2020-01-15 20:42:40,USD,,,,,2020-01-15 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-01-16 14:15:41
29429,TRUE,2020-06-30 19:30:39,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-06-29 19:24:41,USD,,,,,2020-06-29 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-06-30 14:14:43
39818,TRUE,2021-01-13 17:16:18,,,,,,,,,,d41d8cd98f00b204e9800998ecf8427e,,2021-01-13 0:23:25,USD,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,2021-01-13 0:23:25
36518,TRUE,2020-11-30 15:16:21,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-11-18 20:04:30,USD,,,,,2020-11-18 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-11-18 20:09:49
31709,TRUE,2020-08-31 22:30:46,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-08-21 21:16:42,USD,,,,,2020-08-21 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-08-25 13:32:23
36518,TRUE,2020-11-30 15:16:21,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-11-18 20:04:30,USD,,,,,2020-11-18 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-11-18 20:09:49
31709,TRUE,2020-08-31 22:30:46,,,,,,,,,,b9c5e50ca61c38e84166419f9dce62c9,,2020-08-21 21:16:42,USD,,,,,2020-08-21 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-08-25 13:32:23
39827,TRUE,2021-01-13 17:16:18,,,,,,,,,,d41d8cd98f00b204e9800998ecf8427e,,2021-01-13 0:23:29,USD,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,2021-01-13 0:23:29
26982,TRUE,2020-04-07 18:32:28,,,,,,,,,,88e8d1bd6d6ed3790c72d29bc8e1c6f7,,2020-04-07 15:47:18,USD,,,,e1434e59faf86d6098275bb09bf2ab89,2020-04-07 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-04-07 16:46:07
26982,TRUE,2020-04-07 18:32:28,,,,,,,,,,88e8d1bd6d6ed3790c72d29bc8e1c6f7,,2020-04-07 15:47:18,USD,,,,e1434e59faf86d6098275bb09bf2ab89,2020-04-07 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-04-07 16:46:07
39826,TRUE,2021-01-13 17:16:18,,,,,,,,,,c29e8c3627595c63550702485759ca61,,2021-01-13 0:23:28,USD,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,2021-01-13 0:23:28
22486,TRUE,2020-01-30 17:00:35,,,,,,,,,,2d15ecdbbc48d3eccee760148e729988,,2020-01-28 21:35:32,USD,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,2020-01-28 21:35:54
35872,TRUE,2020-11-10 17:15:43,,,,,,,,,,d41d8cd98f00b204e9800998ecf8427e,,2020-11-09 16:06:12,USD,,,,,2020-11-09 0:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-11-09 22:38:36
35872,TRUE,2020-11-10 17:15:43,,,,,,,,,,d41d8cd98f00b204e9800998ecf8427e,,2020-11-09 16:06:12,USD,,,,,2020-11-09 00:00:00,Email,,,,,,,,,,,,,,,,,,,0,,,,2020-11-09 22:38:36
22 changes: 11 additions & 11 deletions integration_tests/seeds/payment_data.csv
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
id,_fivetran_deleted,_fivetran_synced,created_at,credit_card_amount,credit_card_auth_code,credit_card_billing_address_street,credit_card_cc_expiry_month,credit_card_cc_expiry_year,credit_card_cctrans_id,credit_card_name_on_account,credit_card_postal_code,credit_card_process_payment,credit_card_status,credit_card_transaction_authorization_time,credit_card_type,currency_id,customer_id,deposit_to_account_id,exchange_rate,payment_method_id,private_note,process_payment,receivable_account_id,reference_number,sync_token,total_amount,transaction_date,transaction_source,transaction_status,unapplied_amount,updated_at
20997,FALSE,2020-01-15 0:03:28,2019-12-30 16:27:57,,,,,,,,,,,,,USD,2150,40,,5,,FALSE,,,0,403.25,2019-12-30 0:00:00,,,0,2019-12-30 16:27:57
13866,FALSE,2020-01-15 0:03:28,2019-08-06 15:32:57,,,,,,,,,,,,,USD,1041,40,,5,,FALSE,,3317,0,2500,2019-08-06 0:00:00,,,0,2019-08-06 15:32:57
5783,FALSE,2020-01-15 0:03:27,2019-01-02 16:40:51,,,,,,,,,,,,,USD,828,40,,5,1f9c7a85b617edcde959dddc2d4a274e,FALSE,,102,0,29398,2019-01-02 0:00:00,,,0,2019-01-02 16:40:51
17125,FALSE,2020-01-15 0:03:28,2019-10-26 13:49:29,,,,,,,,,,,,,USD,2024,40,,5,,FALSE,,,0,25379,2019-10-25 0:00:00,,,0,2019-10-26 13:49:29
11968,FALSE,2020-01-15 0:03:27,2019-06-25 13:56:43,,,,,,,,,,,,,USD,834,40,,5,,FALSE,,1261,0,2250,2019-06-25 0:00:00,,,0,2019-06-25 13:56:43
24458,FALSE,2020-02-27 20:01:00,2020-02-27 19:46:55,,,,,,,,,,,,,USD,2496,40,,5,,FALSE,,,0,37784,2020-02-18 0:00:00,,,0,2020-02-27 19:46:55
16541,FALSE,2020-01-15 0:03:28,2019-10-09 16:12:43,,,,,,,,,,,,,USD,2103,40,,5,,FALSE,,125686047,0,15702.37,2019-10-09 0:00:00,,,0,2019-10-09 16:12:43
5814,FALSE,2020-01-15 0:03:27,2019-01-03 19:03:04,,,,,,,,,,,,,USD,827,40,,5,,FALSE,,463,0,19960,2019-01-03 0:00:00,,,0,2019-01-03 19:03:04
5936,FALSE,2020-01-15 0:03:27,2019-01-08 0:42:04,,,,,,,,,,,,,USD,698,40,,5,,FALSE,,308,0,8324.1,2019-01-07 0:00:00,,,0,2019-01-08 0:42:04
11653,FALSE,2020-01-15 0:03:27,2019-06-11 14:14:59,,,,,,,,,,,,,USD,1589,40,,5,,FALSE,,8245,0,11000,2019-06-11 0:00:00,,,0,2019-06-11 14:14:59
10777,FALSE,2020-01-15 0:03:27,2019-05-14 14:36:36,,,,,,,,,,,,,USD,858,40,,5,,FALSE,,2669,0,12853,2019-05-14 0:00:00,,,0,2019-05-14 14:36:36
20997,FALSE,2020-01-15 0:03:28,2019-12-30 16:27:57,,,,,,,,,,,,,USD,2150,40,,5,,FALSE,,,0,403.25,2019-12-30,,,0,2019-12-30 16:27:57
13866,FALSE,2020-01-15 0:03:28,2019-08-06 15:32:57,,,,,,,,,,,,,USD,1041,40,,5,,FALSE,,3317,0,2500,2019-08-06,,,0,2019-08-06 15:32:57
5783,FALSE,2020-01-15 0:03:27,2019-01-02 16:40:51,,,,,,,,,,,,,USD,828,40,,5,1f9c7a85b617edcde959dddc2d4a274e,FALSE,,102,0,29398,2019-01-02,,,0,2019-01-02 16:40:51
17125,FALSE,2020-01-15 0:03:28,2019-10-26 13:49:29,,,,,,,,,,,,,USD,2024,40,,5,,FALSE,,,0,25379,2019-10-25,,,0,2019-10-26 13:49:29
11968,FALSE,2020-01-15 0:03:27,2019-06-25 13:56:43,,,,,,,,,,,,,USD,834,40,,5,,FALSE,,1261,0,2250,2019-06-25,,,0,2019-06-25 13:56:43
24458,FALSE,2020-02-27 20:01:00,2020-02-27 19:46:55,,,,,,,,,,,,,USD,2496,40,,5,,FALSE,,,0,37784,2020-02-18,,,0,2020-02-27 19:46:55
16541,FALSE,2020-01-15 0:03:28,2019-10-09 16:12:43,,,,,,,,,,,,,USD,2103,40,,5,,FALSE,,125686047,0,15702.37,2019-10-09,,,0,2019-10-09 16:12:43
5814,FALSE,2020-01-15 0:03:27,2019-01-03 19:03:04,,,,,,,,,,,,,USD,827,40,,5,,FALSE,,463,0,19960,2019-01-03,,,0,2019-01-03 19:03:04
5936,FALSE,2020-01-15 0:03:27,2019-01-08 0:42:04,,,,,,,,,,,,,USD,698,40,,5,,FALSE,,308,0,8324.1,2019-01-07,,,0,2019-01-08 0:42:04
11653,FALSE,2020-01-15 0:03:27,2019-06-11 14:14:59,,,,,,,,,,,,,USD,1589,40,,5,,FALSE,,8245,0,11000,2019-06-11,,,0,2019-06-11 14:14:59
10777,FALSE,2020-01-15 0:03:27,2019-05-14 14:36:36,,,,,,,,,,,,,USD,858,40,,5,,FALSE,,2669,0,12853,2019-05-14,,,0,2019-05-14 14:36:36
2 changes: 1 addition & 1 deletion integration_tests/seeds/purchase_data.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id,_fivetran_deleted,_fivetran_synced,account_id,created_at,credit,currency_id,customer_id,department_id,doc_number,employee_id,exchange_rate,global_tax_calculation,payment_method_id,payment_type,print_status,private_note,remit_to_address_id,sync_token,tax_code_id,total_amount,total_tax,transaction_date,transaction_source,updated_at,vendor_id
107,FALSE,2020-12-30 15:02:20,,2020-11-06 1:19:33,,USD,,1,,,,,,CreditCard,,,,,,,,2020-11-06 1:19:33,,2020-11-06 1:19:33,18
107,FALSE,2020-12-30 15:02:20,,2020-11-06 01:19:33,,USD,,1,,,,,,CreditCard,,,,,,,,2020-11-06,,2020-11-06 01:19:33,18
101,FALSE,2020-12-30 15:02:20,,2020-11-06 1:24:25,,USD,,1,,,,,,CreditCard,,,,,,,,,,2020-11-06 1:24:25,18
103,FALSE,2020-12-30 15:02:20,,2020-11-06 1:18:27,,USD,,1,,,,,,CreditCard,,,,,,,,,,2020-11-06 1:18:27,18
232,FALSE,2020-09-01 21:02:33,,2020-07-15 20:03:18,,USD,,1,,,,,,CreditCard,,,,,,,,,,2020-07-15 20:03:18,18
Expand Down
Loading
Loading