Symptoms


An attempt to place switch plan order through REST API or UX1 marketplace with additional resource amount will fail with error 'Resource quantity cannot be greater than X' even if the 'MaxAmount' set in target plan is bigger than the amount of resource added.


For example:

Source Plan (Plan A) with resource A has 'MaxAmount' of resource A set to 1.0

Target Plan (Plan B) with resource A has 'MaxAmount' of resource A set to 3.0


In the attempt to switch subscription from Plan A to Plan B, with additional amount for resource A (eg: resource A = 2 or 3), the following error will appear: "Resource A quantity cannot be greater then 1.0"


Cause


This behavior has been recognized as a software related issue #ORMA-449 - 'Change order is not allowed event if MaxAmount resource in the target plan is enough' and is expected to be fixed in Order Management version 1.14.

Resolution


Please contact Technical Account Manager to know the status of this software related issue. 


At the moment, the following action can be applied as a workaround:

  1. Place Switch plan via API/ UX1 Marketplace without adding additional unit for the affected resource.
  2. Once switch plan is complete, add the required amount for required resource in a separate change order.


NOTE: This error is not affecting the resource with 'MaxAmount' set to unlimited on both source and target plans.