diff --git a/svc/queries/orderproduction_items.go b/svc/queries/orderproduction_items.go index a8d1429..b42dfe3 100644 --- a/svc/queries/orderproduction_items.go +++ b/svc/queries/orderproduction_items.go @@ -834,6 +834,7 @@ func InsertItemBarcodesTx(tx *sql.Tx, orderHeaderID string, lines []models.Order args = append(args, orderHeaderID, username) query := fmt.Sprintf(` +SET NOCOUNT ON; ;WITH srcLine (OrderLineID) AS ( SELECT * FROM (VALUES %s) AS v (OrderLineID)