Decimal quantity support for service-based purchases in Shopping Hub

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • 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.

      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.

      Unit of Measure Decimal Support decision table with decimalSupported condition set to true.

      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.

      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.

      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.

      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.

      Edit form for product type Good howing decimal quantity 1.4 with error message "Decimal values are not supported".