[QODBC-Desktop] Troubleshooting: The Template Type Problem When Creating a Sales Order
Posted by Juliet (QODBC Support) on 04 November 2011 02:53 AM
|
|
The Template Type Problem When Creating a Sales Order Troubleshooting: The Template Type Problem When Creating a Sales OrderProblem DescriptionQuery in QODBC Test Tool Here is a query; its function is to create a sales order line. INSERT INTO "SalesOrderLine" Error in the Result But when executed in QODBC Test Tool, we got an error like this: "There is an invalid reference to QuickBooks Template '80000023-1481819084' in salesOrder.QuickBooks error message: The Custom Style associated with this txn is incompatible with this txn."
Instructions This error is caused by the template list ID 80000023-1481819084. So we checked the template type of this list ID and found out that this is an invoice template.
SolutionThen we must use a sales order template to replace it. Get a Sales Order Template ID
Query in QODBC Test Tool INSERT INTO "SalesOrderLine" This time, the query works fine.
Result Query in QODBC Test tool, and here is the result. Select * From SalesOrderLine Where CustomerRefListID='4C0000-1040154668' AND TemplateRefListID='110000-1048186767'
| |
|