Open GHSunnyGH opened 3 years ago
When importing data of entity ‘customeraddress’,field 'Parentid' was included in the import file, but ‘Error:Parent id not set for address type 1071’ happened. How to avoid this problem?
Hi @GHSunnyGH, thank you for raising this issue.
Please can you provide the Schema and Import/Export config files used so that we can reproduce the issue?
Many thanks.
Hi @tdashworth, please refer to attachment. Thanks for your support. Schema&ConfigFile.zip
Thanks, @GHSunnyGH. I don't think I'll have time to look at this today but I will try to get back to you on Monday 😄
Hi @tdashworth, not urgent, thanks for your help.
Hi @GHSunnyGH, I've had a brief look but I'm not sure why this could be. I'm not familiar with entity with regards to exporting and importing them.
If you are comfortable, I would recommend you debug this following these setups using your own data and config. Don't forget to turn up the log level. https://github.com/Capgemini/xrm-datamigration/wiki/Setup#Setup-Steps
One last question, is your data in JSON or CSV format?
Hi @tdashworth, my data is in JSON format.
Oddly enough I was also getting this yesterday. How many records were you trying too import?
I have a feeling it could be to do with you limits as it continued to work shortly afterwards.
This error occurs even if only one record is imported.
SalesOrder Id has been contained in the xml file of order line,but when I imported the file for the first time with CDS Data Migrator, it says 'Warning:DataCrmStoreWriter PersistUsingUpdateCreateRequests : Create Entity Issue salesorderdetail:a836c0a9-05d4-eb11-bacc-000d3aa1256e - Error:Value cannot be null. Parameter name: Required field SalesOrder Id is missing'. But I click the “Execute”button again, the data can be imported normally.(The content of the file has not been changed yet.) What's the reason?Is there any problem with the operation?
In addition, the ‘description’ field cannot be updated by the field content in the xml file. The value of the ‘description’ field in the product entity is used to populate the field.