Recently I enabled the Relationship in our production and I have some doubts about how we could create our products in the Relationship Object.
Currently in the relation of 1:1 (1customer: 1Product) we put the information of the product in Contract Object but to use in Relationship we will migrate it.
My question is, what would be the most performative way to launch the records in Relationship?
1. Bulk API
2. Rule Engine
3. APEX Triggers / Class
4. Is there another option?
1. Today our API already creates the account and creates the contracts with the product information. We would have to do an extension to also insert into Relationship.
2. I have seen through your documentation that you are always guiding by rules. However, I see that by rules we can make a delay in our chain queue.
3. By apex, we can create a trigger that fires whenever a contract's record of Product type is created to replicate to the relationship. I have no idea of this performance, but it would alleviate our integration.
I haven't tested yet any of these with all accounts (~100.000 relationship records), but if you have already done something similar it may be interesting to share.
Thanks,
Best answer by karl_rumelhart
View original