Skip to content

Import materials

Available on
  • Trial
  • Pro
  • Enterprise
Who can do this
  • Import materialsRoles: AdministratorPermission: product:write

The materials import adds and updates the materials you buy, such as flour or packaging, from a CSV file. A row whose sku matches a material’s SKU updates that material, and any other row adds one; the row can also name the material’s default supplier and its lead time.

On the Materials screen, open Actions and click Import materials…. How a CSV import works explains the dialog, the file and its formats.

  • No material has the row’s SKU: the row adds a purchased material, ACTIVE when the row leaves its status empty, kept by lot only when lotTracked says yes.
  • A material has the row’s SKU: the row updates it, as saving the material’s page does. Its name, material type and unit are read from every row; its description, lot tracking and status change only where the row fills them in.

The default supplier. A supplierNumber makes that supplier the material’s default supplier, as Make default does on the material’s page; the supplier that was the default stays one of the material’s suppliers, with its own terms. A leadTimeDays sets the default supplier’s lead time and needs a supplierNumber beside it. An empty supplierNumber leaves the material’s suppliers as they are. werkplan plans material that isn’t in stock or on order by the default supplier’s lead time.

Import your suppliers first: supplierNumber names a supplier by its number, exactly. uomCode names a unit of measure that exists in werkplan.

ColumnFormatWhat it holdsExample
skuRequiredImport keyTextThe code the material is known by; a re-import updates the material with this SKUFLR-RYE-997
nameRequiredTextThe material's nameRye flour type 997
materialTypeRequiredOne of RAW_MATERIAL, COMPONENT, CONSUMABLE, PACKAGINGWhat kind of material it isRAW_MATERIAL
uomCodeRequiredTextThe code of the unit it is counted inKG
descriptionTextWhat the material isWholegrain, 25 kg sacks
lotTrackedYes or noWhether its stock is kept by lot; a new material is not when emptyyes
statusOne of ACTIVE, INACTIVE, DISCONTINUEDA new material is ACTIVE when emptyACTIVE
supplierNumberTextThe number of the supplier it is bought from, made its default supplier; empty leaves its suppliers as they areS-0107
leadTimeDaysWhole numberCalendar days from ordering it from that supplier to its delivery; needs supplierNumber, and empty keeps the supplier's lead time5
  • A sku that a variant has, or that an earlier row of the file has.
  • A row that would add a material named like one that has no SKU: give that material its SKU on its page first, so the row updates it instead of adding it twice.
  • A uomCode or supplierNumber that matches nothing, a lead time below zero, and a lead time without a supplier.
  • When it is written: a change of unit while documents, supplier terms or stock use the material, and a change of lot tracking while it is in stock.

Still stuck? Write to support@example.com.