{% extends 'bom/bom-base.html' %} {% load static %} {% block head-title %}Upload Parts — CSV Reference{% endblock %} {% block bom-menu %}
  • Home
  • {% endblock %} {% block content %}

    Uploading Parts via CSV

    Upload a CSV file to create multiple parts at once. Each row becomes one part. The first row must contain column headers — unrecognized headers are rejected. Rows with errors are skipped; valid rows in the same file are still imported.

    {% if organization.number_scheme == 'S' %}
    Before uploading: make sure you have defined your part classes in Settings → IndaBOM. Every part must belong to a valid part class.
    Download a sample CSV {% else %} Download a sample CSV {% endif %} {# ------------------------------------------------------------------ #}

    Required Columns

    {% if organization.number_scheme == 'S' %} {% else %} {% endif %}
    Column Accepted names Notes
    part_class or part_number class, part_category Provide one or both.
    part_class — the class code (e.g. 500); the system auto-assigns an item number.
    part_number — a full part number in CCC-NNNN-VV format; must not already exist. If both are given, part_number takes precedence.
    part_number part number, part no Required. Must be unique — parts with a duplicate number are skipped.
    revision rev, part_revision Up to 4 characters. Cannot be a negative integer.
    description desc Free-form text up to 255 characters describing the part.
    {# ------------------------------------------------------------------ #}

    Optional: Manufacturer

    Include both columns to attach a manufacturer part number. Either alone is ignored.

    Column Accepted names Notes
    manufacturer_name manufacturer, mfg, mfg_name Created automatically if it does not already exist.
    manufacturer_part_number mpn, mfg_part_number Skipped if a matching manufacturer + MPN pair already exists.
    {# ------------------------------------------------------------------ #}

    Optional: Seller / Sourcing

    Seller data requires the manufacturer columns above. seller, unit_cost, and nre_cost must all be present to create a seller record.

    Column Accepted names Notes
    seller part_seller Seller / distributor name. Created automatically if it does not already exist.
    unit_cost part_cost Cost per unit. Use a plain decimal number (e.g. 0.42).
    nre_cost part_nre_cost, part_nre, nre Non-recurring engineering cost. Use 0 if none.
    seller_part_number seller_pn, spn Optional. The seller's own catalog number.
    minimum_order_quantity moq Optional. Minimum quantity that must be ordered.
    minimum_pack_quantity mpq Optional. Pack / reel size.
    lead_time_days lead_time, lt Optional. Lead time in days.
    {# ------------------------------------------------------------------ #}

    Optional: Custom Properties

    Your organization can define custom part properties in Settings → IndaBOM. Each property can be included as a column using its property code (shown in settings) or the property's display name.

    Column pattern Notes
    property_<code> Value for the property whose code is <code>. The property display name is also accepted.
    property_<code>_units Unit for a numeric property. Only required when the property has a quantity of measure defined. Use the unit symbol (e.g. mV, pF).
    Tip: Export your existing parts list from the Home page and open it in a spreadsheet. The exported file uses exactly the right column names and is a ready-made template for adding new parts.

    {% endblock %}