feat(BE): add excluded stockables support in FIFO allocation and fetching methods

This commit is contained in:
aguhh18
2026-01-07 13:54:55 +07:00
parent 76d5b6b69a
commit 9336289573
2 changed files with 33 additions and 9 deletions
+6 -5
View File
@@ -54,11 +54,12 @@ type StockableConfig struct {
// UsableConfig registers a table that consumes stock (recordings, adjustments, sales, etc).
type UsableConfig struct {
Key UsableKey
Table string
Columns UsableColumns
OrderBy []string
Scope QueryScope
Key UsableKey
Table string
Columns UsableColumns
OrderBy []string
Scope QueryScope
ExcludedStockables []StockableKey // Stockables to exclude when consuming stock
}
var (