Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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.

Note: This capability supports decimal quantities for service‑based products only. Applicable for both create and edit actions for both purchase requisitions and purchase orders in Employee Center and 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.

Important: 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.
Image omitted: sh-decimal-uom.png
Supplier Products table showing Unit column with decimalSupported values for service products.
  • 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.
Image omitted: sh-decimal-dectable.png
Unit of Measure Decimal Support decision table with decimalSupported condition set to true.
**Note:** 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.
Image omitted: sh-decimal-service.png
Purchase form for product type Service showing decimal quantity 1.8 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.
Image omitted: sh-decimal-good.png
Purchase form for product type Good showing decimal quantity 1.4 with error message "Decimal values are not supported".
  • When you edit a PR or PO for a product of type Service, you can enter a decimal value in the New quantity field.
Image omitted: sh-decimal-edit-service.png
Edit form for product type Service showing decimal quantity 1.7 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.
Image omitted: sh-decimal-edit-good.png
Edit form for product type Good howing decimal quantity 1.4 with error message "Decimal values are not supported".

Parent Topic:Shopping Hub