Loading...
 

Units

Units

Description

In the ClassiX® system, all SI units and the most common currencies are defined by default. In addition to these standard defined units, further user-defined units can be added to the system with this module. These can be derived units based on the already defined units, e.g. "km" based on "m", "MJ" (Mega-Joule) based on "J" (Joule) or "T€" based on "€". Or one defines new basic units, such as "pallet", "bottle", etc.. For the latter, e.g. part-specific unit tables are then stored on the parts themselves.

The units stored in the system can - as soon as they are based on the same units - be converted directly. If this is not the case, conversion tables must be defined. The conversion tables available in the ClassiX system are the above-mentioned part-specific unit tables and tables for currency conversion.

All units defined in the system are stored as prime numbers, which ensures precise and fast conversion. Only a limited number, about 500, of user-defined base units, including deleted units, can be created at all. Therefore, if you want to create units on a test basis, please do so in a test system. The limit on the total number of user-defined units is 9700.

Functionality

Input window

This window is used to maintain units. If you want to call up the list window, you can select the menu item "Search".

Attention: The predefined standard units stored in the system cannot be changed!

Menu
Menu item Description
Edit -
Close Close window
Search Call up list window
Toolbar
Symbol Description
new.png Create new unit
save.png Save changes
CX_PRINTER_hardcopy.png Print unit
pin.pngpinned.pngCreate/edit notes
calculat.png Call up unit pocket calculator
Fields
Field Description
Names -
: Main name Main name of the unit (e.g. s for second or MB for MByte)
Synonym 1 Alternative designation 1 (e.g. sec for second or MByte for MB)
: synonym 2 Alternative designation 2 (e.g. second)
: Singular Name of the unit for singular (e.g. seconds/seconds)
Derived Unit The unit is directly related to another unit: e.g. 1m = 100cm, i.e. there is a fixed conversion ratio between such units.

Units derived from each other can/should therefore not be overdefined in unit tables of parts or in currency conversion tables. The message "No real conversion" then appears there.

For derived units, the conversion ratio must be specified in the "Definition" group below.
New base unit It is a completely autonomous unit, independent of other units (internally, such a unit is represented by a prime number that occurs only once in the system).

For example, each currency is a separate base unit. Also, the unit for quantity/mass (=g) and the unit for time (=s) are independent (physical) base units (so-called SI units).

In an ERP system, units such as package, roll, bag, sack, container, carton, etc. are also independent, separate base units whose conversion into other units is maintained individually per part in the unit tables.
Definition This group can only be edited if it is a "derived unit" (see above)
: defined as Indication of the conversion between the derived unit and its basic units.

Examples:
Hour is defined as s / 1 * 10 high + 2 * 36
tag is defined as s / 1 * 10 high + 2 * 864
Ampere is defined as C / s * 10 high + 0 * 1
Volt is defined as m * m * g / s * s * C * 10 high + 3 * 1
/ * 10 high *
bar is defined as g / s * s * m * 10 high + 8 * 1
It can thus be defined:
Ohm is defined as V / A m * m * g / s * C * C * 10 high + 3 * 1
Farad is defined as C / V s * s * C * C / m * m * g * 10 high - 3 * 1
mbar is defined as bar/1000 g / s * s * m * 10 high + 5 * 1
Decimal places A unit can have 0 to a maximum of 8 decimal places
Area Set the unit range. This is only used to improve the clarity of the units
Buttons
button Description
OK Changes to the unit are saved. If no changes are made, the button is locked.
New The input window is cleared for the input of a new unit

List window

Used to list the units.

Toolbar
Symbol Description
new.png Create new unit
open.png Edit unit
CX_PRINTER_hardcopy.png Print unit list
pin.pngpinned.pngCreate/edit notes
calculat.png Call up unit pocket calculator
copytoclipboard.png Copy all units to the clipboard
Search fields
Field Description
Area Limit search to selected units
Buttons
button Description
None No unit is selected.
All All units are selected.
Edit The current unit is displayed in the input window.
New An empty input window opens.

Selection window

This window is used to select a unit.

Search fields
Field Description
Area Limit search to selected units
Buttons
button Description
None No unit is selected.
All All units are selected.
OK The selected unit is accepted.

Related topics


Technical documentation

Overview

 units.bmp (8118 bytes)

Units Basic module

Module name

units.mod

Classes

CX_UNIT_PARAMETER

Security

In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.

Received messages
Message Parameters Function Security
ALL_SELECTED
NONE_SELECTED
UNIT_PARAMETER_CHANGED Unit object Units have been changed
UNIT_PARAMETER_CREATED Unit object Units were generated
UNIT_PARAMETER_DELETED Unit object Units were deleted

Sent messages
Message Parameters Function Receiver module
ALL_SELECTED
NONE_SELECTED

Units Editing module

Module name

unitsedt.mod

Classes

CX_UNIT_PARAMETER

Security

In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.

Received messages
Message Parameters Function Security
ALL_SELECTED
EDIT_UNIT_PARAMETER NULL or unit object Call up the input window for units
LIST_UNIT_PARAMETER Collection unit objects or NULL Call up the list window for units
LOAD_UNIT_PARAMETER Importing units
NONE_SELECTED
UNIT_PARAMETER_CHANGED Unit object Units have been changed
UNIT_PARAMETER_CREATED Unit object Units were generated
UNIT_PARAMETER_DELETED Unit object Units were deleted

Sent messages
Message Parameters Function Receiver module
ALL_SELECTED
EDIT_COMMENT
EDIT_UNIT_PARAMETER NULL or unit object Call up the input window for units Unit Editing Module
LIST_UNIT_PARAMETER Call up the list window for units Unit Editing Module
NONE_SELECTED
SHOW_PREVIEW
SHOW_UNIT_CALCULATOR
UNIT_PARAMETER_CHANGED Unit object Units were changed
UNIT_PARAMETER_CREATED Unit object Units were generated
UNIT_PARAMETER_DELETED Unit object Units were deleted

Units Selection module

Module name

unitssel.mod

Classes

CX_UNIT_PARAMETER

Security

In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.

Received messages
Message Parameters Function Security
ALL_SELECTED
NONE_SELECTED
SELECT_UNIT_PARAMETER Collection unit objects or NULL, recipient of the response Call up selection window for units
UNIT_PARAMETER_CHANGED Unit object Units have been changed
UNIT_PARAMETER_CREATED Unit object Units were generated
UNIT_PARAMETER_DELETED Unit object Units were deleted

Sent messages
Message Parameters Function Receiver module
ALL_SELECTED
NONE_SELECTED
UNIT_PARAMETER_SELECTED Unit object, receiver Units was selected

Operational business