Hi,
When importing sales order header using data entity 'Sales order headers V2' the delivery address on the imported SO is not set to the delivery address provided in the file.
Instead the SO delivery address is set to the primary delivery address specified on the customer.
The file is generated by exporting an existing SO (in the same application and company) to Excel using the same data entity.
Step-by-step:
- Create an non-primary delivery address for a customer.
- Create a sales order for the customer using the non-primary delivery address.
- Export the sales order.
- Delete the sales order.
- Delete the non-primary delivery address on the customer.
- Import the sales order.
Result:
The sales order is created with the primary (standard) delivery address.
The non-primary delivery address is not created on the customer.
I have tried debugging but without locating the root cause yet. The field mapping is ok and regenerating it has no effect.
Any ideas?