qrmode 에서 wms rcv 태그 인식되게 함

This commit is contained in:
ChiKyun Kim
2025-08-06 10:05:24 +09:00
parent a7bc964b5c
commit c17296101a
89 changed files with 8051 additions and 6661 deletions

View File

@@ -7,9 +7,9 @@
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CS (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Project.Properties.Settings.GlobalReference.Default.CS" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_ResultTableAdapter" GeneratorDataComponentClassName="Component_Reel_ResultTableAdapter" Name="Component_Reel_Result" UserDataComponentName="Component_Reel_ResultTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_ResultTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_ResultTableAdapter" Name="K4EE_Component_Reel_Result" UserDataComponentName="K4EE_Component_Reel_ResultTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Result" 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 [Component_Reel_Result] WHERE (([idx] = @Original_idx) AND ([STIME] = @Original_STIME) AND ((@IsNull_ETIME = 1 AND [ETIME] IS NULL) OR ([ETIME] = @Original_ETIME)) AND ((@IsNull_PDATE = 1 AND [PDATE] IS NULL) OR ([PDATE] = @Original_PDATE)) AND ((@IsNull_JTYPE = 1 AND [JTYPE] IS NULL) OR ([JTYPE] = @Original_JTYPE)) AND ((@IsNull_JGUID = 1 AND [JGUID] IS NULL) OR ([JGUID] = @Original_JGUID)) AND ((@IsNull_SID = 1 AND [SID] IS NULL) OR ([SID] = @Original_SID)) AND ((@IsNull_SID0 = 1 AND [SID0] IS NULL) OR ([SID0] = @Original_SID0)) AND ((@IsNull_RID = 1 AND [RID] IS NULL) OR ([RID] = @Original_RID)) AND ((@IsNull_RID0 = 1 AND [RID0] IS NULL) OR ([RID0] = @Original_RID0)) AND ((@IsNull_RSN = 1 AND [RSN] IS NULL) OR ([RSN] = @Original_RSN)) AND ((@IsNull_QR = 1 AND [QR] IS NULL) OR ([QR] = @Original_QR)) AND ((@IsNull_ZPL = 1 AND [ZPL] IS NULL) OR ([ZPL] = @Original_ZPL)) AND ((@IsNull_POS = 1 AND [POS] IS NULL) OR ([POS] = @Original_POS)) AND ((@IsNull_LOC = 1 AND [LOC] IS NULL) OR ([LOC] = @Original_LOC)) AND ((@IsNull_ANGLE = 1 AND [ANGLE] IS NULL) OR ([ANGLE] = @Original_ANGLE)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_QTY0 = 1 AND [QTY0] IS NULL) OR ([QTY0] = @Original_QTY0)) AND ([wdate] = @Original_wdate) AND ((@IsNull_VNAME = 1 AND [VNAME] IS NULL) OR ([VNAME] = @Original_VNAME)) AND ((@IsNull_PRNATTACH = 1 AND [PRNATTACH] IS NULL) OR ([PRNATTACH] = @Original_PRNATTACH)) AND ((@IsNull_PRNVALID = 1 AND [PRNVALID] IS NULL) OR ([PRNVALID] = @Original_PRNVALID)) AND ((@IsNull_PTIME = 1 AND [PTIME] IS NULL) OR ([PTIME] = @Original_PTIME)) AND ((@IsNull_MFGDATE = 1 AND [MFGDATE] IS NULL) OR ([MFGDATE] = @Original_MFGDATE)) AND ((@IsNull_VLOT = 1 AND [VLOT] IS NULL) OR ([VLOT] = @Original_VLOT)) AND ((@IsNull_REMARK = 1 AND [REMARK] IS NULL) OR ([REMARK] = @Original_REMARK)) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ((@IsNull_PARTNO = 1 AND [PARTNO] IS NULL) OR ([PARTNO] = @Original_PARTNO)) AND ((@IsNull_CUSTCODE = 1 AND [CUSTCODE] IS NULL) OR ([CUSTCODE] = @Original_CUSTCODE)) AND ((@IsNull_ATIME = 1 AND [ATIME] IS NULL) OR ([ATIME] = @Original_ATIME)) AND ((@IsNull_BATCH = 1 AND [BATCH] IS NULL) OR ([BATCH] = @Original_BATCH)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_GUID = 1 AND [GUID] IS NULL) OR ([GUID] = @Original_GUID)))</CommandText>
@@ -126,7 +126,7 @@
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK,
MC, PARTNO, CUSTCODE, ATIME, BATCH, qtymax, GUID, iNBOUND, MCN, target
FROM Component_Reel_Result WITH (NOLOCK)
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC, idx</CommandText>
<Parameters>
@@ -231,7 +231,11 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy50" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBy50" GeneratorSourceName="FillBy50" GetMethodModifier="Public" GetMethodName="GetBy50" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBy50" UserSourceName="FillBy50">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (CONVERT (varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc) ORDER BY wdate DESC</CommandText>
<CommandText>SELECT TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID,
RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -243,9 +247,13 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAllGUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByAllGUID" GeneratorSourceName="FillByAllGUID" GetMethodModifier="Public" GetMethodName="GetByAllGUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByAllGUID" UserSourceName="FillByAllGUID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (GUID = @guid) AND (ISNULL(MC, '') = @mc) AND (PRNATTACH = 1) AND (PRNVALID = 1) ORDER BY wdate DESC</CommandText>
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0,
RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (GUID = @guid) AND (ISNULL(MC, '') = @mc) AND (PRNATTACH = 1) AND (PRNVALID = 1)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
@@ -254,9 +262,12 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByJGUID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByJGUID" GeneratorSourceName="FillByJGUID" GetMethodModifier="Public" GetMethodName="GetByJGUID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByJGUID" UserSourceName="FillByJGUID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (JGUID = @jguid)</CommandText>
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0,
RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (JGUID = @jguid)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="jguid" ColumnName="JGUID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@jguid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="jguid" ColumnName="JGUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@jguid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -264,10 +275,14 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByLastVLotOne" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByLastVLotOne" GeneratorSourceName="FillByLastVLotOne" GetMethodModifier="Public" GetMethodName="GetByLastVLotOne" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByLastVLotOne" UserSourceName="FillByLastVLotOne">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT TOP (1) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (MC = @mc) AND (VLOT = @vlot) ORDER BY wdate DESC</CommandText>
<CommandText>SELECT TOP (1) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID,
RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (MC = @mc) AND (VLOT = @vlot)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="vlot" ColumnName="VLOT" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@vlot" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="vlot" ColumnName="VLOT" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@vlot" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -275,7 +290,11 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByLen7" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByLen7" GeneratorSourceName="FillByLen7" GetMethodModifier="Public" GetMethodName="GetByLen7" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByLen7" UserSourceName="FillByLen7">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (CONVERT (varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc) ORDER BY wdate DESC</CommandText>
<CommandText>SELECT TOP (50) ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID,
RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(MC, '') = @mc)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -289,11 +308,11 @@ SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZP
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK,
MC, PARTNO, CUSTCODE, ATIME, BATCH, qtymax, GUID, iNBOUND, MCN, target
FROM Component_Reel_Result WITH (NOLOCK)
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (MC = @mc) AND (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) AND (ISNULL(QR, '') LIKE @search)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -304,11 +323,15 @@ ORDER BY wdate DESC</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByValid" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByValid" GeneratorSourceName="FillByValid" GetMethodModifier="Public" GetMethodName="GetByValid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByValid" UserSourceName="FillByValid">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1) ORDER BY wdate DESC, idx</CommandText>
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0,
RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1)
ORDER BY wdate DESC, idx</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -316,12 +339,16 @@ ORDER BY wdate DESC</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByValidGuid" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByValidGuid" GeneratorSourceName="FillByValidGuid" GetMethodModifier="Public" GetMethodName="GetByValidGuid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByValidGuid" UserSourceName="FillByValidGuid">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate FROM Component_Reel_Result WITH (NOLOCK) WHERE (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1) AND (GUID = @guid) ORDER BY wdate DESC, idx</CommandText>
<CommandText>SELECT ANGLE, ATIME, BATCH, CUSTCODE, ETIME, GUID, JGUID, JTYPE, LOC, MC, MCN, MFGDATE, PARTNO, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0,
RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, iNBOUND, idx, qtymax, target, wdate
FROM K4EE_Component_Reel_Result WITH (NOLOCK)
WHERE (STIME BETWEEN @sd AND @ed) AND (MC = @mc) AND (ISNULL(PRNVALID, 0) = 1) AND (ISNULL(PRNATTACH, 0) = 1) AND (GUID = @guid)
ORDER BY wdate DESC, idx</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="guid" ColumnName="GUID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@guid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -330,11 +357,11 @@ ORDER BY wdate DESC</CommandText>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT COUNT(*) AS Expr1
FROM Component_Reel_Result
FROM K4EE_Component_Reel_Result WITH (no lock)
WHERE (iNBOUND = 'OK') AND (SID = @sid) AND (BATCH = @batch) AND (MC &lt;&gt; 'R0')</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -343,21 +370,21 @@ WHERE (iNBOUND = 'OK') AND (SID = @sid) AND (BATCH = @batch) AND (MC &lt;&gt; '
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT TOP (1) ISNULL(POS, '') AS Expr1
FROM Component_Reel_Result
FROM K4EE_Component_Reel_Result WITH (no lock)
WHERE (MC = @mc) AND (SID = @sid) AND (ISNULL(POS, '') &lt;&gt; '')
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_RegExRuleTableAdapter" GeneratorDataComponentClassName="Component_Reel_RegExRuleTableAdapter" Name="Component_Reel_RegExRule" UserDataComponentName="Component_Reel_RegExRuleTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_RegExRuleTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_RegExRuleTableAdapter" Name="K4EE_Component_Reel_RegExRule" UserDataComponentName="K4EE_Component_Reel_RegExRuleTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_RegExRule" 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 [Component_Reel_RegExRule] WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)))</CommandText>
@@ -405,7 +432,7 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore
FROM Component_Reel_RegExRule
FROM K4EE_Component_Reel_RegExRule
WHERE (ISNULL(CustCode, '') LIKE @custcode)
ORDER BY CustCode, Seq, Description</CommandText>
<Parameters>
@@ -447,7 +474,7 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="EE.dbo.Component_Reel_RegExRule" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -470,7 +497,8 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillAll" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetAll" GeneratorSourceName="FillAll" GetMethodModifier="Public" GetMethodName="GetAll" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetAll" UserSourceName="FillAll">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol FROM Component_Reel_RegExRule
<CommandText>SELECT CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM K4EE_Component_Reel_RegExRule
ORDER BY CustCode, Seq, Description</CommandText>
<Parameters />
</DbCommand>
@@ -479,7 +507,11 @@ ORDER BY CustCode, Seq, Description</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_RegExRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByWithSample" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByWithSample" GeneratorSourceName="FillByWithSample" GetMethodModifier="Public" GetMethodName="GetByWithSample" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByWithSample" UserSourceName="FillByWithSample">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol FROM Component_Reel_RegExRule WHERE (ISNULL(CustCode, '') = '') OR (ISNULL(CustCode, '') LIKE @custcode) ORDER BY CustCode, Seq, Description</CommandText>
<CommandText>SELECT CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM K4EE_Component_Reel_RegExRule
WHERE (ISNULL(CustCode, '') = '') OR
(ISNULL(CustCode, '') LIKE @custcode)
ORDER BY CustCode, Seq, Description</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -490,7 +522,7 @@ ORDER BY CustCode, Seq, Description</CommandText>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CustCode, Description, Groups, Id, IsAmkStd, IsEnable, IsIgnore, IsTrust, Pattern, Seq, Symbol
FROM Component_Reel_RegExRule
FROM K4EE_Component_Reel_RegExRule
WHERE (ISNULL(CustCode, '') LIKE @custcode) AND (ISNULL(IsIgnore, 0) = 1)
ORDER BY CustCode, Seq, Description</CommandText>
<Parameters>
@@ -501,9 +533,9 @@ ORDER BY CustCode, Seq, Description</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_SID_ConvertTableAdapter" GeneratorDataComponentClassName="Component_Reel_SID_ConvertTableAdapter" Name="Component_Reel_SID_Convert" UserDataComponentName="Component_Reel_SID_ConvertTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_SID_ConvertTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_SID_ConvertTableAdapter" Name="K4EE_Component_Reel_SID_Convert" UserDataComponentName="K4EE_Component_Reel_SID_ConvertTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Convert" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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 [Component_Reel_SID_Convert] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ((@IsNull_Chk = 1 AND [Chk] IS NULL) OR ([Chk] = @Original_Chk)) AND ((@IsNull_SIDFrom = 1 AND [SIDFrom] IS NULL) OR ([SIDFrom] = @Original_SIDFrom)) AND ((@IsNull_SIDTo = 1 AND [SIDTo] IS NULL) OR ([SIDTo] = @Original_SIDTo)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))</CommandText>
@@ -541,7 +573,7 @@ SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate FROM Component_Reel_SID_Conve
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate
FROM Component_Reel_SID_Convert WITH (NOLOCK)
FROM K4EE_Component_Reel_SID_Convert WITH (NOLOCK)
WHERE (ISNULL(SIDFrom, '') &lt;&gt; '') AND (ISNULL(SIDTo, '') &lt;&gt; '') AND (ISNULL(SIDFrom, '') &lt;&gt; ISNULL(SIDTo, ''))
ORDER BY SIDFrom</CommandText>
<Parameters />
@@ -588,9 +620,9 @@ SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate FROM Component_Reel_SID_Conve
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_SID_InformationTableAdapter" GeneratorDataComponentClassName="Component_Reel_SID_InformationTableAdapter" Name="Component_Reel_SID_Information" UserDataComponentName="Component_Reel_SID_InformationTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_SID_InformationTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_SID_InformationTableAdapter" Name="K4EE_Component_Reel_SID_Information" UserDataComponentName="K4EE_Component_Reel_SID_InformationTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" 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 [Component_Reel_SID_Information] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ([CustCode] = @Original_CustCode) AND ([PartNo] = @Original_PartNo) AND ((@IsNull_CustName = 1 AND [CustName] IS NULL) OR ([CustName] = @Original_CustName)) AND ((@IsNull_VenderName = 1 AND [VenderName] IS NULL) OR ([VenderName] = @Original_VenderName)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_attach = 1 AND [attach] IS NULL) OR ([attach] = @Original_attach)))</CommandText>
@@ -643,11 +675,11 @@ SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batc
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batch, qtymax, VenderLot, attach
FROM Component_Reel_SID_Information WITH (NOLOCK)
FROM K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE (MC = @mcname)
ORDER BY idx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -690,7 +722,7 @@ SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batc
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_attach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -712,7 +744,7 @@ SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batc
<Mapping SourceColumn="attach" DataSetColumn="attach" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteAll" Modifier="Public" Name="DeleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteAll">
<DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteAll" Modifier="Public" Name="DeleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteAll">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM [Component_Reel_SID_Information] WHERE mc = @mcname</CommandText>
@@ -721,14 +753,25 @@ SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batc
</Parameters>
</DbCommand>
</DeleteCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM K4EE_Component_Reel_SID_Information
WHERE (MC = @mcname)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBySID" GeneratorSourceName="FillBySID" GetMethodModifier="Public" GetMethodName="GetBySID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBySID" UserSourceName="FillBySID">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate FROM Component_Reel_SID_Information WITH (NOLOCK) WHERE (MC = @mcname) AND (SID = @sid)</CommandText>
<CommandText>SELECT CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate
FROM K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE (MC = @mcname) AND (SID = @sid)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -736,15 +779,17 @@ SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, wdate, batc
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySIDNoCustCode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbySIDNoCustCode" GeneratorSourceName="FillBySIDNoCustCode" GetMethodModifier="Public" GetMethodName="GetbySIDNoCustCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbySIDNoCustCode" UserSourceName="FillBySIDNoCustCode">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate FROM Component_Reel_SID_Information WITH (NOLOCK) WHERE (MC = @mcname) AND (SID = @sid) AND (ISNULL(CustCode, '') &lt;&gt; '')</CommandText>
<CommandText>SELECT CustCode, CustName, MC, PartNo, Remark, SID, VenderLot, VenderName, attach, batch, idx, qtymax, wdate
FROM K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE (MC = @mcname) AND (SID = @sid) AND (ISNULL(CustCode, '') &lt;&gt; '')</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="MakeIBData" Modifier="Public" Name="MakeIBData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="MakeIBData">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="MakeIBData" Modifier="Public" Name="MakeIBData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="MakeIBData">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>insert into Component_Reel_SID_Information(mc,sid,custcode,partno,custname,vendername,venderlot,printposition,remark,mfg,qtymax,batch,wdate)
@@ -756,12 +801,24 @@ where mc = @mcname</CommandText>
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO K4EE_Component_Reel_SID_Information
(MC, SID, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, Remark, MFG, qtymax, batch, wdate)
SELECT 'IB' AS Expr1, SID, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, 'disable ECS' AS Expr2, MFG, qtymax, batch, wdate
FROM K4EE_Component_Reel_SID_Information AS Component_Reel_SID_Information_1
WHERE (MC = @mcname)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_PreSetTableAdapter" GeneratorDataComponentClassName="Component_Reel_PreSetTableAdapter" Name="Component_Reel_PreSet" UserDataComponentName="Component_Reel_PreSetTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_PreSetTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_PreSetTableAdapter" Name="K4EE_Component_Reel_PreSet" UserDataComponentName="K4EE_Component_Reel_PreSetTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_PreSet" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_PreSet" 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 [Component_Reel_PreSet] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([Title] = @Original_Title) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_vOption = 1 AND [vOption] IS NULL) OR ([vOption] = @Original_vOption)) AND ((@IsNull_vJobInfo = 1 AND [vJobInfo] IS NULL) OR ([vJobInfo] = @Original_vJobInfo)) AND ((@IsNull_vSidInfo = 1 AND [vSidInfo] IS NULL) OR ([vSidInfo] = @Original_vSidInfo)) AND ((@IsNull_vServerWrite = 1 AND [vServerWrite] IS NULL) OR ([vServerWrite] = @Original_vServerWrite)) AND ((@IsNull_jobtype = 1 AND [jobtype] IS NULL) OR ([jobtype] = @Original_jobtype)) AND ((@IsNull_bypasssid = 1 AND [bypasssid] IS NULL) OR ([bypasssid] = @Original_bypasssid)))</CommandText>
@@ -810,7 +867,7 @@ SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite,
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite, jobtype, bypasssid
FROM Component_Reel_PreSet
FROM K4EE_Component_Reel_PreSet
WHERE (ISNULL(MC, '') = @mc)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="mc" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -852,7 +909,7 @@ SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite,
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_jobtype" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="jobtype" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bypasssid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_bypasssid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bypasssid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Component_Reel_PreSet" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -873,9 +930,9 @@ SELECT idx, MC, Title, Remark, wdate, vOption, vJobInfo, vSidInfo, vServerWrite,
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_CustInfoTableAdapter" GeneratorDataComponentClassName="Component_Reel_CustInfoTableAdapter" Name="Component_Reel_CustInfo" UserDataComponentName="Component_Reel_CustInfoTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_CustInfoTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_CustInfoTableAdapter" Name="K4EE_Component_Reel_CustInfo" UserDataComponentName="K4EE_Component_Reel_CustInfoTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_CustInfo" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_CustInfo" 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 [Component_Reel_CustInfo] WHERE (([code] = @Original_code) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)))</CommandText>
@@ -899,7 +956,7 @@ SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code)</CommandText
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT code, name
FROM Component_Reel_CustInfo WITH (NOLOCK)</CommandText>
FROM K4EE_Component_Reel_CustInfo WITH (NOLOCK)</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -926,11 +983,11 @@ SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code)</CommandText
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ResultSummaryTableAdapter" GeneratorDataComponentClassName="ResultSummaryTableAdapter" Name="ResultSummary" UserDataComponentName="ResultSummaryTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT PARTNO, VLOT, COUNT(*) AS QTY, SUM(QTY) / 1000 AS KPC
FROM Component_Reel_Result
FROM K4EE_Component_Reel_Result
WHERE (ISNULL(MC, '') = @mc) AND (PRNATTACH = 1) AND (CONVERT(varchar(10), STIME, 120) BETWEEN @sd AND @ed)
GROUP BY PARTNO, VLOT
ORDER BY PARTNO, VLOT</CommandText>
@@ -951,9 +1008,9 @@ ORDER BY PARTNO, VLOT</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_Print_InformationTableAdapter" GeneratorDataComponentClassName="Component_Reel_Print_InformationTableAdapter" Name="Component_Reel_Print_Information" UserDataComponentName="Component_Reel_Print_InformationTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_Print_InformationTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_Print_InformationTableAdapter" Name="K4EE_Component_Reel_Print_Information" UserDataComponentName="K4EE_Component_Reel_Print_InformationTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Print_Information" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_Print_Information" 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 [Component_Reel_Print_Information] WHERE (([idx] = @Original_idx) AND ((@IsNull_MC = 1 AND [MC] IS NULL) OR ([MC] = @Original_MC)) AND ([SID] = @Original_SID) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))</CommandText>
@@ -987,10 +1044,10 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, MC, SID, PrintPosition, Remark, wdate
FROM Component_Reel_Print_Information WITH (NOLOCK)
FROM K4EE_Component_Reel_Print_Information WITH (NOLOCK)
WHERE (MC = @mc)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1033,23 +1090,23 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idx, MC, SID, PrintPosition, Remark, wdate
FROM Component_Reel_Print_Information WITH (NOLOCK)
FROM K4EE_Component_Reel_Print_Information WITH (NOLOCK)
WHERE (MC = @mc) AND (SID = @sid)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_Print_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mc" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mc" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_PrintRegExRuleTableAdapter" GeneratorDataComponentClassName="Component_Reel_PrintRegExRuleTableAdapter" Name="Component_Reel_PrintRegExRule" UserDataComponentName="Component_Reel_PrintRegExRuleTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="K4EE_Component_Reel_PrintRegExRuleTableAdapter" GeneratorDataComponentClassName="K4EE_Component_Reel_PrintRegExRuleTableAdapter" Name="K4EE_Component_Reel_PrintRegExRule" UserDataComponentName="K4EE_Component_Reel_PrintRegExRuleTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_PrintRegExRule" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_PrintRegExRule" 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 [Component_Reel_PrintRegExRule] WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)))</CommandText>
<CommandText>DELETE FROM [K4EE_Component_Reel_PrintRegExRule] WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -1075,8 +1132,8 @@ WHERE (MC = @mc) AND (SID = @sid)</CommandText>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Component_Reel_PrintRegExRule] ([Seq], [CustCode], [Description], [Symbol], [Pattern], [Groups], [IsEnable], [IsTrust], [IsAmkStd], [IsIgnore]) VALUES (@Seq, @CustCode, @Description, @Symbol, @Pattern, @Groups, @IsEnable, @IsTrust, @IsAmkStd, @IsIgnore);
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM Component_Reel_PrintRegExRule WHERE (Id = SCOPE_IDENTITY())</CommandText>
<CommandText>INSERT INTO [K4EE_Component_Reel_PrintRegExRule] ([Seq], [CustCode], [Description], [Symbol], [Pattern], [Groups], [IsEnable], [IsTrust], [IsAmkStd], [IsIgnore]) VALUES (@Seq, @CustCode, @Description, @Symbol, @Pattern, @Groups, @IsEnable, @IsTrust, @IsAmkStd, @IsIgnore);
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM K4EE_Component_Reel_PrintRegExRule WHERE (Id = SCOPE_IDENTITY()) ORDER BY Id</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1092,16 +1149,17 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Component_Reel_PrintRegExRule.*
FROM Component_Reel_PrintRegExRule</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore
FROM K4EE_Component_Reel_PrintRegExRule
ORDER BY Id</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Component_Reel_PrintRegExRule] SET [Seq] = @Seq, [CustCode] = @CustCode, [Description] = @Description, [Symbol] = @Symbol, [Pattern] = @Pattern, [Groups] = @Groups, [IsEnable] = @IsEnable, [IsTrust] = @IsTrust, [IsAmkStd] = @IsAmkStd, [IsIgnore] = @IsIgnore WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)));
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM Component_Reel_PrintRegExRule WHERE (Id = @Id)</CommandText>
<CommandText>UPDATE [K4EE_Component_Reel_PrintRegExRule] SET [Seq] = @Seq, [CustCode] = @CustCode, [Description] = @Description, [Symbol] = @Symbol, [Pattern] = @Pattern, [Groups] = @Groups, [IsEnable] = @IsEnable, [IsTrust] = @IsTrust, [IsAmkStd] = @IsAmkStd, [IsIgnore] = @IsIgnore WHERE (([Id] = @Original_Id) AND ((@IsNull_Seq = 1 AND [Seq] IS NULL) OR ([Seq] = @Original_Seq)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Symbol = 1 AND [Symbol] IS NULL) OR ([Symbol] = @Original_Symbol)) AND ((@IsNull_Groups = 1 AND [Groups] IS NULL) OR ([Groups] = @Original_Groups)) AND ((@IsNull_IsEnable = 1 AND [IsEnable] IS NULL) OR ([IsEnable] = @Original_IsEnable)) AND ((@IsNull_IsTrust = 1 AND [IsTrust] IS NULL) OR ([IsTrust] = @Original_IsTrust)) AND ((@IsNull_IsAmkStd = 1 AND [IsAmkStd] IS NULL) OR ([IsAmkStd] = @Original_IsAmkStd)) AND ((@IsNull_IsIgnore = 1 AND [IsIgnore] IS NULL) OR ([IsIgnore] = @Original_IsIgnore)));
SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrust, IsAmkStd, IsIgnore FROM K4EE_Component_Reel_PrintRegExRule WHERE (Id = @Id) ORDER BY Id</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Seq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Seq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1132,7 +1190,7 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsAmkStd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAmkStd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsIgnore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsIgnore" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsIgnore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="EE.dbo.Component_Reel_PrintRegExRule" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="WMS.dbo.K4EE_Component_Reel_PrintRegExRule" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -1153,18 +1211,18 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SidinfoCustGroupTableAdapter" GeneratorDataComponentClassName="SidinfoCustGroupTableAdapter" Name="SidinfoCustGroup" UserDataComponentName="SidinfoCustGroupTableAdapter">
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustCodeListTableAdapter" GeneratorDataComponentClassName="CustCodeListTableAdapter" Name="CustCodeList" UserDataComponentName="CustCodeListTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_SID_Information" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CustCode
FROM Component_Reel_SID_Information WITH (NOLOCK)
FROM K4EE_Component_Reel_SID_Information WITH (NOLOCK)
WHERE (MC = @mcname)
GROUP BY CustCode
ORDER BY CustCode</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1180,16 +1238,27 @@ ORDER BY CustCode</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetCustName" MethodsParameterType="CLR" Modifier="Public" Name="GetCustName" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="GetCustName">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select isnull(name,'')
from [Component_Reel_CustInfo]
where code = @code</CommandText>
<CommandText>SELECT ISNULL(name, '') AS Expr1
FROM K4EE_Component_Reel_CustInfo WITH (no lock)
WHERE (code = @code)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="EE.dbo.Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="SetCustName" MethodsParameterType="CLR" Modifier="Public" Name="SetCustName" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="SetCustName">
<DbSource ConnectionRef="CS (Settings)" DbObjectName="WMS.dbo.K4EE_Component_Reel_CustInfo" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="SetCustName" MethodsParameterType="CLR" Modifier="Public" Name="SetCustName" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="SetCustName">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE K4EE_Component_Reel_CustInfo
SET name = @newname
WHERE (code = @custcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="newname" ColumnName="name" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@newname" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="code" DataSourceName="WMS.dbo.K4EE_Component_Reel_CustInfo" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE [Component_Reel_CustInfo] set name = @newname
@@ -1204,12 +1273,12 @@ where code = @custcode</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="GetSIDFromCustAndPart" MethodsParameterType="CLR" Modifier="Public" Name="GetSIDFromCustAndPart" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="GetSIDFromCustAndPart">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select isnull(sid,'')
from Component_Reel_SID_Information
where custcode = @custcode and partno = @partno</CommandText>
<CommandText>SELECT ISNULL(SID, '') AS Expr1
FROM K4EE_Component_Reel_SID_Information WITH (no lock)
WHERE (CustCode = @custcode) AND (PartNo = @partno)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="CustCode" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="partno" ColumnName="PartNo" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@partno" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="custcode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@custcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="partno" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@partno" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1218,11 +1287,11 @@ where custcode = @custcode and partno = @partno</CommandText>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT TOP (1) ISNULL(VLOT, '') AS Expr1
FROM Component_Reel_Result
FROM K4EE_Component_Reel_Result WITH (no lock)
WHERE (SID = @isd)
ORDER BY wdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="isd" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@isd" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="isd" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@isd" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1230,10 +1299,12 @@ ORDER BY wdate DESC</CommandText>
<DbSource ConnectionRef="CS (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckSIDExist" MethodsParameterType="CLR" Modifier="Public" Name="CheckSIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="CheckSIDExist">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT count(*) FROM Component_Reel_SID_Information WHERE (MC = @mcname) and sid = @sid</CommandText>
<CommandText>SELECT COUNT(*) AS Expr1
FROM K4EE_Component_Reel_SID_Information WITH (no lock)
WHERE (MC = @mcname) AND (SID = @sid)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="mcname" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@mcname" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1242,12 +1313,12 @@ ORDER BY wdate DESC</CommandText>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT COUNT(*) AS Expr1
FROM Component_Reel_Result
FROM K4EE_Component_Reel_Result WITH (no lock)
WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @batch)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="stime" ColumnName="STIME" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="EE.dbo.Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="stime" ColumnName="STIME" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@stime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="BATCH" DataSourceName="WMS.dbo.K4EE_Component_Reel_Result" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="BATCH" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1377,7 +1448,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_Result" msprop:Generator_RowEvHandlerName="Component_Reel_ResultRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_ResultRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_ResultRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_ResultRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_Result" msprop:Generator_RowChangedName="Component_Reel_ResultRowChanged" msprop:Generator_UserTableName="Component_Reel_Result" msprop:Generator_RowChangingName="Component_Reel_ResultRowChanging" msprop:Generator_RowClassName="Component_Reel_ResultRow" msprop:Generator_TableClassName="Component_Reel_ResultDataTable" msprop:Generator_TableVarName="tableComponent_Reel_Result">
<xs:element name="K4EE_Component_Reel_Result" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_ResultRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_ResultRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_ResultRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_ResultRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_Result" msprop:Generator_RowChangedName="K4EE_Component_Reel_ResultRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_Result" msprop:Generator_RowChangingName="K4EE_Component_Reel_ResultRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_ResultRow" msprop:Generator_TableClassName="K4EE_Component_Reel_ResultDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_Result">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
@@ -1601,7 +1672,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_RegExRule" msprop:Generator_RowEvHandlerName="Component_Reel_RegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_RegExRuleRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_RegExRuleRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_RegExRuleRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_RegExRule" msprop:Generator_RowChangedName="Component_Reel_RegExRuleRowChanged" msprop:Generator_UserTableName="Component_Reel_RegExRule" msprop:Generator_RowChangingName="Component_Reel_RegExRuleRowChanging" msprop:Generator_RowClassName="Component_Reel_RegExRuleRow" msprop:Generator_TableClassName="Component_Reel_RegExRuleDataTable" msprop:Generator_TableVarName="tableComponent_Reel_RegExRule">
<xs:element name="K4EE_Component_Reel_RegExRule" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_RegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_RegExRuleRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_RegExRuleRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_RegExRuleRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_RegExRule" msprop:Generator_RowChangedName="K4EE_Component_Reel_RegExRuleRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_RegExRule" msprop:Generator_RowChangingName="K4EE_Component_Reel_RegExRuleRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_RegExRuleRow" msprop:Generator_TableClassName="K4EE_Component_Reel_RegExRuleDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_RegExRule">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" type="xs:int" />
@@ -1648,7 +1719,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_SID_Convert" msprop:Generator_RowEvHandlerName="Component_Reel_SID_ConvertRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_SID_ConvertRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_SID_ConvertRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_SID_ConvertRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_SID_Convert" msprop:Generator_RowChangedName="Component_Reel_SID_ConvertRowChanged" msprop:Generator_UserTableName="Component_Reel_SID_Convert" msprop:Generator_RowChangingName="Component_Reel_SID_ConvertRowChanging" msprop:Generator_RowClassName="Component_Reel_SID_ConvertRow" msprop:Generator_TableClassName="Component_Reel_SID_ConvertDataTable" msprop:Generator_TableVarName="tableComponent_Reel_SID_Convert">
<xs:element name="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_SID_ConvertRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_SID_ConvertRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_SID_ConvertRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_SID_ConvertRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowChangedName="K4EE_Component_Reel_SID_ConvertRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_SID_Convert" msprop:Generator_RowChangingName="K4EE_Component_Reel_SID_ConvertRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_SID_ConvertRow" msprop:Generator_TableClassName="K4EE_Component_Reel_SID_ConvertDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_SID_Convert">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
@@ -1685,7 +1756,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_SID_Information" msprop:Generator_RowEvHandlerName="Component_Reel_SID_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_SID_InformationRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_SID_InformationRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_SID_InformationRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_SID_Information" msprop:Generator_RowChangedName="Component_Reel_SID_InformationRowChanged" msprop:Generator_UserTableName="Component_Reel_SID_Information" msprop:Generator_RowChangingName="Component_Reel_SID_InformationRowChanging" msprop:Generator_RowClassName="Component_Reel_SID_InformationRow" msprop:Generator_TableClassName="Component_Reel_SID_InformationDataTable" msprop:Generator_TableVarName="tableComponent_Reel_SID_Information">
<xs:element name="K4EE_Component_Reel_SID_Information" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_SID_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_SID_InformationRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_SID_InformationRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_SID_InformationRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_SID_Information" msprop:Generator_RowChangedName="K4EE_Component_Reel_SID_InformationRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_SID_Information" msprop:Generator_RowChangingName="K4EE_Component_Reel_SID_InformationRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_SID_InformationRow" msprop:Generator_TableClassName="K4EE_Component_Reel_SID_InformationDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_SID_Information">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
@@ -1764,7 +1835,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_PreSet" msprop:Generator_RowEvHandlerName="Component_Reel_PreSetRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_PreSetRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_PreSetRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_PreSetRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_PreSet" msprop:Generator_RowChangedName="Component_Reel_PreSetRowChanged" msprop:Generator_UserTableName="Component_Reel_PreSet" msprop:Generator_RowChangingName="Component_Reel_PreSetRowChanging" msprop:Generator_RowClassName="Component_Reel_PreSetRow" msprop:Generator_TableClassName="Component_Reel_PreSetDataTable" msprop:Generator_TableVarName="tableComponent_Reel_PreSet">
<xs:element name="K4EE_Component_Reel_PreSet" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_PreSetRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_PreSetRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_PreSetRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_PreSetRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_PreSet" msprop:Generator_RowChangedName="K4EE_Component_Reel_PreSetRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_PreSet" msprop:Generator_RowChangingName="K4EE_Component_Reel_PreSetRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_PreSetRow" msprop:Generator_TableClassName="K4EE_Component_Reel_PreSetDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_PreSet">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
@@ -1811,7 +1882,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_CustInfo" msprop:Generator_RowEvHandlerName="Component_Reel_CustInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_CustInfoRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_CustInfoRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_CustInfoRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_CustInfo" msprop:Generator_RowChangedName="Component_Reel_CustInfoRowChanged" msprop:Generator_UserTableName="Component_Reel_CustInfo" msprop:Generator_RowChangingName="Component_Reel_CustInfoRowChanging" msprop:Generator_RowClassName="Component_Reel_CustInfoRow" msprop:Generator_TableClassName="Component_Reel_CustInfoDataTable" msprop:Generator_TableVarName="tableComponent_Reel_CustInfo">
<xs:element name="K4EE_Component_Reel_CustInfo" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_CustInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_CustInfoRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_CustInfoRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_CustInfoRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_CustInfo" msprop:Generator_RowChangedName="K4EE_Component_Reel_CustInfoRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_CustInfo" msprop:Generator_RowChangingName="K4EE_Component_Reel_CustInfoRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_CustInfoRow" msprop:Generator_TableClassName="K4EE_Component_Reel_CustInfoDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_CustInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_UserColumnName="code" msprop:Generator_ColumnVarNameInTable="columncode">
@@ -1853,7 +1924,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_Print_Information" msprop:Generator_RowEvHandlerName="Component_Reel_Print_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_Print_InformationRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_Print_InformationRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_Print_InformationRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_Print_Information" msprop:Generator_RowChangedName="Component_Reel_Print_InformationRowChanged" msprop:Generator_UserTableName="Component_Reel_Print_Information" msprop:Generator_RowChangingName="Component_Reel_Print_InformationRowChanging" msprop:Generator_RowClassName="Component_Reel_Print_InformationRow" msprop:Generator_TableClassName="Component_Reel_Print_InformationDataTable" msprop:Generator_TableVarName="tableComponent_Reel_Print_Information">
<xs:element name="K4EE_Component_Reel_Print_Information" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_Print_InformationRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_Print_InformationRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_Print_InformationRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_Print_InformationRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_Print_Information" msprop:Generator_RowChangedName="K4EE_Component_Reel_Print_InformationRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_Print_Information" msprop:Generator_RowChangingName="K4EE_Component_Reel_Print_InformationRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_Print_InformationRow" msprop:Generator_TableClassName="K4EE_Component_Reel_Print_InformationDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_Print_Information">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
@@ -1889,7 +1960,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Component_Reel_PrintRegExRule" msprop:Generator_RowEvHandlerName="Component_Reel_PrintRegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_PrintRegExRuleRowDeleted" msprop:Generator_RowDeletingName="Component_Reel_PrintRegExRuleRowDeleting" msprop:Generator_RowEvArgName="Component_Reel_PrintRegExRuleRowChangeEvent" msprop:Generator_TablePropName="Component_Reel_PrintRegExRule" msprop:Generator_RowChangedName="Component_Reel_PrintRegExRuleRowChanged" msprop:Generator_UserTableName="Component_Reel_PrintRegExRule" msprop:Generator_RowChangingName="Component_Reel_PrintRegExRuleRowChanging" msprop:Generator_RowClassName="Component_Reel_PrintRegExRuleRow" msprop:Generator_TableClassName="Component_Reel_PrintRegExRuleDataTable" msprop:Generator_TableVarName="tableComponent_Reel_PrintRegExRule">
<xs:element name="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowEvHandlerName="K4EE_Component_Reel_PrintRegExRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="K4EE_Component_Reel_PrintRegExRuleRowDeleted" msprop:Generator_RowDeletingName="K4EE_Component_Reel_PrintRegExRuleRowDeleting" msprop:Generator_RowEvArgName="K4EE_Component_Reel_PrintRegExRuleRowChangeEvent" msprop:Generator_TablePropName="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowChangedName="K4EE_Component_Reel_PrintRegExRuleRowChanged" msprop:Generator_UserTableName="K4EE_Component_Reel_PrintRegExRule" msprop:Generator_RowChangingName="K4EE_Component_Reel_PrintRegExRuleRowChanging" msprop:Generator_RowClassName="K4EE_Component_Reel_PrintRegExRuleRow" msprop:Generator_TableClassName="K4EE_Component_Reel_PrintRegExRuleDataTable" msprop:Generator_TableVarName="tableK4EE_Component_Reel_PrintRegExRule">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" type="xs:int" />
@@ -1936,7 +2007,7 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SidinfoCustGroup" msprop:Generator_RowEvHandlerName="SidinfoCustGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="SidinfoCustGroupRowDeleted" msprop:Generator_RowDeletingName="SidinfoCustGroupRowDeleting" msprop:Generator_RowEvArgName="SidinfoCustGroupRowChangeEvent" msprop:Generator_TablePropName="SidinfoCustGroup" msprop:Generator_RowChangedName="SidinfoCustGroupRowChanged" msprop:Generator_UserTableName="SidinfoCustGroup" msprop:Generator_RowChangingName="SidinfoCustGroupRowChanging" msprop:Generator_RowClassName="SidinfoCustGroupRow" msprop:Generator_TableClassName="SidinfoCustGroupDataTable" msprop:Generator_TableVarName="tableSidinfoCustGroup">
<xs:element name="CustCodeList" msprop:Generator_RowEvHandlerName="CustCodeListRowChangeEventHandler" msprop:Generator_RowDeletedName="CustCodeListRowDeleted" msprop:Generator_RowDeletingName="CustCodeListRowDeleting" msprop:Generator_RowEvArgName="CustCodeListRowChangeEvent" msprop:Generator_TablePropName="CustCodeList" msprop:Generator_RowChangedName="CustCodeListRowChanged" msprop:Generator_UserTableName="CustCodeList" msprop:Generator_RowChangingName="CustCodeListRowChanging" msprop:Generator_RowClassName="CustCodeListRow" msprop:Generator_TableClassName="CustCodeListDataTable" msprop:Generator_TableVarName="tableCustCodeList">
<xs:complexType>
<xs:sequence>
<xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode">
@@ -1984,8 +2055,8 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
<xs:selector xpath=".//mstns:SIDHistory" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="Component_Reel_Result_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_Result" />
<xs:unique name="K4EE_Component_Reel_Result_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_Result" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="InputDescription_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
@@ -2008,24 +2079,24 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
<xs:selector xpath=".//mstns:ModelList" />
<xs:field xpath="mstns:Title" />
</xs:unique>
<xs:unique name="Component_Reel_RegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_RegExRule" />
<xs:unique name="K4EE_Component_Reel_RegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_RegExRule" />
<xs:field xpath="mstns:Id" />
</xs:unique>
<xs:unique name="Component_Reel_SID_Convert_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_SID_Convert" />
<xs:unique name="K4EE_Component_Reel_SID_Convert_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_SID_Convert" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="Component_Reel_SID_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_SID_Information" />
<xs:unique name="K4EE_Component_Reel_SID_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_SID_Information" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="Component_Reel_PreSet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_PreSet" />
<xs:unique name="K4EE_Component_Reel_PreSet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_PreSet" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="Component_Reel_CustInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_CustInfo" />
<xs:unique name="K4EE_Component_Reel_CustInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_CustInfo" />
<xs:field xpath="mstns:code" />
</xs:unique>
<xs:unique name="ResultSummary_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
@@ -2033,16 +2104,16 @@ WHERE (iNBOUND = 'OK') AND (STIME &gt;= @stime) AND (SID = @sid) AND (BATCH = @
<xs:field xpath="mstns:PARTNO" />
<xs:field xpath="mstns:VLOT" />
</xs:unique>
<xs:unique name="Component_Reel_Print_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_Print_Information" />
<xs:unique name="K4EE_Component_Reel_Print_Information_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_Print_Information" />
<xs:field xpath="mstns:idx" />
</xs:unique>
<xs:unique name="Component_Reel_PrintRegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Component_Reel_PrintRegExRule" />
<xs:unique name="K4EE_Component_Reel_PrintRegExRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:K4EE_Component_Reel_PrintRegExRule" />
<xs:field xpath="mstns:Id" />
</xs:unique>
<xs:unique name="SidinfoCustGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:SidinfoCustGroup" />
<xs:unique name="CustCodeList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CustCodeList" />
<xs:field xpath="mstns:CustCode" />
</xs:unique>
</xs:element>