Hi,
In a Dynamics 365 Sales environment, I have added a custom field to both the SalesOrderDetail entity and the InvoiceDetail entity.
When an order is fulfilled and an invoice is created from the order, how can I edit the "copy" proces (from order to invoice) so it includes this custom field on the SalesOrderDetail so the values also appear in the invoice for the respective InvoiceDetail record?
The "copy" is done using the button "Create Invoice" on the Order record, which calls the API "https://xxx.dynamics.com/api/data/v9.0/ConvertSalesOrderToInvoice". Is this call calling another process which I can/should change? Or is there another way to say that my custom field on the InvoiceDetail should be copied from the corresponding SalesOrderDetail?
Thanks,
Koen