Inserimento query x ricerca ITEM, CART, BIN

This commit is contained in:
Samuele E. Locatelli
2019-09-27 15:59:15 +02:00
parent f2253bdc0b
commit bd14c8a2c3
10 changed files with 2059 additions and 28 deletions
+1817 -5
View File
File diff suppressed because it is too large Load Diff
+196 -4
View File
@@ -470,7 +470,7 @@ SELECT BatchID, OrdID FROM BatchReqList WHERE (BatchID = @BatchID) AND (OrdID =
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -490,7 +490,7 @@ SELECT ItemID, ItemStatus, OrdID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, Ite
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -517,7 +517,7 @@ SELECT ItemID, ItemStatus, OrdID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, Ite
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -532,7 +532,7 @@ SELECT ItemID, ItemStatus, OrdID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, Ite
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -586,6 +586,18 @@ SELECT ItemID, ItemStatus, OrdID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, Ite
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getBySearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearch" GetMethodModifier="Public" GetMethodName="getBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearch" UserSourceName="getBySearch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getBySearch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MaterialsTableAdapter" GeneratorDataComponentClassName="MaterialsTableAdapter" Name="Materials" UserDataComponentName="MaterialsTableAdapter">
@@ -670,6 +682,146 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BinsTableAdapter" GeneratorDataComponentClassName="BinsTableAdapter" Name="Bins" UserDataComponentName="BinsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Bins" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[Bins] WHERE (([BinID] = @Original_BinID) AND ((@IsNull_CreationBins = 1 AND [CreationBins] IS NULL) OR ([CreationBins] = @Original_CreationBins)) AND ([BinNum] = @Original_BinNum) AND ((@IsNull_BinDtmx = 1 AND [BinDtmx] IS NULL) OR ([BinDtmx] = @Original_BinDtmx)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreationBins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreationBins" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BinDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_BinDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BinDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Bins] ([CreationBins], [BinNum]) VALUES (@CreationBins, @BinNum);
SELECT BinID, CreationBins, BinNum, BinDtmx FROM Bins WHERE (BinID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreationBins" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BinNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinNum" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT BinID, CreationBins, BinNum, BinDtmx FROM dbo.Bins</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Bins] SET [CreationBins] = @CreationBins, [BinNum] = @BinNum WHERE (([BinID] = @Original_BinID) AND ((@IsNull_CreationBins = 1 AND [CreationBins] IS NULL) OR ([CreationBins] = @Original_CreationBins)) AND ([BinNum] = @Original_BinNum) AND ((@IsNull_BinDtmx = 1 AND [BinDtmx] IS NULL) OR ([BinDtmx] = @Original_BinDtmx)));
SELECT BinID, CreationBins, BinNum, BinDtmx FROM Bins WHERE (BinID = @BinID)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreationBins" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BinNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreationBins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreationBins" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationBins" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BinDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_BinDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BinDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="BinID" ColumnName="BinID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="CreationBins" DataSetColumn="CreationBins" />
<Mapping SourceColumn="BinNum" DataSetColumn="BinNum" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CartsTableAdapter" GeneratorDataComponentClassName="CartsTableAdapter" Name="Carts" UserDataComponentName="CartsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Carts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[Carts] WHERE (([CartID] = @Original_CartID) AND ([CreationCarts] = @Original_CreationCarts) AND ([CartNum] = @Original_CartNum) AND ((@IsNull_CartDtmx = 1 AND [CartDtmx] IS NULL) OR ([CartDtmx] = @Original_CartDtmx)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreationCarts" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationCarts" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CartDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CartDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Carts] ([CreationCarts], [CartNum]) VALUES (@CreationCarts, @CartNum);
SELECT CartID, CreationCarts, CartNum, CartDtmx FROM Carts WHERE (CartID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreationCarts" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationCarts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CartNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartNum" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CartID, CreationCarts, CartNum, CartDtmx FROM dbo.Carts</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Carts] SET [CreationCarts] = @CreationCarts, [CartNum] = @CartNum WHERE (([CartID] = @Original_CartID) AND ([CreationCarts] = @Original_CreationCarts) AND ([CartNum] = @Original_CartNum) AND ((@IsNull_CartDtmx = 1 AND [CartDtmx] IS NULL) OR ([CartDtmx] = @Original_CartDtmx)));
SELECT CartID, CreationCarts, CartNum, CartDtmx FROM Carts WHERE (CartID = @CartID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreationCarts" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationCarts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CartNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreationCarts" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreationCarts" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CartDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CartDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="CartID" ColumnName="CartID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="CreationCarts" DataSetColumn="CreationCarts" />
<Mapping SourceColumn="CartNum" DataSetColumn="CartNum" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -961,6 +1113,38 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Bins" msprop:Generator_TableClassName="BinsDataTable" msprop:Generator_TableVarName="tableBins" msprop:Generator_RowChangedName="BinsRowChanged" msprop:Generator_TablePropName="Bins" msprop:Generator_RowDeletingName="BinsRowDeleting" msprop:Generator_RowChangingName="BinsRowChanging" msprop:Generator_RowEvHandlerName="BinsRowChangeEventHandler" msprop:Generator_RowDeletedName="BinsRowDeleted" msprop:Generator_RowClassName="BinsRow" msprop:Generator_UserTableName="Bins" msprop:Generator_RowEvArgName="BinsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="BinID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnBinID" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_UserColumnName="BinID" type="xs:int" />
<xs:element name="CreationBins" msprop:Generator_ColumnVarNameInTable="columnCreationBins" msprop:Generator_ColumnPropNameInRow="CreationBins" msprop:Generator_ColumnPropNameInTable="CreationBinsColumn" msprop:Generator_UserColumnName="CreationBins" type="xs:dateTime" minOccurs="0" />
<xs:element name="BinNum" msprop:Generator_ColumnVarNameInTable="columnBinNum" msprop:Generator_ColumnPropNameInRow="BinNum" msprop:Generator_ColumnPropNameInTable="BinNumColumn" msprop:Generator_UserColumnName="BinNum" type="xs:int" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:Generator_UserColumnName="BinDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carts" msprop:Generator_TableClassName="CartsDataTable" msprop:Generator_TableVarName="tableCarts" msprop:Generator_RowChangedName="CartsRowChanged" msprop:Generator_TablePropName="Carts" msprop:Generator_RowDeletingName="CartsRowDeleting" msprop:Generator_RowChangingName="CartsRowChanging" msprop:Generator_RowEvHandlerName="CartsRowChangeEventHandler" msprop:Generator_RowDeletedName="CartsRowDeleted" msprop:Generator_RowClassName="CartsRow" msprop:Generator_UserTableName="Carts" msprop:Generator_RowEvArgName="CartsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CartID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnCartID" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_UserColumnName="CartID" type="xs:int" />
<xs:element name="CreationCarts" msprop:Generator_ColumnVarNameInTable="columnCreationCarts" msprop:Generator_ColumnPropNameInRow="CreationCarts" msprop:Generator_ColumnPropNameInTable="CreationCartsColumn" msprop:Generator_UserColumnName="CreationCarts" type="xs:dateTime" />
<xs:element name="CartNum" msprop:Generator_ColumnVarNameInTable="columnCartNum" msprop:Generator_ColumnPropNameInRow="CartNum" msprop:Generator_ColumnPropNameInTable="CartNumColumn" msprop:Generator_UserColumnName="CartNum" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_UserColumnName="CartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -992,6 +1176,14 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat
<xs:selector xpath=".//mstns:Materials" />
<xs:field xpath="mstns:MatID" />
</xs:unique>
<xs:unique name="Bins_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Bins" />
<xs:field xpath="mstns:BinID" />
</xs:unique>
<xs:unique name="Carts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Carts" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
+14 -12
View File
@@ -4,18 +4,20 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="30" ViewPortY="-38" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:BatchList" ZOrder="1" X="90" Y="375" Height="438" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:StackList" ZOrder="10" X="434" Y="674" Height="343" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:SheetList" ZOrder="9" X="751" Y="537" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OrderList" ZOrder="6" X="396" Y="34" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BatchReqList" ZOrder="8" X="101" Y="100" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ItemList" ZOrder="4" X="688" Y="34" Height="343" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Materials" ZOrder="3" X="989" Y="64" Height="248" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:BatchList" ZOrder="4" X="90" Y="375" Height="438" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:StackList" ZOrder="12" X="434" Y="674" Height="343" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:SheetList" ZOrder="11" X="751" Y="537" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OrderList" ZOrder="8" X="396" Y="34" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BatchReqList" ZOrder="10" X="101" Y="100" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ItemList" ZOrder="3" X="688" Y="34" Height="362" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Materials" ZOrder="6" X="989" Y="64" Height="248" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Bins" ZOrder="2" X="1137" Y="468" Height="172" Width="169" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Carts" ZOrder="1" X="1226" Y="760" Height="172" Width="174" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_BatchReqList_OrderList" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:FK_BatchReqList_OrderList" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>396</X>
@@ -27,7 +29,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ItemList_OrderList1" ZOrder="5" LineWidth="11">
<Connector ID="DesignRelation:FK_ItemList_OrderList1" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>594</X>
@@ -39,14 +41,14 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>989</X>
<Y>109</Y>
</Point>
<Point>
<X>879</X>
<X>908</X>
<Y>109</Y>
</Point>
</RoutePoints>
+11 -2
View File
@@ -97,6 +97,15 @@ namespace AppData
answ.codeInt = codeInt;
answ.description = $"BUNK: {answ.code}";
}
else if (bcValue.StartsWith("IG"))
{
answ.codeType = codeType.ItemGeneric;
answ.code = bcValue.Replace("IG", "");
int codeInt = 0;
int.TryParse(answ.code, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = codeInt;
answ.description = $"Item Generic: {answ.code}";
}
else if (bcValue.StartsWith("IT"))
{
answ.codeType = codeType.Item;
@@ -115,10 +124,10 @@ namespace AppData
answ.codeInt = codeInt;
answ.description = $"Cart: {answ.code}";
}
else if (bcValue.StartsWith("BIN"))
else if (bcValue.StartsWith("BN"))
{
answ.codeType = codeType.Bin;
answ.code = bcValue.Replace("BIN", "");
answ.code = bcValue.Replace("BN", "");
int codeInt = 0;
int.TryParse(answ.code, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = codeInt;
+1
View File
@@ -182,6 +182,7 @@ public enum codeType
{
UNK = 0,
Item,
ItemGeneric,
Material,
Sheet,
Stack,
+3 -1
View File
@@ -3,7 +3,9 @@
<configSections>
</configSections>
<connectionStrings>
<add name="AppData.Properties.Settings.Sauder_NKCConnectionString" connectionString="Data Source=10.74.82.14;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC" providerName="System.Data.SqlClient" />
<add name="AppData.Properties.Settings.Sauder_NKCConnectionString"
connectionString="Data Source=10.74.82.14;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC"
providerName="System.Data.SqlClient" />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+1 -1
View File
@@ -17,7 +17,7 @@ namespace NKC_WF
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
defaults: new { controller = "Browser", action = "Index", id = UrlParameter.Optional }
);
}
}
+14 -3
View File
@@ -50,7 +50,11 @@ namespace NKC_WF
break;
case codeType.Item:
cmp_barcode.showOutput("badge badge-success", $"Item recognized: {decoData.rawData}");
processItemSuggestion(decoData.rawData, decoData.codeInt);
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
break;
case codeType.ItemGeneric:
cmp_barcode.showOutput("badge badge-success", $"Item recognized: {decoData.rawData}");
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
break;
case codeType.Material:
cmp_barcode.showOutput("badge badge-warning", $"Material - ignored: {decoData.description}");
@@ -70,9 +74,11 @@ namespace NKC_WF
break;
case codeType.Cart:
cmp_barcode.showOutput("badge badge-success", $"Cart recognized: {decoData.description}");
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
break;
case codeType.Bin:
cmp_barcode.showOutput("badge badge-success", $"Bin recognized: {decoData.description}");
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
break;
default:
cmp_barcode.showOutput("text-danger", $"Unknown Data: {decoData.rawData} --> no action");
@@ -93,8 +99,13 @@ namespace NKC_WF
#endif
}
private void processItemSuggestion(string rawData, int codeInt)
/// <summary>
/// Processo il DataMatrix letto
/// </summary>
/// <param name="tipoCod"></param>
/// <param name="rawData"></param>
/// <param name="codeInt"></param>
private void processItemSuggestion(codeType tipoCod, string rawData, int codeInt)
{
// processo suggerimenti x ITEM dato suo RawData (Dtmx) e Cod univoco (intero)
@@ -53,6 +53,7 @@ namespace NKC_WF.WebUserControls
cmp_barcode.showOutput("text-danger", "Unknown Data");
break;
case codeType.Item:
case codeType.ItemGeneric:
cmp_barcode.showOutput("text-warning", "Item - ignored");
break;
case codeType.Material:
@@ -77,6 +77,7 @@ namespace NKC_WF.WebUserControls
doRaiseEv = true;
break;
case codeType.Item:
case codeType.ItemGeneric:
cmp_barcode.showOutput("text-warning", $"Item - ignored: {decoData.description}");
doRaiseEv = true;
break;