Import parameters

Directory

/data/units

Files reference

  • filename : header

Other parameters

Import mode

Imports can be done with "full" or "update" mode.

  • Full mode : All entities in the file but not in the target application are created. All entities present in the target application but not in the file are deleted. The others are updated.

  • Update mode : same as "full" mode except that the entities present in the target application but not in the file are not deleted.

Files content

Data structure

Field Column Data type Required Business rules

Code

code

String

X

5 characters max
All characters in uppercase accepted except characters \ ; | " < > and spaces at the beginning and at the end

Label

label

String

X

50 characters max

Unit family code

unitFamily

String

X

IN(PDS=Weigh,AUT=other,CDT=Piece,TPS=Time,LON=Length,TEM=Temperature,VOL=Volume)

Number of decimals

nbDecimals

Integer

X

Normalized code

ediReference

String

IN(AUC=None,PCE=Piece,CT=Box,PC=Parcel,TB=Bac,LTR=Litre,KGM=Kilogram,RCA=Roll,BJ=Bucket,TRE=Trolley,_201=pallet ISO 1/1 120*80,X1=pallet (X1),X2=Box pallet,_202=pallet ISO 1/2 60*80,CS=Case,BG=Bag)

Validity end date

validityEndDate

String (ISO-8601)

YYYY-MM-DDTHH:MM:SSZ Set a passed date to make the entity inactive.

Example

code;label;unitFamily;nbDecimals;ediReference;validityEndDate
01;lab01;PDS;3;KGM;2014-05-28T12:00:00Z
02;lab02;AUT;4;AUC;
03;lab03;CDT;2;PCE;2015-05-28T12:00:00Z