Decimal quantity support for service-based purchases in Shopping Hub
As a shopper, you can now specify decimal quantity values for service-based products when you create or edit a purchase requisition (PR) or purchase order (PO) in Shopping Hub.
Key benefits
This functionality provides the following benefits:
- You can specify decimal quantities for selected service-based products.
- You can enable or disable decimal support for a service product by configuring its UOM.
Remarque :
Starting with Yokohama Patch 12 and Zurich Patch 6, Shopping Hub supports decimal quantities for service-based products. If you upgraded to Yokohama Patch 12 or Zurich Patch 6 and cannot specify decimal quantities for services, you must run a script from the Scripts
- Background module. For more information, see Run the fix script to enable decimal quantities for services.
How to configure
Role required: sn_shop.shopping_hub_admin
Plugin required: Shopping Hub (sn_spend_uib)
- To enable this capability for a service product, you must configure a unit of measure (UOM) that supports decimal values.
- You control decimal quantity support at the UOM level. In the Unit of Measure Decimal Support decision table, set the decimalSupported attribute to true for the required UOM, as shown in the following image.Remarque :You can use decimal quantities only for products of type Service. You cannot specify decimal quantities for products of type Good, even if the UOM is configured to support decimal values.
How it works
The following points describe how this capability works:
- When you purchase a product of type Service, you can enter a decimal value in the Quantity field.
- When you purchase a product of type Good, Shopping Hub prevents you from entering a decimal value in the Quantity field and displays an error message.
- When you edit a PR or PO for a product of type Service, you can enter a decimal value in the New quantity field.
- When you edit a PR or PO for a product of type Good, Shopping Hub prevents you from entering a decimal value in the New quantity field and displays an error message.