Exclude relationship fields from being updated
bushile opened this issue · 2 comments
Is there a way to exclude relationship fields from being updated like OwnerId field? For example,
data in Pricebook2, Product2 and PricebookEntry are included in newly created developer sandboxes so there is no need to migrated them afterwards. But if they are not included in the instruction files when migrating data for objects like OpportunityLineItem or QuoteLineItem, the corresponding lookup Id values will be empty which prevent the record from being inserted since they are required. Thanks.
Hmm, good point, no I don't think there's a way to do this. Would be pretty easy to add if you want to have a go
Similar to excluding RecordType, I've added code to exclude Pricebook2, Product2 and PricebookEntry in my fork. Thanks.