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

Click here to download a sample CSV file for uploading intelligent parts and here is a sample CSV file for uploading semi-intelligent parts. Uploading uses an append or create strategy, for example, if a part, part revision, or part class already exists, it will be overwritten; and if a part, part revision, or part class does not exist, it will be created.

For details on CSV file requirements, see the help docs here open_in_new.

{% csrf_token %}
File {{ bom_csv_form.file }}
{{ bom_csv_form.file.errors }}
{#
#} {# {{ upload_bom_form.create_part_classes|materializecss:'m3 s12' }}#} {#
#} {# If a part is uploaded with a part class that doesn't exist, the upload will fail. Check this box to instead, try to create the part class.#} {#
#} {#
#}
{{ upload_bom_form.parent_part_number|materializecss:'m3 s12' }}
{{upload_bom_form.parent_part_number.label}} Optional. Upload this BOM to a parent assembly by specifying the parent part number. Level 1 will upload as the first child of this part. {% if parent_part %}
Go to {{ parent_part_number }}
{% endif %}

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