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
|
|
INVOICE INSERT |
Author |
Message |
|
Posted : 2008-05-02 16:15:05 |
Hello, I'm trying to insert an invoice with the following insert statement: INSERT INTO invoice(IsToBePrinted,CustomerMsgRefListID,TxnDateMacro,TemplateRefListID,ARAccountRefListID, CustomerRefListID,RefNumber, BillAddressAddr1,BillAddressAddr2,BillAddressCity,BillAddressState,BillAddressPostalCode, ShipAddressAddr1,ShipAddressAddr2,ShipAddressCity,ShipAddressState,ShipAddressPostalCode, TermsRefListID,TermsRefFullName,DueDate,SalesRepRefFullName,ShipDate,Subtotal) VALUES(1,'90000-1152722338','All','120000-1136044388','3B0000-1134682682', '80009585-1209700445','QBOE1', 'ANDRES MUNOZ VASQUECITO','5040 SW 65 AVE','MIAMI','FL','33', 'ANDRES MUNOZ VASQUECITO','5040 SW 65 AVE','','','', '80000-1136047724','COD', {d '2008-05-02'},'Clara Barbosa', {d '2008-05-02'},33.0)
I've changed the TxnDateMacro and replaced it with TxnDate with the value of {d '2008-05-02'} and I get the same result. What I need to do is insert the invoice and then insert some invoice lines. As the RefNumber I'm giving the value QBOE1 because i saw it on one of the threads of the forum, but i'm not sure if its ok. The error that I get is "Not supported" after executing the sql.
Thanks a lot,
Sergio |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-05-03 09:55:15 |
|
|
|
|