-
Notifications
You must be signed in to change notification settings - Fork 41
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
[Bug] <General Ledger/Balance Sheet accounts Don't balance because there are no entries for Credit Card Payments> #47
Comments
Hi @mikerenderco thanks for opening this issue! I agree that in this situation including the However, we are happy to consider adding the table. In order to do so, I am curious if you would be open to sharing more details about this table. For example, do you have sample data (could be a few hashed records within a Let me know your thoughts. We would be happy to incorporate this model, but want to make sure we are making correct updates before jumping into the new table and downstream models. |
@fivetran-joemarkiewicz great points here. I don't know that the credit_card_payment_txn contains all the fields you would need to build data into the GL and Balance Sheet. What I ended up doing for our client is union-ing to additional tables in Big query to the GL. I have attached our table with example records. Select t1.unique_id,t1.transaction_id, t1.transaction_index,t1.transaction_date,t1.customer_id,t1.vendor_id,t1.amount,t1.account_id, t1.account_number, t1.account_name,t1.is_sub_account,t1.parent_account_number,t1.account_type,t1.account_sub_type,t1.financial_statement_helper,t1.account_current_balance,t1.account_class,t1.transaction_type,t1.transaction_source,t1.account_transaction_type,t1.adjusted_amount,t1.running_balance, From --JOURNAL ENTRY JOIN --PURCHASE JOIN --BILL JOIN --DEPOSIT JOIN --BILL PAYMENT JOIN --VENDOR CREDIT PAYMENT JOIN --INVOICE PAYMENT JOIN --SALES RECEIPT PAYMENT JOIN where t1.unique_id not in (select unique_id from UNION ALL Select union all --Credit Card Payment Bank Account General Ledger Transactions |
This is all great information, thanks so much @mikerenderco! Our team can scope out this enhancement to the package in our next sprint. Realistically I would imagine we could fold this into our package in October. The code you shared though is fantastic and will really help us out. I would love for your to be credited for this contribution. If you would like to open a PR to even just add the csv file to our Regardless, we will plan to coordinate more here on any other questions we may have or any updates on our end. Thanks and I will keep you posted! |
What's the expected time to solve this issue? Thanks! |
Hi @lxuis97 you must have a sixth sense! I am actually exploring this as we speak. While I don't have a fix at the moment, I am working on the implementation outlined above. I will plan to keep you updated as I progress in this thread 😄 |
Haha great! Good to know 😊 |
HI @mikerenderco and @lxuis97 I have been able to get a working version of the package with the To test out the branch, you can use the following in your packages:
- git: https://github.com/fivetran/dbt_quickbooks_source.git
revision: feature/credit-card-payments
warn-unpinned: false Once you add the contents to your |
Hey Joe -
Sorry it took me so long to test this. I tested this but don't see
anything with a transaction_source in the General_Ledger with a
transaction_source of 'credit_card_payment'. I looked up specific
Transaction_id's from the credit_card_payment_txn table in the GL but none
of these transaction_id's exist. Am I missing something?
select * From `dbt_mlambeth_quickbooks.quickbooks__general_ledger`
where transaction_id = '29408'
[image: image.png]
…On Tue, Sep 27, 2022 at 8:39 AM Joe Markiewicz ***@***.***> wrote:
HI @mikerenderco <https://github.com/mikerenderco> and @lxuis97
<https://github.com/lxuis97> I have been able to get a working version of
the package with the credit_card_payment_txn source baked into the
General Ledger model (see the draft PR linked above if you want to see the
details)! It would be great if you could give the branch a try and let me
know if the implementation works on your data.
To test out the branch, you can use the following in your packages.yml:
packages:
- git: https://github.com/fivetran/dbt_quickbooks_source.git
revision: feature/credit-card-payments
warn-unpinned: false
Once you add the contents to your packages.yml you can run dbt deps to
install the new code and dbt run to generate your models. I look forward
to hearing your feedback and if the added credit card payments fixes your
issue!
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH6PXFWW646K63J7DALWAMIJZANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
Hey @mikerenderco were you able to add the above |
So i did do that this time! Let me try again though and just make sure.
…On Wed, Oct 12, 2022 at 2:15 PM Joe Markiewicz ***@***.***> wrote:
Hey @mikerenderco <https://github.com/mikerenderco> were you able to add
the above packages.yml config to your project? If so, you will need to
run dbt deps before running in order to see the updates.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTHYU3B2PUPEKCGYOU6DWC4S57ANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
So yes i was able to install the package:
[image: image.png]
then I ran it.
I then went in and ran a query on the specific transaction_id and its
returning no data?
I may still be doing something wrong joe i'm not sure but its what i've
done in the past.
SELECT * FROM
`allypediatrictherapy.dbt_mlambeth_quickbooks.quickbooks__general_ledger`
where transaction_id = '29408'
…On Wed, Oct 12, 2022 at 2:17 PM Mike Lambeth ***@***.***> wrote:
So i did do that this time! Let me try again though and just make sure.
On Wed, Oct 12, 2022 at 2:15 PM Joe Markiewicz ***@***.***>
wrote:
> Hey @mikerenderco <https://github.com/mikerenderco> were you able to add
> the above packages.yml config to your project? If so, you will need to
> run dbt deps before running in order to see the updates.
>
> —
> Reply to this email directly, view it on GitHub
> <#47 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A23MTHYU3B2PUPEKCGYOU6DWC4S57ANCNFSM6AAAAAAQRJAQUE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Mike Lambeth
775.813.0944
***@***.***
--
Mike Lambeth
775.813.0944
***@***.***
|
@mikerenderco my apologies, I forgot to mention that you will need to add a variable to your vars:
using_credit_card_payment_txn: true We set it to false by default since only a number of customers leverage this table. |
Perfect so i reran it with that. I am now getting a few quickbooks_staging
tables for the credit card transactions:
[image: image.png]
But i still am not getting any of this data in the GL?
select * From `dbt_mlambeth_quickbooks.quickbooks__general_ledger`
where transaction_id = '29408'
[image: image.png]
I also looked by transaction source and don't see a Credit card transaction
source in there.
…On Thu, Oct 13, 2022 at 7:22 AM Joe Markiewicz ***@***.***> wrote:
@mikerenderco <https://github.com/mikerenderco> my apologies, I forgot to
mention that you will need to add a variable to your dbt_project.yml
vars:
using_credit_card_payment_txn: true
We set it to false by default since only a number of customers leverage
this table.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTHYCBYPD744Z43SLJSLWDALLPANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
Thanks for the quick reply and looks like we are getting somewhere! Did you scope the variable above globally? You will need to make sure the variable is global or either listed under both Are you able to see that transaction ID you are sharing in the staging table? Additionally, I am unable to see the images you are including in the messages 😢 |
Hey Joe - Sorry about the images. I don't think i understand how to declare my variables globally. Let me try to post directly in Git.
|
Ok Joe - I was able to get that in the global dbt_project. It runs successfully and moves the temp tables over for credit_card_payment_txn but I still don't see the records coming into the GL. I tried matching my global dbt_project.yml exactly like yours but it won't compile. Says that there are errors. |
Ah ha!! I think I see what the issue is. It looks like you are only installing the source package (as the snippet I sent above only is for the source package 🤦 , my apologies). Would you be able to try this snippet and see if you see the GL model updated? packages:
- git: https://github.com/fivetran/dbt_quickbooks.git
revision: feature/credit-card-payments
warn-unpinned: false |
Hi @fivetran-joemarkiewicz ! I just started working with a team using Fivetran's dbt_quickbook integration and I'm investigating a credit card payment discrepancy. I'm diving into this thread and the PR you linked to. I'm new to Fivetran's dbt projects so apologies in advance if some of these questions are rather basic.
Thank you! |
Hi @mel-restori thanks for jumping into the thread! Hopefully I can help with some of your questions!
Let me know if you have any other questions! |
Hi Joe, thanks so much for all this! |
Hi @fivetran-joemarkiewicz ! We went ahead and pointed to that other branch and finally see the credit card payments come through! 🎉 However, our discrepancy doubled in size 😭 It seems that the payments are coming through with the opposite signs. I think in the credit card accounts, the credit card payments should be positive, while in the bank account they should be negative. I think that's determined by debit vs credit in lines 36 and 50 here)., but I'll be honest that accounting terminology is new to me. Does that sound right to you? Thanks again! |
Hey @mel-restori that was actually something I was not entirely sure about when I added it to the branch and wanted to get confirmation on. I think you pointing this out is a great step forward in understanding the behavior of these transactions! I believe to fix this, we would just need to switch You have been really helpful in this process and if you wanted to contribute that quick switch in a PR, I would be happy to merge it into this working branch! Otherwise, I can make the update and we can see if this fix does the trick for you. |
Thanks so much for opening the PR! I just approved and merged it into the working branch. Let me know if that reduces the discrepancy on your end. If not, we can switch back and continue investigating 😄 |
thank you!! hopefully that does it 🤞🏻. I'll update likely tomorrow. |
Hey @joe Markiewicz ***@***.***> - I know I had started
testing this but i don't see CC payments in the GL. Was this ever pushed
to prod or where you still waiting on some form of testing?
…On Thu, Nov 10, 2022 at 3:22 PM Mel ***@***.***> wrote:
thank you!! hopefully that does it 🤞🏻. I'll update likely tomorrow.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH6Q5EAAS2JZJSK7I3TWHV7R7ANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
Hey @mikerenderco this has not been pushed to prod yet. We have this included in the migration PR #51 and were planning to officially release with those changes. However, that PR is waiting for the release of dbt-utils v1.0.0 (which has now been delayed a number of times). As the release of dbt-utils v1.0.0 is taking longer than expected, we can prioritize releasing these updates before dbt Labs releases dbt-utils v1.0.0. |
Ok, thanks for the update. I am creating my own Creditcard payment records
in the GL and its there are issues when new accounts are added. So would
be good to see this release in prod.
…On Mon, Dec 5, 2022 at 11:36 AM Joe Markiewicz ***@***.***> wrote:
Hey @mikerenderco <https://github.com/mikerenderco> this has not been
pushed to prod yet. We have this included in the migration PR #51
<#51> and were planning to
officially release with those changes. However, that PR is waiting for the
release of dbt-utils v1.0.0 (which has now been delayed a number of times).
As the release of dbt-utils v1.0.0 is taking longer than expected, we can
prioritize releasing these updates before dbt Labs releases dbt-utils
v1.0.0.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH6NNFNUWWY7WJ73PUTWLY74DANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
Sure thing @mikerenderco! I just opened the PR above to merge these changes in before the migration changes. Before doing so, would you be able to give the changes a test and confirm all looks good on your end? packages:
- git: https://github.com/fivetran/dbt_quickbooks.git
revision: feature/backwards-credit-card
warn-unpinned: false |
Joe - I tried to test this but everything runs and I don't ever get
Credit_Card_Payment_txn records in to the GL. Not sure what i'm doing
wrong.
…On Mon, Dec 5, 2022 at 2:22 PM Joe Markiewicz ***@***.***> wrote:
Sure thing @mikerenderco <https://github.com/mikerenderco>! I just opened
the PR above to merge these changes in before the migration changes.
Before doing so, would you be able to give the changes a test and confirm
all looks good on your end?
packages:
- git: https://github.com/fivetran/dbt_quickbooks.git
revision: feature/backwards-credit-card
warn-unpinned: false
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH3CB4P3EXAXTQCYYDDWLZTMBANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
@mikerenderco I was troubleshooting this myself a couple weeks ago and seems to work for me now. Note that the branch Joe pointed you to today is different than the branch you were working off of in October, so maybe that's what's still causing issues for you? 🤷🏻♀️ Good luck! |
Thanks for confirming @mel-restori and that is great to hear that it worked on your end! @mikerenderco, @mel-restori is correct in pointing out that the branch has changed. Would you be able to use the following in your packages:
- git: https://github.com/fivetran/dbt_quickbooks.git
revision: feature/backwards-credit-card
warn-unpinned: false |
@joe Markiewicz ***@***.***> super confused. I just ran
the above package and I'm still not getting any CC_payment records in our
General Ledger in Bigquery. I have attached my logs for dbt deps and dbt
run.
I tried to run this query and I'm getting no results:
select * From `dbt_mlambeth_quickbooks.quickbooks__general_ledger` where
transaction_id = '24211'
transaction 24w11 is a credit_card_payment_txn transaction.
…On Mon, Dec 5, 2022 at 8:16 PM Joe Markiewicz ***@***.***> wrote:
Thanks for confirming @mel-restori <https://github.com/mel-restori> and
that is great to hear that it worked on your end!
@mikerenderco <https://github.com/mikerenderco>, @mel-restori
<https://github.com/mel-restori> is correct in pointing out that the
branch has changed. Would you be able to use the following in your
packages.yml and try again?
packages:
- git: https://github.com/fivetran/dbt_quickbooks.git
revision: feature/backwards-credit-card
warn-unpinned: false
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH277GMT4RHPW7Y5L3LWL242BANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
[0m18:01:43 Unable to do partial parsing because config vars, config profile, or config target have changed
[0m18:01:48 [[33mWARNING[0m]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:
- models.my_new_project.example
[0m18:01:49 Found 107 models, 57 tests, 0 snapshots, 2 analyses, 640 macros, 0 operations, 0 seed files, 40 sources, 0 exposures, 0 metrics
[0m18:01:49
[0m18:01:49 Concurrency: 4 threads (target='default')
[0m18:01:49
[0m18:01:49 1 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__account_tmp [RUN]
[0m18:01:49 2 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__address_tmp [RUN]
[0m18:01:49 3 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_line_tmp [RUN]
[0m18:01:49 4 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_linked_txn_tmp [RUN]
[0m18:01:50 4 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_linked_txn_tmp [[32mOK[0m in 0.89s]
[0m18:01:50 5 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_line_tmp [RUN]
[0m18:01:50 3 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_line_tmp [[32mOK[0m in 0.90s]
[0m18:01:50 6 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_tmp [RUN]
[0m18:01:50 2 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__address_tmp [[32mOK[0m in 0.91s]
[0m18:01:50 7 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_tmp [RUN]
[0m18:01:50 1 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__account_tmp [[32mOK[0m in 0.93s]
[0m18:01:50 8 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_item_tmp [RUN]
[0m18:01:51 5 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_line_tmp [[32mOK[0m in 0.77s]
[0m18:01:51 9 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_tmp [RUN]
[0m18:01:51 7 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_tmp [[32mOK[0m in 0.76s]
[0m18:01:51 10 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_line_tmp [RUN]
[0m18:01:51 6 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_tmp [[32mOK[0m in 0.78s]
[0m18:01:51 11 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_tmp [RUN]
[0m18:01:51 8 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_item_tmp [[32mOK[0m in 0.78s]
[0m18:01:51 12 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__customer_tmp [RUN]
[0m18:01:51 10 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_line_tmp [[32mOK[0m in 0.52s]
[0m18:01:51 13 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__department_tmp [RUN]
[0m18:01:52 9 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_tmp [[32mOK[0m in 0.78s]
[0m18:01:52 14 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_line_tmp [RUN]
[0m18:01:52 11 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_tmp [[32mOK[0m in 0.76s]
[0m18:01:52 15 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_tmp [RUN]
[0m18:01:52 12 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__customer_tmp [[32mOK[0m in 0.76s]
[0m18:01:52 16 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_line_tmp [RUN]
[0m18:01:52 15 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_tmp [[32mOK[0m in 0.77s]
[0m18:01:52 17 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_tmp [RUN]
[0m18:01:52 14 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_line_tmp [[32mOK[0m in 0.79s]
[0m18:01:52 18 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_bundle_tmp [RUN]
[0m18:01:52 16 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_line_tmp [[32mOK[0m in 0.89s]
[0m18:01:52 19 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_tmp [RUN]
[0m18:01:53 13 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__department_tmp [[32mOK[0m in 1.63s]
[0m18:01:53 20 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_linked_txn_tmp [RUN]
[0m18:01:53 18 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_bundle_tmp [[32mOK[0m in 0.75s]
[0m18:01:53 21 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_tmp [RUN]
[0m18:01:53 17 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_tmp [[32mOK[0m in 0.78s]
[0m18:01:53 22 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__item_tmp [RUN]
[0m18:01:53 19 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_tmp [[32mOK[0m in 0.79s]
[0m18:01:53 23 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_line_tmp [RUN]
[0m18:01:54 20 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_linked_txn_tmp [[32mOK[0m in 0.63s]
[0m18:01:54 24 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_tmp [RUN]
[0m18:01:54 21 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_tmp [[32mOK[0m in 0.74s]
[0m18:01:54 25 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_line_tmp [RUN]
[0m18:01:54 22 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__item_tmp [[32mOK[0m in 0.76s]
[0m18:01:54 26 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_tmp [RUN]
[0m18:01:54 23 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_line_tmp [[32mOK[0m in 0.89s]
[0m18:01:54 27 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_line_tmp [RUN]
[0m18:01:54 24 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_tmp [[32mOK[0m in 0.76s]
[0m18:01:54 28 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_tmp [RUN]
[0m18:01:55 26 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_tmp [[32mOK[0m in 0.73s]
[0m18:01:55 29 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_line_tmp [RUN]
[0m18:01:55 25 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_line_tmp [[32mOK[0m in 0.78s]
[0m18:01:55 30 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_tmp [RUN]
[0m18:01:55 28 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_tmp [[32mOK[0m in 0.51s]
[0m18:01:55 31 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_line_tmp [RUN]
[0m18:01:55 27 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_line_tmp [[32mOK[0m in 0.72s]
[0m18:01:55 32 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_tmp [RUN]
[0m18:01:55 30 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_tmp [[32mOK[0m in 0.67s]
[0m18:01:55 33 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__transfer_tmp [RUN]
[0m18:01:55 29 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_line_tmp [[32mOK[0m in 0.79s]
[0m18:01:55 34 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_line_tmp [RUN]
[0m18:01:56 31 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_line_tmp [[32mOK[0m in 0.76s]
[0m18:01:56 35 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_tmp [RUN]
[0m18:01:56 32 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_tmp [[32mOK[0m in 0.76s]
[0m18:01:56 36 of 78 START view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_tmp [RUN]
[0m18:01:56 33 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__transfer_tmp [[32mOK[0m in 0.75s]
[0m18:01:56 37 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_linked_txn [RUN]
[0m18:01:56 34 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_line_tmp [[32mOK[0m in 0.74s]
[0m18:01:56 38 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__address [RUN]
[0m18:01:56 36 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_tmp [[32mOK[0m in 0.75s]
[0m18:01:56 39 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_line [RUN]
[0m18:01:57 35 of 78 OK created view model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_tmp [[32mOK[0m in 0.89s]
[0m18:01:57 40 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__account [RUN]
[0m18:01:58 37 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_linked_txn [[32mCREATE TABLE (3.0k rows, 64.2 KB processed)[0m in 2.34s]
[0m18:01:58 41 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_line [RUN]
[0m18:01:59 38 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__address [[32mCREATE TABLE (112.0 rows, 5.0 KB processed)[0m in 2.64s]
[0m18:01:59 42 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill [RUN]
[0m18:01:59 40 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__account [[32mCREATE TABLE (291.0 rows, 44.4 KB processed)[0m in 2.58s]
[0m18:01:59 43 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment [RUN]
[0m18:01:59 39 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_line [[32mCREATE TABLE (3.4k rows, 270.7 KB processed)[0m in 2.91s]
[0m18:01:59 44 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_item [RUN]
[0m18:02:01 41 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment_line [[32mCREATE TABLE (3.1k rows, 90.3 KB processed)[0m in 2.51s]
[0m18:02:01 45 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_line [RUN]
[0m18:02:02 43 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill_payment [[32mCREATE TABLE (3.0k rows, 152.8 KB processed)[0m in 2.65s]
[0m18:02:02 46 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle [RUN]
[0m18:02:02 44 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle_item [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.56s]
[0m18:02:02 47 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo [RUN]
[0m18:02:03 42 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bill [[32mCREATE TABLE (3.1k rows, 211.0 KB processed)[0m in 4.53s]
[0m18:02:03 48 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__customer [RUN]
[0m18:02:04 45 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo_line [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.62s]
[0m18:02:04 49 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit [RUN]
[0m18:02:04 47 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__credit_memo [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.32s]
[0m18:02:04 50 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_line [RUN]
[0m18:02:05 46 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__bundle [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.87s]
[0m18:02:05 51 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_line [RUN]
[0m18:02:06 48 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__customer [[32mCREATE TABLE (31.0 rows, 1.9 KB processed)[0m in 2.29s]
[0m18:02:06 52 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__department [RUN]
[0m18:02:06 49 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit [[32mCREATE TABLE (9.6k rows, 388.3 KB processed)[0m in 2.29s]
[0m18:02:06 53 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_bundle [RUN]
[0m18:02:07 50 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__deposit_line [[32mCREATE TABLE (9.8k rows, 879.1 KB processed)[0m in 2.57s]
[0m18:02:07 54 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate [RUN]
[0m18:02:07 51 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate_line [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.63s]
[0m18:02:07 55 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line [RUN]
[0m18:02:08 53 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line_bundle [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.35s]
[0m18:02:08 56 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_linked_txn [RUN]
[0m18:02:08 52 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__department [[32mCREATE TABLE (11.0 rows, 823.0 Bytes processed)[0m in 2.60s]
[0m18:02:08 57 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice [RUN]
[0m18:02:09 54 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__estimate [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.44s]
[0m18:02:09 58 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__item [RUN]
[0m18:02:11 56 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_linked_txn [[32mCREATE TABLE (13.0 rows, 246.0 Bytes processed)[0m in 2.86s]
[0m18:02:11 59 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_line [RUN]
[0m18:02:11 57 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice [[32mCREATE TABLE (13.0 rows, 786.0 Bytes processed)[0m in 2.90s]
[0m18:02:11 60 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry [RUN]
[0m18:02:11 55 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__invoice_line [[32mCREATE TABLE (61.0 rows, 3.5 KB processed)[0m in 4.03s]
[0m18:02:11 61 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment [RUN]
[0m18:02:12 58 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__item [[32mCREATE TABLE (18.0 rows, 1.0 KB processed)[0m in 2.32s]
[0m18:02:12 62 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_line [RUN]
[0m18:02:13 60 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry [[32mCREATE TABLE (991.0 rows, 76.8 KB processed)[0m in 2.23s]
[0m18:02:14 61 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment [[32mCREATE TABLE (15.0 rows, 635.0 Bytes processed)[0m in 2.25s]
[0m18:02:14 64 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_line [RUN]
[0m18:02:14 63 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase [RUN]
[0m18:02:14 59 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__journal_entry_line [[32mCREATE TABLE (71.3k rows, 5.8 MB processed)[0m in 2.82s]
[0m18:02:14 65 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt [RUN]
[0m18:02:14 62 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__payment_line [[32mCREATE TABLE (14.0 rows, 380.0 Bytes processed)[0m in 2.49s]
[0m18:02:14 66 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_line [RUN]
[0m18:02:16 65 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.42s]
[0m18:02:16 67 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_line [RUN]
[0m18:02:16 66 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__refund_receipt_line [[32mCREATE TABLE (0.0 rows, 0 processed)[0m in 2.31s]
[0m18:02:16 68 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt [RUN]
[0m18:02:16 63 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase [[32mCREATE TABLE (11.6k rows, 680.3 KB processed)[0m in 2.76s]
[0m18:02:16 69 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__transfer [RUN]
[0m18:02:16 64 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__purchase_line [[32mCREATE TABLE (12.7k rows, 2.3 MB processed)[0m in 2.90s]
[0m18:02:16 70 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_line [RUN]
[0m18:02:19 67 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt_line [[32mCREATE TABLE (2.0 rows, 70.0 Bytes processed)[0m in 2.20s]
[0m18:02:19 71 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor [RUN]
[0m18:02:19 69 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__transfer [[32mCREATE TABLE (382.0 rows, 12.1 KB processed)[0m in 2.22s]
[0m18:02:19 72 of 78 START table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit [RUN]
[0m18:02:19 68 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__sales_receipt [[32mCREATE TABLE (1.0 rows, 55.0 Bytes processed)[0m in 2.30s]
[0m18:02:19 70 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit_line [[32mCREATE TABLE (39.0 rows, 3.1 KB processed)[0m in 2.29s]
[0m18:02:21 71 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor [[32mCREATE TABLE (512.0 rows, 26.8 KB processed)[0m in 2.35s]
[0m18:02:21 73 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__ap_ar_enhanced .. [RUN]
[0m18:02:22 72 of 78 OK created table model dbt_mlambeth_quickbooks_staging.stg_quickbooks__vendor_credit [[32mCREATE TABLE (32.0 rows, 2.3 KB processed)[0m in 3.10s]
[0m18:02:22 74 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__general_ledger .. [RUN]
[0m18:02:22 75 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__expenses_sales_enhanced [RUN]
[0m18:02:24 73 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__ap_ar_enhanced [[32mCREATE TABLE (3.1k rows, 315.6 KB processed)[0m in 3.44s]
[0m18:02:26 75 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__expenses_sales_enhanced [[32mCREATE TABLE (37.2k rows, 9.8 MB processed)[0m in 4.34s]
[0m18:02:29 74 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__general_ledger [[32mCREATE TABLE (128.9k rows, 3.8 MB processed)[0m in 7.22s]
[0m18:02:33 76 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__general_ledger_by_period [RUN]
[0m18:02:37 76 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__general_ledger_by_period [[32mCREATE TABLE (22.1k rows, 16.9 MB processed)[0m in 4.51s]
[0m18:02:37 77 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__balance_sheet ... [RUN]
[0m18:02:37 78 of 78 START table model dbt_mlambeth_quickbooks.quickbooks__profit_and_loss . [RUN]
[0m18:02:40 77 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__balance_sheet [[32mCREATE TABLE (12.1k rows, 2.9 MB processed)[0m in 2.41s]
[0m18:02:40 78 of 78 OK created table model dbt_mlambeth_quickbooks.quickbooks__profit_and_loss [[32mCREATE TABLE (10.0k rows, 2.9 MB processed)[0m in 2.46s]
[0m18:02:40
[0m18:02:40 Finished running 36 view models, 42 table models in 0 hours 0 minutes and 51.35 seconds (51.35s).
[0m18:02:40
[0m18:02:40 [32mCompleted successfully[0m
[0m18:02:40
[0m18:02:40 Done. PASS=78 WARN=0 ERROR=0 SKIP=0 TOTAL=78
[0m17:59:39 Installing https://github.com/fivetran/dbt_quickbooks.git
[0m17:59:43 Installed from revision feature/backwards-credit-card
[0m17:59:43 Installing https://github.com/fivetran/dbt_quickbooks_source.git
[0m17:59:47 Installed from revision feature/backwards-credit-card
[0m17:59:47 Installing fivetran/fivetran_utils
[0m17:59:48 Installed from version 0.3.9
[0m17:59:48 Updated version available: 0.4.0
[0m17:59:48 Installing dbt-labs/dbt_utils
[0m17:59:53 Installed from version 0.8.6
[0m17:59:53 Updated version available: 1.0.0
[0m17:59:53
[0m17:59:53 Updates available for packages: ['fivetran/fivetran_utils', 'dbt-labs/dbt_utils']
Update your versions in packages.yml, then run dbt deps
|
@joe Markiewicz ***@***.***> please ignore last
response. I am now seeing the credit_card_payment_txn in the General
Ledger. We can confirm that the correct items are being posted. Can you get
this pushed live? Also when you do please let me know so I can stop
creating unions for these myself.
This is fantastic.
…On Mon, Dec 12, 2022 at 10:10 AM Mike Lambeth ***@***.***> wrote:
@joe Markiewicz ***@***.***> super confused. I just
ran the above package and I'm still not getting any CC_payment records in
our General Ledger in Bigquery. I have attached my logs for dbt deps and
dbt run.
I tried to run this query and I'm getting no results:
select * From `dbt_mlambeth_quickbooks.quickbooks__general_ledger` where
transaction_id = '24211'
transaction 24w11 is a credit_card_payment_txn transaction.
On Mon, Dec 5, 2022 at 8:16 PM Joe Markiewicz ***@***.***>
wrote:
> Thanks for confirming @mel-restori <https://github.com/mel-restori> and
> that is great to hear that it worked on your end!
>
> @mikerenderco <https://github.com/mikerenderco>, @mel-restori
> <https://github.com/mel-restori> is correct in pointing out that the
> branch has changed. Would you be able to use the following in your
> packages.yml and try again?
>
> packages:
> - git: https://github.com/fivetran/dbt_quickbooks.git
> revision: feature/backwards-credit-card
> warn-unpinned: false
>
> —
> Reply to this email directly, view it on GitHub
> <#47 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A23MTH277GMT4RHPW7Y5L3LWL242BANCNFSM6AAAAAAQRJAQUE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Mike Lambeth
775.813.0944
***@***.***
--
Mike Lambeth
775.813.0944
***@***.***
Compilation Error in model int_quickbooks__credit_card_pymt_double_entry (models/double_entry_transactions/int_quickbooks__credit_card_pymt_double_entry.sql)
Model 'model.quickbooks.int_quickbooks__credit_card_pymt_double_entry' (models/double_entry_transactions/int_quickbooks__credit_card_pymt_double_entry.sql) depends on a node named 'stg_quickbooks__credit_card_payment_txn' which is disabled
|
Hey all, this should be live now in v0.5.4!! |
awesome, thank you!! |
Closing this ticket as the updates are now live. Thanks @mel-restori and @mikerenderco for all your help in getting these updates tested and raising the initial issue to our team 😃 |
Thanks Joe! - One question that i've been trying to figure out. I am
using DBT Cloud. On all DBT cloud production jobs they run a DBT deps.
How do i maintain the change to using using_credit_card_payment_txn: true?
Because it goes out and runs a DBT DEPS before a DBT RUN my var always gets
reset to false in the dbt_project.yml under the quickbooks model and the
quickbooks_source model.
…On Tue, Dec 13, 2022 at 11:19 AM Joe Markiewicz ***@***.***> wrote:
Closed #47 <#47> as
completed.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A23MTH2INI2UILQVTBJA4KLWNDD5RANCNFSM6AAAAAAQRJAQUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mike Lambeth
775.813.0944
***@***.***
|
Is there an existing issue for this?
Describe the issue
We created a Balance Sheet from the General Ledger and we have also pulled the Balance Sheet that is provided. Fivetrans has the Quickbooks Table pulling in a table called credit_card_payment_txn. When you try to balance a Credit Card Account or the Cash account from a bank account from the General Ledger and the Balance these two accounts will always be off by the amounts in the credit_card_payment_txn table.
It seems like these need to be entries in the General Ledger.
Relevant error log or model output
No response
Expected behavior
The expected behavior is to have all accounts balance from the general_ledger and the balance_sheet that this code produces.
dbt Project configurations
This is the standard configuration.
Package versions
packages:
version: [">=0.5.1", "<0.6.0"]
What database are you using dbt with?
bigquery
dbt Version
DBT Cloud Environment
Additional Context
No response
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: