mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
feat(BE): add excluded stockables support in FIFO allocation and fetching methods
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user