Import parameters

Directory

/data/operating-processes

Files reference

  • filename : header

  • filename-operations : process operations

  • filename-details : operation details

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

20 characters max (15 characters max if ERP compatibility is checked)

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Label

label

String

X

50 characters max (30 characters max if ERP compatibility is checked)

Area code

areaCode

String

X

10 characters max

Validity end date

validityEndDate

String (ISO-8601)

AAAA-MM-JJTHH:MM:SSZ Set a passed date to make the entity inactive.

Example

code;companyCode;establishmentCode;label;validityEndDate;areaCode
01;02;03;TEST;2014-05-28T12:00:00Z;01
01;02;03;TEST;;
01;02;03;TEST;2014-04-25T12:00:00Z;02

Operations

Data structure

Field Column Data type Required Business rules

Code

operatingProcessCode

String

X

20 characters max

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Effective date

effectiveDate

String (ISO-8601)

X

AAAA-MM-JJTHH:MM:SSZ

Operation code

code

String

X

20 characters max

Operation label

label

String

X

50 characters max (30 characters max if ERP compatibility is checked)

Efficiency

efficiency

Double

X

Non-productive line expected

Raw quantity

quantity

Double

X

Unit code

unitCode

String

X

5 characters max

Rank indice

rank

Integer

X

Example

operatingProcessCode;companyCode;establishmentCode;effectiveDate;code;label;efficiency;quantity;rank;unitCode
01;02;03;2014-05-26T12:00:00Z;AA;OPA;0.1;10.2;1;KG
01;02;03;2014-05-27T12:00:00Z;BB;OPB;0.1;10.2;1;MG
01;02;03;2015-05-28T12:00:00Z;VV;OPV;0.1;10.2;1;G

Operation details

Data structure

Field Column Data type Required Business rules

Code

operatingProcessCode

String

X

20 characters max

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Effective date

effectiveDate

String (ISO-8601)

X

AAAA-MM-JJTHH:MM:SSZ

Operation code

operationCode

String

X

20 characters max

Duration

duration

Integer

X

IN SECONDS

Fixed except line speed

fixedExceptLineSpeed

Integer

X

Fixed time

isFixed

Boolean

X

Maximum resources

maxResources

Integer

X

Minimal resources

minResources

Integer

X

Rank indice

rank

Integer

X

Resource category code

resourceCategoryCode

String

X

10 characters max

Resource code

resourceCode

String

X

10 characters max

Example

activityCode;companyCode;establishmentCode;effectiveDate;operationCode;duration;fixedExceptLineSpeed;isFixed;maxResources;minResources;rank;resourceCategoryCode;resourceCode
01;02;03;2014-05-26T12:00:00Z;OPA;1000;10;true;15;20;2;RC1;R