07-28-2016, 10:03 AM
This is because Inventory modules (Q, SO, PO, I) are special due to the product lines. To correctly save these modules from within the application like that you have to do this trick:
before the save(), that is basically telling the application to not save the product lines nor do anything with them. That should fix your error.
PHP Code:
$_REQUEST['action'] = 'SalesOrderAjax';
before the save(), that is basically telling the application to not save the product lines nor do anything with them. That should fix your error.
Joe
TSolucio
TSolucio