[Importer] Natural Key Support #7574
Labels
enhancement
This is an suggested enhancement or new feature
Fund
This issue can be specifically funded for development
import / export
Data importing, exporting and processing
Milestone
When importing a dataset with "foreign key" relations, these may be specified with a natural key (e.g. "name" / "sku" / etc) - rather than the internal InvenTree ID - especially when importing from a different dataset.
So, add some options to lookup using other fields in the related model, rather than just "pk" value. "pk" is used as a priority, when a valid pk is provided.
For example when importing rows for a purchase order, supplier parts could be looked up by "sku" - this will be present when importing a purchase order dataset from an external supplier.
Upvote & Fund
The text was updated successfully, but these errors were encountered: