After Upgrade from 3.8 and now on 4.022 I can not edit orders. This is very important to us since my book keeper looks at them in reports for refunds and such..
On 3.8 I could add a new line.. 0 quantity call it refunded and enter -240.00 in Product Price (Cost) and Product Price (Gross) it would show but not change the invoice.. I can't even duplicate.... I know this is tricky.. I have tried about 50 times.. with all different option I'm getting this error..
vmError: vmTable store insertObject #__virtuemart_order_items Data truncated for column 'virtuemart_order_item_id' at row 1 INSERT INTO `wwdai_virtuemart_order_items` (`virtuemart_order_item_id`,`virtuemart_order_id`,`virtuemart_product_id`,`order_item_sku`,`order_item_name`,`product_quantity`,`product_item_price`,`product_basePriceWithTax`,`product_discountedPriceWithoutTax`,`product_priceWithoutTax`,`product_tax`,`product_final_price`,`product_subtotal_discount`,`product_subtotal_with_tax`,`order_status`,`paid`,`oi_hash`,`created_on`,`created_by`) VALUES ('0-96-0','10873','2359','AH500/NOR','refund','0','240','240','240','240','0','240','0','0','P','0','d5a355ca1dfa2b6019914d1faa6eab8b','2023-07-24 13:53:16','945')
vmError: vmTable store insertObject #__virtuemart_order_item_histories Data truncated for column 'virtuemart_order_item_id' at row 1 INSERT INTO `wwdai_virtuemart_order_item_histories` (`virtuemart_order_item_history_id`,`virtuemart_order_item_id`,`virtuemart_order_id`,`virtuemart_product_id`,`order_item_sku`,`order_item_name`,`product_quantity`,`product_item_price`,`product_basePriceWithTax`,`product_discountedPriceWithoutTax`,`product_priceWithoutTax`,`product_tax`,`product_final_price`,`product_subtotal_discount`,`product_subtotal_with_tax`,`order_status`,`paid`,`oi_hash`,`created_on`,`created_by`,`modified_by`,`action`) VALUES ('0','0-96-0','10873','2359','AH500/NOR','refund','0','240','240','240','240','0','240','0','0','P','0','f14e973f1a1b24fc872b14eaeb85785f','2023-07-24 13:53:16','945','0','new')
attached is an image on how i use to do it...