Mass Order Entry support for duplicate rate plans on a subscription
The Mass Order Entry function currently uses Product.Name + RatePlan.Id as a composite proxy key for current charge lines on a subscription. This is a bad proxy because the same product and rate plan may occur multiple times on the same subscription. The Mass Order Entry function fails when it encounters these subscriptions.
Ideally, the function would instead use a primary key that uniquely identifies the current version of a charge line. Absent this, it would use a better proxy key. For example, the Mass Order Entry Template already includes RatePlanCharge.ChargeNumber under the heading "Charge Name." The proxy composite key RatePlanCharge.ChargeNumber + RatePlanCharge.IsLastSegment = TRUE more accurately identifies the current charge lines on a subscription.
Zuora could implement this chage without impacting customers that rely on the current Mass Order Entry function by switching to a new proxy key based on the current template requirements. If the development team has concerns about this approach, you could invoke the new proxy key only when the current proxy key returns an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.