Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-04-14 16:17:43 +03:00
parent b1a3bbd3c5
commit 214677da1e
21 changed files with 3265 additions and 339 deletions

View File

@@ -1,18 +1,22 @@
package models
type OrderProductionUpdateLine struct {
OrderLineID string `json:"OrderLineID"`
NewItemCode string `json:"NewItemCode"`
NewColor string `json:"NewColor"`
NewDim2 string `json:"NewDim2"`
NewDesc string `json:"NewDesc"`
OrderLineID string `json:"OrderLineID"`
NewItemCode string `json:"NewItemCode"`
NewColor string `json:"NewColor"`
ItemDim1Code *string `json:"ItemDim1Code,omitempty"`
NewDim2 string `json:"NewDim2"`
NewDesc string `json:"NewDesc"`
OldDueDate string `json:"OldDueDate"`
NewDueDate string `json:"NewDueDate"`
}
type OrderProductionUpdatePayload struct {
Lines []OrderProductionUpdateLine `json:"lines"`
InsertMissing bool `json:"insertMissing"`
CdItems []OrderProductionCdItemDraft `json:"cdItems"`
ProductAttributes []OrderProductionItemAttributeRow `json:"productAttributes"`
Lines []OrderProductionUpdateLine `json:"lines"`
InsertMissing bool `json:"insertMissing"`
CdItems []OrderProductionCdItemDraft `json:"cdItems"`
ProductAttributes []OrderProductionItemAttributeRow `json:"productAttributes"`
HeaderAverageDueDate *string `json:"HeaderAverageDueDate,omitempty"`
}
type OrderProductionMissingVariant struct {
@@ -25,6 +29,19 @@ type OrderProductionMissingVariant struct {
ItemDim3Code string `json:"ItemDim3Code"`
}
type OrderProductionBarcodeValidation struct {
Code string `json:"code"`
Message string `json:"message"`
Barcode string `json:"barcode,omitempty"`
BarcodeTypeCode string `json:"barcodeTypeCode,omitempty"`
ItemTypeCode int16 `json:"ItemTypeCode,omitempty"`
ItemCode string `json:"ItemCode,omitempty"`
ColorCode string `json:"ColorCode,omitempty"`
ItemDim1Code string `json:"ItemDim1Code,omitempty"`
ItemDim2Code string `json:"ItemDim2Code,omitempty"`
ItemDim3Code string `json:"ItemDim3Code,omitempty"`
}
type OrderProductionCdItemDraft struct {
ItemTypeCode int16 `json:"ItemTypeCode"`
ItemCode string `json:"ItemCode"`