Hi Nicolas,
Thanks for the reply.
I have changed the "frontend" setting to visible and set the access level to none (because I don't want these fields to be displayed on the frontend, they only serve to keep the original price and discount info). I was now able to update the order variable in the onBeforeOrderCreate function (see order_updated_dump.txt). However I can't acces this information in the on AfterOrderUpdate, where the order information is transmitted to our invoicing platform. I get the order information as follows:
$orderClass->loadFullOrder($order->order_id, false, false)
However, here the custom fields are empty (see fullorder_dump.txt) and they are also empty in the DB. So how can I access the values of my custom fields so I can use them for transferring to our invoicing platform?
Thanks
Michel