Import parameters

Directory

/data/current-stocks

Files reference

  • filename : header

Other parameters

Context (companyCode and establishmentCode)

The import is set by a context defined by at least the company code (companyCode) and optionally the establishment code (establishmentCode)

One deposit list can be passed to the depositCode field

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

Item code

itemCode

String

X

20 characters max

Batch

batch

String

20 characters max

Area code

depositCode

String

X

10 characters max

First quantity

firstQuantity

Double

X

Second quantity

secondQuantity

Double

Third quantity

thirdQuantity

Double

First unit code

firstStockUnitCode

String

X

5 characters max

Second unit code

secondStockUnitCode

String

5 characters max

Third unit code

thirdStockUnitCode

String

5 characters max

Example

companyCode;establishmentCode;itemCode;batch;depositCode;firstQuantity;firstStockUnitCode;secondQuantity;secondStockUnitCode;thirdQuantity;thirdStockUnitCode
02;03;ART1;DEP;A;1.0;KG;1000.0;G;;
02;04;ART1;DEP;A;1.0;KG;;;;