Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
SO number missing in action |
Author |
Message |
|
Posted : 2008-04-27 07:26:19 |
I cannot find the Sales Order Number field in QuickBooks Invoice table. I have successfully created invoices, but I do not see this field in the Invoice table in QB when I import the entire set of columns into a passive link table into an Alpha database.
I see S. O. Number as a field in QB Invoice template, which tells me that it is a valid QB field, I just cannot find it in the Passive Link table I imported from QB. All of the other invoice "header" fields are there, but not S. O. Number (nor Sales Order Number). Any help would be appreciated. Thanks,
Jay Talbott jay@jamestalbott.com |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-04-28 22:46:06 |
|
|
|
|
Posted : 2008-04-29 12:21:07 |
Tom,
I followed the link you mentioned, and in it you say:
To create the Invoice we can read the SalesOrderLine table and insert it into the InvoiceLine table. The S.O. Number from the linked Sales Order will be shown in the Invoice when you view it in QuickBooks
I do not see how you insert it into the InvoiceLine Table. Into what field do you insert it? Can it be inserted directly, or must it be inserted as you would a custom field, first inserting the line and then updating it?
Thanks for all your advice/help.
Jay Talbott |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-04-29 12:37:20 |
|
|
|
|
Posted : 2008-06-07 22:56:54 |
I believe that I am close to resolving this, because I can get the process to work with this line:
INSERT INTO InvoiceLine (InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, FQSaveToCache) VALUES ( :InvoiceLineItemRefFullName, :InvoiceLineQuantity, :InvoiceLineRate, :FQSaveToCache)
but not with this line:
INSERT INTO InvoiceLine (InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineLinkToTxnTxnLineId, FQSaveToCache) VALUES ( :InvoiceLineItemRefFullName, :InvoiceLineQuantity, :InvoiceLineRate, :InvoiceLineLinkToTxnTxnLineId, :FQSaveToCache)
Any thoughts, ideas, suggestions?
Thanks.
Jay Talbott
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-06-09 16:12:54 |
You can only use either the CustomerRefListID or CustomerRefFullName in a linked Sales Order invoice line insert:-
INSERT INTO "InvoiceLine" ("CustomerRefListID", "InvoiceLineLinkToTxnTxnID", "InvoiceLineLinkToTxnTxnLineID", "FQSaveToCache") Select "CustomerRefListID", "TxnID", "SalesOrderLineTxnLineID", 0 as "FQSaveToCache" from SalesOrderLine where "CustomerRefFullName" ='Lamb, Brad:Room Addition' and "RefNumber"='201' and "SalesOrderLineSeqNo"=1
You can't select a different qunatity or anything else. |
|
|
|
|