Happy Business Starts Here

Unable to update Product Rate Plan - "Starting Unit[0] of charge "Name" must bigger than last Ending Unit[#]"

Highlighted
Community Manager

Unable to update Product Rate Plan - "Starting Unit[0] of charge "Name" must bigger than last Ending Unit[#]"

Issue:

   When attempting to update the rate plan tier in a Volume Pricing model Rate Plan Charge, upon attempting to save the changes the following error message is displayed: Starting Unit[0] of charge "Name" must bigger than last Ending Unit[#]. This is really confusing for customers because the starting unit is actually less than the last ending unit, even before the customer makes any changes. It is caused when Charge Model = Volume Pricing, the first tier is set to anything other than 0, and a new currency is enabled in Z-Billing settings. 

   This causes the system to append a new 0-start tier to the newly enabled currency.  When attempting to go back and edit the original rate plan, the system generates a duplicate 0-start tier from the new currency in the original rate plan, causing the error.

 

Defect number: BIL-14235

 

Workaround: disable other currencies in Z-Billing settings, then update the charge or recreate the charge.



Subscribe to Zuora System Updates at Zuora Trust
Follow Zuora Global Support on Twitter and LinkedIn

3 REPLIES 3
Highlighted
Student

Re: Unable to update Product Rate Plan - "Starting Unit[0] of charge "Name" must bigg

What can I do if I keep getting this error?
I disabled all other currencies on the account, but I still get this error on product creation:

 POST to /object/ProductRatePlanCharge/ failed: b'{"Errors":[{"Code":"INVALID_VALUE","Message":"The Starting Unit[1] of charge Flat fee Calls must be bigger than the last Ending Unit[5,000,000]."}],"Success":false}\n'


Screenshot 2019-10-02 at 13.56.08.png

Highlighted
Zuora Staff

Re: Unable to update Product Rate Plan - "Starting Unit[0] of charge "Name" must bigg

Could you post the call you are making?

Highlighted
Student

Re: Unable to update Product Rate Plan - "Starting Unit[0] of charge "Name" must bigg

Thank you Smiley Happy I just figured it out.

I dump my products from prod

select {} from ProductRatePlanChargeTier

and then import them on the sandbox.

However, when dumping from prod I can not set `order by` . I checked the dump, and the tiers are not in order. I now manually sort them before importing, which works.