|  |  |  | @@ -22,9 +22,12 @@ | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  pdate | 
		
	
		
			
				|  |  |  |  | FROM     EETGW_Equipment | 
		
	
		
			
				|  |  |  |  | WHERE  (gcode = @gcode) | 
		
	
		
			
				|  |  |  |  | GROUP BY pdate | 
		
	
		
			
				|  |  |  |  | ORDER BY pdate DESC</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters /> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
		
			
				|  |  |  |  |               </DbSource> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -39,7 +42,7 @@ ORDER BY pdate DESC</CommandText> | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EquipmentFilter" 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 [EquipmentFilter] WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)))</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>DELETE FROM [EquipmentFilter] WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))</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_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -52,13 +55,15 @@ ORDER BY pdate DESC</CommandText> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </DeleteCommand> | 
		
	
		
			
				|  |  |  |  |                 <InsertCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [EquipmentFilter] ([type], [Title], [Filter], [Apply], [memo], [wuid], [wdate]) VALUES (@type, @Title, @Filter, @Apply, @memo, @wuid, @wdate); | 
		
	
		
			
				|  |  |  |  | SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = SCOPE_IDENTITY()) ORDER BY Title</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [EquipmentFilter] ([type], [Title], [Filter], [Apply], [memo], [wuid], [wdate], [gcode]) VALUES (@type, @Title, @Filter, @Apply, @memo, @wuid, @wdate, @gcode); | 
		
	
		
			
				|  |  |  |  | SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate, gcode FROM EquipmentFilter WHERE (idx = SCOPE_IDENTITY()) ORDER BY Title</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -67,24 +72,26 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </InsertCommand> | 
		
	
		
			
				|  |  |  |  |                 <SelectCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, type, Title, Filter, Apply, memo, wuid, wdate | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, type, Title, Filter, Apply, memo, wuid, wdate, gcode | 
		
	
		
			
				|  |  |  |  | FROM     EquipmentFilter | 
		
	
		
			
				|  |  |  |  | WHERE  (type = @type) | 
		
	
		
			
				|  |  |  |  | WHERE  (type = @type) AND (gcode = @gcode) | 
		
	
		
			
				|  |  |  |  | ORDER BY Title</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="type" ColumnName="type" DataSourceName="EE.dbo.EquipmentFilter" DataTypeServer="varchar(1)" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EquipmentFilter" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
		
			
				|  |  |  |  |                 <UpdateCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [EquipmentFilter] SET [type] = @type, [Title] = @Title, [Filter] = @Filter, [Apply] = @Apply, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter WHERE (idx = @idx) ORDER BY Title</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [EquipmentFilter] SET [type] = @type, [Title] = @Title, [Filter] = @Filter, [Apply] = @Apply, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_wuid = 1 AND [wuid] IS NULL) OR ([wuid] = @Original_wuid)) AND ((@IsNull_wdate = 1 AND [wdate] IS NULL) OR ([wdate] = @Original_wdate)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate, gcode FROM EquipmentFilter WHERE (idx = @idx) ORDER BY Title</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -93,6 +100,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -104,6 +112,8 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" 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="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EquipmentFilter" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -119,6 +129,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="memo" DataSetColumn="memo" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | 
		
	
		
			
				|  |  |  |  |             </Mappings> | 
		
	
		
			
				|  |  |  |  |             <Sources /> | 
		
	
		
			
				|  |  |  |  |           </TableAdapter> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -127,7 +138,7 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.LineCode" 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 [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)))</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>DELETE FROM [LineCode] WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))</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_code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -146,13 +157,15 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grp2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grp2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </DeleteCommand> | 
		
	
		
			
				|  |  |  |  |                 <InsertCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate], [grp2]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate, @grp2); | 
		
	
		
			
				|  |  |  |  | SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = SCOPE_IDENTITY())</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [LineCode] ([code], [team], [part], [plant], [except], [memo], [wuid], [wdate], [grp2], [gcode]) VALUES (@code, @team, @part, @plant, @except, @memo, @wuid, @wdate, @grp2, @gcode); | 
		
	
		
			
				|  |  |  |  | SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2, gcode FROM LineCode WHERE (idx = SCOPE_IDENTITY())</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="team" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -163,20 +176,24 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grp2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </InsertCommand> | 
		
	
		
			
				|  |  |  |  |                 <SelectCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 | 
		
	
		
			
				|  |  |  |  | FROM     LineCode</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters /> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, code, team, part, plant, [except], memo, wuid, wdate, grp2, gcode | 
		
	
		
			
				|  |  |  |  | FROM     LineCode | 
		
	
		
			
				|  |  |  |  | WHERE  (gcode = @gcode)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.LineCode" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
		
			
				|  |  |  |  |                 <UpdateCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [grp2] = @grp2 WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM LineCode WHERE (idx = @idx)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [LineCode] SET [code] = @code, [team] = @team, [part] = @part, [plant] = @plant, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [grp2] = @grp2, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_team = 1 AND [team] IS NULL) OR ([team] = @Original_team)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2, gcode FROM LineCode WHERE (idx = @idx)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="team" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -187,6 +204,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grp2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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_code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -204,6 +222,8 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grp2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_grp2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grp2" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.LineCode" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -221,6 +241,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="plant" DataSetColumn="plant" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="grp2" DataSetColumn="grp2" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | 
		
	
		
			
				|  |  |  |  |             </Mappings> | 
		
	
		
			
				|  |  |  |  |             <Sources /> | 
		
	
		
			
				|  |  |  |  |           </TableAdapter> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -229,7 +250,7 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_Equipment" 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 [EETGW_Equipment] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_version = 1 AND [version] IS NULL) OR ([version] = @Original_version)))</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>DELETE FROM [EETGW_Equipment] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_version = 1 AND [version] IS NULL) OR ([version] = @Original_version)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)))</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_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -272,13 +293,15 @@ SELECT idx, code, team, part, plant, [except], memo, wuid, wdate, grp2 FROM Line | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </DeleteCommand> | 
		
	
		
			
				|  |  |  |  |                 <InsertCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [EETGW_Equipment] ([pdate], [asset], [grp], [type], [flag], [plant], [grp2], [ing], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [version]) VALUES (@pdate, @asset, @grp, @type, @flag, @plant, @grp2, @ing, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @version); | 
		
	
		
			
				|  |  |  |  | SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version FROM EETGW_Equipment WHERE (idx = SCOPE_IDENTITY())</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>INSERT INTO [EETGW_Equipment] ([pdate], [asset], [grp], [type], [flag], [plant], [grp2], [ing], [model], [linecode], [lineT], [lineP], [serial], [manu], [param1], [primary], [except], [memo], [wuid], [wdate], [version], [gcode]) VALUES (@pdate, @asset, @grp, @type, @flag, @plant, @grp2, @ing, @model, @linecode, @lineT, @lineP, @serial, @manu, @param1, @primary, @except, @memo, @wuid, @wdate, @version, @gcode); | 
		
	
		
			
				|  |  |  |  | SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version, gcode FROM EETGW_Equipment WHERE (idx = SCOPE_IDENTITY())</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -301,23 +324,25 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </InsertCommand> | 
		
	
		
			
				|  |  |  |  |                 <SelectCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version, gcode | 
		
	
		
			
				|  |  |  |  | FROM     EETGW_Equipment | 
		
	
		
			
				|  |  |  |  | WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  | WHERE  (pdate = @pdate) AND (gcode = @gcode)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
		
			
				|  |  |  |  |                 <UpdateCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [EETGW_Equipment] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [version] = @version WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_version = 1 AND [version] IS NULL) OR ([version] = @Original_version))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version FROM EETGW_Equipment WHERE (idx = @idx)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>UPDATE [EETGW_Equipment] SET [pdate] = @pdate, [asset] = @asset, [grp] = @grp, [type] = @type, [flag] = @flag, [plant] = @plant, [grp2] = @grp2, [ing] = @ing, [model] = @model, [linecode] = @linecode, [lineT] = @lineT, [lineP] = @lineP, [serial] = @serial, [manu] = @manu, [param1] = @param1, [primary] = @primary, [except] = @except, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [version] = @version, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_flag = 1 AND [flag] IS NULL) OR ([flag] = @Original_flag)) AND ((@IsNull_plant = 1 AND [plant] IS NULL) OR ([plant] = @Original_plant)) AND ((@IsNull_grp2 = 1 AND [grp2] IS NULL) OR ([grp2] = @Original_grp2)) AND ((@IsNull_ing = 1 AND [ing] IS NULL) OR ([ing] = @Original_ing)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_linecode = 1 AND [linecode] IS NULL) OR ([linecode] = @Original_linecode)) AND ((@IsNull_lineT = 1 AND [lineT] IS NULL) OR ([lineT] = @Original_lineT)) AND ((@IsNull_lineP = 1 AND [lineP] IS NULL) OR ([lineP] = @Original_lineP)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_param1 = 1 AND [param1] IS NULL) OR ([param1] = @Original_param1)) AND ((@IsNull_primary = 1 AND [primary] IS NULL) OR ([primary] = @Original_primary)) AND ((@IsNull_except = 1 AND [except] IS NULL) OR ([except] = @Original_except)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_version = 1 AND [version] IS NULL) OR ([version] = @Original_version)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))); | 
		
	
		
			
				|  |  |  |  | SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, lineT, lineP, serial, manu, param1, [primary], [except], memo, wuid, wdate, version, gcode FROM EETGW_Equipment WHERE (idx = @idx)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -340,6 +365,7 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" 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_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -381,6 +407,8 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="version" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="true" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -410,9 +438,10 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="version" DataSetColumn="version" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | 
		
	
		
			
				|  |  |  |  |             </Mappings> | 
		
	
		
			
				|  |  |  |  |             <Sources> | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteData" Modifier="Public" Name="DeleteData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteData"> | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteData" Modifier="Public" Name="DeleteData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteData"> | 
		
	
		
			
				|  |  |  |  |                 <DeleteCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>DELETE FROM [EETGW_Equipment] WHERE  pdate = @pdate</CommandText> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -421,6 +450,16 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </DeleteCommand> | 
		
	
		
			
				|  |  |  |  |                 <SelectCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>DELETE FROM EETGW_Equipment | 
		
	
		
			
				|  |  |  |  | WHERE  (pdate = @pdate) AND (gcode = @gcode)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_Equipment" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
		
			
				|  |  |  |  |               </DbSource> | 
		
	
		
			
				|  |  |  |  |             </Sources> | 
		
	
		
			
				|  |  |  |  |           </TableAdapter> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -428,12 +467,13 @@ SELECT idx, pdate, asset, grp, type, flag, plant, grp2, ing, model, linecode, li | 
		
	
		
			
				|  |  |  |  |             <MainSource> | 
		
	
		
			
				|  |  |  |  |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.vEquStockAll" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | 
		
	
		
			
				|  |  |  |  |                 <SelectCommand> | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark, plant, grp2 | 
		
	
		
			
				|  |  |  |  |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | 
		
	
		
			
				|  |  |  |  |                     <CommandText>SELECT  pdate, grp, manu, model, linecode, lineT, lineP, cnt, Remark, plant, grp2, gcode | 
		
	
		
			
				|  |  |  |  | FROM     vEquStockAll | 
		
	
		
			
				|  |  |  |  | WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  | WHERE  (pdate = @pdate) AND (gcode = @gcode)</CommandText> | 
		
	
		
			
				|  |  |  |  |                     <Parameters> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.vEquStockAll" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                       <Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.vEquStockAll" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | 
		
	
		
			
				|  |  |  |  |                     </Parameters> | 
		
	
		
			
				|  |  |  |  |                   </DbCommand> | 
		
	
		
			
				|  |  |  |  |                 </SelectCommand> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -451,6 +491,7 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="Remark" DataSetColumn="Remark" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="plant" DataSetColumn="plant" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="grp2" DataSetColumn="grp2" /> | 
		
	
		
			
				|  |  |  |  |               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | 
		
	
		
			
				|  |  |  |  |             </Mappings> | 
		
	
		
			
				|  |  |  |  |             <Sources /> | 
		
	
		
			
				|  |  |  |  |           </TableAdapter> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -462,10 +503,10 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |   <xs:element name="dsEQ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsEQ" msprop:Generator_UserDSName="dsEQ"> | 
		
	
		
			
				|  |  |  |  |     <xs:complexType> | 
		
	
		
			
				|  |  |  |  |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EqDateList" msprop:Generator_TableClassName="EqDateListDataTable" msprop:Generator_TableVarName="tableEqDateList" msprop:Generator_TablePropName="EqDateList" msprop:Generator_RowDeletingName="EqDateListRowDeleting" msprop:Generator_RowChangingName="EqDateListRowChanging" msprop:Generator_RowEvHandlerName="EqDateListRowChangeEventHandler" msprop:Generator_RowDeletedName="EqDateListRowDeleted" msprop:Generator_UserTableName="EqDateList" msprop:Generator_RowChangedName="EqDateListRowChanged" msprop:Generator_RowEvArgName="EqDateListRowChangeEvent" msprop:Generator_RowClassName="EqDateListRow"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EqDateList" msprop:Generator_TableClassName="EqDateListDataTable" msprop:Generator_TableVarName="tableEqDateList" msprop:Generator_RowChangedName="EqDateListRowChanged" msprop:Generator_TablePropName="EqDateList" msprop:Generator_RowDeletingName="EqDateListRowDeleting" msprop:Generator_RowChangingName="EqDateListRowChanging" msprop:Generator_RowEvHandlerName="EqDateListRowChangeEventHandler" msprop:Generator_RowDeletedName="EqDateListRowDeleted" msprop:Generator_RowClassName="EqDateListRow" msprop:Generator_UserTableName="EqDateList" msprop:Generator_RowEvArgName="EqDateListRowChangeEvent"> | 
		
	
		
			
				|  |  |  |  |           <xs:complexType> | 
		
	
		
			
				|  |  |  |  |             <xs:sequence> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate"> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="20" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -475,7 +516,7 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |             </xs:sequence> | 
		
	
		
			
				|  |  |  |  |           </xs:complexType> | 
		
	
		
			
				|  |  |  |  |         </xs:element> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EquipmentFilter" msprop:Generator_TableClassName="EquipmentFilterDataTable" msprop:Generator_TableVarName="tableEquipmentFilter" msprop:Generator_TablePropName="EquipmentFilter" msprop:Generator_RowDeletingName="EquipmentFilterRowDeleting" msprop:Generator_RowChangingName="EquipmentFilterRowChanging" msprop:Generator_RowEvHandlerName="EquipmentFilterRowChangeEventHandler" msprop:Generator_RowDeletedName="EquipmentFilterRowDeleted" msprop:Generator_UserTableName="EquipmentFilter" msprop:Generator_RowChangedName="EquipmentFilterRowChanged" msprop:Generator_RowEvArgName="EquipmentFilterRowChangeEvent" msprop:Generator_RowClassName="EquipmentFilterRow"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EquipmentFilter" msprop:Generator_TableClassName="EquipmentFilterDataTable" msprop:Generator_TableVarName="tableEquipmentFilter" msprop:Generator_RowChangedName="EquipmentFilterRowChanged" msprop:Generator_TablePropName="EquipmentFilter" msprop:Generator_RowDeletingName="EquipmentFilterRowDeleting" msprop:Generator_RowChangingName="EquipmentFilterRowChanging" msprop:Generator_RowEvHandlerName="EquipmentFilterRowChangeEventHandler" msprop:Generator_RowDeletedName="EquipmentFilterRowDeleted" msprop:Generator_RowClassName="EquipmentFilterRow" msprop:Generator_UserTableName="EquipmentFilter" msprop:Generator_RowEvArgName="EquipmentFilterRowChangeEvent"> | 
		
	
		
			
				|  |  |  |  |           <xs:complexType> | 
		
	
		
			
				|  |  |  |  |             <xs:sequence> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -522,10 +563,17 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" minOccurs="0" /> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="10" /> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |             </xs:sequence> | 
		
	
		
			
				|  |  |  |  |           </xs:complexType> | 
		
	
		
			
				|  |  |  |  |         </xs:element> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_RowClassName="LineCodeRow" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent" msprop:Generator_RowClassName="LineCodeRow"> | 
		
	
		
			
				|  |  |  |  |           <xs:complexType> | 
		
	
		
			
				|  |  |  |  |             <xs:sequence> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -580,10 +628,17 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="10" /> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |             </xs:sequence> | 
		
	
		
			
				|  |  |  |  |           </xs:complexType> | 
		
	
		
			
				|  |  |  |  |         </xs:element> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EETGW_Equipment" msprop:Generator_TableClassName="EETGW_EquipmentDataTable" msprop:Generator_TableVarName="tableEETGW_Equipment" msprop:Generator_RowChangedName="EETGW_EquipmentRowChanged" msprop:Generator_TablePropName="EETGW_Equipment" msprop:Generator_RowDeletingName="EETGW_EquipmentRowDeleting" msprop:Generator_RowChangingName="EETGW_EquipmentRowChanging" msprop:Generator_RowEvHandlerName="EETGW_EquipmentRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_EquipmentRowDeleted" msprop:Generator_RowClassName="EETGW_EquipmentRow" msprop:Generator_UserTableName="EETGW_Equipment" msprop:Generator_RowEvArgName="EETGW_EquipmentRowChangeEvent"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="EETGW_Equipment" msprop:Generator_TableClassName="EETGW_EquipmentDataTable" msprop:Generator_TableVarName="tableEETGW_Equipment" msprop:Generator_TablePropName="EETGW_Equipment" msprop:Generator_RowDeletingName="EETGW_EquipmentRowDeleting" msprop:Generator_RowChangingName="EETGW_EquipmentRowChanging" msprop:Generator_RowEvHandlerName="EETGW_EquipmentRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_EquipmentRowDeleted" msprop:Generator_UserTableName="EETGW_Equipment" msprop:Generator_RowChangedName="EETGW_EquipmentRowChanged" msprop:Generator_RowEvArgName="EETGW_EquipmentRowChangeEvent" msprop:Generator_RowClassName="EETGW_EquipmentRow"> | 
		
	
		
			
				|  |  |  |  |           <xs:complexType> | 
		
	
		
			
				|  |  |  |  |             <xs:sequence> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -703,17 +758,24 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="version" msprop:Generator_ColumnVarNameInTable="columnversion" msprop:Generator_ColumnPropNameInRow="version" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="versionColumn" msprop:Generator_UserColumnName="version" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="version" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="version" msprop:Generator_ColumnVarNameInTable="columnversion" msprop:Generator_ColumnPropNameInTable="versionColumn" msprop:Generator_UserColumnName="version" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="255" /> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="10" /> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |             </xs:sequence> | 
		
	
		
			
				|  |  |  |  |           </xs:complexType> | 
		
	
		
			
				|  |  |  |  |         </xs:element> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="vEquStockAll" msprop:Generator_TableClassName="vEquStockAllDataTable" msprop:Generator_TableVarName="tablevEquStockAll" msprop:Generator_TablePropName="vEquStockAll" msprop:Generator_RowDeletingName="vEquStockAllRowDeleting" msprop:Generator_RowChangingName="vEquStockAllRowChanging" msprop:Generator_RowEvHandlerName="vEquStockAllRowChangeEventHandler" msprop:Generator_RowDeletedName="vEquStockAllRowDeleted" msprop:Generator_UserTableName="vEquStockAll" msprop:Generator_RowChangedName="vEquStockAllRowChanged" msprop:Generator_RowEvArgName="vEquStockAllRowChangeEvent" msprop:Generator_RowClassName="vEquStockAllRow"> | 
		
	
		
			
				|  |  |  |  |         <xs:element name="vEquStockAll" msprop:Generator_TableClassName="vEquStockAllDataTable" msprop:Generator_TableVarName="tablevEquStockAll" msprop:Generator_RowChangedName="vEquStockAllRowChanged" msprop:Generator_TablePropName="vEquStockAll" msprop:Generator_RowDeletingName="vEquStockAllRowDeleting" msprop:Generator_RowChangingName="vEquStockAllRowChanging" msprop:Generator_RowEvHandlerName="vEquStockAllRowChangeEventHandler" msprop:Generator_RowDeletedName="vEquStockAllRowDeleted" msprop:Generator_RowClassName="vEquStockAllRow" msprop:Generator_UserTableName="vEquStockAll" msprop:Generator_RowEvArgName="vEquStockAllRowChangeEvent"> | 
		
	
		
			
				|  |  |  |  |           <xs:complexType> | 
		
	
		
			
				|  |  |  |  |             <xs:sequence> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> | 
		
	
	
		
			
				
					
					|  |  |  | @@ -787,6 +849,13 @@ WHERE  (pdate = @pdate)</CommandText> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |               <xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode" minOccurs="0"> | 
		
	
		
			
				|  |  |  |  |                 <xs:simpleType> | 
		
	
		
			
				|  |  |  |  |                   <xs:restriction base="xs:string"> | 
		
	
		
			
				|  |  |  |  |                     <xs:maxLength value="10" /> | 
		
	
		
			
				|  |  |  |  |                   </xs:restriction> | 
		
	
		
			
				|  |  |  |  |                 </xs:simpleType> | 
		
	
		
			
				|  |  |  |  |               </xs:element> | 
		
	
		
			
				|  |  |  |  |             </xs:sequence> | 
		
	
		
			
				|  |  |  |  |           </xs:complexType> | 
		
	
		
			
				|  |  |  |  |         </xs:element> | 
		
	
	
		
			
				
					
					|  |  |  |   |