..
This commit is contained in:
69
SubProject/FEQ0000/DataClasses1.dbml
Normal file
69
SubProject/FEQ0000/DataClasses1.dbml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Database Name="EE" Class="DataClasses1DataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
|
||||
<Connection Mode="AppSettings" ConnectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser" SettingsObjectName="FEQ0000.Properties.Settings" SettingsPropertyName="gwcs" Provider="System.Data.SqlClient" />
|
||||
<Table Name="dbo.MailForm" Member="MailForm">
|
||||
<Type Name="MailForm">
|
||||
<Column Name="idx" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
||||
<Column Name="gcode" Type="System.String" DbType="VarChar(10) NOT NULL" CanBeNull="false" />
|
||||
<Column Name="cate" Type="System.String" DbType="VarChar(2)" CanBeNull="true" />
|
||||
<Column Name="title" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="tolist" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="bcc" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="cc" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="subject" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="tail" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="body" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
||||
<Column Name="selfTo" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
|
||||
<Column Name="selfCC" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
|
||||
<Column Name="selfBCC" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
|
||||
<Column Name="wuid" Type="System.String" DbType="VarChar(20) NOT NULL" CanBeNull="false" />
|
||||
<Column Name="wdate" Type="System.DateTime" DbType="SmallDateTime NOT NULL" CanBeNull="false" />
|
||||
</Type>
|
||||
</Table>
|
||||
<Table Name="dbo.Users" Member="Users">
|
||||
<Type Name="Users">
|
||||
<Column Name="id" Type="System.String" DbType="VarChar(20) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
||||
<Column Name="gcode" Type="System.String" DbType="VarChar(10)" CanBeNull="true" />
|
||||
<Column Name="password" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
|
||||
<Column Name="nameE" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="name" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="dept" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="grade" Type="System.String" DbType="VarChar(10)" CanBeNull="true" />
|
||||
<Column Name="email" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="[level]" Member="level" Type="System.Int16" DbType="SmallInt" CanBeNull="true" />
|
||||
<Column Name="indate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="outdate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="tel" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="hp" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="place" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="ads_employNo" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
|
||||
<Column Name="ads_title" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="ads_created" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
|
||||
<Column Name="memo" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" />
|
||||
<Column Name="wuid" Type="System.String" DbType="VarChar(20) NOT NULL" CanBeNull="false" />
|
||||
<Column Name="wdate" Type="System.DateTime" DbType="SmallDateTime NOT NULL" CanBeNull="false" />
|
||||
<Column Name="processs" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
</Type>
|
||||
</Table>
|
||||
<Table Name="dbo.vGroupUser" Member="vGroupUser">
|
||||
<Type Name="vGroupUser">
|
||||
<Column Name="gcode" Type="System.String" DbType="VarChar(10) NOT NULL" CanBeNull="false" />
|
||||
<Column Name="dept" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="[level]" Member="level" Type="System.Int16" DbType="SmallInt" CanBeNull="true" />
|
||||
<Column Name="name" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="nameE" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="grade" Type="System.String" DbType="VarChar(10)" CanBeNull="true" />
|
||||
<Column Name="email" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="tel" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="indate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="outdate" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="hp" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
<Column Name="place" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
|
||||
<Column Name="ads_employNo" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
|
||||
<Column Name="ads_title" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="ads_created" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
|
||||
<Column Name="memo" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" />
|
||||
<Column Name="processs" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
|
||||
<Column Name="id" Type="System.String" DbType="VarChar(20)" CanBeNull="true" />
|
||||
</Type>
|
||||
</Table>
|
||||
</Database>
|
||||
24
SubProject/FEQ0000/DataClasses1.dbml.layout
Normal file
24
SubProject/FEQ0000/DataClasses1.dbml.layout
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="DataClasses1">
|
||||
<DataContextMoniker Name="/DataClasses1DataContext" />
|
||||
<nestedChildShapes>
|
||||
<classShape Id="737621bf-a4b8-4049-b062-3ab39d4cd367" absoluteBounds="1.625, 1.875, 2, 3.6939111328124996">
|
||||
<DataClassMoniker Name="/DataClasses1DataContext/MailForm" />
|
||||
<nestedChildShapes>
|
||||
<elementListCompartment Id="7909aece-5b3b-485d-b7d7-316895238b18" absoluteBounds="1.6400000000000001, 2.335, 1.9700000000000002, 3.1339111328125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
|
||||
</nestedChildShapes>
|
||||
</classShape>
|
||||
<classShape Id="c21d5a1a-e49e-487c-a1af-5668b107c6ce" absoluteBounds="3.875, 2, 2, 4.8477197265625">
|
||||
<DataClassMoniker Name="/DataClasses1DataContext/Users" />
|
||||
<nestedChildShapes>
|
||||
<elementListCompartment Id="0b0a394f-3d56-497b-a1fa-851789457dc1" absoluteBounds="3.89, 2.46, 1.9700000000000002, 4.2877197265625" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
|
||||
</nestedChildShapes>
|
||||
</classShape>
|
||||
<classShape Id="12064e3f-0ff5-4333-b7ce-b5fdb053b71e" absoluteBounds="0.625, 0.875, 2, 4.2708154296875">
|
||||
<DataClassMoniker Name="/DataClasses1DataContext/vGroupUser" />
|
||||
<nestedChildShapes>
|
||||
<elementListCompartment Id="d978c8bb-8818-414c-a3f5-cecd29bacac7" absoluteBounds="0.64000000000000012, 1.335, 1.9700000000000002, 3.7108154296875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
|
||||
</nestedChildShapes>
|
||||
</classShape>
|
||||
</nestedChildShapes>
|
||||
</ordesignerObjectsDiagram>
|
||||
1369
SubProject/FEQ0000/DataClasses1.designer.cs
generated
Normal file
1369
SubProject/FEQ0000/DataClasses1.designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
4079
SubProject/FEQ0000/EEDataSet.Designer.cs
generated
Normal file
4079
SubProject/FEQ0000/EEDataSet.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
1
SubProject/FEQ0000/EEDataSet.xsc
Normal file
1
SubProject/FEQ0000/EEDataSet.xsc
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
439
SubProject/FEQ0000/EEDataSet.xsd
Normal file
439
SubProject/FEQ0000/EEDataSet.xsd
Normal file
@@ -0,0 +1,439 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="EEDataSet" targetNamespace="http://tempuri.org/EEDataSet.xsd" xmlns:mstns="http://tempuri.org/EEDataSet.xsd" xmlns="http://tempuri.org/EEDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FEQ0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MailDataTableAdapter" GeneratorDataComponentClassName="MailDataTableAdapter" Name="MailData" UserDataComponentName="MailDataTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.MailData" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[MailData] WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_SendOK = 1 AND [SendOK] IS NULL) OR ([SendOK] = @Original_SendOK)) AND ((@IsNull_SendMsg = 1 AND [SendMsg] IS NULL) OR ([SendMsg] = @Original_SendMsg)) AND ((@IsNull_aidx = 1 AND [aidx] IS NULL) OR ([aidx] = @Original_aidx)) AND ((@IsNull_atime = 1 AND [atime] IS NULL) OR ([atime] = @Original_atime)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_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" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendOK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendMsg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_atime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[MailData] ([project], [gcode], [cate], [pdate], [subject], [fromlist], [tolist], [bcc], [cc], [body], [SendOK], [SendMsg], [aidx], [atime], [wuid], [wdate]) VALUES (@project, @gcode, @cate, @pdate, @subject, @fromlist, @tolist, @bcc, @cc, @body, @SendOK, @SendMsg, @aidx, @atime, @wuid, @wdate);
|
||||
SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM MailData WHERE (idx = SCOPE_IDENTITY())</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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromlist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromlist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM dbo.MailData</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[MailData] SET [project] = @project, [gcode] = @gcode, [cate] = @cate, [pdate] = @pdate, [subject] = @subject, [fromlist] = @fromlist, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [body] = @body, [SendOK] = @SendOK, [SendMsg] = @SendMsg, [aidx] = @aidx, [atime] = @atime, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_SendOK = 1 AND [SendOK] IS NULL) OR ([SendOK] = @Original_SendOK)) AND ((@IsNull_SendMsg = 1 AND [SendMsg] IS NULL) OR ([SendMsg] = @Original_SendMsg)) AND ((@IsNull_aidx = 1 AND [aidx] IS NULL) OR ([aidx] = @Original_aidx)) AND ((@IsNull_atime = 1 AND [atime] IS NULL) OR ([atime] = @Original_atime)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
||||
SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate FROM MailData WHERE (idx = @idx)</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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromlist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromlist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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="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" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendOK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SendMsg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_atime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.MailData" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
||||
<Mapping SourceColumn="project" DataSetColumn="project" />
|
||||
<Mapping SourceColumn="gcode" DataSetColumn="gcode" />
|
||||
<Mapping SourceColumn="cate" DataSetColumn="cate" />
|
||||
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
||||
<Mapping SourceColumn="subject" DataSetColumn="subject" />
|
||||
<Mapping SourceColumn="fromlist" DataSetColumn="fromlist" />
|
||||
<Mapping SourceColumn="tolist" DataSetColumn="tolist" />
|
||||
<Mapping SourceColumn="bcc" DataSetColumn="bcc" />
|
||||
<Mapping SourceColumn="cc" DataSetColumn="cc" />
|
||||
<Mapping SourceColumn="body" DataSetColumn="body" />
|
||||
<Mapping SourceColumn="SendOK" DataSetColumn="SendOK" />
|
||||
<Mapping SourceColumn="SendMsg" DataSetColumn="SendMsg" />
|
||||
<Mapping SourceColumn="aidx" DataSetColumn="aidx" />
|
||||
<Mapping SourceColumn="atime" DataSetColumn="atime" />
|
||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MailFormTableAdapter" GeneratorDataComponentClassName="MailFormTableAdapter" Name="MailForm" UserDataComponentName="MailFormTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.MailForm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[MailForm] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfBCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[MailForm] ([gcode], [cate], [title], [tolist], [bcc], [cc], [subject], [tail], [body], [selfTo], [selfCC], [selfBCC], [wuid], [wdate]) VALUES (@gcode, @cate, @title, @tolist, @bcc, @cc, @subject, @tail, @body, @selfTo, @selfCC, @selfBCC, @wuid, @wdate);
|
||||
SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM MailForm WHERE (idx = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM dbo.MailForm</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[MailForm] SET [gcode] = @gcode, [cate] = @cate, [title] = @title, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [subject] = @subject, [tail] = @tail, [body] = @body, [selfTo] = @selfTo, [selfCC] = @selfCC, [selfBCC] = @selfBCC, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
||||
SELECT idx, gcode, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, wuid, wdate FROM MailForm WHERE (idx = @idx)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<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="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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfTo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfTo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_selfBCC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.MailForm" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
||||
<Mapping SourceColumn="gcode" DataSetColumn="gcode" />
|
||||
<Mapping SourceColumn="cate" DataSetColumn="cate" />
|
||||
<Mapping SourceColumn="title" DataSetColumn="title" />
|
||||
<Mapping SourceColumn="tolist" DataSetColumn="tolist" />
|
||||
<Mapping SourceColumn="bcc" DataSetColumn="bcc" />
|
||||
<Mapping SourceColumn="cc" DataSetColumn="cc" />
|
||||
<Mapping SourceColumn="subject" DataSetColumn="subject" />
|
||||
<Mapping SourceColumn="tail" DataSetColumn="tail" />
|
||||
<Mapping SourceColumn="body" DataSetColumn="body" />
|
||||
<Mapping SourceColumn="selfTo" DataSetColumn="selfTo" />
|
||||
<Mapping SourceColumn="selfCC" DataSetColumn="selfCC" />
|
||||
<Mapping SourceColumn="selfBCC" DataSetColumn="selfBCC" />
|
||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="EEDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="EEDataSet" msprop:Generator_UserDSName="EEDataSet">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="MailData" msprop:Generator_TableClassName="MailDataDataTable" msprop:Generator_TableVarName="tableMailData" msprop:Generator_TablePropName="MailData" msprop:Generator_RowDeletingName="MailDataRowDeleting" msprop:Generator_RowChangingName="MailDataRowChanging" msprop:Generator_RowEvHandlerName="MailDataRowChangeEventHandler" msprop:Generator_RowDeletedName="MailDataRowDeleted" msprop:Generator_UserTableName="MailData" msprop:Generator_RowChangedName="MailDataRowChanged" msprop:Generator_RowEvArgName="MailDataRowChangeEvent" msprop:Generator_RowClassName="MailDataRow">
|
||||
<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" />
|
||||
<xs:element name="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="cate" msprop:Generator_ColumnVarNameInTable="columncate" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:Generator_UserColumnName="cate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_UserColumnName="subject" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="fromlist" msprop:Generator_ColumnVarNameInTable="columnfromlist" msprop:Generator_ColumnPropNameInRow="fromlist" msprop:Generator_ColumnPropNameInTable="fromlistColumn" msprop:Generator_UserColumnName="fromlist" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:Generator_UserColumnName="tolist" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="bcc" msprop:Generator_ColumnVarNameInTable="columnbcc" msprop:Generator_ColumnPropNameInRow="bcc" msprop:Generator_ColumnPropNameInTable="bccColumn" msprop:Generator_UserColumnName="bcc" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="cc" msprop:Generator_ColumnVarNameInTable="columncc" msprop:Generator_ColumnPropNameInRow="cc" msprop:Generator_ColumnPropNameInTable="ccColumn" msprop:Generator_UserColumnName="cc" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="body" msprop:Generator_ColumnVarNameInTable="columnbody" msprop:Generator_ColumnPropNameInRow="body" msprop:Generator_ColumnPropNameInTable="bodyColumn" msprop:Generator_UserColumnName="body" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="SendOK" msprop:Generator_ColumnVarNameInTable="columnSendOK" msprop:Generator_ColumnPropNameInRow="SendOK" msprop:Generator_ColumnPropNameInTable="SendOKColumn" msprop:Generator_UserColumnName="SendOK" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="SendMsg" msprop:Generator_ColumnVarNameInTable="columnSendMsg" msprop:Generator_ColumnPropNameInRow="SendMsg" msprop:Generator_ColumnPropNameInTable="SendMsgColumn" msprop:Generator_UserColumnName="SendMsg" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="255" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="aidx" msprop:Generator_ColumnVarNameInTable="columnaidx" msprop:Generator_ColumnPropNameInRow="aidx" msprop:Generator_ColumnPropNameInTable="aidxColumn" msprop:Generator_UserColumnName="aidx" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="atime" msprop:Generator_ColumnVarNameInTable="columnatime" msprop:Generator_ColumnPropNameInRow="atime" msprop:Generator_ColumnPropNameInTable="atimeColumn" msprop:Generator_UserColumnName="atime" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MailForm" msprop:Generator_TableClassName="MailFormDataTable" msprop:Generator_TableVarName="tableMailForm" msprop:Generator_TablePropName="MailForm" msprop:Generator_RowDeletingName="MailFormRowDeleting" msprop:Generator_RowChangingName="MailFormRowChanging" msprop:Generator_RowEvHandlerName="MailFormRowChangeEventHandler" msprop:Generator_RowDeletedName="MailFormRowDeleted" msprop:Generator_UserTableName="MailForm" msprop:Generator_RowChangedName="MailFormRowChanged" msprop:Generator_RowEvArgName="MailFormRowChangeEvent" msprop:Generator_RowClassName="MailFormRow">
|
||||
<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" />
|
||||
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="cate" msprop:Generator_ColumnVarNameInTable="columncate" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:Generator_UserColumnName="cate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:Generator_UserColumnName="tolist" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="bcc" msprop:Generator_ColumnVarNameInTable="columnbcc" msprop:Generator_ColumnPropNameInRow="bcc" msprop:Generator_ColumnPropNameInTable="bccColumn" msprop:Generator_UserColumnName="bcc" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="cc" msprop:Generator_ColumnVarNameInTable="columncc" msprop:Generator_ColumnPropNameInRow="cc" msprop:Generator_ColumnPropNameInTable="ccColumn" msprop:Generator_UserColumnName="cc" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_UserColumnName="subject" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="tail" msprop:Generator_ColumnVarNameInTable="columntail" msprop:Generator_ColumnPropNameInRow="tail" msprop:Generator_ColumnPropNameInTable="tailColumn" msprop:Generator_UserColumnName="tail" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="body" msprop:Generator_ColumnVarNameInTable="columnbody" msprop:Generator_ColumnPropNameInRow="body" msprop:Generator_ColumnPropNameInTable="bodyColumn" msprop:Generator_UserColumnName="body" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="selfTo" msprop:Generator_ColumnVarNameInTable="columnselfTo" msprop:Generator_ColumnPropNameInRow="selfTo" msprop:Generator_ColumnPropNameInTable="selfToColumn" msprop:Generator_UserColumnName="selfTo" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="selfCC" msprop:Generator_ColumnVarNameInTable="columnselfCC" msprop:Generator_ColumnPropNameInRow="selfCC" msprop:Generator_ColumnPropNameInTable="selfCCColumn" msprop:Generator_UserColumnName="selfCC" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="selfBCC" msprop:Generator_ColumnVarNameInTable="columnselfBCC" msprop:Generator_ColumnPropNameInRow="selfBCC" msprop:Generator_ColumnPropNameInTable="selfBCCColumn" msprop:Generator_UserColumnName="selfBCC" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:MailData" />
|
||||
<xs:field xpath="mstns:idx" />
|
||||
</xs:unique>
|
||||
<xs:unique name="MailForm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:MailForm" />
|
||||
<xs:field xpath="mstns:idx" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
1
SubProject/FEQ0000/EEDataSet.xss
Normal file
1
SubProject/FEQ0000/EEDataSet.xss
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -53,11 +53,31 @@
|
||||
<Reference Include="libxl.net">
|
||||
<HintPath>..\..\DLL\libxl.net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="NetOffice, Version=1.7.4.5, Culture=neutral, PublicKeyToken=297f57b43ae7c1de, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\NetOffice.dll</HintPath>
|
||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="OfficeApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=a39beb0835c43c8e, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\OfficeApi.dll</HintPath>
|
||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="OutlookApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=b118031aaa1097f3, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\NetOfficeFw.Outlook.1.7.4.5\lib\net40\OutlookApi.dll</HintPath>
|
||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
@@ -67,13 +87,25 @@
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="VBIDEApi, Version=1.7.4.5, Culture=neutral, PublicKeyToken=931cec8882205047, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\NetOfficeFw.Core.1.7.4.5\lib\net40\VBIDEApi.dll</HintPath>
|
||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="YARTE, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Debug\YARTE.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DataBaseManager.cs" />
|
||||
<Compile Include="DataClasses1.designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DataClasses1.dbml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dsEQ.cs">
|
||||
<DependentUpon>dsEQ.xsd</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dsEQ.Designer.cs">
|
||||
<DependentUpon>dsEQ.xsd</DependentUpon>
|
||||
@@ -85,6 +117,11 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>dsPurchase.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="EEDataSet.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>EEDataSet.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Equipment\EQFilterApply.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -124,6 +161,12 @@
|
||||
<Compile Include="Purchase\fInputSC.Designer.cs">
|
||||
<DependentUpon>fInputSC.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Purchase\fMailForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Purchase\fMailForm.Designer.cs">
|
||||
<DependentUpon>fMailForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Purchase\fPurchase_excelimport.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -204,6 +247,9 @@
|
||||
<EmbeddedResource Include="Purchase\fInputSC.resx">
|
||||
<DependentUpon>fInputSC.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Purchase\fMailForm.resx">
|
||||
<DependentUpon>fMailForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Purchase\fPurchase_excelimport.resx">
|
||||
<DependentUpon>fPurchase_excelimport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
@@ -232,6 +278,14 @@
|
||||
<DependentUpon>rPurchase.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="app.config" />
|
||||
<None Include="DataClasses1.dbml">
|
||||
<Generator>MSLinqToSQLGenerator</Generator>
|
||||
<LastGenOutput>DataClasses1.designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="DataClasses1.dbml.layout">
|
||||
<DependentUpon>DataClasses1.dbml</DependentUpon>
|
||||
</None>
|
||||
<None Include="dsEQ.xsc">
|
||||
<DependentUpon>dsEQ.xsd</DependentUpon>
|
||||
</None>
|
||||
@@ -254,6 +308,18 @@
|
||||
<None Include="dsPurchase.xss">
|
||||
<DependentUpon>dsPurchase.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="EEDataSet.xsc">
|
||||
<DependentUpon>EEDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="EEDataSet.xsd">
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>EEDataSet.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="EEDataSet.xss">
|
||||
<DependentUpon>EEDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -277,6 +343,10 @@
|
||||
<ItemGroup>
|
||||
<None Include="Resources\action_save.gif" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
||||
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
13
SubProject/FEQ0000/Properties/Settings.Designer.cs
generated
13
SubProject/FEQ0000/Properties/Settings.Designer.cs
generated
@@ -12,7 +12,7 @@ namespace FEQ0000.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
@@ -33,5 +33,16 @@ namespace FEQ0000.Properties {
|
||||
return ((string)(this["gwcs"]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" +
|
||||
"user;Password=Amkor123!")]
|
||||
public string EEEntities {
|
||||
get {
|
||||
return ((string)(this["EEEntities"]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</Value>
|
||||
</Setting>
|
||||
<Setting Name="EEEntities" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</ConnectionString>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!</Value>
|
||||
</Setting>
|
||||
|
||||
235
SubProject/FEQ0000/Purchase/fMailForm.Designer.cs
generated
Normal file
235
SubProject/FEQ0000/Purchase/fMailForm.Designer.cs
generated
Normal file
@@ -0,0 +1,235 @@
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
partial class fMailForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMailForm));
|
||||
this.cmbForm = new System.Windows.Forms.ComboBox();
|
||||
this.tbBcc = new System.Windows.Forms.TextBox();
|
||||
this.tbTo = new System.Windows.Forms.TextBox();
|
||||
this.tbCC = new System.Windows.Forms.TextBox();
|
||||
this.chkAttach = new System.Windows.Forms.CheckBox();
|
||||
this.chkList = new System.Windows.Forms.CheckBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbSubject = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.htmlEditor1 = new YARTE.UI.HtmlEditor();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cmbForm
|
||||
//
|
||||
this.cmbForm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbForm.FormattingEnabled = true;
|
||||
this.cmbForm.Location = new System.Drawing.Point(74, 11);
|
||||
this.cmbForm.Name = "cmbForm";
|
||||
this.cmbForm.Size = new System.Drawing.Size(763, 20);
|
||||
this.cmbForm.TabIndex = 0;
|
||||
this.cmbForm.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// tbBcc
|
||||
//
|
||||
this.tbBcc.Location = new System.Drawing.Point(461, 128);
|
||||
this.tbBcc.Multiline = true;
|
||||
this.tbBcc.Name = "tbBcc";
|
||||
this.tbBcc.Size = new System.Drawing.Size(381, 63);
|
||||
this.tbBcc.TabIndex = 2;
|
||||
//
|
||||
// tbTo
|
||||
//
|
||||
this.tbTo.Location = new System.Drawing.Point(74, 38);
|
||||
this.tbTo.Multiline = true;
|
||||
this.tbTo.Name = "tbTo";
|
||||
this.tbTo.Size = new System.Drawing.Size(763, 68);
|
||||
this.tbTo.TabIndex = 3;
|
||||
//
|
||||
// tbCC
|
||||
//
|
||||
this.tbCC.Location = new System.Drawing.Point(74, 127);
|
||||
this.tbCC.Multiline = true;
|
||||
this.tbCC.Name = "tbCC";
|
||||
this.tbCC.Size = new System.Drawing.Size(381, 63);
|
||||
this.tbCC.TabIndex = 4;
|
||||
//
|
||||
// chkAttach
|
||||
//
|
||||
this.chkAttach.AutoSize = true;
|
||||
this.chkAttach.Checked = true;
|
||||
this.chkAttach.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkAttach.Location = new System.Drawing.Point(74, 572);
|
||||
this.chkAttach.Name = "chkAttach";
|
||||
this.chkAttach.Size = new System.Drawing.Size(104, 16);
|
||||
this.chkAttach.TabIndex = 5;
|
||||
this.chkAttach.Text = "목록 파일 첨부";
|
||||
this.chkAttach.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkList
|
||||
//
|
||||
this.chkList.AutoSize = true;
|
||||
this.chkList.Checked = true;
|
||||
this.chkList.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkList.Location = new System.Drawing.Point(74, 599);
|
||||
this.chkList.Name = "chkList";
|
||||
this.chkList.Size = new System.Drawing.Size(104, 16);
|
||||
this.chkList.TabIndex = 6;
|
||||
this.chkList.Text = "목록 본문 첨부";
|
||||
this.chkList.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 10);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 7;
|
||||
this.label1.Text = "메일양식";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(43, 40);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(22, 12);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "TO";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(72, 113);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(23, 12);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "CC";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(461, 113);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(31, 12);
|
||||
this.label4.TabIndex = 7;
|
||||
this.label4.Text = "BCC";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(12, 233);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 7;
|
||||
this.label5.Text = "본문양식";
|
||||
//
|
||||
// tbSubject
|
||||
//
|
||||
this.tbSubject.Location = new System.Drawing.Point(74, 200);
|
||||
this.tbSubject.Name = "tbSubject";
|
||||
this.tbSubject.Size = new System.Drawing.Size(768, 21);
|
||||
this.tbSubject.TabIndex = 8;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(12, 203);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(53, 12);
|
||||
this.label6.TabIndex = 7;
|
||||
this.label6.Text = "제목양식";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(74, 524);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(768, 42);
|
||||
this.button1.TabIndex = 9;
|
||||
this.button1.Text = "확인";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// htmlEditor1
|
||||
//
|
||||
this.htmlEditor1.Html = resources.GetString("htmlEditor1.Html");
|
||||
this.htmlEditor1.Location = new System.Drawing.Point(74, 227);
|
||||
this.htmlEditor1.Name = "htmlEditor1";
|
||||
this.htmlEditor1.ReadOnly = false;
|
||||
this.htmlEditor1.ShowToolbar = true;
|
||||
this.htmlEditor1.Size = new System.Drawing.Size(768, 291);
|
||||
this.htmlEditor1.TabIndex = 10;
|
||||
//
|
||||
// fMailForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(856, 633);
|
||||
this.Controls.Add(this.htmlEditor1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.tbSubject);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.chkList);
|
||||
this.Controls.Add(this.chkAttach);
|
||||
this.Controls.Add(this.tbCC);
|
||||
this.Controls.Add(this.tbTo);
|
||||
this.Controls.Add(this.tbBcc);
|
||||
this.Controls.Add(this.cmbForm);
|
||||
this.Name = "fMailForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fMailForm";
|
||||
this.Load += new System.EventHandler(this.fMailForm_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ComboBox cmbForm;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Button button1;
|
||||
public System.Windows.Forms.TextBox tbSubject;
|
||||
public System.Windows.Forms.TextBox tbBcc;
|
||||
public System.Windows.Forms.TextBox tbTo;
|
||||
public System.Windows.Forms.TextBox tbCC;
|
||||
public System.Windows.Forms.CheckBox chkAttach;
|
||||
public System.Windows.Forms.CheckBox chkList;
|
||||
public YARTE.UI.HtmlEditor htmlEditor1;
|
||||
}
|
||||
}
|
||||
45
SubProject/FEQ0000/Purchase/fMailForm.cs
Normal file
45
SubProject/FEQ0000/Purchase/fMailForm.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fMailForm : Form
|
||||
{
|
||||
public fMailForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void fMailForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
|
||||
var mailform = db.MailForm.Where(t => t.cate == "PC").ToList();
|
||||
this.cmbForm.DataSource = mailform;
|
||||
this.cmbForm.DisplayMember = "title";
|
||||
this.cmbForm.ValueMember = "idx";
|
||||
}
|
||||
|
||||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
var item = this.cmbForm.SelectedItem as MailForm;
|
||||
this.tbSubject.Text = item.subject;
|
||||
this.tbTo.Text = item.tolist;
|
||||
this.tbCC.Text = item.cc;
|
||||
this.tbBcc.Text = item.bcc;
|
||||
this.htmlEditor1.Html = item.body;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
128
SubProject/FEQ0000/Purchase/fMailForm.resx
Normal file
128
SubProject/FEQ0000/Purchase/fMailForm.resx
Normal file
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="htmlEditor1.Html" xml:space="preserve">
|
||||
<value><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content="text/html; charset=unicode" http-equiv=Content-Type>
|
||||
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
|
||||
<BODY></BODY></HTML>
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
77
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
77
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
@@ -53,6 +53,7 @@
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
@@ -86,6 +87,7 @@
|
||||
this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -191,7 +193,8 @@
|
||||
this.toolStripSeparator6,
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton3,
|
||||
this.toolStripButton4});
|
||||
this.toolStripButton4,
|
||||
this.toolStripButton5});
|
||||
this.bn.Location = new System.Drawing.Point(0, 639);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
@@ -399,6 +402,15 @@
|
||||
this.toolStripButton4.Text = "가져오기";
|
||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
||||
//
|
||||
// toolStripButton5
|
||||
//
|
||||
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
|
||||
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton5.Name = "toolStripButton5";
|
||||
this.toolStripButton5.Size = new System.Drawing.Size(75, 23);
|
||||
this.toolStripButton5.Text = "메일전송";
|
||||
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||
@@ -760,7 +772,7 @@
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 28;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 29;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
@@ -789,9 +801,10 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고예정";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "PO#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "입고수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "PO#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
|
||||
@@ -799,6 +812,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Tag = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
||||
@@ -828,11 +842,13 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Tag = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 24F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
@@ -846,18 +862,21 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "수령";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Tag = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
@@ -873,6 +892,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept";
|
||||
@@ -896,6 +916,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit";
|
||||
@@ -914,6 +935,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 33F;
|
||||
numberCellType4.DecimalPlaces = 0;
|
||||
numberCellType4.MaximumValue = 9999999999999.99D;
|
||||
@@ -927,12 +949,14 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Tag = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Width = 49F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
@@ -949,7 +973,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "관련프로젝트";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 45F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 63F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
@@ -969,22 +993,34 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po";
|
||||
numberCellType7.NegativeRed = true;
|
||||
numberCellType7.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 32F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 45F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 41F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Width = 32F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Width = 45F;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
@@ -1093,6 +1129,7 @@
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,10 @@ using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using util = FCOMMON.Util;
|
||||
|
||||
using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase : FCOMMON.fBase
|
||||
@@ -151,7 +155,7 @@ namespace FEQ0000
|
||||
string dateField = "pdate";
|
||||
if (cmDate.SelectedIndex == 1) dateField = "indate";
|
||||
else if (cmDate.SelectedIndex == 2) dateField = "expdate";
|
||||
|
||||
|
||||
|
||||
System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter();
|
||||
System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand();
|
||||
@@ -372,7 +376,7 @@ namespace FEQ0000
|
||||
else
|
||||
newdr.request = FCOMMON.info.Login.no;
|
||||
|
||||
repeat:
|
||||
repeat:
|
||||
|
||||
bool repeat = false;
|
||||
DialogResult dlg;
|
||||
@@ -431,7 +435,7 @@ namespace FEQ0000
|
||||
}
|
||||
else newdr.Delete();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
void func_delete()
|
||||
@@ -758,7 +762,7 @@ namespace FEQ0000
|
||||
newdr.idx = -1;
|
||||
newdr.EndEdit();
|
||||
|
||||
repeat:
|
||||
repeat:
|
||||
|
||||
bool repeat = false;
|
||||
DialogResult dlg;
|
||||
@@ -797,12 +801,10 @@ namespace FEQ0000
|
||||
newdr = newdro; //change
|
||||
goto repeat;
|
||||
}
|
||||
|
||||
}
|
||||
else newdr.Delete();
|
||||
}
|
||||
|
||||
|
||||
private void toolStripButton1_Click_2(object sender, EventArgs e)
|
||||
{
|
||||
func_copy();
|
||||
@@ -846,7 +848,7 @@ namespace FEQ0000
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var newdr = drv.Row as dsPurchase.PurchaseRow;
|
||||
if(newdr.sc.Trim() == "")
|
||||
if (newdr.sc.Trim() == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("SC값이 없습니다");
|
||||
return;
|
||||
@@ -877,7 +879,7 @@ namespace FEQ0000
|
||||
tbFind.Text = "";
|
||||
btFind.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
@@ -895,7 +897,7 @@ namespace FEQ0000
|
||||
return;
|
||||
}
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
this.label1.Text = string.Format("{0}",dr.bigo.Replace("\r","").Replace("\n",""));
|
||||
this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", ""));
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
@@ -903,5 +905,225 @@ namespace FEQ0000
|
||||
var f = new fPurchase_excelimport();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
List<string> ChangeMailAddress(List<string> userid)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
|
||||
List<string> retval = new List<string>();
|
||||
foreach (var id in userid)
|
||||
{
|
||||
UInt32 userno;
|
||||
if (UInt32.TryParse(id, out userno) == true)
|
||||
{
|
||||
var user = db.Users.Where(t => t.id == id).FirstOrDefault();
|
||||
if (user != null)
|
||||
{
|
||||
var data = string.Format("{0}<{1}>", user.name, user.email);
|
||||
if (retval.Contains(data) == false)
|
||||
retval.Add(data);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (retval.Contains(id) == false)
|
||||
retval.Add(id);
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
private void toolStripButton5_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
var dr = db.MailForm.Where(t => t.cate == "PC").FirstOrDefault();
|
||||
|
||||
//현재표시데이터중에 수신자목록을 가져온다
|
||||
var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort));
|
||||
var grp_req = drows.Where(t => t.request.isEmpty() == false).GroupBy(t => t.request).Select(t => t.FirstOrDefault().request).ToList();
|
||||
var grp_rec = drows.Where(t => t.receive.isEmpty() == false).GroupBy(t => t.receive).Select(t => t.FirstOrDefault().receive).ToList();
|
||||
|
||||
var f = new Purchase.fMailForm();
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var form_subject = f.tbSubject.Text.Trim();
|
||||
var form_body = f.htmlEditor1.Html;
|
||||
var form_to = f.tbTo.Text.Trim();
|
||||
var form_cc = f.tbCC.Text.Trim();
|
||||
var form_bcc = f.tbBcc.Text.Trim();
|
||||
|
||||
List<string> tolist = new List<string>(); //최종받는사람
|
||||
List<string> cclist = new List<string>();
|
||||
List<string> bcclist = new List<string>();
|
||||
|
||||
//받는사람
|
||||
if (form_to.Contains("{요청}") == true) tolist.AddRange(grp_req);
|
||||
if (form_to.Contains("{수령}") == true) tolist.AddRange(grp_rec);
|
||||
form_to = form_to.Replace("{요청}", "");
|
||||
form_to = form_to.Replace("{수령}", "");
|
||||
tolist.AddRange(form_to.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
tolist = ChangeMailAddress(tolist);
|
||||
|
||||
//참조
|
||||
if (form_cc.Contains("{요청}") == true) cclist.AddRange(grp_req);
|
||||
if (form_cc.Contains("{수령}") == true) cclist.AddRange(grp_rec);
|
||||
form_cc = form_cc.Replace("{요청}", "");
|
||||
form_cc = form_cc.Replace("{수령}", "");
|
||||
cclist.AddRange(form_cc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
cclist = ChangeMailAddress(cclist);
|
||||
|
||||
//숨은참조
|
||||
if (form_bcc.Contains("{요청}") == true) bcclist.AddRange(grp_req);
|
||||
if (form_bcc.Contains("{수령}") == true) bcclist.AddRange(grp_rec);
|
||||
form_bcc = form_bcc.Replace("{요청}", "");
|
||||
form_bcc = form_bcc.Replace("{수령}", "");
|
||||
bcclist.AddRange(form_bcc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
bcclist = ChangeMailAddress(bcclist);
|
||||
|
||||
var datestr = DateTime.Now.ToShortDateString();
|
||||
if (dtSD.Text == dtED.Text) datestr = dtSD.Text;
|
||||
else datestr = dtSD.Text + "~" + dtED.Text;
|
||||
form_subject = form_subject.Replace("{DATE}", datestr);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
newMail.Display();
|
||||
newMail.Subject = form_subject; // this.tbSubject.Text.Trim(); // dr.title;
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
///save file
|
||||
fpSpread1.SaveExcel(fi.FullName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>입고</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>비고</td>");
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
var col_입고 = fpSpread1_Sheet1.Columns["inqty"].Index;
|
||||
var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
|
||||
for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
{
|
||||
var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value;
|
||||
var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
var v입고 = fpSpread1_Sheet1.Cells[i, col_입고].Value;
|
||||
var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
var s신청 = String.Empty;
|
||||
var s요청 = String.Empty;
|
||||
var s수령 = String.Empty;
|
||||
var sSID = String.Empty;
|
||||
var s품명 = String.Empty;
|
||||
var s규격 = String.Empty;
|
||||
var s수량 = "0";
|
||||
var s단가 = "0";
|
||||
var s금액 = "0";
|
||||
var s입고 = String.Empty;
|
||||
var s공급 = String.Empty;
|
||||
var s비고 = String.Empty;
|
||||
|
||||
if (v신청 != null) s신청 = v신청.ToString();
|
||||
if (v요청 != null) s요청 = v요청.ToString();
|
||||
if (v수령 != null) s수령 = v수령.ToString();
|
||||
if (vSID != null) sSID = vSID.ToString();
|
||||
if (v품명 != null) s품명 = v품명.ToString();
|
||||
if (v규격 != null) s규격 = v규격.ToString();
|
||||
if (v수량 != null) s수량 = v수량.ToString();
|
||||
if (v단가 != null) s단가 = v단가.ToString();
|
||||
if (v금액 != null) s금액 = v금액.ToString();
|
||||
if (v입고 != null) s입고 = v입고.ToString();
|
||||
if (v공급 != null) s공급 = v공급.ToString();
|
||||
if (v비고 != null) s비고 = v비고.ToString();
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s입고) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s비고,20) + "</td>");
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
form_body += sb.ToString();
|
||||
}
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
form_body = form_body.Replace("{DATE}", datestr);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
util.MsgE("전송실패\n\n" + ex.Message + "\n\n" +
|
||||
"아웃룩의 설정이 정상인지 확인하세요");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -234,57 +234,68 @@
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvDNcOGMNKmSZy0ainouhC0Qq
|
||||
HeMjG2C0sxQMlbKqRQkVaDGICIdqka+0QulKq4yBlVpxBK12VjAYNWEUu3aeIUIntaD2w1qpHkVJiD9J
|
||||
7bIt83bP7fs+zz//N+KfqMbIyHpbZQ35q3i44mbRQsm13QuFprzhXX3Z1dm9vUuExsdLw6v/RU5Vs+qs
|
||||
Fc4r9y9jwHUNpumruP3EBr3tDHboMtQlPdP793VOOb/XOlhh5W+a7IfZhrtdGHQNoMtxFqW2akh+I9E3
|
||||
eQHbuzMCOV2aTxflQOdNPySnp8BpsrPD6uLLY+Tyo5Zyemh6CI1jKghGD6DAcgDt451Q32hDujp5/54O
|
||||
p1px2QPTHzQ0gz5k1Fro9LLh5aEAOSKRmRyXcHLiNPijIuQOC3HQWgudTYd05RZ7gWY8Lr/13oLxzgvI
|
||||
r/rRawmitGMCW4oHZaHAwRuFdvODAYish7FzURaOiKFzGCAy7ENiQzwzTzl+S2Fy42drEGX6x5Bd9KGh
|
||||
/yE2Coz2UKDIXDB/0fULSqxVaKSUODfZh2ZzIzYf+/LHvNYJ7nf1d+bOjcxConej8NQMhJoZnLjkwQbe
|
||||
+WAokN/PDY54R3F+sh+q60qwmjcHEqSbaoxicoWq/KeoTNJCtV3xoELvwa4WF3gKJxr63Pic3U2HAtye
|
||||
rfa26y1IbWM9SWqKF5vFOTFv+Pyq1zu4AfrbbcTX5beo5guPIOp4CE7dFArVMxC1O7A2S/P+C5maVElK
|
||||
K1NoL8tfM793r3yOx6PpmiN4mbsTdFIKkVhspqSGaexRupBVOQmZwYOM0iGsSWt5f0QcOvTRm+Ii7WuB
|
||||
YP5lnQyzBh0CPV14nrUNdFwCsUlgpCq7nchrdIJcvAOv/ndEpynoKGYdIxR4KxIx5vh8+oX2Bzzr7YFb
|
||||
WgX/yXbMfpWKQCxBrM89S5Vq/wR5xo2c2tv4IluPKGYDJyT/xSs2h0MLBHhGVsOvVcHXKsfT+ER4o2OJ
|
||||
z9jdlEAxjhShGauT5U4G8/g3Ye3fBBOT0p7HJTj93Fx4RMXwERvhXRlNfJyppmJSWyyrkpukDBYZGV7/
|
||||
ML516yL9n8RKfavWWryMGHiXrSTCo/+LiIh3thHhkShbSWAAAAAASUVORK5CYII=
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANJSURBVDhPtZBdTFN3GIdJdrdw4Yw1OCFmuoSE5FzIXCBS
|
||||
6ZCPTEAZWSkYisVOCxIq0GIQEQ7VogXSDkpXWscQqNSKIwjaWcFg1IRRrK0eGYGqXUHth12leuoHCfEn
|
||||
qV102W733L7v8/zzfyM+RjVNRp601jaQv4smam6ULVdc/WG5xFg4UTSYV583MPCJYOTJp+HVfyOn6llN
|
||||
lhrH5QeXMOq8CuP8Fdx6aoXeegbf6zLVFf3zB0q7Hzj2au2ssPKBFtuRXMMfPRhzjqLHfhaV1nqIb5MY
|
||||
nLuAnb2Z/vwezabS7vv+7hs+iPsegt1iyw2rKy9Pk6uPmavp8flxNE+rwJ86iGLzQXTOdEN9vQMZ6pQD
|
||||
+7ocasUlN4z3aGjGvMhsNNMZVROrQwFyUiw12i/i1GwfeFNCFEwIcMjSCJ1VhwzlNluxZiZ+j2J6eeTu
|
||||
C8iv+DBgDqCyaxbbysekocCh6yU205+jEFqOYPeKLJgUQWc3QGgoRZIsgVmonLmpMLrwqyWAKv0TSIe9
|
||||
kA09Qjx/2BYKlJmKl4adv6HCUodmSolzc4NoNTVj6/Gvfylsn+XkSO++Oje5CLHehZKfFyDQLODHi27E
|
||||
cc8HQoGiIU5g0jOF83NDUF1TgiXb6k+UbGkYEZFrVNWno7JIM9Vx2Y0avRtFbU5wFQ7IBl3YtOs0HQpw
|
||||
+nfaOq61YXsH62lyS4LIJMqPecPj1b3+juOnd+QQKdU3qdYLjyHsegR200OUqBcg7LRjY3bn+y9kadLE
|
||||
qe1Mga1qz/ql/fvlQS6XphuOIliwG3RyKpFUbqIkhnnsUzqRXTsHqcGNzMpxrE9ve39EHD782ZvyMm2Q
|
||||
z18KNkmxaNDB39+D59k5oOMTiS38Eaq214HCZgfIlTtwT95BdHorHcVsYoQCb4VCRpDHo19of8KzgX64
|
||||
JHXwnerE4jdp8McSRFz+WapSex/kGRfyG29hc54eUUwZOyT/zctcNpvm8/GMrIdPq4K3XY6/EpLgiY4l
|
||||
vsztpfiKGaQKTPg8Re5gME98G9b+SSApOf15fKLDxymAW1gOL/EVPGujiQ1Zaiomrc28LqVFwmCRkeH1
|
||||
/8YbFxfp+yJW4l230exhxMCzai0RHv1fRES8Az9w4VvBSIESAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKOSURBVDhPzZHfS1NhGMcPdNc/0V1BZhaiFUEQRNFVBFYW
|
||||
RRcSVAiGQREI6oU/Qp2Yc7nslyBWm7qcEgVaSFP306Ye3fG46dxUdKjbzm/Pzs63d3OQV1738H553ovn
|
||||
8/0+Ly/1f5fFcuNQc7fN8XrgF1qtLnTYfOi0/oS5uvBwbuTgav5oc1h/h8CuC1jeUuAKcbC7omh6Z3fk
|
||||
Rg6ujgE35qIc3GEJE0sixolm1mQYLePIjVDU/HChf2WkVI2M3tmn2+rit7Ohli9OBGMKJkICHEEBowwP
|
||||
X0RBe7/3nwHdX6zoehqATk5Ge/eUHIOxzwU6ymOM3YMz8kYVNPU49hnYihK6JkNZNUBcaoMY/gBppQ96
|
||||
Kg7L9wmM+CLwhkVMhmV4SPrQNI9W8ycYyoruZw3Y3tNcWk0S2Agh2A5urhbb7seIecoRcjZg2N5JNpmE
|
||||
ifxAy2cnDGYrPIMmDNeUcFXXj5RSrLVITUkbiNNG7Ew1YnPsKaRNF3SNI+JzPZHdSE/tYHrsKwbrbur0
|
||||
YDO6Ki6IZIMzavb9aYVIAjQxC2oSA2XdCDlaB2n5GcTFhxCYu9CEAOw1x9Su55clU8VFUGxX8a6uSdA4
|
||||
J1LxH1C3+rC78ZaATZDCVZCC5RAX7kGYvwZ+9hI03g/aXCBn358p+k2xklY5qNtD2N3sIakdkCMkdSmT
|
||||
+gBC4BZ4+iq46fNITp1CivOCfrXfoLVA1tU4gbuhrLVBXqklcCVEtozAJST1Cjj/OSR9J5HwHCUGbmSY
|
||||
HE5RCy/z16XEfGIn8CktLL4Hz5rAMwbwgXpwdDW42RdIzlQi6S9H8s8jcKsjOm0oTORwimLq854wjSd6
|
||||
6YbjsZnGfPlANWR7kqnLa9+jKeovOLlDMB5ltqwAAAAASUVORK5CYII=
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZHbS5NhHMdf6K5/opvoIlsHRCuCIIiiqwg8
|
||||
dFF0IUGFYBgUgTAM1IU6EefS7CSI1mYup0RGB6SpO6qvvuqcm+6Qokvd9p599+799mwOtBuv+/F8eZ4H
|
||||
fp/v9/fwUP93WSylh5q6bY4XAz/RYnWh3eZDh/UHOvWFh/MtB1fTO5vD+iuEwBqPlU0ZrhALuyuGxtd2
|
||||
R77l4GofcGMuxsIdFjG+LGCMaGZVgskyhnwLRc0PF05HRkqV6NfyfSpTlj6fCzV/cCIYlzEe4uEI8vju
|
||||
5+CLymj76N0zoC3FsqZlAGhkZbV7TktxmPpdYGIcRgO7cFbemIzGHseeAWMrSmqqBPm3EcJyK4TwW4iR
|
||||
fmjpBCxfxvHNF4U3LGAiLMFD0odoDi2dfTBWFN3JGQR6z7AZJUVgE/hgG9i5Wmy5HyDuqUTI2YBheweZ
|
||||
ZAJm8gPN750wdlrhGTRjWF/C1tw4cpMKWIuUtLiOBGPC9qQBG6OPIG64oKksEZffk7mJtPQ26NFPGHhW
|
||||
pjGDTeiquiiQCc4qufdnZCIRUIUcqIp+yGsmSLE6iCuPISzdA++/BZVfgF1/VOl6ckU0V10CFego3tFU
|
||||
ESrrRDoxAmWzHzvrrwjYCDFcAzFYCWHxNvj56+BmL0PlpkGbT0m592eLflksZxQWytYQdjZ6SGo7pChJ
|
||||
Xc6m3gW/UA6OuQaWvoDU5GmkWS/olv0G5KIpCQJ3Q15thRSpJXA1hEAFgUtI6lWw0+eR8p1E0nOMGLj/
|
||||
NVh8rlsTk0zyD9OX4ZfegAuYwfmN4BbqwTJ6sLNPkZqpRmq6Eqmp+0hERjTGWJjM4xTlry946Dec6GUa
|
||||
jsenDDrpQDXoJNqgS/nrCtp2aYr6C6aBQrzs5yeYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLtS1NhGMb3Kf+FrA99jTCllF6JamlNLcrK
|
||||
VMrSOaf0Yg1dmGTGXKgzQwsnVERS9KFCetFNm1ZzTjeakVmWpkunSU6XupdztnPOunrO2XAFQjf8eD48
|
||||
5/px7uscET9Jl405+2sthoPXLb8OaCwUOWmBOv600gdr++iUGvOn7UpTw7r0xyuE0N+TfK3H5HTTc3Nu
|
||||
inN5/XB5Isy5eWh8mXaj/IUDeTeHfZJzuqhwNDSp1WbngtfP9Y0zsE6wsDpYWMZZmL8HYPzmR/uQF34W
|
||||
aP1KofzZBC+h/pGkVPVQi74A+ic5vJ9kycninSAJoHvUj1dDPiIIon+ag/UHA7XOAfGl14+EcGbdbvsx
|
||||
TfpvufYI8hqPorGjGZUtdRBXxGI3QaLehiTVJtS31gureGgWM/M+JF3uZgVBRq346evBNrSN3EWjpUSQ
|
||||
nLqVgpKH2ShqzoKs6RCkTVK0Dsyg7ZMHLz8ugqyLvaoeWhBIGiRRaTXnOcvwWzwYVEFjPCdIcrSpJJyG
|
||||
wtsFMI16hVW6RigYSA/zXgZ7K3tDAn6Sq7tpxb1c2EbNaLJeRFVnMTLr9iDnVjps4z7YSLF8waaxUCcu
|
||||
IkhS/SXYeaWC2Vy6BtkNEvSP9UH99jRUOgWybiSi2fgcH6ZY2Eixfd8Z9BKcbgbiq2HBRmW0PF65GkX3
|
||||
j+OENhnH6/cJEoUuG8qWAvImieDv+x0c3vGfmOAmRe4oM4cE8cqVU/HKVeShaMSXROOwJhFn7uTCNGSA
|
||||
2lCK009yIdNmwEYEVvJvWIiAZoLYWmKMrLCrrIeeXqAxMMUJdA//wIV7hcgnQXlTForvn1264/EFOCSc
|
||||
74oItl000pOuiOB/eMkKcQUdEcEWxRvf2Izn93IPLwcVYIPrpXpPOE6KLOy0/1yk3GNOX9A+S8HupDAa
|
||||
ZtbDCPDNe2gObooJshy3sPak/nM4LhIlFHaciZO1d26QG1xx8nZ6ifwQsfn6EDI9HSPTz8dI9V2xubo8
|
||||
kUgk+gNtjaLf4YsIzAAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG
|
||||
MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++
|
||||
i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J
|
||||
LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ
|
||||
5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP
|
||||
GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2
|
||||
VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs
|
||||
JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav
|
||||
kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu
|
||||
ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD
|
||||
5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD
|
||||
AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ
|
||||
FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3
|
||||
xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEOSURBVDhPYxh48J9CADbg8vMP/2ceuAbGXWtOoODa+Tv/
|
||||
V87YBMYVE1b/T62fA8ZBCZUIA0Aaf/35SzQ+ffkWqgEgm0AShx/8/X/g/p//u+/8BeNtN/+A8frrf/6v
|
||||
ugLBiy/8+X/78Zv/nqHZmAaANMMMQNYMkrsSFAPGIANeffmHakDN4gNwA0D+BOHS/jXwcADZDNIEwjAD
|
||||
nL1jEAaAAgpkACGng/CcsxAvoBgACuHHb76ANcNsR3YBsmaYAXauoQgD8vvWgw1AthlmO7pmEAapRTEA
|
||||
FK+gqAFJgDDIBlwYJA9Sq2nojDAA5OzQ7C44BsUxCINCGoRB/gVhkK0gDNKMkg4oAdAcMWCAgQEAUU2N
|
||||
V3HhzrYAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -29,13 +29,11 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label label18;
|
||||
System.Windows.Forms.Label stateLabel;
|
||||
System.Windows.Forms.Label processLabel;
|
||||
System.Windows.Forms.Label label22;
|
||||
System.Windows.Forms.Label label23;
|
||||
System.Windows.Forms.Label assetLabel;
|
||||
System.Windows.Forms.Label label24;
|
||||
System.Windows.Forms.Label label15;
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_excelimport));
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
@@ -43,6 +41,7 @@
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPRJ = new FEQ0000.dsPurchase();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.nudE = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -66,6 +65,14 @@
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.sbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.nudPdate = new System.Windows.Forms.NumericUpDown();
|
||||
this.label25 = new System.Windows.Forms.Label();
|
||||
this.nudInDate = new System.Windows.Forms.NumericUpDown();
|
||||
this.label26 = new System.Windows.Forms.Label();
|
||||
this.nudReq = new System.Windows.Forms.NumericUpDown();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.nudRecv = new System.Windows.Forms.NumericUpDown();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.nudPo = new System.Windows.Forms.NumericUpDown();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.nudSid = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -95,12 +102,12 @@
|
||||
this.cbManuProc = new System.Windows.Forms.ComboBox();
|
||||
this.cbEQModel = new System.Windows.Forms.ComboBox();
|
||||
this.cbEQManu = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRequest = new System.Windows.Forms.ComboBox();
|
||||
this.dtPdate = new System.Windows.Forms.DateTimePicker();
|
||||
this.cmbState = new System.Windows.Forms.ComboBox();
|
||||
this.cbProcess = new System.Windows.Forms.ComboBox();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.listView1 = new System.Windows.Forms.ListView();
|
||||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader14 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
@@ -113,18 +120,17 @@
|
||||
this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader16 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader15 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.전체선택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.모두해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.선택반전ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
label18 = new System.Windows.Forms.Label();
|
||||
stateLabel = new System.Windows.Forms.Label();
|
||||
processLabel = new System.Windows.Forms.Label();
|
||||
label22 = new System.Windows.Forms.Label();
|
||||
label23 = new System.Windows.Forms.Label();
|
||||
assetLabel = new System.Windows.Forms.Label();
|
||||
label24 = new System.Windows.Forms.Label();
|
||||
label15 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
||||
@@ -135,6 +141,10 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudPdate)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudInDate)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudReq)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudRecv)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudPo)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSid)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).BeginInit();
|
||||
@@ -150,15 +160,6 @@
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label18
|
||||
//
|
||||
label18.AutoSize = true;
|
||||
label18.Location = new System.Drawing.Point(28, 33);
|
||||
label18.Name = "label18";
|
||||
label18.Size = new System.Drawing.Size(41, 12);
|
||||
label18.TabIndex = 52;
|
||||
label18.Text = "입력일";
|
||||
//
|
||||
// stateLabel
|
||||
//
|
||||
stateLabel.AutoSize = true;
|
||||
@@ -171,7 +172,7 @@
|
||||
// processLabel
|
||||
//
|
||||
processLabel.AutoSize = true;
|
||||
processLabel.Location = new System.Drawing.Point(301, 56);
|
||||
processLabel.Location = new System.Drawing.Point(40, 33);
|
||||
processLabel.Name = "processLabel";
|
||||
processLabel.Size = new System.Drawing.Size(29, 12);
|
||||
processLabel.TabIndex = 57;
|
||||
@@ -204,20 +205,10 @@
|
||||
assetLabel.TabIndex = 61;
|
||||
assetLabel.Text = "장비모델";
|
||||
//
|
||||
// label24
|
||||
//
|
||||
label24.AutoSize = true;
|
||||
label24.Location = new System.Drawing.Point(507, 55);
|
||||
label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label24.Name = "label24";
|
||||
label24.Size = new System.Drawing.Size(41, 12);
|
||||
label24.TabIndex = 67;
|
||||
label24.Text = "요청자";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.AutoSize = true;
|
||||
label15.Location = new System.Drawing.Point(677, 57);
|
||||
label15.Location = new System.Drawing.Point(276, 56);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new System.Drawing.Size(53, 12);
|
||||
label15.TabIndex = 69;
|
||||
@@ -274,6 +265,18 @@
|
||||
this.panel1.Size = new System.Drawing.Size(994, 57);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.LinkColor = System.Drawing.Color.DeepSkyBlue;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(601, 35);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(77, 12);
|
||||
this.linkLabel2.TabIndex = 53;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "샘플파일열기";
|
||||
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
@@ -303,6 +306,11 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudE.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudE.Name = "nudE";
|
||||
this.nudE.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudE.TabIndex = 9;
|
||||
@@ -321,6 +329,11 @@
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudS.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudS.Name = "nudS";
|
||||
this.nudS.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudS.TabIndex = 8;
|
||||
@@ -512,6 +525,14 @@
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.nudPdate);
|
||||
this.panel2.Controls.Add(this.label25);
|
||||
this.panel2.Controls.Add(this.nudInDate);
|
||||
this.panel2.Controls.Add(this.label26);
|
||||
this.panel2.Controls.Add(this.nudReq);
|
||||
this.panel2.Controls.Add(this.label17);
|
||||
this.panel2.Controls.Add(this.nudRecv);
|
||||
this.panel2.Controls.Add(this.label20);
|
||||
this.panel2.Controls.Add(this.nudPo);
|
||||
this.panel2.Controls.Add(this.label9);
|
||||
this.panel2.Controls.Add(this.nudSid);
|
||||
@@ -541,6 +562,75 @@
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(994, 86);
|
||||
this.panel2.TabIndex = 3;
|
||||
this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
|
||||
//
|
||||
// nudPdate
|
||||
//
|
||||
this.nudPdate.Location = new System.Drawing.Point(776, 29);
|
||||
this.nudPdate.Name = "nudPdate";
|
||||
this.nudPdate.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudPdate.TabIndex = 63;
|
||||
this.nudPdate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label25
|
||||
//
|
||||
this.label25.AutoSize = true;
|
||||
this.label25.Location = new System.Drawing.Point(727, 33);
|
||||
this.label25.Name = "label25";
|
||||
this.label25.Size = new System.Drawing.Size(41, 12);
|
||||
this.label25.TabIndex = 62;
|
||||
this.label25.Text = "요청일";
|
||||
//
|
||||
// nudInDate
|
||||
//
|
||||
this.nudInDate.Location = new System.Drawing.Point(776, 58);
|
||||
this.nudInDate.Name = "nudInDate";
|
||||
this.nudInDate.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudInDate.TabIndex = 61;
|
||||
this.nudInDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label26
|
||||
//
|
||||
this.label26.AutoSize = true;
|
||||
this.label26.Location = new System.Drawing.Point(727, 62);
|
||||
this.label26.Name = "label26";
|
||||
this.label26.Size = new System.Drawing.Size(41, 12);
|
||||
this.label26.TabIndex = 60;
|
||||
this.label26.Text = "입고일";
|
||||
//
|
||||
// nudReq
|
||||
//
|
||||
this.nudReq.Location = new System.Drawing.Point(670, 29);
|
||||
this.nudReq.Name = "nudReq";
|
||||
this.nudReq.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudReq.TabIndex = 59;
|
||||
this.nudReq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(621, 33);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(41, 12);
|
||||
this.label17.TabIndex = 58;
|
||||
this.label17.Text = "청구인";
|
||||
//
|
||||
// nudRecv
|
||||
//
|
||||
this.nudRecv.Location = new System.Drawing.Point(670, 58);
|
||||
this.nudRecv.Name = "nudRecv";
|
||||
this.nudRecv.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudRecv.TabIndex = 57;
|
||||
this.nudRecv.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(621, 62);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(41, 12);
|
||||
this.label20.TabIndex = 56;
|
||||
this.label20.Text = "수령인";
|
||||
//
|
||||
// nudPo
|
||||
//
|
||||
@@ -549,11 +639,6 @@
|
||||
this.nudPo.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudPo.TabIndex = 53;
|
||||
this.nudPo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudPo.Value = new decimal(new int[] {
|
||||
10,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label9
|
||||
//
|
||||
@@ -571,11 +656,6 @@
|
||||
this.nudSid.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudSid.TabIndex = 1;
|
||||
this.nudSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudSid.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudSid.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label6
|
||||
@@ -594,11 +674,6 @@
|
||||
this.nudSupplty.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudSupplty.TabIndex = 23;
|
||||
this.nudSupplty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudSupplty.Value = new decimal(new int[] {
|
||||
7,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudSupplty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label5
|
||||
@@ -617,11 +692,6 @@
|
||||
this.nudMemo.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudMemo.TabIndex = 25;
|
||||
this.nudMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudMemo.Value = new decimal(new int[] {
|
||||
8,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudMemo.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label21
|
||||
@@ -641,11 +711,6 @@
|
||||
this.nudPrice.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudPrice.TabIndex = 21;
|
||||
this.nudPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudPrice.Value = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudPrice.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label19
|
||||
@@ -664,11 +729,6 @@
|
||||
this.nudCr.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudCr.TabIndex = 11;
|
||||
this.nudCr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudCr.Value = new decimal(new int[] {
|
||||
12,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudCr.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label7
|
||||
@@ -687,11 +747,6 @@
|
||||
this.nudUnit.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudUnit.TabIndex = 19;
|
||||
this.nudUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudUnit.Value = new decimal(new int[] {
|
||||
9,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudUnit.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label14
|
||||
@@ -711,11 +766,6 @@
|
||||
this.nudPumName.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudPumName.TabIndex = 13;
|
||||
this.nudPumName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudPumName.Value = new decimal(new int[] {
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudPumName.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label13
|
||||
@@ -734,11 +784,6 @@
|
||||
this.nudScale.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudScale.TabIndex = 15;
|
||||
this.nudScale.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudScale.Value = new decimal(new int[] {
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudScale.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label4
|
||||
@@ -758,11 +803,6 @@
|
||||
this.nudQty.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudQty.TabIndex = 15;
|
||||
this.nudQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudQty.Value = new decimal(new int[] {
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudQty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label11
|
||||
@@ -782,11 +822,6 @@
|
||||
this.nudSc.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudSc.TabIndex = 9;
|
||||
this.nudSc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudSc.Value = new decimal(new int[] {
|
||||
11,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudSc.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
|
||||
//
|
||||
// label10
|
||||
@@ -820,16 +855,12 @@
|
||||
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel3.Controls.Add(this.tbProject);
|
||||
this.panel3.Controls.Add(label15);
|
||||
this.panel3.Controls.Add(label24);
|
||||
this.panel3.Controls.Add(this.cbManuProc);
|
||||
this.panel3.Controls.Add(this.cbEQModel);
|
||||
this.panel3.Controls.Add(this.cbEQManu);
|
||||
this.panel3.Controls.Add(label22);
|
||||
this.panel3.Controls.Add(label23);
|
||||
this.panel3.Controls.Add(assetLabel);
|
||||
this.panel3.Controls.Add(this.cmbRequest);
|
||||
this.panel3.Controls.Add(label18);
|
||||
this.panel3.Controls.Add(this.dtPdate);
|
||||
this.panel3.Controls.Add(this.cmbState);
|
||||
this.panel3.Controls.Add(stateLabel);
|
||||
this.panel3.Controls.Add(this.cbProcess);
|
||||
@@ -846,9 +877,9 @@
|
||||
//
|
||||
this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.tbProject.FormattingEnabled = true;
|
||||
this.tbProject.Location = new System.Drawing.Point(736, 53);
|
||||
this.tbProject.Location = new System.Drawing.Point(336, 53);
|
||||
this.tbProject.Name = "tbProject";
|
||||
this.tbProject.Size = new System.Drawing.Size(202, 20);
|
||||
this.tbProject.Size = new System.Drawing.Size(602, 20);
|
||||
this.tbProject.TabIndex = 70;
|
||||
//
|
||||
// cbManuProc
|
||||
@@ -888,25 +919,6 @@
|
||||
this.cbEQManu.TabIndex = 64;
|
||||
this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged);
|
||||
//
|
||||
// cmbRequest
|
||||
//
|
||||
this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRequest.FormattingEnabled = true;
|
||||
this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.cmbRequest.Location = new System.Drawing.Point(554, 52);
|
||||
this.cmbRequest.Name = "cmbRequest";
|
||||
this.cmbRequest.Size = new System.Drawing.Size(117, 20);
|
||||
this.cmbRequest.TabIndex = 56;
|
||||
//
|
||||
// dtPdate
|
||||
//
|
||||
this.dtPdate.Location = new System.Drawing.Point(75, 29);
|
||||
this.dtPdate.Name = "dtPdate";
|
||||
this.dtPdate.Size = new System.Drawing.Size(186, 21);
|
||||
this.dtPdate.TabIndex = 54;
|
||||
//
|
||||
// cmbState
|
||||
//
|
||||
this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
@@ -923,9 +935,9 @@
|
||||
this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbProcess.FormattingEnabled = true;
|
||||
this.cbProcess.Location = new System.Drawing.Point(336, 52);
|
||||
this.cbProcess.Location = new System.Drawing.Point(75, 29);
|
||||
this.cbProcess.Name = "cbProcess";
|
||||
this.cbProcess.Size = new System.Drawing.Size(132, 20);
|
||||
this.cbProcess.Size = new System.Drawing.Size(186, 20);
|
||||
this.cbProcess.TabIndex = 58;
|
||||
//
|
||||
// label34
|
||||
@@ -944,6 +956,8 @@
|
||||
//
|
||||
this.listView1.CheckBoxes = true;
|
||||
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.columnHeader3,
|
||||
this.columnHeader14,
|
||||
this.columnHeader1,
|
||||
this.columnHeader2,
|
||||
this.columnHeader4,
|
||||
@@ -955,7 +969,9 @@
|
||||
this.columnHeader10,
|
||||
this.columnHeader11,
|
||||
this.columnHeader12,
|
||||
this.columnHeader13});
|
||||
this.columnHeader13,
|
||||
this.columnHeader16,
|
||||
this.columnHeader15});
|
||||
this.listView1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.listView1.FullRowSelect = true;
|
||||
@@ -968,6 +984,14 @@
|
||||
this.listView1.UseCompatibleStateImageBehavior = false;
|
||||
this.listView1.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// columnHeader3
|
||||
//
|
||||
this.columnHeader3.Text = "요청일";
|
||||
//
|
||||
// columnHeader14
|
||||
//
|
||||
this.columnHeader14.Text = "청구인";
|
||||
//
|
||||
// columnHeader1
|
||||
//
|
||||
this.columnHeader1.Text = "SC";
|
||||
@@ -981,12 +1005,12 @@
|
||||
// columnHeader4
|
||||
//
|
||||
this.columnHeader4.Text = "SID";
|
||||
this.columnHeader4.Width = 85;
|
||||
this.columnHeader4.Width = 68;
|
||||
//
|
||||
// columnHeader5
|
||||
//
|
||||
this.columnHeader5.Text = "품명";
|
||||
this.columnHeader5.Width = 125;
|
||||
this.columnHeader5.Width = 81;
|
||||
//
|
||||
// columnHeader6
|
||||
//
|
||||
@@ -1007,22 +1031,30 @@
|
||||
// columnHeader10
|
||||
//
|
||||
this.columnHeader10.Text = "금액";
|
||||
this.columnHeader10.Width = 89;
|
||||
this.columnHeader10.Width = 63;
|
||||
//
|
||||
// columnHeader11
|
||||
//
|
||||
this.columnHeader11.Text = "공급처";
|
||||
this.columnHeader11.Width = 93;
|
||||
this.columnHeader11.Width = 64;
|
||||
//
|
||||
// columnHeader12
|
||||
//
|
||||
this.columnHeader12.Text = "PO";
|
||||
this.columnHeader12.Width = 80;
|
||||
this.columnHeader12.Width = 58;
|
||||
//
|
||||
// columnHeader13
|
||||
//
|
||||
this.columnHeader13.Text = "비고";
|
||||
this.columnHeader13.Width = 101;
|
||||
this.columnHeader13.Width = 68;
|
||||
//
|
||||
// columnHeader16
|
||||
//
|
||||
this.columnHeader16.Text = "입고일";
|
||||
//
|
||||
// columnHeader15
|
||||
//
|
||||
this.columnHeader15.Text = "수령인";
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
@@ -1054,18 +1086,6 @@
|
||||
this.선택반전ToolStripMenuItem.Text = "선택 반전";
|
||||
this.선택반전ToolStripMenuItem.Click += new System.EventHandler(this.선택반전ToolStripMenuItem_Click);
|
||||
//
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.LinkColor = System.Drawing.Color.DeepSkyBlue;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(601, 35);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(77, 12);
|
||||
this.linkLabel2.TabIndex = 53;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "샘플파일열기";
|
||||
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
|
||||
//
|
||||
// fPurchase_excelimport
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1092,6 +1112,10 @@
|
||||
this.bn.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudPdate)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudInDate)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudReq)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudRecv)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudPo)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSid)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSupplty)).EndInit();
|
||||
@@ -1174,8 +1198,6 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label34;
|
||||
private System.Windows.Forms.ComboBox cmbRequest;
|
||||
private System.Windows.Forms.DateTimePicker dtPdate;
|
||||
private System.Windows.Forms.ComboBox cmbState;
|
||||
private System.Windows.Forms.ComboBox cbProcess;
|
||||
private System.Windows.Forms.ComboBox cbManuProc;
|
||||
@@ -1205,5 +1227,17 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 모두해제ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택반전ToolStripMenuItem;
|
||||
private System.Windows.Forms.LinkLabel linkLabel2;
|
||||
private System.Windows.Forms.NumericUpDown nudReq;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.NumericUpDown nudRecv;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.NumericUpDown nudPdate;
|
||||
private System.Windows.Forms.Label label25;
|
||||
private System.Windows.Forms.NumericUpDown nudInDate;
|
||||
private System.Windows.Forms.Label label26;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader3;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader14;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader16;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader15;
|
||||
}
|
||||
}
|
||||
@@ -54,45 +54,95 @@ namespace FEQ0000
|
||||
this.cbProcess.ValueMember = "Value";
|
||||
this.cbProcess.DataSource = dt_eetproc;
|
||||
|
||||
string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no);
|
||||
if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)";
|
||||
this.cmbRequest.Items.Clear();
|
||||
this.cmbRequest.Items.Add(namestr);
|
||||
try
|
||||
{
|
||||
var cn = FCOMMON.DBM.getCn();
|
||||
cn.Open();
|
||||
string sql = "select [id],[name] " +
|
||||
" from users" +
|
||||
" where gcode='{1}' and id <> '{0}'" +
|
||||
" order by [name]";
|
||||
sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
|
||||
var rdr = cmd.ExecuteReader();
|
||||
while (rdr.Read())
|
||||
{
|
||||
string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString());
|
||||
this.cmbRequest.Items.Add(cmbdata);
|
||||
}
|
||||
cmd.Dispose();
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message);
|
||||
}
|
||||
cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK;
|
||||
//string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no);
|
||||
//if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)";
|
||||
//this.cmbRequest.Items.Clear();
|
||||
//this.cmbRequest.Items.Add(namestr);
|
||||
//try
|
||||
//{
|
||||
// var cn = FCOMMON.DBM.getCn();
|
||||
// cn.Open();
|
||||
// string sql = "select [id],[name] " +
|
||||
// " from users" +
|
||||
// " where gcode='{1}' and id <> '{0}'" +
|
||||
// " order by [name]";
|
||||
// sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
// var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
|
||||
// var rdr = cmd.ExecuteReader();
|
||||
// while (rdr.Read())
|
||||
// {
|
||||
// string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString());
|
||||
// this.cmbRequest.Items.Add(cmbdata);
|
||||
// }
|
||||
// cmd.Dispose();
|
||||
// cn.Close();
|
||||
// cn.Dispose();
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message);
|
||||
//}
|
||||
//cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK;
|
||||
|
||||
|
||||
dtPdate.Value = DateTime.Now;
|
||||
//dtPdate.Value = DateTime.Now;
|
||||
|
||||
loadsetting(this);
|
||||
textBox1.Text = FCOMMON.Setting.system.Xml.get_Data(this.Name, "FILE");
|
||||
|
||||
|
||||
cmbState.Text = "PO"; //po에서 변경 200423 - JBS요청
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
savesetting(this);
|
||||
FCOMMON.Setting.system.Xml.set_Data(this.Name, "FILE", textBox1.Text.Trim());
|
||||
FCOMMON.Setting.system.Save();
|
||||
}
|
||||
|
||||
void loadsetting(Control ctrls)
|
||||
{
|
||||
if (ctrls.HasChildren)
|
||||
{
|
||||
foreach (Control item in ctrls.Controls)
|
||||
{
|
||||
loadsetting(item);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var typestr = ctrls.GetType().ToString();
|
||||
if (typestr.Contains("UpDownEdit"))
|
||||
{
|
||||
var nud = ctrls.Parent as NumericUpDown;
|
||||
var section = "input_" + this.Name;
|
||||
var value = FCOMMON.Setting.system.Xml.get_Data(section, "nud_" + nud.Name, "0");
|
||||
var n = decimal.Parse(value);
|
||||
if (n >= nud.Minimum) nud.Value = decimal.Parse(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
void savesetting(Control ctrls)
|
||||
{
|
||||
if (ctrls.HasChildren)
|
||||
{
|
||||
foreach (Control item in ctrls.Controls)
|
||||
{
|
||||
savesetting(item);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var typestr = ctrls.GetType().ToString();
|
||||
if (typestr.Contains("UpDownEdit"))
|
||||
{
|
||||
var nud = ctrls.Parent as NumericUpDown;
|
||||
var section = "input_" + this.Name;
|
||||
FCOMMON.Setting.system.Xml.set_Data(section, "nud_" + nud.Name, nud.Value.ToString());
|
||||
}
|
||||
}
|
||||
FCOMMON.Setting.system.Save();
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
@@ -148,21 +198,21 @@ namespace FEQ0000
|
||||
var valid = checkCombo();
|
||||
if (valid == false) return;
|
||||
|
||||
//기존자료확인
|
||||
var cnt = ta.CoutImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(),
|
||||
FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
if(cnt > 0)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료가 " +cnt.ToString() + "건 있습니다. 이 자료를 삭제할까요?");
|
||||
if (dlg == DialogResult.Yes)
|
||||
ta.DeleteImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(),
|
||||
FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
}
|
||||
////기존자료확인
|
||||
//var cnt = ta.CoutImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(),
|
||||
// FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
//if (cnt > 0)
|
||||
//{
|
||||
// var dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료가 " + cnt.ToString() + "건 있습니다. 이 자료를 삭제할까요?");
|
||||
// if (dlg == DialogResult.Yes)
|
||||
// ta.DeleteImport(dtPdate.Value.ToShortDateString(), dtPdate.Value.ToShortDateString(),
|
||||
// FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
|
||||
//}
|
||||
|
||||
|
||||
//요청자 번호확인
|
||||
string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1);
|
||||
userNo = userNo.Substring(0, userNo.Length - 1);
|
||||
//string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1);
|
||||
//userNo = userNo.Substring(0, userNo.Length - 1);
|
||||
|
||||
//체크안된 데이터를 dr에서 삭제한다.
|
||||
decimal itemAmt = 0;
|
||||
@@ -174,16 +224,16 @@ namespace FEQ0000
|
||||
else
|
||||
{
|
||||
itemCount += 1;
|
||||
dr.request = userNo;
|
||||
// dr.request = userNo;
|
||||
dr.asset = cbEQModel.Text;
|
||||
dr.dept = cbEQManu.Text;
|
||||
dr.manuproc = cbManuProc.Text;
|
||||
dr.process = cbProcess.Text.Trim();
|
||||
dr.state = cmbState.Text.Trim();
|
||||
dr.pdate = dtPdate.Value.ToShortDateString();
|
||||
// dr.pdate = dtPdate.Value.ToShortDateString();
|
||||
dr.project = tbProject.Text.Trim();
|
||||
dr.AcceptChanges();
|
||||
dr.SetAdded();
|
||||
dr.SetAdded();
|
||||
itemAmt += dr.pumamt;
|
||||
}
|
||||
}
|
||||
@@ -202,7 +252,7 @@ namespace FEQ0000
|
||||
if (dlg2 != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
|
||||
ta.Update(this.dsPRJ.Purchase);
|
||||
ta.Update(this.dsPRJ.Purchase);
|
||||
dsPRJ.Purchase.AcceptChanges();
|
||||
FCOMMON.Util.MsgI("Save OK");
|
||||
}
|
||||
@@ -220,7 +270,7 @@ namespace FEQ0000
|
||||
if (tbProject.Text == "")
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("프로젝트가 입력되지 않았습니다. 진행할까요?");
|
||||
if(dlg != DialogResult.Yes)
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
tbProject.Focus();
|
||||
return false;
|
||||
@@ -228,7 +278,7 @@ namespace FEQ0000
|
||||
}
|
||||
if (this.cbProcess.Text.isEmpty() == true)
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" +
|
||||
"선택 대상이 없는 경우 문의 바랍니다.\n\n" +
|
||||
@@ -239,9 +289,9 @@ namespace FEQ0000
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cbManuProc.Text.isEmpty()==true)
|
||||
if (cbManuProc.Text.isEmpty() == true)
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" +
|
||||
"선택 대상이 없는 경우 문의 바랍니다.\n\n" +
|
||||
@@ -254,7 +304,7 @@ namespace FEQ0000
|
||||
}
|
||||
if (this.cbEQManu.Text.isEmpty() == true)
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" +
|
||||
"선택 대상이 없는 경우 문의 바랍니다.\n\n" +
|
||||
@@ -288,7 +338,10 @@ namespace FEQ0000
|
||||
|
||||
|
||||
libxl.Book book;// = new libxl.BinBook();
|
||||
book = new libxl.BinBook();
|
||||
|
||||
if (textBox1.Text.ToLower().EndsWith(".xlsx")) book = new libxl.XmlBook();
|
||||
else book = new libxl.BinBook();
|
||||
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
try
|
||||
{
|
||||
@@ -327,16 +380,24 @@ namespace FEQ0000
|
||||
string PO = string.Empty;
|
||||
string 비고 = string.Empty;
|
||||
|
||||
string 요청일 = string.Empty;
|
||||
string 입고일 = string.Empty;
|
||||
|
||||
string 요청인 = string.Empty;
|
||||
string 수령인 = string.Empty;
|
||||
|
||||
this.progressBar1.Value = 0;
|
||||
this.progressBar1.Maximum = MaxRow - MinRow + 1;
|
||||
this.listView1.Items.Clear();
|
||||
this.listView1.Visible = false;
|
||||
this.dsPRJ.Purchase.Clear();
|
||||
this.dsPRJ.Purchase.AcceptChanges();
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
decimal sumamt = 0;
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
for (int r = MinRow; r <= MaxRow; r++)
|
||||
@@ -361,9 +422,80 @@ namespace FEQ0000
|
||||
if (nudPumName.Value > 0) 품명 = sheet.readStr(r, (int)this.nudPumName.Value - 1).Replace(",", "").Trim();
|
||||
if (nudScale.Value > 0) 규격 = sheet.readStr(r, (int)nudScale.Value - 1).Trim();
|
||||
|
||||
var cf_요청일 = sheet.cellType(r, (int)nudPdate.Value - 1);
|
||||
var cf_입고일 = sheet.cellType(r, (int)nudInDate.Value - 1);
|
||||
|
||||
|
||||
|
||||
if (nudPdate.Value > 0)
|
||||
{
|
||||
if (cf_요청일 == libxl.CellType.CELLTYPE_STRING)
|
||||
{
|
||||
int yy, mm, dd;
|
||||
yy = DateTime.Now.Year;
|
||||
mm = dd = 0;
|
||||
|
||||
요청일 = sheet.readStr(r, (int)nudPdate.Value - 1).Trim().Replace(" ", "");
|
||||
var orgstr = 요청일;
|
||||
if (요청일.Contains("월"))
|
||||
{
|
||||
var daybuf = 요청일.Split('월');
|
||||
if (daybuf[0].Contains("년"))
|
||||
{
|
||||
var daybuf2 = daybuf[0].Split('년');
|
||||
if (int.TryParse(daybuf2[0], out yy) == false) yy = 0;
|
||||
else
|
||||
{
|
||||
if (yy < 2000) yy += 2000;
|
||||
}
|
||||
if (int.TryParse(daybuf2[1], out mm) == false) mm = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (int.TryParse(daybuf[0], out mm) == false) mm = 0;
|
||||
if (int.TryParse(daybuf[1].Replace("일",""), out dd) == false) dd = 0;
|
||||
}
|
||||
if (mm == 0 || dd == 0 || yy == 0)
|
||||
요청일 = orgstr;
|
||||
else 요청일 = string.Format("{0:0000}-{1:00}-{2:00}", yy, mm, dd);
|
||||
|
||||
}
|
||||
}
|
||||
else if (cf_요청일 == libxl.CellType.CELLTYPE_NUMBER)
|
||||
{
|
||||
요청일 = sheet.readNum(r, (int)nudPdate.Value - 1).ToString();
|
||||
int y, m, d;
|
||||
y = m = d = 0;
|
||||
book.dateUnpack(double.Parse(요청일), ref y, ref m, ref d);
|
||||
요청일 = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d);
|
||||
}
|
||||
}
|
||||
|
||||
if (nudInDate.Value > 0)
|
||||
{
|
||||
if (cf_입고일 == libxl.CellType.CELLTYPE_STRING) 입고일 = sheet.readStr(r, (int)nudInDate.Value - 1).Trim();
|
||||
else if (cf_입고일 == libxl.CellType.CELLTYPE_NUMBER)
|
||||
{
|
||||
입고일 = sheet.readNum(r, (int)nudInDate.Value - 1).ToString();
|
||||
int y, m, d;
|
||||
y = m = d = 0;
|
||||
book.dateUnpack(double.Parse(입고일), ref y, ref m, ref d);
|
||||
입고일 = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d);
|
||||
}
|
||||
}
|
||||
|
||||
요청인 = sheet.readStr(r, (int)nudReq.Value - 1).Trim();
|
||||
수령인 = sheet.readStr(r, (int)nudRecv.Value - 1).Trim();
|
||||
|
||||
if(요청인.isEmpty()==false)
|
||||
{
|
||||
var requser=db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.name == 요청인).FirstOrDefault();
|
||||
if (requser != null) 요청인 = requser.id;
|
||||
}
|
||||
if (수령인.isEmpty() == false)
|
||||
{
|
||||
var requser = db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.name == 수령인).FirstOrDefault();
|
||||
if (requser != null) 수령인 = requser.id;
|
||||
}
|
||||
//먼저 숫자로 읽어보낟
|
||||
if (nudQty.Value > 0)
|
||||
{
|
||||
@@ -415,8 +547,13 @@ namespace FEQ0000
|
||||
|
||||
|
||||
//리스트뷰에 추가
|
||||
var newitem = this.listView1.Items.Add(SC);
|
||||
var newitem = this.listView1.Items.Add(요청일);
|
||||
newitem.Checked = false;
|
||||
|
||||
newitem.SubItems.Add(요청인);
|
||||
|
||||
|
||||
newitem.SubItems.Add(SC);
|
||||
newitem.SubItems.Add(CRCF);
|
||||
newitem.SubItems.Add(SID);
|
||||
newitem.SubItems.Add(품명);
|
||||
@@ -429,6 +566,8 @@ namespace FEQ0000
|
||||
newitem.SubItems.Add(PO);
|
||||
newitem.SubItems.Add(비고);
|
||||
|
||||
newitem.SubItems.Add(입고일);
|
||||
newitem.SubItems.Add(수령인);
|
||||
//데이터도 추가를 해준다
|
||||
var newdr = this.dsPRJ.Purchase.NewPurchaseRow();
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
@@ -446,6 +585,10 @@ namespace FEQ0000
|
||||
newdr.supplyidx = v_공급처코드;
|
||||
newdr.po = PO;
|
||||
newdr.bigo = 비고;
|
||||
newdr.indate = 입고일;
|
||||
newdr.pdate = 요청일;
|
||||
newdr.request = 요청인;
|
||||
newdr.receive = 수령인;
|
||||
newdr.import = true;
|
||||
newitem.Tag = newdr;
|
||||
this.dsPRJ.Purchase.AddPurchaseRow(newdr);
|
||||
@@ -517,13 +660,18 @@ namespace FEQ0000
|
||||
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
var file = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "sample_purchase.xls");
|
||||
if(System.IO.File.Exists(file)==false)
|
||||
if (System.IO.File.Exists(file) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("샘플파일이 없습니다. 개발자 문의 바람");
|
||||
return;
|
||||
}
|
||||
this.textBox1.Text = file;
|
||||
this.textBox1.Text = file;
|
||||
FCOMMON.Util.RunExplorer(file);
|
||||
}
|
||||
|
||||
private void panel2_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,9 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="label18.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="stateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
@@ -135,9 +132,6 @@
|
||||
<metadata name="assetLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label24.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
@@ -197,35 +191,35 @@
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
</data>
|
||||
<data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKSSURBVDhPvZJfSFNhGMa/6I8EXXgR0YUURpRGFwmxohIC
|
||||
QeoquoigpMjIRCsVLAync8Zscy43mW45Nzsej9ZmbjjLbU5wc39yUogOJhNcol11Je5mTHo639fBCiK6
|
||||
6oGPAw/f733e9/0O+e/ieR42mw29vb3o7u4uI+FwGPTMzMxgenoaU1NT8Pl8mJiYgNvthtPphMPhwPDw
|
||||
MAYGBtjdbDaL9fV16PX6OAmFQtja2kImk/nr2dzchNVq/bKxsYGlpSVotdqURqOpIsFgkBlra2uIRqNY
|
||||
XV0F9VKpFCYnJ7G8vIzx8XF2Z2RkBPF4nHUkwiXSVIT4/X5EIhHasiwQCGB0dFRGYUEQZHQMi8Uio3BX
|
||||
V5dM9Nj8KpWqQMIJ8Xg8WFhYYDtYWVlhO6DJFE4kEtvJg4ODmJ+fp+lQKBT7JPyHXC4X0uk0vF4vSx4b
|
||||
G2PJtF2dTier4S/iXn8R+vr60NzcDAn7KbvdLo/FYkgmk6AwTRY9LC4ugj7dA74YSvcNXDcXoKGh4ZuE
|
||||
/S6O4+imYTabUSMU4xF/FpXcaZRbT0HuvAb7nAH1jiso7TwIArJDwv6sav4MXJ968PajkYGv5/TQ++vB
|
||||
RdtRKZSi6HlOdruIONfxl6JMJhPdNJ0Zd8V5KfzCVwONpxqq9xVocd9B67v7MAefoezVBeQ3kgwrID6L
|
||||
nH4NBkNtR0fHZ7VaXXvTUog3MT2EDzpwkXbYwmqxSBVMwVZUCJeQLyeJvDqylxUwGo1y8bdkzzU7O4uh
|
||||
oSFcNR3BZUMeSjoP4Lw2F7f6z6En0IJyvhTHHudmjj4kOQz+VW1tbVAqlWhqaqqVrG0VKnanb3MlOPlk
|
||||
P04oyB7J/ncdfkq+HmrcCaIguyRLFCHfASqH573FdPdJAAAAAElFTkSuQmCC
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKRSURBVDhPvZJfSFNhGMa/6I8EXXgR0YUUhaBFUEGsqIRg
|
||||
MOoquoigpMjIRCuVJIymc8Zscy43mW45Nzsej9ZmbjjLOSe46bacFDIHGwou0a66EnczJj2d7+tgBRFd
|
||||
9cDHgYfv977v836H/HfxPA+Hw4Hu7m50dnaWknA4DHqmp6cxNTWFyclJ+P1+jI2Nwev1wu12w+VyYXBw
|
||||
EH19fexuLpfD2toajEZjgszMzGBzcxPZbPavZ2NjA3a7/cv6+jpSqRT0en1ap9NVklAoxIzV1VVEo1Gs
|
||||
rKyAeul0GhMTE1haWsLo6Ci7MzQ0hEQiwSYSYbmUipBAIIBIJEJHlgWDQQwPD8soLAiCjMaw2WwyCnd0
|
||||
dMhEj+XXaDTFEk6Iz+dDPB5nO1heXmY7oJ0pnEwmtzr39/djfn6edodKpdoj4T/k8XiQyWQwPj7OOo+M
|
||||
jLDOdFyDwSCr5i/gbu9J9PT0oLGxERL2U06nUxmLxbC4uAgK086ih4WFBdCnu8+XQO29jmvWYtTX13+T
|
||||
sN/FcRzdNKxWK6qFEjzkz6CCO4Uy+wko3VfhnDOhznUZivb9ICDbJOzPquJPw/OpC28/mhn4es4IY6AO
|
||||
XLQVFYICx5/n5baKiLmKXoqyWCx00zQz7oh5KfzCXw2drwqa9+Vo8t5G87t7sIaeofTVeRx8QrKsgPgs
|
||||
Svo1mUw1bW1tn7Vabc0N2xG8iRkhfDCAi7TCEdaKRSphCTWjXLiIQ0qSLKglu1kBs9msFH9L9lyzs7MY
|
||||
GBjAFcthXDIVQN6+D+f0+bjZexZdwSaU8QoUPsrPFj4geQz+VS0tLVCr1WhoaKiRrC0VqXZmbnFyHHu8
|
||||
F0dVZJdk/7vEvF8PPN0OoiI7JEsUId8BIOfnsen318AAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -1,9 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" providerName="System.Data.SqlClient" />
|
||||
<add name="EEEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=10.131.15.18;initial catalog=EE;persist security info=True;user id=eeuser;password=Amkor123!;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
|
||||
<add name="FEQ0000.Properties.Settings.EEEntities" connectionString="Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
||||
<parameters>
|
||||
<parameter value="mssqllocaldb" />
|
||||
</parameters>
|
||||
</defaultConnectionFactory>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
</configuration>
|
||||
24984
SubProject/FEQ0000/dsEQ.Designer.cs
generated
24984
SubProject/FEQ0000/dsEQ.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,8 @@
|
||||
namespace FEQ0000 {
|
||||
|
||||
|
||||
public partial class dsEQ {
|
||||
}
|
||||
}
|
||||
namespace FEQ0000
|
||||
{
|
||||
|
||||
|
||||
public partial class dsEQ
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
82
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
82
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
@@ -349,6 +349,8 @@ namespace FEQ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnplace;
|
||||
|
||||
private global::System.Data.DataColumn columninqty;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public PurchaseDataTable() {
|
||||
@@ -662,6 +664,14 @@ namespace FEQ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn inqtyColumn {
|
||||
get {
|
||||
return this.columninqty;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -733,7 +743,8 @@ namespace FEQ0000 {
|
||||
string gcode,
|
||||
string receiveName,
|
||||
string requestName,
|
||||
string place) {
|
||||
string place,
|
||||
int inqty) {
|
||||
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -770,7 +781,8 @@ namespace FEQ0000 {
|
||||
gcode,
|
||||
receiveName,
|
||||
requestName,
|
||||
place};
|
||||
place,
|
||||
inqty};
|
||||
rowPurchaseRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowPurchaseRow);
|
||||
return rowPurchaseRow;
|
||||
@@ -835,6 +847,7 @@ namespace FEQ0000 {
|
||||
this.columnreceiveName = base.Columns["receiveName"];
|
||||
this.columnrequestName = base.Columns["requestName"];
|
||||
this.columnplace = base.Columns["place"];
|
||||
this.columninqty = base.Columns["inqty"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -910,6 +923,8 @@ namespace FEQ0000 {
|
||||
base.Columns.Add(this.columnrequestName);
|
||||
this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnplace);
|
||||
this.columninqty = new global::System.Data.DataColumn("inqty", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columninqty);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -1628,6 +1643,22 @@ namespace FEQ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int inqty {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablePurchase.inqtyColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'inqty\' 열의 값이 DBNull입니다.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablePurchase.inqtyColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IspdateNull() {
|
||||
@@ -1999,6 +2030,18 @@ namespace FEQ0000 {
|
||||
public void SetplaceNull() {
|
||||
this[this.tablePurchase.placeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsinqtyNull() {
|
||||
return this.IsNull(this.tablePurchase.inqtyColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetinqtyNull() {
|
||||
this[this.tablePurchase.inqtyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2195,6 +2238,7 @@ namespace FEQ0000.dsPurchaseTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("receiveName", "receiveName");
|
||||
tableMapping.ColumnMappings.Add("requestName", "requestName");
|
||||
tableMapping.ColumnMappings.Add("place", "place");
|
||||
tableMapping.ColumnMappings.Add("inqty", "inqty");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -2205,8 +2249,8 @@ namespace FEQ0000.dsPurchaseTableAdapters {
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase
|
||||
(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place);
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place,@inqty);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -2241,14 +2285,15 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase
|
||||
SET pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,
|
||||
pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,
|
||||
indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,
|
||||
orderno = @orderno, place = @place
|
||||
WHERE (idx = @Original_idx);
|
||||
orderno = @orderno, place = @place, inqty = @inqty
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -2282,6 +2327,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
@@ -2300,7 +2346,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC";
|
||||
@@ -2327,7 +2373,7 @@ ORDER BY pdate DESC, idx DESC";
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC";
|
||||
@@ -2520,7 +2566,8 @@ ORDER BY pdate DESC, idx DESC";
|
||||
string manuproc,
|
||||
string orderno,
|
||||
string gcode,
|
||||
string place) {
|
||||
string place,
|
||||
global::System.Nullable<int> inqty) {
|
||||
if ((pdate == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -2708,6 +2755,12 @@ ORDER BY pdate DESC, idx DESC";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[31].Value = ((string)(place));
|
||||
}
|
||||
if ((inqty.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = ((int)(inqty.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -2760,6 +2813,7 @@ ORDER BY pdate DESC, idx DESC";
|
||||
string manuproc,
|
||||
string orderno,
|
||||
string place,
|
||||
global::System.Nullable<int> inqty,
|
||||
int Original_idx,
|
||||
int idx) {
|
||||
if ((pdate == null)) {
|
||||
@@ -2943,8 +2997,14 @@ ORDER BY pdate DESC, idx DESC";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(place));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(idx));
|
||||
if ((inqty.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(inqty.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(idx));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
|
||||
@@ -24,8 +24,8 @@ WHERE (idx = @Original_idx)</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>INSERT INTO Purchase
|
||||
(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place);
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place,@inqty);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -60,13 +60,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Purchase" 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="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
@@ -81,8 +82,8 @@ ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
SET pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,
|
||||
pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,
|
||||
indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,
|
||||
orderno = @orderno, place = @place
|
||||
WHERE (idx = @Original_idx);
|
||||
orderno = @orderno, place = @place, inqty = @inqty
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -116,6 +117,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="place" ColumnName="place" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="inqty" ColumnName="inqty" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
@@ -159,9 +161,10 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
<Mapping SourceColumn="receiveName" DataSetColumn="receiveName" />
|
||||
<Mapping SourceColumn="requestName" DataSetColumn="requestName" />
|
||||
<Mapping SourceColumn="place" DataSetColumn="place" />
|
||||
<Mapping SourceColumn="inqty" DataSetColumn="inqty" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="CoutImport">
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CoutImport" Modifier="Public" Name="CoutImport" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CoutImport">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT COUNT(*) FROM Purchase
|
||||
@@ -175,7 +178,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<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">
|
||||
<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="GetDataBy1" UserSourceName="DeleteImport">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>DELETE FROM [Purchase] WHERE import = 1</CommandText>
|
||||
@@ -199,7 +202,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
@@ -221,7 +224,7 @@ ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
<xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow">
|
||||
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent">
|
||||
<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" />
|
||||
@@ -409,6 +412,7 @@ ORDER BY pdate DESC, idx DESC</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="inqty" msprop:Generator_ColumnVarNameInTable="columninqty" msprop:Generator_ColumnPropNameInRow="inqty" msprop:Generator_ColumnPropNameInTable="inqtyColumn" msprop:Generator_UserColumnName="inqty" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
5
SubProject/FEQ0000/packages.config
Normal file
5
SubProject/FEQ0000/packages.config
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NetOfficeFw.Core" version="1.7.4.5" targetFramework="net45" />
|
||||
<package id="NetOfficeFw.Outlook" version="1.7.4.5" targetFramework="net45" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user