Repository navigation
Feature/27 food catalog - #86
Merged
Merged
Conversation
lauriechammah
requested changes
Nov 17, 2026
lauriechammah
left a comment
Collaborator
There was a problem hiding this comment.
See requested changes below
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #27
Overview
The catalog is the shared list of foods that donations point to, so the same food keeps one name and can be matched with Business Central. The price grid had already created
catalog_itemswith only a name. This adds the remaining fields on that same table: category, a unique Business Central code, unit, and the quality class.The quality class is stored on the catalog item and must be a class that already exists.
catalog_itemsis the kind of food.food_itemsis one donation of that food. The unit is free text until issue #28 decides how a price per unit works.List, create, and edit are available at
api/catalog-items. A duplicate Business Central code is rejected.Testing
dotnet testpassed, 341 tests.Screenshots / Screencasts
No frontend changes. The catalog diagram is in
docs/database/images/catalog.png.Checklist
Tip: You can make the issue and then check them after the fact or replace
[ ]with[x]to check it!Notes
https://dbdiagram.io/d/6afbc6704e0bad6598d94e59