Skip to content
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

[Importer] Natural Key Support #7574

Open
SchrodingersGat opened this issue Jul 7, 2024 · 2 comments
Open

[Importer] Natural Key Support #7574

SchrodingersGat opened this issue Jul 7, 2024 · 2 comments
Assignees
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

Comments

@SchrodingersGat
Copy link
Member

SchrodingersGat commented Jul 7, 2024

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

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature import / export Data importing, exporting and processing Fund This issue can be specifically funded for development labels Jul 7, 2024
@SchrodingersGat SchrodingersGat self-assigned this Jul 7, 2024
Copy link
Contributor

github-actions bot commented Sep 5, 2024

This issue seems stale. Please react to show this is still important.

@github-actions github-actions bot added the inactive Indicates lack of activity label Sep 5, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Sep 5, 2024
@SchrodingersGat SchrodingersGat removed the inactive Indicates lack of activity label Sep 5, 2024
@SchrodingersGat
Copy link
Member Author

Still active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant