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

Add Custom Fields to Multiple Entities #3044

Closed
seanbailis opened this issue Sep 5, 2024 · 1 comment
Closed

Add Custom Fields to Multiple Entities #3044

seanbailis opened this issue Sep 5, 2024 · 1 comment

Comments

@seanbailis
Copy link

seanbailis commented Sep 5, 2024

Is your feature request related to a problem? Please describe.
Unable to directly track incoming / ordered stock directly on a stock level. Unable to store some specific details we want to track on other entities.

Describe the solution you'd like
Please allow for custom fields on the following entities:
• Payment
• Refund
• Session
• ShippingLine
• StockLevel
• StockMovement

Describe alternatives you've considered
Making a custom entities - not ideal.

Additional context
Currently unavailable, console output: "Could not find embedded CustomFields property on entity 'StockLevel'". Same with the other entities.

@michaelbromley michaelbromley moved this to 📋 Backlog in Vendure OS Roadmap Sep 20, 2024
@seanbailis seanbailis changed the title Add Custom Fields to the StockLevel Entity Add Custom Fields to the StockLevel and Payment Entities Sep 20, 2024
@dlhck dlhck moved this from 📦 Backlog to 📅 Planned in Vendure OS Roadmap Sep 24, 2024
@dlhck dlhck added this to the v3.1 milestone Sep 24, 2024
@seanbailis seanbailis changed the title Add Custom Fields to the StockLevel and Payment Entities Add Custom Fields to the Multiple Entities Sep 25, 2024
@seanbailis seanbailis changed the title Add Custom Fields to the Multiple Entities Add Custom Fields to Multiple Entities Sep 28, 2024
@mschipperheyn
Copy link
Collaborator

We would like to see CustomFields on the HistoryEntry entity. While it already allows you to add a JSON data structure, we wanted to use this entity for a Note/TODO like approach. It would nicely integrate with the CustomerHistory or OrderHistory. For such a scenario, you want to do queries that filter by customFields such as done, which makes much more sense at a column level then having to go into JSONs.

@michaelbromley michaelbromley self-assigned this Oct 31, 2024
@michaelbromley michaelbromley moved this from 📅 Planned to ♻️ In progress in Vendure OS Roadmap Nov 26, 2024
michaelbromley added a commit that referenced this issue Nov 26, 2024
…e, StockLevel, StockMovement, Session, HistoryEntry

Relates to #3044
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ♻️ In progress
Development

No branches or pull requests

4 participants