cr 수령자, 수령일 칸 추가

This commit is contained in:
chi
2022-12-15 09:12:19 +09:00
parent b7092ab514
commit 146f32c64e
12 changed files with 1147 additions and 558 deletions

View File

@@ -491,7 +491,7 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.ProjectsPart" 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 [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm)) AND ((@IsNull_bCancel = 1 AND [bCancel] IS NULL) OR ([bCancel] = @Original_bCancel)))</CommandText>
<CommandText>DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm)) AND ((@IsNull_bCancel = 1 AND [bCancel] IS NULL) OR ([bCancel] = @Original_bCancel)) AND ((@IsNull_reqUser = 1 AND [reqUser] IS NULL) OR ([reqUser] = @Original_reqUser)) AND ((@IsNull_recvUser = 1 AND [recvUser] IS NULL) OR ([recvUser] = @Original_recvUser)) AND ((@IsNull_recvDate = 1 AND [recvDate] IS NULL) OR ([recvDate] = @Original_recvDate)))</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_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -513,7 +513,7 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemSid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemSid" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -554,13 +554,19 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bCancel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bCancel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqUser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_recvUser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_recvUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_recvDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="recvDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_recvDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="recvDate" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn], [qtyin], [bbuy], [bconfirm], [bCancel]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn, @qtyin, @bbuy, @bconfirm, @bCancel);
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
<CommandText>INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn], [qtyin], [bbuy], [bconfirm], [bCancel], [reqUser], [recvUser], [recvDate]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn, @qtyin, @bbuy, @bconfirm, @bCancel, @reqUser, @recvUser, @recvDate);
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel, reqUser, recvUser, recvDate FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -572,7 +578,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<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="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -593,13 +599,16 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bCancel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@recvUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@recvDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="recvDate" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit,
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel
import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel, reqUser, recvUser, recvDate
FROM ProjectsPart
WHERE (Project = @prj)
ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
@@ -610,8 +619,8 @@ ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [ProjectsPart] SET [Project] = @Project, [Item] = @Item, [qty] = @qty, [price] = @price, [amt] = @amt, [jago] = @jago, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [ItemName] = @ItemName, [ItemModel] = @ItemModel, [ItemGroup] = @ItemGroup, [ItemSid] = @ItemSid, [ItemSupply] = @ItemSupply, [ItemManu] = @ItemManu, [option1] = @option1, [option2] = @option2, [option3] = @option3, [remark] = @remark, [ItemSupplyidx] = @ItemSupplyidx, [no] = @no, [ItemUnit] = @ItemUnit, [import] = @import, [qtyjago] = @qtyjago, [qtybuy] = @qtybuy, [qtyn] = @qtyn, [amtn] = @amtn, [qtyin] = @qtyin, [bbuy] = @bbuy, [bconfirm] = @bconfirm, [bCancel] = @bCancel WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm)) AND ((@IsNull_bCancel = 1 AND [bCancel] IS NULL) OR ([bCancel] = @Original_bCancel)));
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
<CommandText>UPDATE [ProjectsPart] SET [Project] = @Project, [Item] = @Item, [qty] = @qty, [price] = @price, [amt] = @amt, [jago] = @jago, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [ItemName] = @ItemName, [ItemModel] = @ItemModel, [ItemGroup] = @ItemGroup, [ItemSid] = @ItemSid, [ItemSupply] = @ItemSupply, [ItemManu] = @ItemManu, [option1] = @option1, [option2] = @option2, [option3] = @option3, [remark] = @remark, [ItemSupplyidx] = @ItemSupplyidx, [no] = @no, [ItemUnit] = @ItemUnit, [import] = @import, [qtyjago] = @qtyjago, [qtybuy] = @qtybuy, [qtyn] = @qtyn, [amtn] = @amtn, [qtyin] = @qtyin, [bbuy] = @bbuy, [bconfirm] = @bconfirm, [bCancel] = @bCancel, [reqUser] = @reqUser, [recvUser] = @recvUser, [recvDate] = @recvDate WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm)) AND ((@IsNull_bCancel = 1 AND [bCancel] IS NULL) OR ([bCancel] = @Original_bCancel)) AND ((@IsNull_reqUser = 1 AND [reqUser] IS NULL) OR ([reqUser] = @Original_reqUser)) AND ((@IsNull_recvUser = 1 AND [recvUser] IS NULL) OR ([recvUser] = @Original_recvUser)) AND ((@IsNull_recvDate = 1 AND [recvDate] IS NULL) OR ([recvDate] = @Original_recvDate)));
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, bCancel, reqUser, recvUser, recvDate FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -623,7 +632,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<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="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -644,6 +653,9 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bCancel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@recvUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@recvDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="recvDate" 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_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -664,7 +676,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemSid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemSid" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -705,6 +717,12 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bCancel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bCancel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bCancel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqUser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_recvUser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_recvUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="recvUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_recvDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="recvDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_recvDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="recvDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
@@ -744,6 +762,9 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
<Mapping SourceColumn="bbuy" DataSetColumn="bbuy" />
<Mapping SourceColumn="bconfirm" DataSetColumn="bconfirm" />
<Mapping SourceColumn="bCancel" DataSetColumn="bCancel" />
<Mapping SourceColumn="reqUser" DataSetColumn="reqUser" />
<Mapping SourceColumn="recvUser" DataSetColumn="recvUser" />
<Mapping SourceColumn="recvDate" DataSetColumn="recvDate" />
</Mappings>
<Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
@@ -1783,7 +1804,7 @@ WHERE (idx = @idx)</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT gcode, pdate, status, name, userManager, orderno, path, idx, no, Project, ItemGroup, ItemModel, ItemUnit, ItemName, ItemSid, ItemSupply, ItemSupplyidx, ItemManu, Item, option1, option2,
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue, dbo.getPorojectgGroupUserName(Project, option3)
AS userGroupName
AS userGroupName, recvUser, reqUser, bCancel, recvDate
FROM vProjectPartPurchase
WHERE (gcode = @gcode)
ORDER BY ISNULL(bbuy, 0), ISNULL(bconfirm, 0), ISNULL(userManager, ''), ISNULL(Project, 0), idx</CommandText>
@@ -1793,31 +1814,34 @@ ORDER BY ISNULL(bbuy, 0), ISNULL(bconfirm, 0), ISNULL(userManager, ''), ISNULL(P
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE ProjectsPart
SET qtybuy = @qtybuy, qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm, memo = @memo, ItemSupply = @ItemSupply, option1 = @option1, option2 = @option2, option3 = @option3,
qty = @qty, price = @price, amt = @amt, ItemManu = @ItemManu, ItemSid = @ItemSid, ItemUnit = @ItemUnit, ItemModel = @ItemModel, ItemName = @ItemName, remark = @remark
qty = @qty, price = @price, amt = @amt, ItemManu = @ItemManu, ItemSid = @ItemSid, ItemUnit = @ItemUnit, ItemModel = @ItemModel, ItemName = @ItemName, remark = @remark,
recvUser = @recvUser, recvDate = @recvDate
WHERE (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="qtybuy" ColumnName="qtybuy" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtybuy" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtybuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtyin" ColumnName="qtyin" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyin" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bbuy" ColumnName="bbuy" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bconfirm" ColumnName="bconfirm" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qty" ColumnName="qty" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="amt" ColumnName="amt" DataSourceName="" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemUnit" ColumnName="ItemUnit" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemUnit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemName" ColumnName="ItemName" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="remark" ColumnName="remark" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="qtybuy" ColumnName="qtybuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtybuy" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtybuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qtyin" ColumnName="qtyin" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtyin" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qtyin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bbuy" ColumnName="bbuy" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bbuy" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bbuy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bconfirm" ColumnName="bconfirm" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemSupply" ColumnName="ItemSupply" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemSupply" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemSupply" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option1" ColumnName="option1" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option1" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option2" ColumnName="option2" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option2" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="option3" ColumnName="option3" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@option3" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="option3" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qty" ColumnName="qty" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="amt" ColumnName="amt" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemManu" ColumnName="ItemManu" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ItemManu" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ItemManu" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemSid" ColumnName="ItemSid" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemSid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemSid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemUnit" ColumnName="ItemUnit" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ItemUnit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ItemUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemModel" ColumnName="ItemModel" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ItemName" ColumnName="ItemName" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="remark" ColumnName="remark" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="recvUser" ColumnName="recvUser" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@recvUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="recvUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="recvDate" ColumnName="recvDate" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@recvDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="recvDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -1864,16 +1888,16 @@ WHERE (idx = @idx)</CommandText>
<Mapping SourceColumn="bconfirm" DataSetColumn="bconfirm" />
<Mapping SourceColumn="crdue" DataSetColumn="crdue" />
<Mapping SourceColumn="userGroupName" DataSetColumn="userGroupName" />
<Mapping SourceColumn="recvUser" DataSetColumn="recvUser" />
<Mapping SourceColumn="reqUser" DataSetColumn="reqUser" />
<Mapping SourceColumn="bCancel" DataSetColumn="bCancel" />
<Mapping SourceColumn="recvDate" DataSetColumn="recvDate" />
</Mappings>
<Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.vProjectPartPurchase" DbObjectType="View" FillMethodModifier="Public" FillMethodName="FillByIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByIdx" GeneratorSourceName="FillByIdx" GetMethodModifier="Public" GetMethodName="GetByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByIdx" UserSourceName="FillByIdx">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT gcode, pdate, status, name, userManager, orderno, path, idx, no, Project, ItemGroup, ItemModel, ItemUnit, ItemName, ItemSid, ItemSupply, ItemSupplyidx, ItemManu, Item, option1, option2,
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue, dbo.getPorojectgGroupUserName(Project, option3)
AS userGroupName
FROM vProjectPartPurchase
WHERE (gcode = @gcode) AND (idx = @idx)</CommandText>
<CommandText>SELECT Item, ItemGroup, ItemManu, ItemModel, ItemName, ItemSid, ItemSupply, ItemSupplyidx, ItemUnit, Project, amt, amtn, bCancel, bbuy, bconfirm, crdue, gcode, idx, import, jago, memo, name, no, option1, option2, option3, orderno, path, pdate, price, qty, qtybuy, qtyin, qtyjago, qtyn, recvDate, recvUser, remark, reqUser, status, dbo.getPorojectgGroupUserName(Project, option3) AS userGroupName, userManager, wdate, wuid FROM vProjectPartPurchase WHERE (gcode = @gcode) AND (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.vProjectPartPurchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.vProjectPartPurchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1894,7 +1918,18 @@ WHERE (idx = @idx)</CommandText>
</DbCommand>
</UpdateCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateBConfirm" Modifier="Public" Name="UpdateBConfirm" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateBConfirm">
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.ProjectsPart" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="UpdateBConfirm" Modifier="Public" Name="UpdateBConfirm" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateBConfirm">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE ProjectsPart
SET bconfirm = @bconfirm
WHERE (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="bconfirm" ColumnName="bconfirm" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bconfirm" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE ProjectsPart
@@ -2935,7 +2970,7 @@ WHERE (idx = @idx)</CommandText>
<xs:element name="dsPRJ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPRJ" msprop:Generator_UserDSName="dsPRJ">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow">
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent">
<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" />
@@ -3245,7 +3280,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent" msprop:Generator_RowClassName="ProjectsIOMapRow">
<xs:element name="ProjectsIOMap" msprop:Generator_TableClassName="ProjectsIOMapDataTable" msprop:Generator_TableVarName="tableProjectsIOMap" msprop:Generator_RowChangedName="ProjectsIOMapRowChanged" msprop:Generator_TablePropName="ProjectsIOMap" msprop:Generator_RowDeletingName="ProjectsIOMapRowDeleting" msprop:Generator_RowChangingName="ProjectsIOMapRowChanging" msprop:Generator_RowEvHandlerName="ProjectsIOMapRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsIOMapRowDeleted" msprop:Generator_RowClassName="ProjectsIOMapRow" msprop:Generator_UserTableName="ProjectsIOMap" msprop:Generator_RowEvArgName="ProjectsIOMapRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -3289,7 +3324,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent" msprop:Generator_RowClassName="ProjectsMailListRow">
<xs:element name="ProjectsMailList" msprop:Generator_TableClassName="ProjectsMailListDataTable" msprop:Generator_TableVarName="tableProjectsMailList" msprop:Generator_RowChangedName="ProjectsMailListRowChanged" msprop:Generator_TablePropName="ProjectsMailList" msprop:Generator_RowDeletingName="ProjectsMailListRowDeleting" msprop:Generator_RowChangingName="ProjectsMailListRowChanging" msprop:Generator_RowEvHandlerName="ProjectsMailListRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsMailListRowDeleted" msprop:Generator_RowClassName="ProjectsMailListRow" msprop:Generator_UserTableName="ProjectsMailList" msprop:Generator_RowEvArgName="ProjectsMailListRowChangeEvent">
<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" />
@@ -3334,7 +3369,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent" msprop:Generator_RowClassName="ProjectsPartRow">
<xs:element name="ProjectsPart" msprop:Generator_TableClassName="ProjectsPartDataTable" msprop:Generator_TableVarName="tableProjectsPart" msprop:Generator_RowChangedName="ProjectsPartRowChanged" msprop:Generator_TablePropName="ProjectsPart" msprop:Generator_RowDeletingName="ProjectsPartRowDeleting" msprop:Generator_RowChangingName="ProjectsPartRowChanging" msprop:Generator_RowEvHandlerName="ProjectsPartRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPartRowDeleted" msprop:Generator_RowClassName="ProjectsPartRow" msprop:Generator_UserTableName="ProjectsPart" msprop:Generator_RowEvArgName="ProjectsPartRowChangeEvent">
<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" />
@@ -3447,10 +3482,31 @@ WHERE (idx = @idx)</CommandText>
<xs:element name="bbuy" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bbuy" msprop:Generator_ColumnVarNameInTable="columnbbuy" msprop:Generator_ColumnPropNameInTable="bbuyColumn" msprop:Generator_UserColumnName="bbuy" type="xs:boolean" minOccurs="0" />
<xs:element name="bconfirm" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bconfirm" msprop:Generator_ColumnVarNameInTable="columnbconfirm" msprop:Generator_ColumnPropNameInTable="bconfirmColumn" msprop:Generator_UserColumnName="bconfirm" type="xs:boolean" minOccurs="0" />
<xs:element name="bCancel" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bCancel" msprop:Generator_ColumnVarNameInTable="columnbCancel" msprop:Generator_ColumnPropNameInTable="bCancelColumn" msprop:Generator_UserColumnName="bCancel" type="xs:boolean" minOccurs="0" />
<xs:element name="reqUser" msprop:Generator_ColumnVarNameInTable="columnreqUser" msprop:Generator_ColumnPropNameInRow="reqUser" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="reqUserColumn" msprop:Generator_UserColumnName="reqUser" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recvUser" msprop:Generator_ColumnVarNameInTable="columnrecvUser" msprop:Generator_ColumnPropNameInRow="recvUser" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="recvUserColumn" msprop:Generator_UserColumnName="recvUser" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recvDate" msprop:Generator_ColumnVarNameInTable="columnrecvDate" msprop:Generator_ColumnPropNameInRow="recvDate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="recvDateColumn" msprop:Generator_UserColumnName="recvDate" 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="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_RowEvArgName="JobReportRowChangeEvent" msprop:Generator_RowClassName="JobReportRow">
<xs:element name="JobReport" msprop:Generator_TableClassName="JobReportDataTable" msprop:Generator_TableVarName="tableJobReport" msprop:Generator_RowChangedName="JobReportRowChanged" msprop:Generator_TablePropName="JobReport" msprop:Generator_RowDeletingName="JobReportRowDeleting" msprop:Generator_RowChangingName="JobReportRowChanging" msprop:Generator_RowEvHandlerName="JobReportRowChangeEventHandler" msprop:Generator_RowDeletedName="JobReportRowDeleted" msprop:Generator_RowClassName="JobReportRow" msprop:Generator_UserTableName="JobReport" msprop:Generator_RowEvArgName="JobReportRowChangeEvent">
<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" />
@@ -3624,7 +3680,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent" msprop:Generator_RowClassName="ProjectsHistoryRow">
<xs:element name="ProjectsHistory" msprop:Generator_TableClassName="ProjectsHistoryDataTable" msprop:Generator_TableVarName="tableProjectsHistory" msprop:Generator_RowChangedName="ProjectsHistoryRowChanged" msprop:Generator_TablePropName="ProjectsHistory" msprop:Generator_RowDeletingName="ProjectsHistoryRowDeleting" msprop:Generator_RowChangingName="ProjectsHistoryRowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistoryRowDeleted" msprop:Generator_RowClassName="ProjectsHistoryRow" msprop:Generator_UserTableName="ProjectsHistory" msprop:Generator_RowEvArgName="ProjectsHistoryRowChangeEvent">
<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" />
@@ -3662,7 +3718,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent" msprop:Generator_RowClassName="SPMasterRow">
<xs:element name="SPMaster" msprop:Generator_TableClassName="SPMasterDataTable" msprop:Generator_TableVarName="tableSPMaster" msprop:Generator_RowChangedName="SPMasterRowChanged" msprop:Generator_TablePropName="SPMaster" msprop:Generator_RowDeletingName="SPMasterRowDeleting" msprop:Generator_RowChangingName="SPMasterRowChanging" msprop:Generator_RowEvHandlerName="SPMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="SPMasterRowDeleted" msprop:Generator_RowClassName="SPMasterRow" msprop:Generator_UserTableName="SPMaster" msprop:Generator_RowEvArgName="SPMasterRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
@@ -3778,7 +3834,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_Note" msprop:Generator_TableClassName="EETGW_NoteDataTable" msprop:Generator_TableVarName="tableEETGW_Note" msprop:Generator_RowChangedName="EETGW_NoteRowChanged" msprop:Generator_TablePropName="EETGW_Note" msprop:Generator_RowDeletingName="EETGW_NoteRowDeleting" msprop:Generator_RowChangingName="EETGW_NoteRowChanging" msprop:Generator_RowEvHandlerName="EETGW_NoteRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_NoteRowDeleted" msprop:Generator_RowClassName="EETGW_NoteRow" msprop:Generator_UserTableName="EETGW_Note" msprop:Generator_RowEvArgName="EETGW_NoteRowChangeEvent">
<xs:element name="EETGW_Note" msprop:Generator_TableClassName="EETGW_NoteDataTable" msprop:Generator_TableVarName="tableEETGW_Note" msprop:Generator_TablePropName="EETGW_Note" msprop:Generator_RowDeletingName="EETGW_NoteRowDeleting" msprop:Generator_RowChangingName="EETGW_NoteRowChanging" msprop:Generator_RowEvHandlerName="EETGW_NoteRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_NoteRowDeleted" msprop:Generator_UserTableName="EETGW_Note" msprop:Generator_RowChangedName="EETGW_NoteRowChanged" msprop:Generator_RowEvArgName="EETGW_NoteRowChangeEvent" msprop:Generator_RowClassName="EETGW_NoteRow">
<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" />
@@ -3829,7 +3885,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SCTable" msprop:Generator_TableClassName="SCTableDataTable" msprop:Generator_TableVarName="tableSCTable" msprop:Generator_TablePropName="SCTable" msprop:Generator_RowDeletingName="SCTableRowDeleting" msprop:Generator_RowChangingName="SCTableRowChanging" msprop:Generator_RowEvHandlerName="SCTableRowChangeEventHandler" msprop:Generator_RowDeletedName="SCTableRowDeleted" msprop:Generator_UserTableName="SCTable" msprop:Generator_RowChangedName="SCTableRowChanged" msprop:Generator_RowEvArgName="SCTableRowChangeEvent" msprop:Generator_RowClassName="SCTableRow">
<xs:element name="SCTable" msprop:Generator_TableClassName="SCTableDataTable" msprop:Generator_TableVarName="tableSCTable" msprop:Generator_RowChangedName="SCTableRowChanged" msprop:Generator_TablePropName="SCTable" msprop:Generator_RowDeletingName="SCTableRowDeleting" msprop:Generator_RowChangingName="SCTableRowChanging" msprop:Generator_RowEvHandlerName="SCTableRowChangeEventHandler" msprop:Generator_RowDeletedName="SCTableRowDeleted" msprop:Generator_RowClassName="SCTableRow" msprop:Generator_UserTableName="SCTable" msprop:Generator_RowEvArgName="SCTableRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -3842,7 +3898,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_SaveCost" msprop:Generator_TableClassName="EETGW_SaveCostDataTable" msprop:Generator_TableVarName="tableEETGW_SaveCost" msprop:Generator_TablePropName="EETGW_SaveCost" msprop:Generator_RowDeletingName="EETGW_SaveCostRowDeleting" msprop:Generator_RowChangingName="EETGW_SaveCostRowChanging" msprop:Generator_RowEvHandlerName="EETGW_SaveCostRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_SaveCostRowDeleted" msprop:Generator_UserTableName="EETGW_SaveCost" msprop:Generator_RowChangedName="EETGW_SaveCostRowChanged" msprop:Generator_RowEvArgName="EETGW_SaveCostRowChangeEvent" msprop:Generator_RowClassName="EETGW_SaveCostRow">
<xs:element name="EETGW_SaveCost" msprop:Generator_TableClassName="EETGW_SaveCostDataTable" msprop:Generator_TableVarName="tableEETGW_SaveCost" msprop:Generator_RowChangedName="EETGW_SaveCostRowChanged" msprop:Generator_TablePropName="EETGW_SaveCost" msprop:Generator_RowDeletingName="EETGW_SaveCostRowDeleting" msprop:Generator_RowChangingName="EETGW_SaveCostRowChanging" msprop:Generator_RowEvHandlerName="EETGW_SaveCostRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_SaveCostRowDeleted" msprop:Generator_RowClassName="EETGW_SaveCostRow" msprop:Generator_UserTableName="EETGW_SaveCost" msprop:Generator_RowEvArgName="EETGW_SaveCostRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" 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" />
@@ -4014,7 +4070,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProjectPartStatus" msprop:Generator_TableClassName="ProjectPartStatusDataTable" msprop:Generator_TableVarName="tableProjectPartStatus" msprop:Generator_RowChangedName="ProjectPartStatusRowChanged" msprop:Generator_TablePropName="ProjectPartStatus" msprop:Generator_RowDeletingName="ProjectPartStatusRowDeleting" msprop:Generator_RowChangingName="ProjectPartStatusRowChanging" msprop:Generator_RowEvHandlerName="ProjectPartStatusRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectPartStatusRowDeleted" msprop:Generator_RowClassName="ProjectPartStatusRow" msprop:Generator_UserTableName="ProjectPartStatus" msprop:Generator_RowEvArgName="ProjectPartStatusRowChangeEvent">
<xs:element name="ProjectPartStatus" msprop:Generator_TableClassName="ProjectPartStatusDataTable" msprop:Generator_TableVarName="tableProjectPartStatus" msprop:Generator_TablePropName="ProjectPartStatus" msprop:Generator_RowDeletingName="ProjectPartStatusRowDeleting" msprop:Generator_RowChangingName="ProjectPartStatusRowChanging" msprop:Generator_RowEvHandlerName="ProjectPartStatusRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectPartStatusRowDeleted" msprop:Generator_UserTableName="ProjectPartStatus" msprop:Generator_RowChangedName="ProjectPartStatusRowChanged" msprop:Generator_RowEvArgName="ProjectPartStatusRowChangeEvent" msprop:Generator_RowClassName="ProjectPartStatusRow">
<xs:complexType>
<xs:sequence>
<xs:element name="gcode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
@@ -4195,10 +4251,32 @@ WHERE (idx = @idx)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recvUser" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="recvUser" msprop:Generator_ColumnVarNameInTable="columnrecvUser" msprop:Generator_ColumnPropNameInTable="recvUserColumn" msprop:Generator_UserColumnName="recvUser" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="reqUser" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="reqUser" msprop:Generator_ColumnVarNameInTable="columnreqUser" msprop:Generator_ColumnPropNameInTable="reqUserColumn" msprop:Generator_UserColumnName="reqUser" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bCancel" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="bCancel" msprop:Generator_ColumnVarNameInTable="columnbCancel" msprop:Generator_ColumnPropNameInTable="bCancelColumn" msprop:Generator_UserColumnName="bCancel" type="xs:boolean" minOccurs="0" />
<xs:element name="recvDate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="recvDate" msprop:Generator_ColumnVarNameInTable="columnrecvDate" msprop:Generator_ColumnPropNameInTable="recvDateColumn" msprop:Generator_UserColumnName="recvDate" 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_ProjecthistoryD" msprop:Generator_TableClassName="EETGW_ProjecthistoryDDataTable" msprop:Generator_TableVarName="tableEETGW_ProjecthistoryD" msprop:Generator_RowChangedName="EETGW_ProjecthistoryDRowChanged" msprop:Generator_TablePropName="EETGW_ProjecthistoryD" msprop:Generator_RowDeletingName="EETGW_ProjecthistoryDRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjecthistoryDRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjecthistoryDRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjecthistoryDRowDeleted" msprop:Generator_RowClassName="EETGW_ProjecthistoryDRow" msprop:Generator_UserTableName="EETGW_ProjecthistoryD" msprop:Generator_RowEvArgName="EETGW_ProjecthistoryDRowChangeEvent">
<xs:element name="EETGW_ProjecthistoryD" msprop:Generator_TableClassName="EETGW_ProjecthistoryDDataTable" msprop:Generator_TableVarName="tableEETGW_ProjecthistoryD" msprop:Generator_TablePropName="EETGW_ProjecthistoryD" msprop:Generator_RowDeletingName="EETGW_ProjecthistoryDRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjecthistoryDRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjecthistoryDRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjecthistoryDRowDeleted" msprop:Generator_UserTableName="EETGW_ProjecthistoryD" msprop:Generator_RowChangedName="EETGW_ProjecthistoryDRowChanged" msprop:Generator_RowEvArgName="EETGW_ProjecthistoryDRowChangeEvent" msprop:Generator_RowClassName="EETGW_ProjecthistoryDRow">
<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" />
@@ -4243,7 +4321,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_ProjectToDo" msprop:Generator_TableClassName="EETGW_ProjectToDoDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectToDo" msprop:Generator_TablePropName="EETGW_ProjectToDo" msprop:Generator_RowDeletingName="EETGW_ProjectToDoRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectToDoRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectToDoRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectToDoRowDeleted" msprop:Generator_UserTableName="EETGW_ProjectToDo" msprop:Generator_RowChangedName="EETGW_ProjectToDoRowChanged" msprop:Generator_RowEvArgName="EETGW_ProjectToDoRowChangeEvent" msprop:Generator_RowClassName="EETGW_ProjectToDoRow">
<xs:element name="EETGW_ProjectToDo" msprop:Generator_TableClassName="EETGW_ProjectToDoDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectToDo" msprop:Generator_RowChangedName="EETGW_ProjectToDoRowChanged" msprop:Generator_TablePropName="EETGW_ProjectToDo" msprop:Generator_RowDeletingName="EETGW_ProjectToDoRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectToDoRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectToDoRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectToDoRowDeleted" msprop:Generator_RowClassName="EETGW_ProjectToDoRow" msprop:Generator_UserTableName="EETGW_ProjectToDo" msprop:Generator_RowEvArgName="EETGW_ProjectToDoRowChangeEvent">
<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" />
@@ -4320,7 +4398,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_JobReport_EBoard" msprop:Generator_TableClassName="EETGW_JobReport_EBoardDataTable" msprop:Generator_TableVarName="tableEETGW_JobReport_EBoard" msprop:Generator_RowChangedName="EETGW_JobReport_EBoardRowChanged" msprop:Generator_TablePropName="EETGW_JobReport_EBoard" msprop:Generator_RowDeletingName="EETGW_JobReport_EBoardRowDeleting" msprop:Generator_RowChangingName="EETGW_JobReport_EBoardRowChanging" msprop:Generator_RowEvHandlerName="EETGW_JobReport_EBoardRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_JobReport_EBoardRowDeleted" msprop:Generator_RowClassName="EETGW_JobReport_EBoardRow" msprop:Generator_UserTableName="EETGW_JobReport_EBoard" msprop:Generator_RowEvArgName="EETGW_JobReport_EBoardRowChangeEvent">
<xs:element name="EETGW_JobReport_EBoard" msprop:Generator_TableClassName="EETGW_JobReport_EBoardDataTable" msprop:Generator_TableVarName="tableEETGW_JobReport_EBoard" msprop:Generator_TablePropName="EETGW_JobReport_EBoard" msprop:Generator_RowDeletingName="EETGW_JobReport_EBoardRowDeleting" msprop:Generator_RowChangingName="EETGW_JobReport_EBoardRowChanging" msprop:Generator_RowEvHandlerName="EETGW_JobReport_EBoardRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_JobReport_EBoardRowDeleted" msprop:Generator_UserTableName="EETGW_JobReport_EBoard" msprop:Generator_RowChangedName="EETGW_JobReport_EBoardRowChanged" msprop:Generator_RowEvArgName="EETGW_JobReport_EBoardRowChangeEvent" msprop:Generator_RowClassName="EETGW_JobReport_EBoardRow">
<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" />
@@ -4511,7 +4589,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_JobReport_AutoInput" msprop:Generator_TableClassName="EETGW_JobReport_AutoInputDataTable" msprop:Generator_TableVarName="tableEETGW_JobReport_AutoInput" msprop:Generator_RowChangedName="EETGW_JobReport_AutoInputRowChanged" msprop:Generator_TablePropName="EETGW_JobReport_AutoInput" msprop:Generator_RowDeletingName="EETGW_JobReport_AutoInputRowDeleting" msprop:Generator_RowChangingName="EETGW_JobReport_AutoInputRowChanging" msprop:Generator_RowEvHandlerName="EETGW_JobReport_AutoInputRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_JobReport_AutoInputRowDeleted" msprop:Generator_RowClassName="EETGW_JobReport_AutoInputRow" msprop:Generator_UserTableName="EETGW_JobReport_AutoInput" msprop:Generator_RowEvArgName="EETGW_JobReport_AutoInputRowChangeEvent">
<xs:element name="EETGW_JobReport_AutoInput" msprop:Generator_TableClassName="EETGW_JobReport_AutoInputDataTable" msprop:Generator_TableVarName="tableEETGW_JobReport_AutoInput" msprop:Generator_TablePropName="EETGW_JobReport_AutoInput" msprop:Generator_RowDeletingName="EETGW_JobReport_AutoInputRowDeleting" msprop:Generator_RowChangingName="EETGW_JobReport_AutoInputRowChanging" msprop:Generator_RowEvHandlerName="EETGW_JobReport_AutoInputRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_JobReport_AutoInputRowDeleted" msprop:Generator_UserTableName="EETGW_JobReport_AutoInput" msprop:Generator_RowChangedName="EETGW_JobReport_AutoInputRowChanged" msprop:Generator_RowEvArgName="EETGW_JobReport_AutoInputRowChangeEvent" msprop:Generator_RowClassName="EETGW_JobReport_AutoInputRow">
<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" />
@@ -4650,7 +4728,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_ProjectsSchedule" msprop:Generator_TableClassName="EETGW_ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectsSchedule" msprop:Generator_TablePropName="EETGW_ProjectsSchedule" msprop:Generator_RowDeletingName="EETGW_ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectsScheduleRowDeleted" msprop:Generator_UserTableName="EETGW_ProjectsSchedule" msprop:Generator_RowChangedName="EETGW_ProjectsScheduleRowChanged" msprop:Generator_RowEvArgName="EETGW_ProjectsScheduleRowChangeEvent" msprop:Generator_RowClassName="EETGW_ProjectsScheduleRow">
<xs:element name="EETGW_ProjectsSchedule" msprop:Generator_TableClassName="EETGW_ProjectsScheduleDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectsSchedule" msprop:Generator_RowChangedName="EETGW_ProjectsScheduleRowChanged" msprop:Generator_TablePropName="EETGW_ProjectsSchedule" msprop:Generator_RowDeletingName="EETGW_ProjectsScheduleRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectsScheduleRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectsScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectsScheduleRowDeleted" msprop:Generator_RowClassName="EETGW_ProjectsScheduleRow" msprop:Generator_UserTableName="EETGW_ProjectsSchedule" msprop:Generator_RowEvArgName="EETGW_ProjectsScheduleRowChangeEvent">
<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" />
@@ -4709,7 +4787,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_ProjectReson" msprop:Generator_TableClassName="EETGW_ProjectResonDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectReson" msprop:Generator_TablePropName="EETGW_ProjectReson" msprop:Generator_RowDeletingName="EETGW_ProjectResonRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectResonRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectResonRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectResonRowDeleted" msprop:Generator_UserTableName="EETGW_ProjectReson" msprop:Generator_RowChangedName="EETGW_ProjectResonRowChanged" msprop:Generator_RowEvArgName="EETGW_ProjectResonRowChangeEvent" msprop:Generator_RowClassName="EETGW_ProjectResonRow">
<xs:element name="EETGW_ProjectReson" msprop:Generator_TableClassName="EETGW_ProjectResonDataTable" msprop:Generator_TableVarName="tableEETGW_ProjectReson" msprop:Generator_RowChangedName="EETGW_ProjectResonRowChanged" msprop:Generator_TablePropName="EETGW_ProjectReson" msprop:Generator_RowDeletingName="EETGW_ProjectResonRowDeleting" msprop:Generator_RowChangingName="EETGW_ProjectResonRowChanging" msprop:Generator_RowEvHandlerName="EETGW_ProjectResonRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_ProjectResonRowDeleted" msprop:Generator_RowClassName="EETGW_ProjectResonRow" msprop:Generator_UserTableName="EETGW_ProjectReson" msprop:Generator_RowEvArgName="EETGW_ProjectResonRowChangeEvent">
<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" />
@@ -4755,7 +4833,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vJobReportForUserList" msprop:Generator_TableClassName="vJobReportForUserListDataTable" msprop:Generator_TableVarName="tablevJobReportForUserList" msprop:Generator_TablePropName="vJobReportForUserList" msprop:Generator_RowDeletingName="vJobReportForUserListRowDeleting" msprop:Generator_RowChangingName="vJobReportForUserListRowChanging" msprop:Generator_RowEvHandlerName="vJobReportForUserListRowChangeEventHandler" msprop:Generator_RowDeletedName="vJobReportForUserListRowDeleted" msprop:Generator_UserTableName="vJobReportForUserList" msprop:Generator_RowChangedName="vJobReportForUserListRowChanged" msprop:Generator_RowEvArgName="vJobReportForUserListRowChangeEvent" msprop:Generator_RowClassName="vJobReportForUserListRow">
<xs:element name="vJobReportForUserList" msprop:Generator_TableClassName="vJobReportForUserListDataTable" msprop:Generator_TableVarName="tablevJobReportForUserList" msprop:Generator_RowChangedName="vJobReportForUserListRowChanged" msprop:Generator_TablePropName="vJobReportForUserList" msprop:Generator_RowDeletingName="vJobReportForUserListRowDeleting" msprop:Generator_RowChangingName="vJobReportForUserListRowChanging" msprop:Generator_RowEvHandlerName="vJobReportForUserListRowChangeEventHandler" msprop:Generator_RowDeletedName="vJobReportForUserListRowDeleted" msprop:Generator_RowClassName="vJobReportForUserListRow" msprop:Generator_UserTableName="vJobReportForUserList" msprop:Generator_RowEvArgName="vJobReportForUserListRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" minOccurs="0">