From 8ff5ce91999b50b02b011b479a949f6322f51c73 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 16 Sep 2025 16:28:01 +0200 Subject: [PATCH 1/2] Update gestione BOM con prezzi: NON vengono salvati item "prezzati dall'engine" --- EgwCoreLib.Lux.Data/Controllers/LuxController.cs | 4 +++- Lux.API/Lux.API.csproj | 2 +- Lux.API/appsettings.Development.json | 4 ++-- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/EgwCoreLib.Lux.Data/Controllers/LuxController.cs b/EgwCoreLib.Lux.Data/Controllers/LuxController.cs index 7e897b13..b9b199bc 100644 --- a/EgwCoreLib.Lux.Data/Controllers/LuxController.cs +++ b/EgwCoreLib.Lux.Data/Controllers/LuxController.cs @@ -456,7 +456,9 @@ namespace EgwCoreLib.Lux.Data.Controllers { var currRec = dbCtx .DbSetItem - .Where(x => x.CodGroup == item.ClassCode && x.ExtItemCode == item.ItemCode) + .Where(x => x.CodGroup == item.ClassCode + && x.ExtItemCode == item.ItemCode + && item.Price == 0) .FirstOrDefault(); // se nullo --> lo devo inserire!!! diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index 25ef60f4..925d0900 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 0.9.2509.1615 + 0.9.2509.1616 diff --git a/Lux.API/appsettings.Development.json b/Lux.API/appsettings.Development.json index 02f2251b..c294297e 100644 --- a/Lux.API/appsettings.Development.json +++ b/Lux.API/appsettings.Development.json @@ -7,7 +7,7 @@ }, "ServerConf": { "BaseUrl": "/lux/srv/", - "PubChannel": "EgwDevEngineInput", - "SubChannel": "EgwDevEngineOutput" + "PubChannel": "EgwEngineInput", + "SubChannel": "EgwEngineOutput" } } diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 27d5cee5..78f74a85 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 0.9.2509.1615

+

Versione: 0.9.2509.1616


Note di rilascio: