Skip to content

Commit f7836e7

Browse files
committed
Use account_name instead of account_num
1 parent ee28256 commit f7836e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tap_quickbooks/quickbooks/reportstreams/GeneralLedgerReport.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ def sync(self, catalog_entry):
222222
# Define identity columns that will be included in every batch
223223
# These are used to match rows across batches
224224
identity_cols = ["tx_date", "txn_type"]
225-
# Add doc_num and account_num if they exist in cols
225+
# Add doc_num and account_name if they exist in cols
226226
if "doc_num" in cols:
227227
identity_cols.append("doc_num")
228-
if "account_num" in cols:
229-
identity_cols.append("account_num")
228+
if "account_name" in cols:
229+
identity_cols.append("account_name")
230230
# Add amount field for better uniqueness
231231
if "subt_nat_amount" in cols:
232232
identity_cols.append("subt_nat_amount")

0 commit comments

Comments
 (0)