Skip to content

[FR] Part-Level substitutes #11202

@tounho

Description

@tounho

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

We have BOMs with parts like

MLCC, 100nF, 6.3V, 20%, X5R, 0402
MLCC, 100nF, 10V, 20%, X5R, 0402
MLCC, 100nF, 35V, 20%, X5R, 0402
MLCC, 100nF, 50V, 20%, X5R, 0402

but for prototyping they might all be substituted by

MLCC, 100nF, 50V, 10%, X7R, 0402

or whatever we have in stock in-house.

Currently we manually add the substitutes when importing the BOM into InvenTree, which is labor intensive and error prone.

Suggested solution

Our idea of a solution would be the following:

  • (1) General substitutes on a Part-Level
    • e.g. the part MLCC, 100nF, 10V, 20%, X5R, 0402 can ALLWAYS be substituted by MLCC, 100nF, 50V, 10%, X7R, 0402. Under /web/part/1234/substitutes we we can add MLCC, 100nF, 50V, 10%, X7R, 0402 and others. If a BOM is created containing MLCC, 100nF, 10V, 20%, X5R, 0402 all substitutes can be added automatically. Image
      You could also split the section in two and have a "Can be substituted by X" and "Substitutes X" section, to be show both the substitutes and the parts the current part is substituting.
  • (Moved to [FR] Allow for BOM-line substitutes to be importet too during BOM import #11254) (2) The ability import substitutes from the bom.csv
    • Allow for BOMs to be imported to conatin a field like ComponentSubstitutes with a list of ids of Parts that can substitute the actual part.
Component;ComponentSubstitutes;
1234;1500,1650,2120,;
1240;1500,1650,2120,;
1300;1500,1650,2120,;
1500;1650,;

or

Component; ... ;ComponentSubstitutes;
MLCC, 100nF, 6.3V, 20%, X5R, 0402; ... ;MLCC, 100nF, 50V, 20%, X5R, 0402,MLCC, 100nF, 50V, 20%, X5R, 0402,MLCC, 100nF, 35V, 10%, X5R, 0402
MLCC, 100nF, 10V, 20%, X5R, 0402; ... ;MLCC, 100nF, 50V, 20%, X5R, 0402,MLCC, 100nF, 50V, 10%, X7R, 0402,MLCC, 100nF, 35V, 10%, X5R, 0402
MLCC, 100nF, 35V, 20%, X5R, 0402; ... ;MLCC, 100nF, 50V, 20%, X5R, 0402,MLCC, 100nF, 50V, 10%, X7R, 0402,MLCC, 100nF, 35V, 10%, X5R, 0402
MLCC, 100nF, 50V, 20%, X5R, 0402; ... ;MLCC, 100nF, 50V, 10%, X7R, 0402

I have posted this in #10777.

Describe alternatives you've considered

Currently we manually substitute when importing the BOM into InvenTree.

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/BOMrelated to BOM/assembly logic and possible engine improvementsenhancementThis is an suggested enhancement or new feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions