Hello,
I created a command to sync some order data from an external system.
Below the snippet of code I used
$context = app('aimeos.context')->get(type: 'command');
$orderManager = MShop::create($context, 'order');
$aimeosOrder = $orderManager->get($aimeosOrderId)->off();
$aimeosOrder->set('external_id',$order['no']);
$orderManager->save($aimeosOrder);
After save I found the order price, cost and rebate equal to 0.
I have the same behaviour if I use setInvoiceNumber, setDateDelivery, setStatusDelivery.
I use the Aimeos 2024.10.3 and Laravel 11
Thanks