Knowledgebase
[QODBC-Desktop] How to Link Invoice to Deposit using QODBC?
Posted by Ricky - QODBC Support on 04 October 2019 01:35 PM

QODBC Desktop - How to Link Invoice to Deposit using QODBC?

Problem Description 1:

I want to apply the Payment to a particular Invoice using Deposits.

How can I do so using the QODBC?

Solutions: 

Refer to the screenshot of QuickBooks UI Invoice created.

 

You can use this 'Invoice No.' or 'RefNumber' to search for a specific Invoice.

Note the ref number of the Invoice, i.e., '7777777-124.'

You can find this Invoice created using VB Demo using below SQL query:

SELECT * FROM InvoiceLine where RefNumber='7777777-124.'

 

Note the value of the field 'TxnID' - '26A98-1671102870' from the 'InvoiceLine' table.

Use this value of the field 'TxnID' in the 'ReceivePaymentLine' table.

SELECT * FROM ReceivePaymentLine where AppliedToTxnTxnID='26A98-1671102870'

The value in the field 'AppliedToTxnTxnID' from ReceivePaymentLine table and 'TxnID' in InvoiceLine table are equal.

i.e. ReceivePaymentLine.AppliedToTxnTxnID = InvoiceLine.TxnID

 

Note the value of the field 'TxnID' - '26A9C-1671103075' from the 'ReceivePaymentLine' table.

Use this value of the field ‘TxnID’ in the 'DepositLine' table.

SELECT * FROM DepositLine where DepositLineTxnID='26A9C-1671103075'

The value in the field 'TxnID' from ReceivePaymentLine table and 'DepositLineTxnID' in DepositLine table are equal.

i.e. DepositLine.DepositlineTxnID = ReceivePaymentLine.TxnID

 

Search for the field 'DepositLineCheckNumber' in the 'DepositLine' table.

In this example, the value is '20181225-0222'.

 

Search for this specific reference number in QuickBooks UI in 'Deposit.'

 

Below is the screenshot of the QuickBooks application of 'Customer Payment' or 'ReceivePayment.'

 

Tags: Link invoice to deposit, Deposit, Invoice

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete the captcha below (we use this to prevent automated submissions).