{% extends 'bom/bom-base.html' %} {% load static %} {% block head-title %}{{ title }}{% endblock %} {% block bom-menu %}
  • Cancel
  • {% endblock %} {% block content %}
    {% if profile.role == 'A' %}

    Upload a CSV to create multiple parts at once. Each row becomes one part; rows with errors are skipped and the rest continue to import.

    If you also want to associate parts to create assemblies and add quantities to specify how many parts are in an assembly, instead upload a bill of materials.

    {% if organization.number_scheme == 'S' %} Download a Sample CSV {% else %} Download a Sample CSV {% endif %}

    {% if organization.number_scheme == 'S' %} {% else %} {% endif %}
    Required columns
    part_class or part_number Class code, or full CCC-NNNN-VV number
    part_number Must be unique
    revision Up to 4 characters
    description Up to 255 characters
    Optional columns
    manufacturer_name
    manufacturer_part_number
    Include both to attach a manufacturer part
    seller, unit_cost,
    nre_cost
    Include all three (plus manufacturer) for sourcing
    property_<code> Custom properties defined in Settings
    {% if organization.number_scheme == 'S' and organization.partclass_set.count == 0 %}
    warning No part classes defined. Create part classes in Settings before uploading.
    {% endif %}
    {% csrf_token %}
    Choose file {{ form.file }}
    {{ form.file.errors }}

    Full column reference open_in_new

    {% else %} {% include 'bom/nothing-to-see.html' with required_privilege='Admin' %} {% endif %}
    {% endblock %}