When trying to create a new order status, I get error:
vmError: TableOrderstates COM_VIRTUEMART_ORDER_STOCK_HANDLE in record is missing ! Can't save the record with no COM_VIRTUEMART_ORDER_STOCK_HANDLE.
vmError: VirtueMartModelOrderstatus::store TableOrderstates COM_VIRTUEMART_ORDER_STOCK_HANDLE in record is missing ! Can't save the record with no COM_VIRTUEMART_ORDER_STOCK_HANDLE.
When going to "Stock Handle" drop down, it's empty and I'm unsure what this is for?
Thanks in advance,
I know you haven't seen a response since July (!), but I came across the same problem, and after coming to the realization that this isn't finished yet, I found a workaround:
I went into PHPmyadmin, and opened the jos_virtuemart_orderstates table.
I copied a row that already existed, and changed the fields that mattered to me:
- order_status_code
- order_status_name
- order_stock_handle
Note the following:
- Status Code must be unique
- Status Name is just whatever you want it to appear as
- Stock Handle seems to be a letter code telling VM what to do. R seems to be "Reserve", A seems to be "Add" and O seems to be "Remove" from inventory
This is purely based on my own best guess. No warranty for this advice, and of course, BACKUP your site before trying this!
Any corrections are certainly welcome!
Hi,
Did you try to go to Tools -> Tools & Migration -> Install tables and if necessary update them?
Regards