The pricing override in COMPart shifted from a custom list price implementation to a standardized basePrice override.
Old: public double customListPrice(bool includeChildren=false, str currency=null, Space space=null) {} New: public double basePrice(bool includeChildren=false, Space space=null, bool translatePrice=true) {}
Old:
New:
COMPart
with the new part pricing API (basePrice + optionPriceSum).The COMPart
constructor was updated to explicitly separate base price and option price sum when initializing the part.
Old:
pricePerUnit()
) into the superclass constructor.New:
basePrice=pricePerUnit()
and optionPriceSum=0
to the superclass.COMPart
creation with the new part pricing systemCOMPart
now integrates with the new pricing model that distinguishes base vs option costs.pricePerUnit()
) is preserved since option sum is initialized as 0.