mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 11:59:35 +01:00
feat(production): Batch bei Produktionsstart automatisch erstellen (#73)
- BatchNumber in allen ProductionOrder-Endpoints via BatchRepository auflösen - BatchCreationFailed Error-Variante statt generischem ValidationFailure - bestBeforeDate-Berechnung als Recipe.calculateBestBeforeDate() in die Domain verschoben
This commit is contained in:
parent
26adf21162
commit
600d0f9f06
20 changed files with 356 additions and 397 deletions
|
|
@ -1702,6 +1702,7 @@ export interface components {
|
|||
recipeId?: string;
|
||||
status?: string;
|
||||
batchId?: string;
|
||||
batchNumber?: string;
|
||||
plannedQuantity?: string;
|
||||
plannedQuantityUnit?: string;
|
||||
/** Format: date */
|
||||
|
|
@ -1714,9 +1715,6 @@ export interface components {
|
|||
/** Format: date-time */
|
||||
updatedAt?: string;
|
||||
};
|
||||
StartProductionOrderRequest: {
|
||||
batchId: string;
|
||||
};
|
||||
RescheduleProductionOrderRequest: {
|
||||
/** Format: date */
|
||||
newPlannedDate: string;
|
||||
|
|
@ -3118,11 +3116,7 @@ export interface operations {
|
|||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["StartProductionOrderRequest"];
|
||||
};
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description OK */
|
||||
200: {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,5 @@ export type CancelBatchRequest = components['schemas']['CancelBatchRequest'];
|
|||
// Production Order types
|
||||
export type ProductionOrderDTO = components['schemas']['ProductionOrderResponse'];
|
||||
export type CreateProductionOrderRequest = components['schemas']['CreateProductionOrderRequest'];
|
||||
export type StartProductionOrderRequest = components['schemas']['StartProductionOrderRequest'];
|
||||
export type RescheduleProductionOrderRequest = components['schemas']['RescheduleProductionOrderRequest'];
|
||||
export type CancelProductionOrderRequest = components['schemas']['CancelProductionOrderRequest'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue