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

How to import object with multiple relationships? #70

Open
pammurillo opened this issue Jul 20, 2021 · 0 comments
Open

How to import object with multiple relationships? #70

pammurillo opened this issue Jul 20, 2021 · 0 comments

Comments

@pammurillo
Copy link

pammurillo commented Jul 20, 2021

Hello!! We are trying to import records of Product, PricebookEntry and a custom object (also related to product) to a new sandbox.

For some reason we are not getting products with both related objects, instead products are duplicated. Some of them will have pricebook entry and the others will have the custom object.
-Edit: Since it is a sandbox, Product2, Pricebook2 and PricebookEntry are prepopulated on the refresh. So that might explain the duplicate values.

What we don't know how to handle is the import of the standard pricebook. Since we already have one in the sandbox, once we try to import another "standard" pricebook it will be isStandard=false, so we will get a "Before creating a custom price, create a standard price" Error. Can we somehow make this new pricebook standard or can we use as reference the existing pricebook?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant