Bug: Field zqu__ProductRatePlanCharge__c.zqu__ProductRatePlan__c doesn't set child relationship name
When zuora quotes is installed, it creates a number of related custom objects in Salesforce. Best practice is to give these relationships meaningful names, especially in a managed package, because the user will not be able to change the child relationship names.
The field zqu__ProductRatePlanCharge__c.zqu__ProductRatePlan__c does not set the child relationship name. Thus, querying zqu__ProductRatePlanCharge__c and its child objects requires a very ugly query like:
select id, name, (select id from zqu__product_rate_plan_options__r), (select id from zqu__product_rate_plan_charge_options__r), (select id from zqu__quotechargedetails__r), (select id from zqu__R00N40000001mFVKEA2__r) from zqu__productrateplan__c
See the following dump of this part of the schema:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.