Enhancements

  • Dynamically limit product price breaks — Implemented functionality to limit the number of price breaks returned in the Product Data 2.0.0 and Product Pricing and Configuration 1.0.0 services. This limit can now be dynamically controlled by SuiteScript hooks to reference a dynamic value.

Fixes

  • Inventory override of 0 fixed — Fixed a bug where an inventory override value of 0 set on an assembly item was ignored, causing the system to return the full buildable quantity instead. The logic has been updated to correctly handle 0 as a valid override value. Now, when the "Inventory Override" field is set to 0 on an item, the system will correctly return an inventory quantity of 0.
  • Missing charges for multiple locations — Fixed an issue where decoration charges were missing on sales orders created via the Purchase Order service. This occurred when a request included a ChargeArray and multiple decoration locations for a single item. The script has been updated to correctly process these requests, ensuring all specified charges are now applied.
  • Fix PromoStandards endpoint behavior for media content — Corrected an issue where the PromoStandards Media Content endpoint would return a "Part Id not found" error when a parent item was specified as both the productId and partId. The system has been updated to properly handle this request and now successfully fetches and returns the media image for the parent item in this scenario.