Troubleshooting: Error 3250 - This feature is not enabled or not available in this version of QuickBooks.
I am getting the error "Error 3250 - This feature is not enabled or not available in this version of QuickBooks." while I am trying to insert an Invoice in QuickBooks using QODBC. Below is my insert statement:
INSERT INTO InvoiceLine (CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineGroupItemGroupRefListID, InvoiceLineGroupQuantity, InvoiceLineSalesTaxCodeRefListID, InvoiceLineLotNumber, FQSaveToCache) VALUES ('670000-1071517519', '91047', '320000-1071525597', 'POWER TRAK-2000', 200.00000, 200.00,'300000-933272656',11, '20000-999022286', 'L123',0)
QuickBooks does not allow to use LotNumber when Advanced Inventory is Turned Off. QuickBooks SDK will throw the error "This feature is not enabled or not available in this version of QuickBooks."
The Error message will depend on the operation you are performing.
In this case, you need to enable the Advanced Inventory module & try again.
There might be other possibilities for this error. Please refer below possibilities:
If the Units of Measure feature is not enabled & you are trying to use it in your query.
If the Class feature is not enabled & you are trying to use it in your query. The QuickBooks company file you are using is not set to allow assigning classes to names. This preference must be turned on to include the ClassRef section of your query.
To resolve this error, You need to enable the feature you are using from QuickBooks & try again.