Import parameters

Directory

/data/activity-suites

Files reference

  • filename : header

  • filename-contexts : activity suite contexts

  • filename-activities : activities

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

activitySuiteCode

String

X

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

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Label

label

String

X

50 characters max

Flow type

flowType

String

X

IN(PUSH,PULL)

Reference item code

refItemCode

String

X

20 characters max

Suite family code

activitySuiteFamilyCode

String

10 characters max

Validity end date

validityEndDate

String (ISO-8601)

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

Example

activitySuiteCode;companyCode;establishmentCode;label;validityEndDate;flowType;refItemCode;activitySuiteFamilyCode
01;02;03;TEST;2014-05-28T12:00:00Z;PUSH;001;01
01;02;03;PREPARATION;PULL;002;02
01;02;03;PRODUCTION;2015-05-28T12:00:00Z;PUSH;002;02

Activity suite contexts

Data structure

Field Column Data type Required Business rules

Code

activitySuiteCode

String

X

20 characters max

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Item code

refItemCode

String

X

20 characters max

Context code

contextCode

String

X

10 characters max

Priority

priority

Integer

Example

activitySuiteCode;companyCode;establishmentCode;refItemCode;contextCode;priority
01;02;03;001;PROD;1
01;02;03;002;TEST;2

Activities

Data structure

Field Column Data type Required Business rules

Code

activitySuiteCode

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)

YYYY-MM-DDTHH:MM:SSZ

Item code

refItemCode

String

X

20 characters max

Activity code

activityCode

String

X

20 characters max

Activity’s reference item code

activityRefItemCode

String

X

20 characters max

Rank indice

activityOrderIdx

Integer

X

Example

activitySuiteCode;companyCode;establishmentCode;effectiveDate;refItemCode;activityCode;activityRefItemCode;activityOrderIdx
01;02;03;2014-05-26T12:00:00Z;001;01;002;1
01;02;03;2014-05-27T12:00:00Z;007;01;003;2
01;02;03;2015-05-28T12:00:00Z;008;01;004;3