This commit is contained in:
ChiKyun Kim
2025-09-23 15:41:16 +09:00
parent 02028afc27
commit b037dd53e6
74 changed files with 4269 additions and 7917 deletions

View File

@@ -11,54 +11,54 @@
<MainSource>
<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_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) 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>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM [K4EE_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_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) 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>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<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="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_SID" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MFG" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_qtymax" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_batch" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderLot" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_attach" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_attach" ColumnName="attach" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_attach" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Component_Reel_SID_Information] ([MC], [SID], [CustCode], [PartNo], [CustName], [VenderName], [Remark], [MFG], [wdate], [qtymax], [batch], [VenderLot], [attach]) VALUES (@MC, @SID, @CustCode, @PartNo, @CustName, @VenderName, @Remark, @MFG, @wdate, @qtymax, @batch, @VenderLot, @attach);
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO [K4EE_Component_Reel_SID_Information] ([MC], [SID], [CustCode], [PartNo], [CustName], [VenderName], [Remark], [MFG], [wdate], [qtymax], [batch], [VenderLot], [attach]) VALUES (@MC, @SID, @CustCode, @PartNo, @CustName, @VenderName, @Remark, @MFG, @wdate, @qtymax, @batch, @VenderLot, @attach);
SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, MFG, wdate, qtymax, batch, VenderLot, attach FROM Component_Reel_SID_Information WHERE (idx = SCOPE_IDENTITY()) ORDER BY SID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_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_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="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="true" 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" />
<Parameter AllowDbNull="true" AutogeneratedName="CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" 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="VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="attach" ColumnName="attach" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -74,48 +74,48 @@ ORDER BY SID</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Component_Reel_SID_Information] SET [MC] = @MC, [SID] = @SID, [CustCode] = @CustCode, [PartNo] = @PartNo, [CustName] = @CustName, [VenderName] = @VenderName, [Remark] = @Remark, [MFG] = @MFG, [wdate] = @wdate, [qtymax] = @qtymax, [batch] = @batch, [VenderLot] = @VenderLot, [attach] = @attach 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_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) AND ((@IsNull_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_attach = 1 AND [attach] IS NULL) OR ([attach] = @Original_attach)));
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE [K4EE_Component_Reel_SID_Information] SET [MC] = @MC, [SID] = @SID, [CustCode] = @CustCode, [PartNo] = @PartNo, [CustName] = @CustName, [VenderName] = @VenderName, [Remark] = @Remark, [MFG] = @MFG, [wdate] = @wdate, [qtymax] = @qtymax, [batch] = @batch, [VenderLot] = @VenderLot, [attach] = @attach 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_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)) AND ((@IsNull_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_attach = 1 AND [attach] IS NULL) OR ([attach] = @Original_attach)));
SELECT idx, MC, SID, CustCode, PartNo, CustName, VenderName, Remark, MFG, wdate, qtymax, batch, VenderLot, attach FROM Component_Reel_SID_Information WHERE (idx = @idx) ORDER BY SID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<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="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_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_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="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="true" 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" />
<Parameter AllowDbNull="true" AutogeneratedName="CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" 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="VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="attach" ColumnName="attach" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@attach" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_SID" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MFG" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_qtymax" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_batch" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderLot" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_attach" ColumnName="" DataSourceName="" DataTypeServer="int" 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="Original_attach" ColumnName="attach" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_attach" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="attach" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="unknown" DbType="Object" Direction="Input" ParameterName="@idx" Precision="0" Scale="0" Size="1024" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -194,63 +194,63 @@ WHERE (MC = @mc)</CommandText>
<MainSource>
<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)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_PartNo = 1 AND [PartNo] IS NULL) OR ([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_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)))</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM [K4EE_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)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_PartNo = 1 AND [PartNo] IS NULL) OR ([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_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PartNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<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_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Chk" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Chk" ColumnName="Chk" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_SIDFrom" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_SIDFrom" ColumnName="SIDFrom" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_SIDTo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_SIDTo" ColumnName="SIDTo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustCode" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PartNo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PartNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderLot" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PrintPosition" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MFG" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_qtymax" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_batch" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Component_Reel_SID_Convert] ([MC], [Chk], [SIDFrom], [SIDTo], [Remark], [wdate], [CustCode], [PartNo], [CustName], [VenderName], [VenderLot], [PrintPosition], [MFG], [qtymax], [batch]) VALUES (@MC, @Chk, @SIDFrom, @SIDTo, @Remark, @wdate, @CustCode, @PartNo, @CustName, @VenderName, @VenderLot, @PrintPosition, @MFG, @qtymax, @batch);
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO [K4EE_Component_Reel_SID_Convert] ([MC], [Chk], [SIDFrom], [SIDTo], [Remark], [wdate], [CustCode], [PartNo], [CustName], [VenderName], [VenderLot], [PrintPosition], [MFG], [qtymax], [batch]) VALUES (@MC, @Chk, @SIDFrom, @SIDTo, @Remark, @wdate, @CustCode, @PartNo, @CustName, @VenderName, @VenderLot, @PrintPosition, @MFG, @qtymax, @batch);
SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, MFG, qtymax, batch FROM Component_Reel_SID_Convert WHERE (idx = SCOPE_IDENTITY()) ORDER BY SIDFrom</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" 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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="Chk" ColumnName="Chk" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="SIDFrom" ColumnName="SIDFrom" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="SIDTo" ColumnName="SIDTo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="true" AutogeneratedName="PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="true" AutogeneratedName="CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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>
</InsertCommand>
@@ -263,57 +263,57 @@ ORDER BY SIDFrom</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Component_Reel_SID_Convert] SET [MC] = @MC, [Chk] = @Chk, [SIDFrom] = @SIDFrom, [SIDTo] = @SIDTo, [Remark] = @Remark, [wdate] = @wdate, [CustCode] = @CustCode, [PartNo] = @PartNo, [CustName] = @CustName, [VenderName] = @VenderName, [VenderLot] = @VenderLot, [PrintPosition] = @PrintPosition, [MFG] = @MFG, [qtymax] = @qtymax, [batch] = @batch 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)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_PartNo = 1 AND [PartNo] IS NULL) OR ([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_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)));
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE [K4EE_Component_Reel_SID_Convert] SET [MC] = @MC, [Chk] = @Chk, [SIDFrom] = @SIDFrom, [SIDTo] = @SIDTo, [Remark] = @Remark, [wdate] = @wdate, [CustCode] = @CustCode, [PartNo] = @PartNo, [CustName] = @CustName, [VenderName] = @VenderName, [VenderLot] = @VenderLot, [PrintPosition] = @PrintPosition, [MFG] = @MFG, [qtymax] = @qtymax, [batch] = @batch 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)) AND ((@IsNull_CustCode = 1 AND [CustCode] IS NULL) OR ([CustCode] = @Original_CustCode)) AND ((@IsNull_PartNo = 1 AND [PartNo] IS NULL) OR ([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_VenderLot = 1 AND [VenderLot] IS NULL) OR ([VenderLot] = @Original_VenderLot)) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_MFG = 1 AND [MFG] IS NULL) OR ([MFG] = @Original_MFG)) AND ((@IsNull_qtymax = 1 AND [qtymax] IS NULL) OR ([qtymax] = @Original_qtymax)) AND ((@IsNull_batch = 1 AND [batch] IS NULL) OR ([batch] = @Original_batch)));
SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate, CustCode, PartNo, CustName, VenderName, VenderLot, PrintPosition, MFG, qtymax, batch FROM Component_Reel_SID_Convert WHERE (idx = @idx) ORDER BY SIDFrom</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" 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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PartNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<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_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="Chk" ColumnName="Chk" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Chk" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="SIDFrom" ColumnName="SIDFrom" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="SIDTo" ColumnName="SIDTo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="true" AutogeneratedName="PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="true" AutogeneratedName="CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" 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="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Chk" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Chk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Chk" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Chk" ColumnName="Chk" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Original_Chk" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Chk" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_SIDFrom" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDFrom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDFrom" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_SIDFrom" ColumnName="SIDFrom" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDFrom" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDFrom" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_SIDTo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_SIDTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SIDTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_SIDTo" ColumnName="SIDTo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SIDTo" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SIDTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustCode" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustCode" ColumnName="CustCode" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PartNo" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PartNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PartNo" ColumnName="PartNo" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_CustName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_CustName" ColumnName="CustName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderName" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderName" ColumnName="VenderName" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_VenderLot" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderLot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderLot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_VenderLot" ColumnName="VenderLot" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderLot" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="VenderLot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PrintPosition" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MFG" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MFG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MFG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MFG" ColumnName="MFG" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MFG" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_qtymax" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qtymax" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_qtymax" ColumnName="qtymax" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_qtymax" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtymax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_batch" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_batch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="batch" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_batch" ColumnName="batch" DataSourceName="WMS.dbo.K4EE_Component_Reel_SID_Convert" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_batch" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="batch" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="unknown" DbType="Object" Direction="Input" ParameterName="@idx" Precision="0" Scale="0" Size="1024" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -352,32 +352,32 @@ SELECT idx, MC, Chk, SIDFrom, SIDTo, Remark, wdate, CustCode, PartNo, CustName,
<MainSource>
<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>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM [K4EE_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>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_SID" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PrintPosition" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Component_Reel_Print_Information] ([MC], [SID], [PrintPosition], [Remark], [wdate]) VALUES (@MC, @SID, @PrintPosition, @Remark, @wdate);
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO [K4EE_Component_Reel_Print_Information] ([MC], [SID], [PrintPosition], [Remark], [wdate]) VALUES (@MC, @SID, @PrintPosition, @Remark, @wdate);
SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Information WHERE (idx = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" 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" />
<Parameter AllowDbNull="true" AutogeneratedName="PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -392,26 +392,26 @@ WHERE (MC = @mc)</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Component_Reel_Print_Information] SET [MC] = @MC, [SID] = @SID, [PrintPosition] = @PrintPosition, [Remark] = @Remark, [wdate] = @wdate 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)));
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE [K4EE_Component_Reel_Print_Information] SET [MC] = @MC, [SID] = @SID, [PrintPosition] = @PrintPosition, [Remark] = @Remark, [wdate] = @wdate 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)));
SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Information WHERE (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<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" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_MC" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_MC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MC" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_MC" ColumnName="MC" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@Original_MC" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_SID" ColumnName="SID" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_PrintPosition" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_PrintPosition" ColumnName="PrintPosition" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_Remark" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_Remark" ColumnName="Remark" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="IsNull_wdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_wdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="Original_wdate" ColumnName="wdate" DataSourceName="WMS.dbo.K4EE_Component_Reel_Print_Information" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="unknown" DbType="Object" Direction="Input" ParameterName="@idx" Precision="0" Scale="0" Size="1024" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -438,7 +438,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
<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_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<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" />
<xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -495,7 +495,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="qtymax" msprop:Generator_ColumnPropNameInTable="qtymaxColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qtymax" msprop:Generator_UserColumnName="qtymax" msprop:Generator_ColumnVarNameInTable="columnqtymax" type="xs:int" minOccurs="0" />
<xs:element name="batch" msprop:Generator_ColumnPropNameInTable="batchColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="batch" msprop:Generator_UserColumnName="batch" msprop:Generator_ColumnVarNameInTable="columnbatch" minOccurs="0">
<xs:simpleType>
@@ -524,7 +524,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
<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_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<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" />
<xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -532,7 +532,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Chk" msprop:Generator_UserColumnName="Chk" msprop:Generator_ColumnPropNameInTable="ChkColumn" msprop:Generator_ColumnPropNameInRow="Chk" msprop:Generator_ColumnVarNameInTable="columnChk" type="xs:boolean" minOccurs="0" />
<xs:element name="Chk" msprop:Generator_ColumnPropNameInTable="ChkColumn" msprop:Generator_ColumnPropNameInRow="Chk" msprop:Generator_UserColumnName="Chk" msprop:Generator_ColumnVarNameInTable="columnChk" type="xs:boolean" minOccurs="0" />
<xs:element name="SIDFrom" msprop:Generator_ColumnPropNameInTable="SIDFromColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SIDFrom" msprop:Generator_UserColumnName="SIDFrom" msprop:Generator_ColumnVarNameInTable="columnSIDFrom" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -554,7 +554,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="CustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_UserColumnName="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -615,10 +615,10 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="K4EE_Component_Reel_Print_Information" msprop:Generator_RowClassName="K4EE_Component_Reel_Print_InformationRow" 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_TableClassName="K4EE_Component_Reel_Print_InformationDataTable" msprop:Generator_TableVarName="tableK4EE_Component_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_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<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" />
<xs:element name="MC" msprop:Generator_ColumnPropNameInTable="MCColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MC" msprop:Generator_UserColumnName="MC" msprop:Generator_ColumnVarNameInTable="columnMC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -647,7 +647,7 @@ SELECT idx, MC, SID, PrintPosition, Remark, wdate FROM Component_Reel_Print_Info
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>