← Back to blog

Bill of Materials PDF Generator for Hierarchy and Revisions

People searching for BOM PDF, bill of materials generator, bill of materials usually need more than a manual export. They need a business-document workflow that handles real data, versions, and continuing delivery.

A BOM defines the materials, subassemblies, and quantities needed to manufacture a product. A wrong revision or unit directly affects purchasing, picking, assembly, and cost.

This guide is for manufacturing, engineering, procurement, production planning, quality, and teams exporting controlled material structures from PLM or ERP. The goal is to generate clear multipage PDFs from approved product structure, units, alternates, and effective versions for production and audit traceability, producing engineering BOMs, manufacturing BOMs, service BOMs, assembly lists, purchasing material lists, and engineering-change attachments while keeping every file linked to a defined business record.

1. Why This Workflow Benefits from PDF Templates

A BOM is not a flat product table. Parent-child hierarchy, unit conversion, scrap, alternates, and effective dates determine real demand. An unclear explosion rule creates duplicates or omissions.

2. Define Data Fields and Boundaries First

Every field needs examples, boundaries, and an owning system. Amounts need precision, dates need a time zone, arrays need order and maximums, and identifiers need uniqueness. The template presents approved data rather than inventing business facts.

3. End-to-End Implementation Workflow

Step 1: Define EBOM or MBOM type, expansion depth, and purpose

Turn “define EBOM or MBOM type, expansion depth, and purpose” into an executable rule with a data owner, approver, and exception owner. For engineering BOMs, manufacturing BOMs, service BOMs, assembly lists, purchasing material lists, and engineering-change attachments, early ownership prevents later rework.

Step 2: Lock the approved revision from PLM or ERP

When teams lock the approved revision from PLM or ERP, record the selection criteria and preserve a representative fixture so future template or endpoint changes can be checked consistently.

Step 3: Expand hierarchy while retaining path and level

For “expand hierarchy while retaining path and level,” test normal, empty, maximum-text, and largest-array data so realistic boundaries cannot cause clipping or broken pagination.

Step 4: Design indentation, quantity, unit, alternate, and note columns

While teams design indentation, quantity, unit, alternate, and note columns, attach a business reference, timeout, and failure branch. Mark success only after valid PDF bytes pass acceptance.

Step 5: Recalculate critical component quantities and inspect pagination

Acceptance for “recalculate critical component quantities and inspect pagination” extends beyond page one to amounts, page order, fonts, barcodes, printing, or interactive states relevant to the workflow.

Step 6: Retain change_order, template version, and checksum

Complete “retain change_order, template version, and checksum” by retaining business ID, template version, generation time, page count, checksum, and delivery result.

4. Three Important Design Decisions

1. Flat or hierarchical view

Production picking may use a flat summary while engineering review requires hierarchy. Do not combine them into an ambiguous table.

2. How alternates are represented

Show alternate group, preference, and conditions without counting every candidate as required.

3. How revision effectiveness is controlled

Display revision and effective_from and have production orders reference a fixed version rather than “latest.”

5. Generate and Maintain the Document with KeepMot

KeepMot dynamic tables, indented text, percentage widths, repeated headers, pagination, and metadata support multipage BOMs. JSON Render can also receive programmatically expanded hierarchy.

For BOM PDF, maintain a template in KeepMot Studio and send template_id plus business data through the Template API. Use JSON Render when software owns the layout, or HTML to PDF for an existing web asset. The template catalog offers starting points.

6. Production Acceptance Checklist

  1. product revision is approved. Retain source-system reconciliation as evidence.
  2. parent-child path is complete. Retain a representative page as evidence.
  3. quantity and unit are explainable. Retain the boundary test result as evidence.
  4. alternates are not double-counted. Retain response status and file signature as evidence.
  5. effective date matches work order. Retain template version and checksum as evidence.
  6. change order and checksum are traceable. Retain a resend or replay record as evidence.

7. Common Risks

Risk 1: Using an unapproved latest draft in production

“using an unapproved latest draft in production” makes an initially flexible implementation expensive to maintain and should be blocked in the contract or state machine.

Risk 2: Converting units ad hoc in the template

When converting units ad hoc in the template, the page may still look plausible. Compare the source record, critical identifiers, and final file together.

Risk 3: Double-counting children during hierarchy expansion

The problem of double-counting children during hierarchy expansion often appears only at a boundary. Preserve the trigger and fail clearly when safe generation is impossible.

Risk 4: Treating every alternate as simultaneously required

The risk of treating every alternate as simultaneously required can become a delivery, privacy, or operational incident. Minimize sensitive data and retain necessary audit facts.

Risk 5: Overwriting history after a BOM change

For overwriting history after a BOM change, classify the issue as data, layout, delivery, or version related before defining correction, retry, revocation, or resend behavior.

8. Batching and Daily Operations

Generate idempotently by bom_id and revision. Large BOMs can paginate by module or produce governed flat and hierarchical views. Production retains the checksum it used.

Every batch needs a manifest, limit, idempotency key, and error classification. Replay only affected records rather than duplicating an entire run. Log request ID, template version, and outcome without retaining API keys, passwords, or unnecessary personal data.

9. Frequently Asked Questions

Q: How are EBOM and MBOM different? A: EBOM serves engineering design and MBOM serves manufacturing, and their structures may differ.

Q: Can a BOM be flattened? A: Yes for purchasing or picking, while preserving source revision and explosion rules.

Q: Where does unit conversion happen? A: In PLM, ERP, or a business service; the template displays approved values.

Q: How are alternates displayed? A: Use groups and conditions and do not add every candidate to total demand.

Q: What if the BOM is very long? A: Use repeated headers, pagination, and module grouping and test deep hierarchy and long descriptions.

Q: How does an engineering change appear? A: Issue a revision, reference change_order, and preserve the prior version.

10. Conclusion

A BOM PDF does more than list parts; it communicates structure, quantity, alternatives, and effective revision so production acts on the correct facts.