Import parameters

Directory

/data/priorities-plans

Files reference

  • filename : header

  • filename-informations : informations

Other parameters

Plan id identification (planId)

Related plan is passed by the planId parameter which is required.

Files content

Data structure

Field Column Data type Required Business rules

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Priority type

type

String

X

Within (MRP=Needs calculation, SURPLUS=Treatment of surpluses, SHORTAGE=Treatment of shortages)

Item code

itemCode

String

X

20 characters max

Effective date

effectiveDate

String (ISO-8601)

X

YYYY-MM-DDTHH:MM:SSZ

Area code

depositCode

String

10 characters max

Example

companyCode;establishmentCode;type;itemCode;effectiveDate;depositCode
02;03;MRP;01;2014-04-25T00:00:00Z;01
03;03;MRP;01;2014-04-25T00:00:00Z;
04;03;MRP;01;2014-04-25T00:00:00Z;

Informations

Data structure

Field Column Data type Required Business rules

Company code

companyCode

String

X

2 characters max

Establishment code

establishmentCode

String

X

2 characters max

Priority type

type

String

X

IN(MRP=Needs calculation, SURPLUS=Treatment of surpluses, SHORTAGE=Treatment of shortages)

Item code

itemCode

String

X

20 characters max

Effective date

effectiveDate

String (ISO-8601)

X

YYYY-MM-DDTHH:MM:SSZ

Area code

depositCode

String

10 characters max

Priority

priority

Integer

X

Flow type

flowType

String

X

IN(MANUFACTURING=Manufacturing,PURCHASE=Purchase,INTERNAL_PURCHASE=Internal purchase)

Activity suite code

activitySuiteCode

String

20 characters max

Activity code

activityCode

String

20 characters max

Reference item code

referenceItemCode

String

20 characters max

Example

companyCode;establishmentCode;type;itemCode;effectiveDate;depositCode;priority;flowType;activitySuiteCode;activityCode;referenceItemCode
02;03;MRP;01;2014-04-25T00:00:00Z;01;1;MFG;01;01;01
02;03;MRP;01;2014-04-25T00:00:00Z;01;2;MFG;01;01;01