eptos Quantity and Unit Manager User Guide
Breadcrumbs

Excel Import of Units (Version 3.0)

Overview

This document describes Import of Units. This will be organized via XLSX file containing one single sheet.

/*<![CDATA[*/ div.rbtoc1770892089496 {padding: 0px;} div.rbtoc1770892089496 ul {list-style: disc;margin-left: 0px;} div.rbtoc1770892089496 li {margin-left: 0px;padding-left: 0px;} /*]]>*/ Overview General Information Overall Conventions Software Worksheet Table Columns Column name Column Code Requirement of Contained Data Data types Column Description Translatability IN/OUT Identifiers (IDs) Import of Units

General Information

A file format defines syntax and semantics of data within files. It represents a bidirectional mapping between information and its storage in a medium. Knowledge of the file format is crucial for the interpretation of data stored in a file.

This specification details the layout of data within a file. The document describes the following:

  • exchanged information

  • format and layout of the exchanged document

Overall Conventions

Software

The document comes in .xlsx format. Therefore, to build the file a program needs to be installed that can handle the XLSX format, such as Microsoft Excel. Documents which implement this file format specification need to be saved as .xlsx files.

Worksheet

An Excel file can be structured in multiple work sheets. Each work sheet has a name that must be adhered to.

Each sheet has two header lines and a data payload.

In row 1 the human readable column names are printed – the row will be ignored by import

Row 2 contains the column codes that are used by the import program to identify the content.

Then follow the data rows.

Table Columns

Column name

Each table column has a name which gives a human comprehensive short reference of the column's content.

Note: the column name is for convenience only and not used to interpret the file.

Column Code

In order to reference the column unambiguously each column gets a unique code within the worksheet.

The import program is relying on Column Codes. If Column orders are changed, the codes must be preserved.

Requirement of Contained Data

Each column of contained data can be either

  • Mandatory – values MUST be present

  • Optional – values MAY be present

  • Conditional – values MUST be present IF a condition applies

Data types

Each column has a defined data type, i.e. a restricted set of available values. For example the data type integer only allows whole numbers while the data type string allows any sequences of characters. Additionally the data type string can be syntactically further constrained by a grammar.

Table 1: available data types

Data type

Description

Example

Integer

whole number (positive and negative)

-10, 20

Real

Rational numbers (positive and negative)
Exponential notation is allowed

10, 10.5, -12,44
2.1E10

String

Sequence of characters (excluding inverted comma)
Can be further constrained by a grammar

AbC

Column Description

Description of the content for each column.

Translatability

The content of each column can be either translatable or not. In case a column's content data are translatable, the column code in the header is suffixed by a locale code comprising of a language code, an underscore and a country code. Example of locale codes: "de_DE", "en_US".

IN/OUT

For each column it can be defined whether the contained data is relevant for import or only gives additional information to a human reader of the file.

Identifiers (IDs)

References within the exchange file are made by an ID. There are two kinds of IDs to be separated:

  • Transient ID

Any sequence of characters can be treated as a transient ID when it cannot be confused with a code or an IRDI. It is recommended to use 6 digits long zero padded running numbers, e.g. 000001. The running number must be unique within the file and will be replaced by a code during import.

  • Persistent ID

A persistent ID can be used for references during load of new entries and for updates of existing entries. For updates of data that are already stored in eptos using a persistent ID is mandatory. The format of the persistent ID in eptos is the international registration data identifier (IRDI). For classification classes also the coded name may be used.

When an import file contains more than one ID for the same entity, the following precedence is taken:

  • Persistent ID (IRDI)

  • Coded Name

  • Transient ID

Import of Units

Worksheet is used for describing Units.

Column name

Column Code

Obligation

Data Type

Description

Example

Translatable

Preferred Name

E01 (en_US)

M

String

Preferred name of the unit

ampere

Y

Short name

E02 (en_US)

M

String

Short name of the unit

A

Y

Name

E03 (en_US)

M

String

Local name of the unit

Ampere

Y

DIN notation

E04

M

String

DIN notation of the unit

A

N

Primary language

E27

M

String

Localized language in which the unit was initially defined

en_US

N

Definition

E05 (en_US)

O

String

Definition of the unit

constant current which, if maintained […]

Y

Source

E14 (en_US)

O

String

Source of definition of the unit

IEC 80000-6:2008 \ ISO 31-0:1992 \ […]

Y

Comment

E06 (en_US)

O

String

Comment regarding unit

base unit of the International System of Units (SI)

Y

SI notation

E08

O

String

SI notation of the unit

A

N

SI-Name

E07 (en_US)

O

String

SI name of the unit

ampere

N

ECE name

E09 (en_US)

O

String

ECE name of the unit

ampere

N

ECE-Code

E10

O

String

ECE code of the unit

AMP

N

NIST-Name

E11

O

String

NIST Name of the unit

ampere

N

Initial addend

E15A

O

Real

Initial added – part of factor for the conversion of the unit


N

Final addend

E15B

O

Real

Final added – part of factor for the conversion of the unit


N

Multiplicand

E15C

O

Real

Multiplicand – part of factor for the conversion of the unit


N

Divisor

E15D

O

Real

Divisor – part of factor for the conversion of the unit


N

Aspect of conversion

E16

O

String

Aspect of conversion of the unit. Ignored in imports, exported for convenience.

A

N

Identifier for the aspect of conversion

E17

O

String

Identifier of the aspect of conversion

PAR1-AAA002-001

N

Registration authority identifier

E19

O

String

Registration authority identifier. Ignored by import.

0175-1

N

Supplier

E20

O

String

Supplier of the unit (ECL, DIN, SAP). Ignored by import.

PAR1

N

Code

E21

O

String

Code of the unit. Ignored by import.

BAA204

N

Version

E22

O

String

Version of the unit. Ignored by import.

1

N

Revision

E23

O

String

Revision of the unit. Ignored by import.

1

N

Identifier

E25

O

String

To edit an existing Unit enter the IRDI. If emtpy, new Unit with new IRDI is generated.

0175-1#05-BAA204#001

N

SI Unit

E26

O

Boolean

Possible values: Y/N

Y

N

IEC Classification

E29

O

String

IRDI Code of the IEC Classification

0112/2///62720#UAA311

N

Units Import

NOTE:

If empty, optional columns will be ignored for Import.