Skip to main content
Question

How to set up Items with different Decimal Quantites

  • Nov 25, 2026 4:38 PM UTC
  • 5 replies
  • 28 views
  • Translate All

Is there a way to set up items with different decimal place requirements? We have been told it is not possible as the system has a global setting.  However we really need this feature.  I am looking for this on both the UI and on reports.  Has anyone done this or know how to accomplish it?  Possibly a customization that identifies the decimal places based on an item class or an attribute?

5 replies

mohammadnawaz51
Varsity I
Forum|alt.badge.img+8

​@jodianstandig IN Companies screen you have a decimal setup!

Translate

  • Author
  • Freshman I
  • Nov 25, 2026 6:28 PM UTC

Yes, while that is true from a global aspect, I need on a part by part basis.  Some of our items require 5 decimal places while others are whole numbers. Setting them up with the appropriate format will prevent errors (ie entering .1 instead of 1) and will automatically report correctly on reports and the UI.

 

Translate

mohammadnawaz51
Varsity I
Forum|alt.badge.img+8

​@jodianstandig you cannot assign different decimal precisions to individual stock items, as decimal places are controlled globally at the tenant level on the Companies (CS101500) form. [1, 2]

Translate

Steve Milner
Varsity III
Forum|alt.badge.img+8
  • Varsity III
  • Nov 25, 2026 7:42 PM UTC

My replies are created in part with the help of proprietary AI, built with my AI skills, curated and maintained myself. Most replies are tested on local instances before they go up, and all are reviewed before posted.

@jodianstandig Mohammad's pointer to the Companies form is where the places get set. Quantity Decimal Places there is the only setting for how many places a quantity carries, and it's one value for the whole tenant, up to 6. Each quantity field reads it when the screen loads, before any item is on the line. A customization by item class or attribute would have to rework the quantity attribute behind every quantity field, which is a big job.

The error you're worried about has a per-item fix in the stock product. Set Quantity Decimal Places to 5, then clear Divisible Unit on your whole-number items. It's in the Unit of Measure section of Stock Items, next to the base, sales and purchase units, and it defaults from the item class, so you can set it once on the class. With it cleared, a quantity of 0.1 for that item is rejected on sales orders, shipments, purchase orders, receipts and inventory documents. On a shipment or receipt that's on hold you get a warning first, and it becomes an error when you take it off hold.

Divisible Unit controls what can be entered. How many places show on screen still comes from the one global setting.

If you're raising the global value, try it in a sandbox first. It won't save while unreleased inventory documents exist, and it warns you when items have stock on hand.

Reports are where per-item formatting works. A textbox's Format can be an expression, and stock reports already switch it row by row with iif. In a copy of your report, the quantity's Format can come from the item class or from an item attribute (the report field is named ATTRIBUTEID_Attributes), so whole-number items print with no decimals.

Translate

  • Author
  • Freshman I
  • Nov 25, 2026 7:55 PM UTC

​@Steve Milner Thank you!  I will test this but I think you solved my problem.

Translate