Import bills of materials from a spreadsheet
Upload one spreadsheet to add materials and manufacturer services to the bills of materials of many products at once.
In Uphance, you can import bills of materials for many products at once by uploading a spreadsheet from the Products page. Each row adds a material or a manufacturer service to one product's bill of materials, and when the import finishes Uphance recalculates the materials cost of each product it added material lines to.
Before you import bills of materials
- The products, their colors and their seasons must already exist in Uphance. The import adds lines to existing products and never creates products.
- Every material and color you list must already exist as a material in Uphance, and every service must already exist as a manufacturer service. Import or add them first.
- You need permission to update products on the Permissions page. The upload isn't offered to manufacturer, agent or warehouse logins.
Import bills of materials
- Go to Product Lifecycle > Products, click Actions and choose Upload Bill of Materials.
- In the Import Bill of Materials and Services data spreadsheet window, download the spreadsheet template. The window also lists the Mandatory columns your file must have.
- Fill in one row per line. Every row needs the product's identifier in product_identifier, its season in season, and the product color in product_variation.
- For a material line, enter the material's name in material_name, its color in material_variation, and the quantity in material_quantity. Add material_size if the material comes in sizes, and material_wastage if you track wastage.
- To add a line for one size of the product only, put that size in product_size. Leave it empty to apply the line to the whole color.
- For a service line, enter the service's name in manufacturer_service and its price in manufacturer_service_price, and leave the material columns empty.
- Save the file as .xlsx or .csv, choose it in the upload window, and click Upload.
Uphance runs the import in the background. When it finishes, the import's Results show the records created and updated and any invalid records, and the imported lines appear on each product's bill of materials.
Good to know
- Keep the material_quantity column in your file even on service rows, because the import needs that header to start. A service row can leave the cell empty.
- A row for a material color a product already has updates that line instead of adding a second one, and a service already on the product is updated the same way.
- You can list several seasons in the season cell, separated by commas. The row finds the product with that identifier in any of them.
- Decimal commas are fine in quantity, wastage and price cells. Uphance reads 1,5 as 1.5.
- Wait for the import to complete before you review costs. Uphance recalculates materials cost only once the whole import has completed, and only for the products the import added material lines to.
If something goes wrong
- If a row reports that a value for mandatory columns is empty, that row is missing its product_identifier, season or product_variation. Fill them in and import the row again.
- If a row seems to have done nothing, Uphance couldn't match its product, product color, material, material color or service, and skipped it without an error. Add up Records created, Records updated and Invalid records in the import's Results: each row that came in counts once, so a total lower than your number of rows means some were skipped. To find which, click Actions > Download Bill of Materials on the Products page and compare it with your file, then check the spelling of the missing rows against Uphance.
- If the import stops because it couldn't find a header cell, a required column is missing or renamed. Start again from the template's header row.
- If Upload Bill of Materials isn't in the Actions menu, your login is a manufacturer, agent or warehouse login, which can't import.
Related articles
- Build a bill of materials
- Import materials from a spreadsheet
- Add materials and services
- Cost a product
Common questions
Can I load the materials for many styles from one file?
Yes. One spreadsheet can hold bill of materials lines for as many products as you like, with one row per material or service on each product, and Uphance adds each row to the matching product.
Can I add manufacturer services to a bill of materials by import?
Yes. A row with a service name in manufacturer_service and a price in manufacturer_service_price adds that service to the product, provided the service already exists in Uphance.
What happens if I import the same material for a product twice?
The second import updates the existing line for that material color instead of adding a duplicate, so you can re-import a file to correct quantities.