add supplier SPN linking for BOM import #1209
Open
+214
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances the BOM import functionality, specifically improving how supplier part numbers (SPNs) are used to automatically link BOM entries to existing parts in the database.
Improvements to BOM import logic:
In my opinion, there is no reason not to match a part when a supplier SPN provided by the user does match to something already in the DB.
A lot of people have for example LCSC SPN's in their BOM's.
Automatically linking matched parts greatly simplifies the project creation workflow!
I for example would use this a lot even while still working on the project, to make sure I have all the needed parts early in the process!
If you have a different opinion on it, feel free to tell me :)
I'm willing to make changes if requested :)
Note: I'm not able to execute the PHP tests locally. While I did deploy the code on my server and it did work, I have not yet executed the tests. I therefore hope for them to pass on your CI :)