Hello!
I’m developing a custom form with an action that inserts an SOOrder.
But the data is not in base currency. So I need that the SOOrder screen calculates the corresponding currency rate according to date, customer, currency rate type as normally does when an user captures a sale.
But when I insert through code the SOOrder, the currency rate is always 1.00.
How to insert the currencyInfo in a new SOOrder when created from code?