-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[internal] Proposal: shorten BOM part number attributes #114
Comments
This seems sensible to me. I usualy go for longer names to avoid confustion but these look just as clear and take up less space. Swapping to P/N rather than ipn sounds good, removing the explicit internal could also allow for people to use that field for a distributor/supplier part number if they dont have an internal part numbering system. The order swap sounds logical as the pn field will likley contain the most usefull information in that group. |
I agree, only suggestion is for MPN to render as MP/N or M P/N. |
Perhaps the most elegant option would be to show only two fields in the node: And replace
My thinking almost goes the other way... people could use Obviously you could go wild, allowing lists in the fields to specify multiple alternative suppliers and a number for each, but IMHO if you (as a user) are that serious, you should be looking at an ERP and internal numbering systems, and keep track of supplier variants there. In other words, do NOT think I'm advocating for adding even more fields/flexibility here :) |
@Tyler-Ward would it be OK for you to submit a pull request [draft] with the proposed changes? If so, please prioritize this over the additional BOM fields, since I'd like to have this one included in v0.2 soon-ish, where as the other one would make a nice addition to v0.3, since there's quite a few open points on that one. |
Happy to take a look at this, will aim to do this tomorow evening. |
In your screenshot, would
Let's not go down that rabbit hole, please ;) At least not now.
My proposal (quoted below) does this, but using two cells instead of three to keep the manufacturer and their number tied together (also visually) but allowing manufacturer to be
|
I agree to render If we sometime in the future want to support more numbers, it can be done with a separate look-up table of dict for each unique
Edit: A library file (included with |
From the discussion above I had also considered suggesting adding an extra bom atributes field or similar to let people add extra data to bom lines for components, however this felt like it might be better done by another tool/spreadsheet for those who need extra information on each part rather than featurecreeping beyond describing a wiring harness. |
Closed by #121. |
I propose shortening the part number attributes from
to
MPN seems to be an industry standard abbreviation.
Also, they are currently rendered as
MPN
andIPN
anyway.I propose
pn
overipn
in the YAML, and rendering it asP/N:
in the output, but that's up for debate.@Tyler-Ward (and others, of course) any thoughts?
[Edit]
As a side note, I would also like to swap the order of the fields in the graphic output to match the above:
P/N: 456 | MPN: 123 | ABC
The text was updated successfully, but these errors were encountered: