Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Order Line, "Parameter name: Required field SalesOrder Id is missing" message display #40

Open
GHSunnyGH opened this issue Sep 8, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@GHSunnyGH
Copy link

GHSunnyGH commented Sep 8, 2021

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.

image

@GHSunnyGH GHSunnyGH added the bug Something isn't working label Sep 8, 2021
@GHSunnyGH
Copy link
Author

GHSunnyGH commented Oct 28, 2021

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?

image

@tdashworth
Copy link
Contributor

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.

@GHSunnyGH
Copy link
Author

Hi @tdashworth, please refer to attachment.
Thanks for your support.
Schema&ConfigFile.zip

@tdashworth
Copy link
Contributor

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 😄

@GHSunnyGH
Copy link
Author

Hi @tdashworth, not urgent, thanks for your help.

@tdashworth
Copy link
Contributor

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?

@GHSunnyGH
Copy link
Author

Hi @tdashworth, my data is in JSON format.

@tdashworth
Copy link
Contributor

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.

@GHSunnyGH
Copy link
Author

This error occurs even if only one record is imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants