Open alvin101 opened 9 years ago
Hi Alvin, You could remove line 126 from import_transactions.php
check_db_has_stockitems(("There are no inventory items defined in the system."));
but you will inevitably have to define a service item as a product item if you are using the Sales Order / Sales Invoices procedure.
Or you could go Setup->System and General GL Setup>Inventory->Allow negative inventory.
Try these and hopefully they will give a good result.
Ross
On May 21, 2015, Alvin notifications@github.com wrote:
after upgrade to latest scripts and trying to use General Journal Processing, I now get this error: There are no inventory items defined in the system. /home4/aljotwoc/public_html/fa/includes/ui/ui_msgs.inc:14: trigger_error('There are no inventory items defined in the system.','256') /home4/aljotwoc/public_html/fa/includes/data_checks.inc:277: display_error('There are no inventory items defined in the system.','1') /home4/aljotwoc/public_html/fa/modules/import_transactions/import_transactions.php:128: check_db_has_stock_items('There are no inventory items defined in the system.') What do you think the problem is here?— Reply to this email directly or view it on GitHub https://github.com/rossaddison/import_transactions/issues/1.
after upgrade to latest scripts and trying to use General Journal Processing, I now get this error:
There are no inventory items defined in the system. /home4/aljotwoc/public_html/fa/includes/ui/ui_msgs.inc:14: trigger_error('There are no inventory items defined in the system.','256') /home4/aljotwoc/public_html/fa/includes/data_checks.inc:277: display_error('There are no inventory items defined in the system.','1') /home4/aljotwoc/public_html/fa/modules/import_transactions/import_transactions.php:128: check_db_has_stock_items('There are no inventory items defined in the system.')
What do you think the problem is here?
I get this under show SQL:
BEGIN SELECT counter, type, type_no, amount FROM 0_gl_trans ORDER BY counter DESC LIMIT 1 SELECT COUNT(*) FROM 0_stock_master