{% 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 %}
Return to {{ part.full_part_number }}

Modify Subparts
{% include 'bom/components/bom-indented.html' with order_by='indented' manage=1 bom_items=indented_bom.parts part=part part_revision=part_revision profile=profile %}
Add Subpart
{% csrf_token %} {{ add_subpart_form.subpart_part_number|materializecss:'m4 s12' }} {{ add_subpart_form.count|materializecss:'m1 s12' }} {{ add_subpart_form.do_not_load|materializecss:'m2 s12 input-field materialize-checkbox-padding' }} {{ add_subpart_form.reference|materializecss:'m4 s12' }}

Batch Add Subparts

To add batch subparts, upload a csv that contains at least two columns with the headers: part_number or manufacturer_part_number and quantity; the 'part_number' or 'manufacturer_part_number' column must contain part numbers that have already been created in this system.

Additional fields include 'reference' or 'designator' to add a reference field to the subpart; 'do_not_load' if you don't want the part loaded into the assembly that contains it; 'dnp' if you don't want to upload the part to IndaBOM.

Add to BOM keeps the existing subparts and adds to their quantities. Replace BOM sets this BOM to match the file. You'll see a preview of every change before anything is saved.

{% csrf_token %}
File {{ upload_subparts_csv_form.file }}
{{ upload_subparts_csv_form.file.errors }}


{% endblock %} {% block bom-script %} {% endblock bom-script %}