Units
The Units codebook defines measurement units used for materials consumption and their conversions. This lets Deratix add consumption correctly even when the same material is entered in different units.
Why conversions matter
If one job uses 2 liters of a product and another uses 500 milliliters, Deratix needs to know that 1 liter = 1000 milliliters. It can then calculate total consumption as 2500 ml or 2.5 l.
Tip: Conversions are mainly used in material consumption statistics. Without type and conversion, units are not added automatically.
Where units are used
Units are used with materials in the protocol form. The technician enters quantity and unit, such as 2 l or 500 ml.
Deratix then:
- shows the selected unit in the protocol and PDF,
- uses the conversion in statistics,
- preserves older text-based units in older protocols.
Fields
| Field | Description | Required |
|---|---|---|
| Abbreviation | Short unit notation, such as g, ml, or pcs | Yes |
| Name | Full name, such as gram, milliliter, or piece | Yes |
| Type | Unit category, such as weight, volume, or count | No |
| Conversion | How many base units are contained in 1 of this unit | No |
Unit types
| Type | Base unit | Examples |
|---|---|---|
| Weight | g | mg, g, kg |
| Volume | ml | ml, l |
| Count | pcs | pcs, pack, dose |
| Length | mm | mm, cm, m |
| Area | m² | cm², m² |
| Space volume | m³ | m³ |
The type determines which units can be converted between each other.
How conversion works
Conversion states how many base units are contained in one entered unit.
| Unit | Type | Conversion | Meaning |
|---|---|---|---|
| kg | Weight | 1000 | 1 kg = 1000 g |
| mg | Weight | 0.001 | 1 mg = 0.001 g |
| l | Volume | 1000 | 1 l = 1000 ml |
| cm | Length | 10 | 1 cm = 10 mm |
| m | Length | 1000 | 1 m = 1000 mm |
Base units such as g, ml, pcs, mm, m², and m³ have conversion 1.
Editing a unit
Click the ✏️ icon next to a unit. In the dialog, you can edit abbreviation, name, type, conversion, and status.
Note: Unit changes apply to future selections. Existing protocols remain stored with their original data.
Tips
Tip: Add only units that technicians actually use. A shorter list is faster to use in the form.
Tip: Fill in type and conversion for new units if you want reliable consumption totals.
For general codebook operations, see the codebooks overview.