This commit is contained in:
chi
2023-03-07 23:11:45 +09:00
parent 70fc4f6857
commit 8b6b25830e
62 changed files with 20345 additions and 11651 deletions

7193
SubProject/FEQ0000/DSPrj.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Projects" ZOrder="1" X="35" Y="100" Height="702" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="634" />
</Shapes>
<Connectors />
</DiagramLayout>

View File

@@ -130,6 +130,11 @@
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="DSPrj.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DSPrj.xsd</DependentUpon>
</Compile>
<Compile Include="dsPurchase.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@@ -173,12 +178,24 @@
<Compile Include="MethodExtentions.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Purchase\fPurchaseCR.cs">
<Compile Include="PurchaseCR\fPurchaseCR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseCR.Designer.cs">
<Compile Include="PurchaseCR\fPurchaseCR.Designer.cs">
<DependentUpon>fPurchaseCR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNR_Ipgo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseNR_Ipgo.Designer.cs">
<DependentUpon>fPurchaseNR_Ipgo.cs</DependentUpon>
</Compile>
<Compile Include="PurchaseCR\fPurchaseCR_Ipgo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PurchaseCR\fPurchaseCR_Ipgo.Designer.cs">
<DependentUpon>fPurchaseCR_Ipgo.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNRList.cs">
<SubType>Form</SubType>
</Compile>
@@ -197,10 +214,10 @@
<Compile Include="Purchase\fMailForm.Designer.cs">
<DependentUpon>fMailForm.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseCR_Add.cs">
<Compile Include="PurchaseCR\fPurchaseCR_Add.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseCR_Add.Designer.cs">
<Compile Include="PurchaseCR\fPurchaseCR_Add.Designer.cs">
<DependentUpon>fPurchaseCR_Add.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_excelimport.cs">
@@ -245,11 +262,17 @@
<Compile Include="Purchase\fPurchaseNR.Designer.cs">
<DependentUpon>fPurchaseNR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\rPurchase.cs">
<Compile Include="PurchaseCR\rPurchaseCR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\rPurchase.Designer.cs">
<DependentUpon>rPurchase.cs</DependentUpon>
<Compile Include="PurchaseCR\rPurchaseCR.Designer.cs">
<DependentUpon>rPurchaseCR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\rPurchaseNR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\rPurchaseNR.Designer.cs">
<DependentUpon>rPurchaseNR.cs</DependentUpon>
</Compile>
<Compile Include="SqlServerTypes\Loader.cs" />
<EmbeddedResource Include="Equipment\EQFilterApply.resx">
@@ -279,9 +302,18 @@
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Equipment\ReportB.rdlc" />
<EmbeddedResource Include="Purchase\fPurchaseCR.resx">
<EmbeddedResource Include="PurchaseCR\Rpt_PurchaseCR.rdlc" />
<EmbeddedResource Include="PurchaseCR\Rpt_PurchasePrcCR.rdlc" />
<EmbeddedResource Include="PurchaseCR\Rpt_PurchasePrjCR.rdlc" />
<EmbeddedResource Include="PurchaseCR\fPurchaseCR.resx">
<DependentUpon>fPurchaseCR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNR_Ipgo.resx">
<DependentUpon>fPurchaseNR_Ipgo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PurchaseCR\fPurchaseCR_Ipgo.resx">
<DependentUpon>fPurchaseCR_Ipgo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNRList.resx">
<DependentUpon>fPurchaseNRList.cs</DependentUpon>
</EmbeddedResource>
@@ -291,7 +323,7 @@
<EmbeddedResource Include="Purchase\fMailForm.resx">
<DependentUpon>fMailForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseCR_Add.resx">
<EmbeddedResource Include="PurchaseCR\fPurchaseCR_Add.resx">
<DependentUpon>fPurchaseCR_Add.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_excelimport.resx">
@@ -318,8 +350,11 @@
<EmbeddedResource Include="Purchase\Rpt_PurchasePrj.rdlc" />
<EmbeddedResource Include="Purchase\Rpt_PurchasePrc.rdlc" />
<EmbeddedResource Include="Purchase\Rpt_Purchase.rdlc" />
<EmbeddedResource Include="Purchase\rPurchase.resx">
<DependentUpon>rPurchase.cs</DependentUpon>
<EmbeddedResource Include="PurchaseCR\rPurchaseCR.resx">
<DependentUpon>rPurchaseCR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\rPurchaseNR.resx">
<DependentUpon>rPurchaseNR.cs</DependentUpon>
</EmbeddedResource>
<None Include="app.config" />
<None Include="DataClasses1.dbml">
@@ -341,6 +376,17 @@
<None Include="dsEQ.xss">
<DependentUpon>dsEQ.xsd</DependentUpon>
</None>
<None Include="DSPrj.xsc">
<DependentUpon>DSPrj.xsd</DependentUpon>
</None>
<None Include="DSPrj.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DSPrj.Designer.cs</LastGenOutput>
</None>
<None Include="DSPrj.xss">
<DependentUpon>DSPrj.xsd</DependentUpon>
</None>
<None Include="dsPurchase.xsc">
<DependentUpon>dsPurchase.xsd</DependentUpon>
</None>
@@ -410,9 +456,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="PurchaseCR\" />
</ItemGroup>
<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.

File diff suppressed because it is too large Load Diff

View File

@@ -12,18 +12,20 @@ namespace FEQ0000.Purchase
{
public partial class fMailForm : Form
{
public fMailForm()
string Cate = string.Empty;
public fMailForm(string cate)
{
InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
Cate = cate;
}
private void fMailForm_Load(object sender, EventArgs e)
{
var db = new DataClasses1DataContext();
var mailform = db.MailForm.Where(t => t.cate == "PC").ToList();
var mailform = db.MailForm.Where(t => t.cate == Cate).ToList();
this.cmbForm.DataSource = mailform;
this.cmbForm.DisplayMember = "title";
this.cmbForm.ValueMember = "idx";

View File

@@ -30,34 +30,34 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR));
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = 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.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
@@ -134,6 +134,8 @@
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.label1 = new System.Windows.Forms.Label();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -187,6 +189,7 @@
this.btCopy,
this.btEdit,
this.btDel,
this.toolStripButton4,
this.btSave,
this.toolStripSeparator1,
this.lbSum,
@@ -450,6 +453,7 @@
this.toolStripMenuItem3,
this.exportDataToolStripMenuItem,
this.toolStripMenuItem4,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.makeRepeatToolStripMenuItem,
this.ToolStripMenuItem1,
@@ -458,7 +462,7 @@
this.sC검색ToolStripMenuItem,
this.cRCF검색ToolStripMenuItem});
this.cm1.Name = "contextMenuStrip1";
this.cm1.Size = new System.Drawing.Size(314, 358);
this.cm1.Size = new System.Drawing.Size(314, 422);
//
// columnSizeToolStripMenuItem
//
@@ -829,7 +833,7 @@
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;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType20;
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 = "등록일";
@@ -838,7 +842,7 @@
this.fpSpread1_Sheet1.Columns.Get(0).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태";
@@ -846,27 +850,27 @@
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "place";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "Storage";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType24;
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 = 51F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType25;
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#";
@@ -874,182 +878,182 @@
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType26;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "SCR/CF";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "crcf";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType27;
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 = 51F;
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType28;
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).CellType = textCellType29;
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 = 51F;
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType1;
numberCellType9.DecimalPlaces = 0;
numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType9.MaximumValue = 2147483647D;
numberCellType9.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType30;
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 = 51F;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept";
this.fpSpread1_Sheet1.Columns.Get(12).Label = "장비\r\n제조사";
this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "manuproc";
this.fpSpread1_Sheet1.Columns.Get(13).Label = "제조\r\n공정";
this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(14).Label = "장비\r\n모델";
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.NegativeRed = true;
numberCellType2.NullDisplay = "--";
numberCellType2.Separator = ",";
numberCellType2.ShowSeparator = true;
numberCellType2.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType2;
numberCellType10.DecimalPlaces = 0;
numberCellType10.NegativeRed = true;
numberCellType10.NullDisplay = "--";
numberCellType10.Separator = ",";
numberCellType10.ShowSeparator = true;
numberCellType10.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType10;
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 = 51F;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType32;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
numberCellType3.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType3;
numberCellType11.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType11;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumpriceD";
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 9999999999999.99D;
numberCellType4.MinimumValue = -9999999999999.99D;
numberCellType4.NegativeRed = true;
numberCellType4.NullDisplay = "--";
numberCellType4.Separator = ",";
numberCellType4.ShowSeparator = true;
numberCellType4.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType4;
numberCellType12.DecimalPlaces = 0;
numberCellType12.MaximumValue = 9999999999999.99D;
numberCellType12.MinimumValue = -9999999999999.99D;
numberCellType12.NegativeRed = true;
numberCellType12.NullDisplay = "--";
numberCellType12.Separator = ",";
numberCellType12.ShowSeparator = true;
numberCellType12.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType12;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumprice";
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 = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
numberCellType5.NegativeRed = true;
numberCellType5.NullDisplay = "--";
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
numberCellType5.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType5;
numberCellType13.DecimalPlaces = 0;
numberCellType13.MaximumValue = 9999999999999.99D;
numberCellType13.MinimumValue = -9999999999999.99D;
numberCellType13.NegativeRed = true;
numberCellType13.NullDisplay = "--";
numberCellType13.Separator = ",";
numberCellType13.ShowSeparator = true;
numberCellType13.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType13;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(19).Label = "합계금액";
this.fpSpread1_Sheet1.Columns.Get(19).Tag = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(20).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType33;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "공급업체";
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "supply";
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(21).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;
numberCellType6.MaximumValue = 2147483647D;
numberCellType6.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType6;
numberCellType14.DecimalPlaces = 0;
numberCellType14.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType14.MaximumValue = 2147483647D;
numberCellType14.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType14;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "supplyidx";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(21).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType34;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(22).Label = "프로젝트";
this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(23).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType7.DecimalPlaces = 0;
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType7.MaximumValue = 2147483647D;
numberCellType7.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType7;
numberCellType15.DecimalPlaces = 0;
numberCellType15.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType15.MaximumValue = 2147483647D;
numberCellType15.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(23).Tag = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(23).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType35;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "bigo";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(24).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "bigo";
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(24).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType36;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고예정";
this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType37;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(26).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "indate";
this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
numberCellType8.NegativeRed = true;
numberCellType8.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType8;
numberCellType16.NegativeRed = true;
numberCellType16.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType16;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "inqty";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "입고수량";
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "inqty";
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType19;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType38;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "po";
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).Label = "PO#";
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "po";
this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "isdel";
this.fpSpread1_Sheet1.Columns.Get(29).Label = "삭제됨";
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "isdel";
@@ -1072,6 +1076,22 @@
this.label1.Text = "--";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// toolStripButton4
//
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(51, 23);
this.toolStripButton4.Text = "입고";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click_1);
//
// 입고ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "입고ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.ToolStripMenuItem.Text = "입고";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// fPurchaseNR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -1178,5 +1198,7 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
}
}

View File

@@ -136,10 +136,10 @@ namespace FEQ0000
col.Locked = true;
}
if (curLevel < 5)
{
ToolStripMenuItem.Visible = false;
}
//if (curLevel < 5)
//{
// 집계표ToolStripMenuItem.Visible = false;
//}
refreshData();
@@ -869,7 +869,7 @@ namespace FEQ0000
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
Purchase.rPurchase f = new Purchase.rPurchase();
Purchase.rPurchaseNR f = new Purchase.rPurchaseNR();
f.MdiParent = this.MdiParent;
f.Show();
}
@@ -1061,7 +1061,7 @@ namespace FEQ0000
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();
var f = new Purchase.fMailForm("PC");
if (f.ShowDialog() != DialogResult.OK) return;
var form_subject = f.tbSubject.Text.Trim();
@@ -1261,5 +1261,40 @@ namespace FEQ0000
dr.EndEdit();
}
}
private void toolStripButton4_Click_1(object sender, EventArgs e)
{
func_ipgo();
}
void func_ipgo()
{
var drv = this.bs.Current as DataRowView;
var dr = drv.Row as dsPurchase.PurchaseRow;
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
if (curLevel < 5) //일반사용자 입고 여부
{
if (dr.state != "PO")
{
FCOMMON.Util.MsgE("PO 상태의 자료만 입고처리가 가능 합니다");
return;
}
if (dr.request != FCOMMON.info.Login.no)
{
FCOMMON.Util.MsgE("타인의 자료는 입고 처리할 수 없습니다");
return;
}
}
var f = new FEQ0000.Purchase.fPurchaseNR_Ipgo(dr.idx);
if (f.ShowDialog() == DialogResult.OK)
{
refreshData();
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
func_ipgo();
}
}
}

View File

@@ -218,6 +218,21 @@
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -264,6 +279,20 @@
pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<data name="입고품목메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -303,20 +332,6 @@
oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A
cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA
Ow==
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -410,13 +425,13 @@
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFX8g27Cm4gIYjVN
6KyMrM6qw6Cog+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBNH2LZ4wj
6KyMrM6qw6Cfk+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBNH2LZ4xj
f+pyEvfNLBgTiZxxiHNR30m6gjLUX95ZoVhtR/RSc3qeTIUzF40CqbZxLoNrghZccok+YTWPpHBdEC8W
WqJ8dQPXBYHbdylBGTwT3DitsWi2xApnNfNEjGeCsWWD97AOwjNBvBzkNv/qCw6LEhSBeW8GgfnYBYEl
Z9fFXAmKsOTsupgrQRGWnF0XcyUowpKz62KuBPuxxHrzG5iNXdAJSlAWJSiLEpTlh6BsZldu2OrJI//G
in1/Z5R0BQ8qX1LZvWux5FaZX5rcLrO9zl7Uc5KuYGix9LxOm8KSk+zctvilkBXNnSTf8dEy53UuGEiR
ICRx+ajp/4P4AVFv2EBO04nGBWUJpIvxWO7qNU8bbP/+k62RBot29lqKxsyK9wR1koikrx8Cc8cf4Syt
QNocKTzG5/sG7rikk4qCHAEAAAAASUVORK5CYII=
ICRx+ajp/4P4AVFv2EBO04nGBWUJpIvxWO7qNU8bbP/+k62RBot29lqKxsyK9wR1koikrx8Cc0cf4Syt
QNocKTzG5/sG65CkkazjejkAAAAASUVORK5CYII=
</value>
</data>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -0,0 +1,688 @@

namespace FEQ0000.Purchase
{
partial class fPurchaseNR_Ipgo
{
/// <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.Windows.Forms.Label label17;
System.Windows.Forms.Label label12;
System.Windows.Forms.Label label11;
System.Windows.Forms.Label label5;
System.Windows.Forms.Label label9;
System.Windows.Forms.Label label4;
System.Windows.Forms.Label assetLabel;
System.Windows.Forms.Label label3;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label nameLabel;
System.Windows.Forms.Label label15;
System.Windows.Forms.Label label16;
System.Windows.Forms.Label label20;
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label6;
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label8;
System.Windows.Forms.Label receiveLabel;
this.panel1 = new System.Windows.Forms.Panel();
this.tbPrjStatus = new System.Windows.Forms.TextBox();
this.tbPrjIdx = new System.Windows.Forms.TextBox();
this.tbPrjSerial = new System.Windows.Forms.TextBox();
this.tbPrjModel = new System.Windows.Forms.TextBox();
this.tbPrjProcess = new System.Windows.Forms.TextBox();
this.tbProjOrderNo = new System.Windows.Forms.TextBox();
this.tbPrjMemo = new System.Windows.Forms.TextBox();
this.tbPrjAsset = new System.Windows.Forms.TextBox();
this.arLabel2 = new System.Windows.Forms.Label();
this.tbPrjName = new System.Windows.Forms.TextBox();
this.tbIdx = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox13 = new System.Windows.Forms.TextBox();
this.textBox14 = new System.Windows.Forms.TextBox();
this.arLabel1 = new System.Windows.Forms.Label();
this.textBox15 = new System.Windows.Forms.TextBox();
this.textBox16 = new System.Windows.Forms.TextBox();
this.panel3 = new System.Windows.Forms.Panel();
this.tbInRemar = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.chkInDate = new System.Windows.Forms.CheckBox();
this.dtInDate = new System.Windows.Forms.DateTimePicker();
this.cmbReceive = new System.Windows.Forms.ComboBox();
this.btOK = new System.Windows.Forms.Button();
this.arLabel3 = new System.Windows.Forms.Label();
label17 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label();
label9 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
assetLabel = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
nameLabel = new System.Windows.Forms.Label();
label15 = new System.Windows.Forms.Label();
label16 = new System.Windows.Forms.Label();
label20 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label8 = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// label17
//
label17.AutoSize = true;
label17.Location = new System.Drawing.Point(338, 170);
label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label17.Name = "label17";
label17.Size = new System.Drawing.Size(68, 12);
label17.TabIndex = 97;
label17.Text = "Project No.";
//
// label12
//
label12.AutoSize = true;
label12.Location = new System.Drawing.Point(56, 168);
label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label12.Name = "label12";
label12.Size = new System.Drawing.Size(29, 12);
label12.TabIndex = 96;
label12.Text = "공정";
//
// label11
//
label11.AutoSize = true;
label11.Location = new System.Drawing.Point(300, 145);
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label11.Name = "label11";
label11.Size = new System.Drawing.Size(43, 12);
label11.TabIndex = 94;
label11.Text = "Serial#";
//
// label5
//
label5.AutoSize = true;
label5.Location = new System.Drawing.Point(39, 144);
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(46, 12);
label5.TabIndex = 92;
label5.Text = "Model#";
//
// label9
//
label9.AutoSize = true;
label9.Location = new System.Drawing.Point(27, 99);
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label9.Name = "label9";
label9.Size = new System.Drawing.Size(58, 12);
label9.TabIndex = 12;
label9.Text = "SCR/CF#";
//
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(56, 78);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(29, 12);
label4.TabIndex = 6;
label4.Text = "비고";
//
// assetLabel
//
assetLabel.AutoSize = true;
assetLabel.Location = new System.Drawing.Point(24, 56);
assetLabel.Name = "assetLabel";
assetLabel.Size = new System.Drawing.Size(61, 12);
assetLabel.TabIndex = 2;
assetLabel.Text = "Asset No.";
//
// label3
//
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(382, 78);
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(24, 12);
label3.TabIndex = 8;
label3.Text = "IDX";
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(377, 56);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(29, 12);
label2.TabIndex = 4;
label2.Text = "상태";
//
// nameLabel
//
nameLabel.AutoSize = true;
nameLabel.Location = new System.Drawing.Point(32, 34);
nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(53, 12);
nameLabel.TabIndex = 0;
nameLabel.Text = "프로젝트";
//
// label15
//
label15.AutoSize = true;
label15.Location = new System.Drawing.Point(40, 81);
label15.Name = "label15";
label15.Size = new System.Drawing.Size(59, 12);
label15.TabIndex = 6;
label15.Text = "규격/단위";
//
// label16
//
label16.AutoSize = true;
label16.Location = new System.Drawing.Point(70, 57);
label16.Name = "label16";
label16.Size = new System.Drawing.Size(29, 12);
label16.TabIndex = 2;
label16.Text = "모델";
//
// label20
//
label20.AutoSize = true;
label20.Location = new System.Drawing.Point(70, 34);
label20.Name = "label20";
label20.Size = new System.Drawing.Size(29, 12);
label20.TabIndex = 0;
label20.Text = "품명";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(10, 106);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(89, 12);
label1.TabIndex = 87;
label1.Text = "수량/단가/금액";
//
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(70, 131);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(29, 12);
label6.TabIndex = 87;
label6.Text = "비고";
//
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(19, 140);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(63, 12);
label7.TabIndex = 109;
label7.Text = "비고(입고)";
//
// label8
//
label8.AutoSize = true;
label8.Location = new System.Drawing.Point(29, 105);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(53, 12);
label8.TabIndex = 107;
label8.Text = "입고수량";
//
// receiveLabel
//
receiveLabel.AutoSize = true;
receiveLabel.Location = new System.Drawing.Point(44, 34);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(41, 12);
receiveLabel.TabIndex = 105;
receiveLabel.Text = "수령인";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
this.panel1.Controls.Add(this.tbPrjStatus);
this.panel1.Controls.Add(label17);
this.panel1.Controls.Add(this.tbPrjIdx);
this.panel1.Controls.Add(label12);
this.panel1.Controls.Add(label11);
this.panel1.Controls.Add(this.tbPrjSerial);
this.panel1.Controls.Add(label5);
this.panel1.Controls.Add(this.tbPrjModel);
this.panel1.Controls.Add(this.tbPrjProcess);
this.panel1.Controls.Add(label9);
this.panel1.Controls.Add(this.tbProjOrderNo);
this.panel1.Controls.Add(this.tbPrjMemo);
this.panel1.Controls.Add(label4);
this.panel1.Controls.Add(this.tbPrjAsset);
this.panel1.Controls.Add(this.arLabel2);
this.panel1.Controls.Add(assetLabel);
this.panel1.Controls.Add(label3);
this.panel1.Controls.Add(this.tbPrjName);
this.panel1.Controls.Add(label2);
this.panel1.Controls.Add(nameLabel);
this.panel1.Controls.Add(this.tbIdx);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(552, 193);
this.panel1.TabIndex = 87;
//
// tbPrjStatus
//
this.tbPrjStatus.Location = new System.Drawing.Point(413, 52);
this.tbPrjStatus.Name = "tbPrjStatus";
this.tbPrjStatus.ReadOnly = true;
this.tbPrjStatus.Size = new System.Drawing.Size(127, 21);
this.tbPrjStatus.TabIndex = 99;
this.tbPrjStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjIdx
//
this.tbPrjIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPrjIdx.Location = new System.Drawing.Point(413, 165);
this.tbPrjIdx.Name = "tbPrjIdx";
this.tbPrjIdx.ReadOnly = true;
this.tbPrjIdx.Size = new System.Drawing.Size(127, 21);
this.tbPrjIdx.TabIndex = 98;
this.tbPrjIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjSerial
//
this.tbPrjSerial.Location = new System.Drawing.Point(350, 141);
this.tbPrjSerial.Name = "tbPrjSerial";
this.tbPrjSerial.ReadOnly = true;
this.tbPrjSerial.Size = new System.Drawing.Size(190, 21);
this.tbPrjSerial.TabIndex = 95;
this.tbPrjSerial.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjModel
//
this.tbPrjModel.Location = new System.Drawing.Point(93, 139);
this.tbPrjModel.Name = "tbPrjModel";
this.tbPrjModel.ReadOnly = true;
this.tbPrjModel.Size = new System.Drawing.Size(190, 21);
this.tbPrjModel.TabIndex = 93;
this.tbPrjModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjProcess
//
this.tbPrjProcess.Font = new System.Drawing.Font("굴림", 9F);
this.tbPrjProcess.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjProcess.Location = new System.Drawing.Point(93, 165);
this.tbPrjProcess.Name = "tbPrjProcess";
this.tbPrjProcess.ReadOnly = true;
this.tbPrjProcess.Size = new System.Drawing.Size(190, 21);
this.tbPrjProcess.TabIndex = 90;
//
// tbProjOrderNo
//
this.tbProjOrderNo.Location = new System.Drawing.Point(93, 96);
this.tbProjOrderNo.Name = "tbProjOrderNo";
this.tbProjOrderNo.ReadOnly = true;
this.tbProjOrderNo.Size = new System.Drawing.Size(447, 21);
this.tbProjOrderNo.TabIndex = 13;
this.tbProjOrderNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjMemo
//
this.tbPrjMemo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjMemo.Location = new System.Drawing.Point(93, 74);
this.tbPrjMemo.Name = "tbPrjMemo";
this.tbPrjMemo.ReadOnly = true;
this.tbPrjMemo.Size = new System.Drawing.Size(252, 21);
this.tbPrjMemo.TabIndex = 7;
//
// tbPrjAsset
//
this.tbPrjAsset.Location = new System.Drawing.Point(93, 52);
this.tbPrjAsset.Name = "tbPrjAsset";
this.tbPrjAsset.ReadOnly = true;
this.tbPrjAsset.Size = new System.Drawing.Size(252, 21);
this.tbPrjAsset.TabIndex = 3;
//
// arLabel2
//
this.arLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel2.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel2.Location = new System.Drawing.Point(0, 0);
this.arLabel2.Name = "arLabel2";
this.arLabel2.Size = new System.Drawing.Size(552, 23);
this.arLabel2.TabIndex = 86;
this.arLabel2.Text = "프로젝트";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tbPrjName
//
this.tbPrjName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjName.Location = new System.Drawing.Point(93, 30);
this.tbPrjName.Name = "tbPrjName";
this.tbPrjName.ReadOnly = true;
this.tbPrjName.Size = new System.Drawing.Size(447, 21);
this.tbPrjName.TabIndex = 1;
//
// tbIdx
//
this.tbIdx.Location = new System.Drawing.Point(413, 74);
this.tbIdx.Name = "tbIdx";
this.tbIdx.ReadOnly = true;
this.tbIdx.Size = new System.Drawing.Size(127, 21);
this.tbIdx.TabIndex = 9;
this.tbIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Gainsboro;
this.panel2.Controls.Add(this.textBox10);
this.panel2.Controls.Add(this.textBox9);
this.panel2.Controls.Add(this.textBox8);
this.panel2.Controls.Add(this.textBox3);
this.panel2.Controls.Add(label6);
this.panel2.Controls.Add(label1);
this.panel2.Controls.Add(this.textBox11);
this.panel2.Controls.Add(this.textBox13);
this.panel2.Controls.Add(label15);
this.panel2.Controls.Add(this.textBox14);
this.panel2.Controls.Add(this.arLabel1);
this.panel2.Controls.Add(label16);
this.panel2.Controls.Add(this.textBox15);
this.panel2.Controls.Add(label20);
this.panel2.Controls.Add(this.textBox16);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 193);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(552, 158);
this.panel2.TabIndex = 88;
//
// textBox10
//
this.textBox10.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox10.Location = new System.Drawing.Point(103, 128);
this.textBox10.Name = "textBox10";
this.textBox10.ReadOnly = true;
this.textBox10.Size = new System.Drawing.Size(437, 21);
this.textBox10.TabIndex = 91;
//
// textBox9
//
this.textBox9.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox9.Location = new System.Drawing.Point(370, 102);
this.textBox9.Name = "textBox9";
this.textBox9.ReadOnly = true;
this.textBox9.Size = new System.Drawing.Size(127, 21);
this.textBox9.TabIndex = 90;
//
// textBox8
//
this.textBox8.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox8.Location = new System.Drawing.Point(237, 102);
this.textBox8.Name = "textBox8";
this.textBox8.ReadOnly = true;
this.textBox8.Size = new System.Drawing.Size(127, 21);
this.textBox8.TabIndex = 89;
//
// textBox3
//
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox3.Location = new System.Drawing.Point(104, 102);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(127, 21);
this.textBox3.TabIndex = 88;
//
// textBox11
//
this.textBox11.Location = new System.Drawing.Point(237, 77);
this.textBox11.Name = "textBox11";
this.textBox11.ReadOnly = true;
this.textBox11.Size = new System.Drawing.Size(127, 21);
this.textBox11.TabIndex = 13;
this.textBox11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// textBox13
//
this.textBox13.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox13.Location = new System.Drawing.Point(104, 77);
this.textBox13.Name = "textBox13";
this.textBox13.ReadOnly = true;
this.textBox13.Size = new System.Drawing.Size(127, 21);
this.textBox13.TabIndex = 7;
//
// textBox14
//
this.textBox14.Location = new System.Drawing.Point(104, 53);
this.textBox14.Name = "textBox14";
this.textBox14.ReadOnly = true;
this.textBox14.Size = new System.Drawing.Size(252, 21);
this.textBox14.TabIndex = 3;
//
// arLabel1
//
this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel1.Location = new System.Drawing.Point(0, 0);
this.arLabel1.Name = "arLabel1";
this.arLabel1.Size = new System.Drawing.Size(552, 23);
this.arLabel1.TabIndex = 86;
this.arLabel1.Text = "품목정보";
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// textBox15
//
this.textBox15.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox15.Location = new System.Drawing.Point(104, 30);
this.textBox15.Name = "textBox15";
this.textBox15.ReadOnly = true;
this.textBox15.Size = new System.Drawing.Size(303, 21);
this.textBox15.TabIndex = 1;
//
// textBox16
//
this.textBox16.Location = new System.Drawing.Point(413, 30);
this.textBox16.Name = "textBox16";
this.textBox16.ReadOnly = true;
this.textBox16.Size = new System.Drawing.Size(127, 21);
this.textBox16.TabIndex = 9;
this.textBox16.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.Gainsboro;
this.panel3.Controls.Add(this.tbInRemar);
this.panel3.Controls.Add(label7);
this.panel3.Controls.Add(this.tbInQty);
this.panel3.Controls.Add(label8);
this.panel3.Controls.Add(this.chkInDate);
this.panel3.Controls.Add(this.dtInDate);
this.panel3.Controls.Add(receiveLabel);
this.panel3.Controls.Add(this.cmbReceive);
this.panel3.Controls.Add(this.btOK);
this.panel3.Controls.Add(this.arLabel3);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 351);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(552, 220);
this.panel3.TabIndex = 89;
//
// tbInRemar
//
this.tbInRemar.Enabled = false;
this.tbInRemar.Location = new System.Drawing.Point(104, 136);
this.tbInRemar.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
this.tbInRemar.Size = new System.Drawing.Size(286, 70);
this.tbInRemar.TabIndex = 110;
//
// tbInQty
//
this.tbInQty.Enabled = false;
this.tbInQty.Location = new System.Drawing.Point(104, 101);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 21);
this.tbInQty.TabIndex = 108;
//
// chkInDate
//
this.chkInDate.AutoSize = true;
this.chkInDate.Location = new System.Drawing.Point(25, 68);
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(60, 16);
this.chkInDate.TabIndex = 103;
this.chkInDate.TabStop = false;
this.chkInDate.Text = "입고일";
this.chkInDate.UseVisualStyleBackColor = true;
this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged);
//
// dtInDate
//
this.dtInDate.Enabled = false;
this.dtInDate.Location = new System.Drawing.Point(104, 66);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 21);
this.dtInDate.TabIndex = 104;
this.dtInDate.TabStop = false;
//
// cmbReceive
//
this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReceive.Enabled = false;
this.cmbReceive.FormattingEnabled = true;
this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbReceive.Location = new System.Drawing.Point(104, 30);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 20);
this.cmbReceive.TabIndex = 106;
//
// btOK
//
this.btOK.Dock = System.Windows.Forms.DockStyle.Right;
this.btOK.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btOK.Location = new System.Drawing.Point(413, 23);
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(139, 197);
this.btOK.TabIndex = 102;
this.btOK.Text = "등록";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//
// arLabel3
//
this.arLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel3.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel3.Location = new System.Drawing.Point(0, 0);
this.arLabel3.Name = "arLabel3";
this.arLabel3.Size = new System.Drawing.Size(552, 23);
this.arLabel3.TabIndex = 86;
this.arLabel3.Text = "입고정보";
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// fPurchaseNR_Ipgo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(552, 571);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPurchaseNR_Ipgo";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "NR 품목 입고";
this.Load += new System.EventHandler(this.fPurchaseCR_Ipgo_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox tbPrjIdx;
private System.Windows.Forms.TextBox tbPrjSerial;
private System.Windows.Forms.TextBox tbPrjModel;
private System.Windows.Forms.TextBox tbPrjProcess;
private System.Windows.Forms.TextBox tbProjOrderNo;
private System.Windows.Forms.TextBox tbPrjMemo;
private System.Windows.Forms.TextBox tbPrjAsset;
private System.Windows.Forms.Label arLabel2;
private System.Windows.Forms.TextBox tbPrjName;
private System.Windows.Forms.TextBox tbIdx;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox13;
private System.Windows.Forms.TextBox textBox14;
private System.Windows.Forms.Label arLabel1;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.TextBox textBox16;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label arLabel3;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.Button btOK;
private System.Windows.Forms.TextBox tbInRemar;
private System.Windows.Forms.TextBox tbInQty;
private System.Windows.Forms.CheckBox chkInDate;
private System.Windows.Forms.DateTimePicker dtInDate;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPrjStatus;
}
}

View File

@@ -0,0 +1,169 @@
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 fPurchaseNR_Ipgo : Form
{
int idx = -1;
public fPurchaseNR_Ipgo(int purchaseIdx)
{
InitializeComponent();
this.idx = purchaseIdx;
this.KeyPreview = true;
this.KeyDown += (s1, e1) => {
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
string prestatus = "PO";
private void fPurchaseCR_Ipgo_Load(object sender, EventArgs e)
{
//담당자목록
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter();
var dt = ta.GetByIdx(this.idx);
if (dt == null || dt.Any() == false)
{
FCOMMON.Util.MsgE("정보를 확인할 수 없습니다");
this.btOK.Enabled = false;
return;
}
var dr = dt.First();
prestatus = dr.state;
textBox15.Text = dr.pumname;
textBox16.Text = dr.pumidx.ToString();
textBox13.Text = dr.pumscale;
textBox11.Text = dr.pumunit;
textBox3.Text = dr.pumqty.ToString();
textBox8.Text = dr.pumprice.ToString();
textBox9.Text = (dr.pumqty * dr.pumprice).ToString();
textBox10.Text = dr.bigo;
//프로젝트정보 찾는다
var tap = new DSPrjTableAdapters.ProjectsTableAdapter();
var dtp = tap.GetData(dr.projectidx);
DSPrj.ProjectsRow drp;
if (dtp == null || dtp.Any() == false)
{
drp = dtp.NewProjectsRow();
}
else
{
//프로젝트정보표시
drp = dtp.First();
}
tbPrjName.Text = drp.name;
tbPrjAsset.Text = drp.asset;
tbPrjStatus.Text = drp.status;
tbPrjMemo.Text = drp.memo;
tbProjOrderNo.Text = drp.orderno;
tbPrjModel.Text = drp.model;
tbPrjSerial.Text = drp.serial;
tbPrjProcess.Text = drp.process;
tbPrjIdx.Text = drp.idx.ToString();
var userList = FCOMMON.DBM.getUserList(); //.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
foreach (var user in userList)
{
this.cmbReceive.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
// this.cmbRequest.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
}
//기존에 설정된 정보가 있다면 그것을 쓴다
if (dr.receive.isEmpty() == false)
{
cmbReceive.Text = $"[{dr.receive}] {dr.receiveName}";
if (DateTime.TryParse(dr.indate, out DateTime dtin))
{
dtInDate.Value = dtin;
}
else dtInDate.Value = DateTime.Now;
chkInDate.Checked = true;
tbInQty.Text = dr.inqty.ToString();
tbInRemar.Text = dr.inremark;
}
else
{
//설정정보가 없다면 비활성화해준다
cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
dtInDate.Value = DateTime.Now;
chkInDate.Checked = false;
chkInDate_CheckedChanged(null, null);
}
}
private void btOK_Click(object sender, EventArgs e)
{
if (chkInDate.Checked && cmbReceive.SelectedIndex < 0)
{
FCOMMON.Util.MsgE("수령인을 선택하세요");
cmbReceive.Focus();
return;
}
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter ();
var dr = ta.GetByIdx(this.idx).First();
if (chkInDate.Checked == false)
{
dr.indate = string.Empty;
dr.receive = string.Empty;
// dr.receiveName = string.Empty;
dr.inqty = 0;
dr.inremark = string.Empty;
if (prestatus == "Received") dr.state = "---";
else dr.state = prestatus;
}
else
{
dr.indate = dtInDate.Value.ToShortDateString();
dr.receive = cmbReceive.Text.Substring(1, cmbReceive.Text.IndexOf("]") - 1);
// dr.receiveName = cmbReceive.Text.Substring(cmbReceive.Text.IndexOf("]") + 1).Trim();
if (int.TryParse(tbInQty.Text, out int qty) == false)
{
FCOMMON.Util.MsgE("수량을 확인하세요");
tbInQty.Focus();
tbInQty.SelectAll();
return;
}
else
{
if (qty > int.Parse(textBox3.Text))
{
if (FCOMMON.Util.MsgQ("입고수량이 주문수량보다 많습니다 입력 할까요?") != DialogResult.Yes)
return;
}
dr.inqty = qty;
}
dr.state = "Received";
dr.inremark = tbInRemar.Text.Trim();
}
dr.EndEdit();
var cnt = ta.Update(dr);
DialogResult = DialogResult.OK;
}
private void chkInDate_CheckedChanged(object sender, EventArgs e)
{
dtInDate.Enabled = chkInDate.Checked;
cmbReceive.Enabled = chkInDate.Checked;
tbInQty.Enabled = chkInDate.Checked;
tbInRemar.Enabled = chkInDate.Checked;
if (chkInDate.Checked == false)
cmbReceive.SelectedIndex = -1;
else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
}
}
}

View File

@@ -0,0 +1,174 @@
<?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>
<metadata name="label17.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label12.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label11.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label9.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="assetLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="nameLabel.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>
<metadata name="label16.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label20.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="receiveLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -1,6 +1,6 @@
namespace FEQ0000.Purchase
{
partial class rPurchase
partial class rPurchaseNR
{
/// <summary>
/// Required designer variable.
@@ -28,9 +28,8 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource2 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rPurchase));
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rPurchaseNR));
this.rpv1 = new Microsoft.Reporting.WinForms.ReportViewer();
this.dsPurchase = new FEQ0000.dsPurchase();
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
@@ -40,9 +39,9 @@
this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.dtED = new System.Windows.Forms.ToolStripTextBox();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
this.cmbReport = new System.Windows.Forms.ToolStripComboBox();
this.btSearch = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
@@ -50,13 +49,16 @@
// rpv1
//
this.rpv1.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource2.Name = "DataSet1";
this.rpv1.LocalReport.DataSources.Add(reportDataSource2);
reportDataSource1.Name = "DataSet1";
reportDataSource1.Value = null;
this.rpv1.LocalReport.DataSources.Add(reportDataSource1);
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_Purchase.rdlc";
this.rpv1.Location = new System.Drawing.Point(0, 25);
this.rpv1.Name = "rpv1";
this.rpv1.ServerReport.BearerToken = null;
this.rpv1.Size = new System.Drawing.Size(723, 492);
this.rpv1.TabIndex = 0;
this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage;
//
// dsPurchase
//
@@ -93,6 +95,7 @@
// dtSD
//
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtSD.Name = "dtSD";
this.dtSD.Size = new System.Drawing.Size(100, 25);
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -112,19 +115,11 @@
// dtED
//
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtED.Name = "dtED";
this.dtED.Size = new System.Drawing.Size(100, 25);
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btSearch
//
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSearch.Name = "btSearch";
this.btSearch.Size = new System.Drawing.Size(81, 22);
this.btSearch.Text = "Refresh(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// toolStripLabel3
//
this.toolStripLabel3.Name = "toolStripLabel3";
@@ -141,15 +136,25 @@
this.cmbReport.Name = "cmbReport";
this.cmbReport.Size = new System.Drawing.Size(121, 25);
//
// rPurchase
// btSearch
//
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSearch.Name = "btSearch";
this.btSearch.Size = new System.Drawing.Size(81, 22);
this.btSearch.Text = "Refresh(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// rPurchaseNR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(723, 517);
this.Controls.Add(this.rpv1);
this.Controls.Add(this.toolStrip1);
this.Name = "rPurchase";
this.Text = "Purchase (Summary)";
this.Name = "rPurchaseNR";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "NR 구매 집계표";
this.Load += new System.EventHandler(this.rPurchase_Load);
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
this.toolStrip1.ResumeLayout(false);

View File

@@ -9,9 +9,9 @@ using System.Windows.Forms;
namespace FEQ0000.Purchase
{
public partial class rPurchase : Form
public partial class rPurchaseNR : Form
{
public rPurchase()
public rPurchaseNR()
{
InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
@@ -24,11 +24,11 @@ namespace FEQ0000.Purchase
this.dtED.Text = DateTime.Now.Year.ToString("0000") + "-12-31";
this.rpv1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual;
this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth;
this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage;
//this.rpv1.DisplayMode = Microsoft.Reporting.WinForms.DisplayMode.PrintLayout;
this.cmbReport.SelectedIndex = 0;
refreshData();
//refreshData();
}
private void btSearch_Click(object sender, EventArgs e)
@@ -37,7 +37,7 @@ namespace FEQ0000.Purchase
}
void refreshData()
{
this.ta.FillDate(this.dsPurchase.Purchase, dtSD.Text, dtED.Text,FCOMMON.info.Login.gcode);
this.ta.FillByDateExceptCR(this.dsPurchase.Purchase, dtSD.Text, dtED.Text,FCOMMON.info.Login.gcode);
//Set DataSource
Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource();
@@ -53,14 +53,31 @@ namespace FEQ0000.Purchase
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_PurchasePrc.rdlc";
break;
case 2: //프로젝트 - 월
//비고를 짤라서 처리해야한다.
foreach(dsPurchase.PurchaseRow dr in dsPurchase.Purchase)
{
if (dr.IsbigoNull()) dr.bigo = string.Empty;
else
{
dr.bigo = dr.bigo.Split('/')[0].Trim();
}
if(dr.projectidx == -1)
{
dr.state = "비 프로젝트";
}
else
{
dr.state = "프로젝트";
}
if (dr.bigo.isEmpty()) dr.bigo = "(없음)";
}
dsPurchase.Purchase.AcceptChanges();
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_PurchasePrj.rdlc";
break;
}
this.rpv1.LocalReport.DataSources.Clear();
this.rpv1.LocalReport.DataSources.Add(DsEQ);
this.rpv1.RefreshReport();
}
}
}

View File

@@ -0,0 +1,799 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="Tablix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="Textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>User</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox10</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<RowSpan>2</RowSpan>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
<TablixCornerRow>
<TablixCornerCell />
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1.78563cm</Width>
</TablixColumn>
<TablixColumn>
<Width>1.99729cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.57938cm</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="pumamt">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pumamt</rd:DefaultName>
<Style>
<Border>
<Color>#e5e5e5</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="pumamt1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pumamt1</rd:DefaultName>
<Style>
<Border>
<Color>#e5e5e5</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox8">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox20">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox20</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox9">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="pdate1">
<GroupExpressions>
<GroupExpression>= left(Fields!pdate.Value,4)</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!pdate.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="pdate1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>= left(Fields!pdate.Value,4)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pdate1</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<Group Name="pdate">
<GroupExpressions>
<GroupExpression>=mid(Fields!pdate.Value,6,2)</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!pdate.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="pdate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=mid(Fields!pdate.Value,6,2)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pdate</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="Textbox18">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>S.Total</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>1.2cm</Size>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Total</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="request">
<GroupExpressions>
<GroupExpression>=Fields!request.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!request.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>2.5cm</Size>
<CellContents>
<Textbox Name="request">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!request.Value</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>request</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>2.5cm</Size>
<CellContents>
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>합계</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<KeepWithGroup>Before</KeepWithGroup>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Height>2.4cm</Height>
<Width>8.8623cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>0.94488in</Height>
<Style />
</Body>
<Width>3.48909in</Width>
<Page>
<PageHeight>21cm</PageHeight>
<PageWidth>29.7cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="dsPurchase">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>0f6cd5c8-a9a8-4a48-9c2d-3338318fdc04</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>dsPurchase</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="idx">
<DataField>idx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="pdate">
<DataField>pdate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="state">
<DataField>state</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="process">
<DataField>process</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="receive">
<DataField>receive</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sc">
<DataField>sc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="request">
<DataField>request</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sid">
<DataField>sid</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumname">
<DataField>pumname</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumscale">
<DataField>pumscale</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumunit">
<DataField>pumunit</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumqty">
<DataField>pumqty</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="pumprice">
<DataField>pumprice</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="pumamt">
<DataField>pumamt</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="supply">
<DataField>supply</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplyidx">
<DataField>supplyidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="project">
<DataField>project</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="projectidx">
<DataField>projectidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="asset">
<DataField>asset</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="edate">
<DataField>edate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="indate">
<DataField>indate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="po">
<DataField>po</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="dept">
<DataField>dept</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="wuid">
<DataField>wuid</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="wdate">
<DataField>wdate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="import">
<DataField>import</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="pumidx">
<DataField>pumidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="isdel">
<DataField>isdel</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="bigo">
<DataField>bigo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="manuproc">
<DataField>manuproc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="orderno">
<DataField>orderno</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="gcode">
<DataField>gcode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="receiveName">
<DataField>receiveName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="requestName">
<DataField>requestName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="place">
<DataField>place</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="inqty">
<DataField>inqty</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="bigo2">
<DataField>bigo2</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumpriceD">
<DataField>pumpriceD</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="inremark">
<DataField>inremark</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>dsPurchase</rd:DataSetName>
<rd:SchemaPath>D:\Source\##### 완료아이템\(0014) GroupWare\Source\SubProject\FEQ0000\dsPurchase.xsd</rd:SchemaPath>
<rd:TableName>EETGW_PurchaseCR</rd:TableName>
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
<rd:TableAdapterName>EETGW_PurchaseCRTableAdapter</rd:TableAdapterName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<rd:ReportUnitType>Cm</rd:ReportUnitType>
<rd:ReportID>a93ce72d-9fed-447e-b4dd-c9634518a29b</rd:ReportID>
</Report>

View File

@@ -0,0 +1,801 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="Tablix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="Textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Proc</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox10</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<RowSpan>2</RowSpan>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
<TablixCornerRow>
<TablixCornerCell />
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1.78563cm</Width>
</TablixColumn>
<TablixColumn>
<Width>1.99729cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.57938cm</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="pumamt">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pumamt</rd:DefaultName>
<Style>
<Border>
<Color>#e5e5e5</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="pumamt1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pumamt1</rd:DefaultName>
<Style>
<Border>
<Color>#e5e5e5</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox8">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox20">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox20</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox9">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!pumamt.Value)</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>N0</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="pdate1">
<GroupExpressions>
<GroupExpression>= left(Fields!pdate.Value,4)</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!pdate.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="pdate1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>= left(Fields!pdate.Value,4)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pdate1</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<Group Name="pdate">
<GroupExpressions>
<GroupExpression>=mid(Fields!pdate.Value,6,2)</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!pdate.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="pdate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=mid(Fields!pdate.Value,6,2)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>pdate</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>0.6cm</Size>
<CellContents>
<Textbox Name="Textbox18">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>S.Total</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>1.2cm</Size>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Total</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>Silver</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="request">
<GroupExpressions>
<GroupExpression>=Fields!process.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!request.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>3.77cm</Size>
<CellContents>
<Textbox Name="process">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!process.Value</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>process</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>3.77cm</Size>
<CellContents>
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>합계</Value>
<Style>
<FontFamily>맑은 고딕</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Style>
<Border>
<Color>#9eb6e4</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>LightGrey</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<KeepWithGroup>Before</KeepWithGroup>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Height>2.4cm</Height>
<Width>10.1323cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>2.125in</Height>
<Style />
</Body>
<Width>4.76526in</Width>
<Page>
<PageHeight>21cm</PageHeight>
<PageWidth>29.7cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="dsPurchase">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>0f6cd5c8-a9a8-4a48-9c2d-3338318fdc04</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>dsPurchase</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="idx">
<DataField>idx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="pdate">
<DataField>pdate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="state">
<DataField>state</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="process">
<DataField>process</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="receive">
<DataField>receive</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sc">
<DataField>sc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="request">
<DataField>request</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sid">
<DataField>sid</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumname">
<DataField>pumname</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumscale">
<DataField>pumscale</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumunit">
<DataField>pumunit</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumqty">
<DataField>pumqty</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="pumprice">
<DataField>pumprice</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="pumamt">
<DataField>pumamt</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="supply">
<DataField>supply</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplyidx">
<DataField>supplyidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="project">
<DataField>project</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="projectidx">
<DataField>projectidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="asset">
<DataField>asset</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="edate">
<DataField>edate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="indate">
<DataField>indate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="po">
<DataField>po</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="dept">
<DataField>dept</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="wuid">
<DataField>wuid</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="wdate">
<DataField>wdate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="import">
<DataField>import</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="pumidx">
<DataField>pumidx</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="isdel">
<DataField>isdel</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="bigo">
<DataField>bigo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="manuproc">
<DataField>manuproc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="orderno">
<DataField>orderno</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="gcode">
<DataField>gcode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="receiveName">
<DataField>receiveName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="requestName">
<DataField>requestName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="place">
<DataField>place</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="inqty">
<DataField>inqty</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="bigo2">
<DataField>bigo2</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="pumpriceD">
<DataField>pumpriceD</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="inremark">
<DataField>inremark</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>dsPurchase</rd:DataSetName>
<rd:SchemaPath>D:\Source\##### 완료아이템\(0014) GroupWare\Source\SubProject\FEQ0000\dsPurchase.xsd</rd:SchemaPath>
<rd:TableName>EETGW_PurchaseCR</rd:TableName>
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
<rd:TableAdapterName>EETGW_PurchaseCRTableAdapter</rd:TableAdapterName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<rd:ReportUnitType>Cm</rd:ReportUnitType>
<rd:ReportID>a93ce72d-9fed-447e-b4dd-c9634518a29b</rd:ReportID>
</Report>

File diff suppressed because it is too large Load Diff

View File

@@ -75,6 +75,7 @@
this.btCopy = new System.Windows.Forms.ToolStripButton();
this.btEdit = new System.Windows.Forms.ToolStripButton();
this.btDel = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.lbSum = new System.Windows.Forms.ToolStripLabel();
@@ -83,7 +84,6 @@
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
this.btFind = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton();
@@ -98,6 +98,8 @@
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
@@ -184,6 +186,7 @@
this.btCopy,
this.btEdit,
this.btDel,
this.toolStripButton4,
this.btSave,
this.toolStripSeparator1,
this.lbSum,
@@ -192,7 +195,6 @@
this.tbFind,
this.btFind,
this.toolStripSeparator6,
this.toolStripButton6,
this.toolStripButton1,
this.toolStripButton7});
this.bn.Location = new System.Drawing.Point(0, 652);
@@ -310,6 +312,15 @@
this.btDel.Text = "삭제(&D)";
this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
//
// toolStripButton4
//
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(51, 23);
this.toolStripButton4.Text = "입고";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click_1);
//
// btSave
//
this.btSave.Image = global::FEQ0000.Properties.Resources.action_save;
@@ -369,15 +380,6 @@
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 26);
//
// toolStripButton6
//
this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton6.Name = "toolStripButton6";
this.toolStripButton6.Size = new System.Drawing.Size(92, 23);
this.toolStripButton6.Text = "ClipCopy(&V)";
this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
//
// toolStripButton1
//
this.toolStripButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -416,10 +418,12 @@
//
// 엑셀에서가져오기ToolStripMenuItem
//
this.ToolStripMenuItem.ForeColor = System.Drawing.Color.Red;
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
this.ToolStripMenuItem.Text = "엑셀에서 가져오기";
this.ToolStripMenuItem.Visible = false;
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// cm1
@@ -430,6 +434,8 @@
this.toolStripMenuItem3,
this.exportDataToolStripMenuItem,
this.toolStripMenuItem4,
this.ToolStripMenuItem,
this.toolStripMenuItem2,
this.ToolStripMenuItem,
this.makeRepeatToolStripMenuItem,
this.ToolStripMenuItem1,
@@ -438,7 +444,7 @@
this.sC검색ToolStripMenuItem,
this.cRCF검색ToolStripMenuItem});
this.cm1.Name = "contextMenuStrip1";
this.cm1.Size = new System.Drawing.Size(314, 358);
this.cm1.Size = new System.Drawing.Size(314, 406);
//
// columnSizeToolStripMenuItem
//
@@ -500,6 +506,18 @@
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
this.toolStripMenuItem4.Size = new System.Drawing.Size(310, 6);
//
// 입고ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "입고ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.ToolStripMenuItem.Text = "입고";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(310, 6);
//
// 추가ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "추가ToolStripMenuItem";
@@ -789,10 +807,6 @@
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "등록일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
@@ -833,7 +847,7 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "품명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "*";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "SID#";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "규격";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "모델";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "수량";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "단위";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "단가($)";
@@ -903,16 +917,18 @@
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(7).Tag = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
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(9).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumscale";
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).Label = "모델";
this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumscale";
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
numberCellType2.DecimalPlaces = 0;
@@ -931,12 +947,14 @@
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
numberCellType3.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(12).Label = "단가($)";
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 9999999999999.99D;
@@ -987,6 +1005,7 @@
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "project";
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType7.DecimalPlaces = 0;
@@ -1009,10 +1028,12 @@
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "예정일";
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "edate";
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(21).Label = "수령인";
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
@@ -1032,6 +1053,7 @@
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "inremark";
this.fpSpread1_Sheet1.Columns.Get(24).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "inremark";
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po";
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
@@ -1044,15 +1066,7 @@
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// fPurchaseCR
@@ -1153,12 +1167,14 @@
private System.Windows.Forms.ToolStripMenuItem sC검색ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem cRCF검색ToolStripMenuItem;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolStripButton toolStripButton6;
private System.Windows.Forms.ToolStripDropDownButton toolStripButton7;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
private System.Windows.Forms.ToolStripButton toolStripButton4;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -145,11 +145,7 @@ namespace FEQ0000
col.Locked = true;
}
if (curLevel < 5)
{
ToolStripMenuItem.Visible = false;
}
refreshData();
//열표시여부를 설정
@@ -804,7 +800,7 @@ namespace FEQ0000
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
Purchase.rPurchase f = new Purchase.rPurchase();
var f = new Purchase.rPurchaseCR();
f.MdiParent = this.MdiParent;
f.Show();
}
@@ -966,14 +962,14 @@ namespace FEQ0000
{
var db = new DataClasses1DataContext();
var dr = db.MailForm.Where(t => t.cate == "PC").FirstOrDefault();
var dr = db.MailForm.Where(t => t.cate == "PD").FirstOrDefault();
//현재표시데이터중에 수신자목록을 가져온다
var drows = (dsPurchase.EETGW_PurchaseCRRow[])(this.dsPurchase.EETGW_PurchaseCR.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();
var f = new Purchase.fMailForm("PD");
if (f.ShowDialog() != DialogResult.OK) return;
var form_subject = f.tbSubject.Text.Trim();
@@ -1026,7 +1022,7 @@ namespace FEQ0000
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");
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\PurchaseCR_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
if (fi.Directory.Exists == false) fi.Directory.Create();
///save file
@@ -1173,5 +1169,41 @@ namespace FEQ0000
dr.EndEdit();
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
func_ipgo();
}
private void toolStripButton4_Click_1(object sender, EventArgs e)
{
func_ipgo();
}
void func_ipgo()
{
var drv = this.bs.Current as DataRowView;
var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow;
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
if (curLevel < 5 ) //일반사용자 입고 여부
{
if(dr.state != "PO")
{
FCOMMON.Util.MsgE("PO 상태의 자료만 입고처리가 가능 합니다");
return;
}
if(dr.request != FCOMMON.info.Login.no)
{
FCOMMON.Util.MsgE("타인의 자료는 입고 처리할 수 없습니다");
return;
}
}
var f = new FEQ0000.Purchase.fPurchaseCR_Ipgo(dr.idx);
if (f.ShowDialog() == DialogResult.OK)
{
refreshData();
}
}
}
}

View File

@@ -220,18 +220,7 @@
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
@@ -244,6 +233,17 @@
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -399,14 +399,14 @@
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFXyB7oJbyIiiPUv
obMysjqrDoOkk+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBFH2LZYxj
f/JyGvfNLRtT8ZxRxLmo7yQ9QRkaL++sUKp15vVya3aJzIQzF80CqXVwLoNrghZcMk2fsJpHUrguiBcL
pSlf3cB1QeD2XUpQBs8Et07rLJIts8JZ3TwR45lgdNXgPazD8EwQLwe57b/6gqOiBEVg3p9hYD5xQWDJ
2XUxV4IiLDm7LuZKUIQlZ9fFXAmKsOTsupgrwUEssf78BmYTF3SCEpRFCcqiBGX5ISibhbUbtn7yyL+x
Yj/YGSc9waPql1T279ossVPhlyZ2K+yguxf1nKQnGFopP2/SlrDkJHu3bX4pZEVzJ8l3fbTMeYMLBpIk
CElcPm4G/yB+QNQbNZDTdKJxQVkCqVIsmrt6zdMmO7z/ZBukySLdvZakUbPiPUGdxOdT1w+BxeJHOEur
kDZHCo/x+b4B6fykkA442twAAAAASUVORK5CYII=
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGSSURBVFhH7ZDdSgJBGIa9kY67hK6gdFX8g27Cm4gIYjVN
6KyMrM6qs4Kik+jXGbeO6kACQ/IwDJSCLKPJd9gVk8l1ncWNmAdeZme+l/FxfIp/j18nTCbBNH2LZ4xj
f+pyEvfNLBgTiZxxhHNR30m6gjLUX95ZoVhtR/RSc3qeTIUzF40CqbZxLoNrghZccok+YTWPpHBdEC8W
WqJ8dQPXBYHbdylBGTwT3DitsWi2xApnNfNEjGeCsWWD97AOwjNBvBzkNv/qCw6LEhSBeW8GgfnYBYEl
Z9fFXAmKsOTsupgrQRGWnF0XcyUowpKz62KuBPuxxHrzG5iNXdAJSlAWJSiLEpTlh6BsZldu2OrJI//G
in1/Z5R0BQ8rX1LZvWux5FaZX5rcLrO9zl7Uc5KuYGix9LxOm8KSk+zctvilkBXNnSTf8dEy53UuGEiR
ICRx+ajp/4P4AVFv2EBO04nGBWUJpIvxWO7qNU8b7OD+k62RBot29lqKxsyK9wR1koikrx8Cc/sf4Syt
QNocKTzG5/sG4hiki22pPhYAAAAASUVORK5CYII=
</value>
</data>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -150,7 +150,7 @@
pumscaleLabel.Name = "pumscaleLabel";
pumscaleLabel.Size = new System.Drawing.Size(75, 20);
pumscaleLabel.TabIndex = 9;
pumscaleLabel.Text = "모델/규격";
pumscaleLabel.Text = "모델/단위";
//
// pumqtyLabel
//

View File

@@ -0,0 +1,665 @@

namespace FEQ0000.Purchase
{
partial class fPurchaseCR_Ipgo
{
/// <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.Windows.Forms.Label label17;
System.Windows.Forms.Label label12;
System.Windows.Forms.Label label11;
System.Windows.Forms.Label label5;
System.Windows.Forms.Label label9;
System.Windows.Forms.Label label4;
System.Windows.Forms.Label assetLabel;
System.Windows.Forms.Label label3;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label nameLabel;
System.Windows.Forms.Label label15;
System.Windows.Forms.Label label20;
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label6;
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label8;
System.Windows.Forms.Label receiveLabel;
this.panel1 = new System.Windows.Forms.Panel();
this.tbPrjStatus = new System.Windows.Forms.TextBox();
this.tbPrjIdx = new System.Windows.Forms.TextBox();
this.tbPrjSerial = new System.Windows.Forms.TextBox();
this.tbPrjModel = new System.Windows.Forms.TextBox();
this.tbPrjProcess = new System.Windows.Forms.TextBox();
this.tbProjOrderNo = new System.Windows.Forms.TextBox();
this.tbPrjMemo = new System.Windows.Forms.TextBox();
this.tbPrjAsset = new System.Windows.Forms.TextBox();
this.arLabel2 = new System.Windows.Forms.Label();
this.tbPrjName = new System.Windows.Forms.TextBox();
this.tbIdx = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.tbUnit = new System.Windows.Forms.TextBox();
this.tbModel = new System.Windows.Forms.TextBox();
this.arLabel1 = new System.Windows.Forms.Label();
this.textBox15 = new System.Windows.Forms.TextBox();
this.textBox16 = new System.Windows.Forms.TextBox();
this.panel3 = new System.Windows.Forms.Panel();
this.tbInRemar = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.chkInDate = new System.Windows.Forms.CheckBox();
this.dtInDate = new System.Windows.Forms.DateTimePicker();
this.cmbReceive = new System.Windows.Forms.ComboBox();
this.btOK = new System.Windows.Forms.Button();
this.arLabel3 = new System.Windows.Forms.Label();
label17 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label();
label9 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
assetLabel = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
nameLabel = new System.Windows.Forms.Label();
label15 = new System.Windows.Forms.Label();
label20 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label8 = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// label17
//
label17.AutoSize = true;
label17.Location = new System.Drawing.Point(338, 170);
label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label17.Name = "label17";
label17.Size = new System.Drawing.Size(68, 12);
label17.TabIndex = 97;
label17.Text = "Project No.";
//
// label12
//
label12.AutoSize = true;
label12.Location = new System.Drawing.Point(56, 168);
label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label12.Name = "label12";
label12.Size = new System.Drawing.Size(29, 12);
label12.TabIndex = 96;
label12.Text = "공정";
//
// label11
//
label11.AutoSize = true;
label11.Location = new System.Drawing.Point(300, 145);
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label11.Name = "label11";
label11.Size = new System.Drawing.Size(43, 12);
label11.TabIndex = 94;
label11.Text = "Serial#";
//
// label5
//
label5.AutoSize = true;
label5.Location = new System.Drawing.Point(39, 144);
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(46, 12);
label5.TabIndex = 92;
label5.Text = "Model#";
//
// label9
//
label9.AutoSize = true;
label9.Location = new System.Drawing.Point(27, 99);
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label9.Name = "label9";
label9.Size = new System.Drawing.Size(58, 12);
label9.TabIndex = 12;
label9.Text = "SCR/CF#";
//
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(56, 78);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(29, 12);
label4.TabIndex = 6;
label4.Text = "비고";
//
// assetLabel
//
assetLabel.AutoSize = true;
assetLabel.Location = new System.Drawing.Point(24, 56);
assetLabel.Name = "assetLabel";
assetLabel.Size = new System.Drawing.Size(61, 12);
assetLabel.TabIndex = 2;
assetLabel.Text = "Asset No.";
//
// label3
//
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(382, 78);
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(24, 12);
label3.TabIndex = 8;
label3.Text = "IDX";
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(377, 56);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(29, 12);
label2.TabIndex = 4;
label2.Text = "상태";
//
// nameLabel
//
nameLabel.AutoSize = true;
nameLabel.Location = new System.Drawing.Point(32, 34);
nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(53, 12);
nameLabel.TabIndex = 0;
nameLabel.Text = "프로젝트";
//
// label15
//
label15.AutoSize = true;
label15.Location = new System.Drawing.Point(39, 56);
label15.Name = "label15";
label15.Size = new System.Drawing.Size(59, 12);
label15.TabIndex = 6;
label15.Text = "모델/단위";
//
// label20
//
label20.AutoSize = true;
label20.Location = new System.Drawing.Point(70, 34);
label20.Name = "label20";
label20.Size = new System.Drawing.Size(29, 12);
label20.TabIndex = 0;
label20.Text = "품명";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(19, 84);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(89, 12);
label1.TabIndex = 87;
label1.Text = "수량/단가/금액";
//
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(79, 109);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(29, 12);
label6.TabIndex = 87;
label6.Text = "비고";
//
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(19, 140);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(63, 12);
label7.TabIndex = 109;
label7.Text = "비고(입고)";
//
// label8
//
label8.AutoSize = true;
label8.Location = new System.Drawing.Point(29, 105);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(53, 12);
label8.TabIndex = 107;
label8.Text = "입고수량";
//
// receiveLabel
//
receiveLabel.AutoSize = true;
receiveLabel.Location = new System.Drawing.Point(44, 34);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(41, 12);
receiveLabel.TabIndex = 105;
receiveLabel.Text = "수령인";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
this.panel1.Controls.Add(this.tbPrjStatus);
this.panel1.Controls.Add(label17);
this.panel1.Controls.Add(this.tbPrjIdx);
this.panel1.Controls.Add(label12);
this.panel1.Controls.Add(label11);
this.panel1.Controls.Add(this.tbPrjSerial);
this.panel1.Controls.Add(label5);
this.panel1.Controls.Add(this.tbPrjModel);
this.panel1.Controls.Add(this.tbPrjProcess);
this.panel1.Controls.Add(label9);
this.panel1.Controls.Add(this.tbProjOrderNo);
this.panel1.Controls.Add(this.tbPrjMemo);
this.panel1.Controls.Add(label4);
this.panel1.Controls.Add(this.tbPrjAsset);
this.panel1.Controls.Add(this.arLabel2);
this.panel1.Controls.Add(assetLabel);
this.panel1.Controls.Add(label3);
this.panel1.Controls.Add(this.tbPrjName);
this.panel1.Controls.Add(label2);
this.panel1.Controls.Add(nameLabel);
this.panel1.Controls.Add(this.tbIdx);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(552, 193);
this.panel1.TabIndex = 87;
//
// tbPrjStatus
//
this.tbPrjStatus.Location = new System.Drawing.Point(413, 52);
this.tbPrjStatus.Name = "tbPrjStatus";
this.tbPrjStatus.ReadOnly = true;
this.tbPrjStatus.Size = new System.Drawing.Size(127, 21);
this.tbPrjStatus.TabIndex = 99;
this.tbPrjStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjIdx
//
this.tbPrjIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbPrjIdx.Location = new System.Drawing.Point(413, 165);
this.tbPrjIdx.Name = "tbPrjIdx";
this.tbPrjIdx.ReadOnly = true;
this.tbPrjIdx.Size = new System.Drawing.Size(127, 21);
this.tbPrjIdx.TabIndex = 98;
this.tbPrjIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjSerial
//
this.tbPrjSerial.Location = new System.Drawing.Point(350, 141);
this.tbPrjSerial.Name = "tbPrjSerial";
this.tbPrjSerial.ReadOnly = true;
this.tbPrjSerial.Size = new System.Drawing.Size(190, 21);
this.tbPrjSerial.TabIndex = 95;
this.tbPrjSerial.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjModel
//
this.tbPrjModel.Location = new System.Drawing.Point(93, 139);
this.tbPrjModel.Name = "tbPrjModel";
this.tbPrjModel.ReadOnly = true;
this.tbPrjModel.Size = new System.Drawing.Size(190, 21);
this.tbPrjModel.TabIndex = 93;
this.tbPrjModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjProcess
//
this.tbPrjProcess.Font = new System.Drawing.Font("굴림", 9F);
this.tbPrjProcess.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjProcess.Location = new System.Drawing.Point(93, 165);
this.tbPrjProcess.Name = "tbPrjProcess";
this.tbPrjProcess.ReadOnly = true;
this.tbPrjProcess.Size = new System.Drawing.Size(190, 21);
this.tbPrjProcess.TabIndex = 90;
//
// tbProjOrderNo
//
this.tbProjOrderNo.Location = new System.Drawing.Point(93, 96);
this.tbProjOrderNo.Name = "tbProjOrderNo";
this.tbProjOrderNo.ReadOnly = true;
this.tbProjOrderNo.Size = new System.Drawing.Size(447, 21);
this.tbProjOrderNo.TabIndex = 13;
this.tbProjOrderNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbPrjMemo
//
this.tbPrjMemo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjMemo.Location = new System.Drawing.Point(93, 74);
this.tbPrjMemo.Name = "tbPrjMemo";
this.tbPrjMemo.ReadOnly = true;
this.tbPrjMemo.Size = new System.Drawing.Size(252, 21);
this.tbPrjMemo.TabIndex = 7;
//
// tbPrjAsset
//
this.tbPrjAsset.Location = new System.Drawing.Point(93, 52);
this.tbPrjAsset.Name = "tbPrjAsset";
this.tbPrjAsset.ReadOnly = true;
this.tbPrjAsset.Size = new System.Drawing.Size(252, 21);
this.tbPrjAsset.TabIndex = 3;
//
// arLabel2
//
this.arLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel2.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel2.Location = new System.Drawing.Point(0, 0);
this.arLabel2.Name = "arLabel2";
this.arLabel2.Size = new System.Drawing.Size(552, 23);
this.arLabel2.TabIndex = 86;
this.arLabel2.Text = "프로젝트";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tbPrjName
//
this.tbPrjName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPrjName.Location = new System.Drawing.Point(93, 30);
this.tbPrjName.Name = "tbPrjName";
this.tbPrjName.ReadOnly = true;
this.tbPrjName.Size = new System.Drawing.Size(447, 21);
this.tbPrjName.TabIndex = 1;
//
// tbIdx
//
this.tbIdx.Location = new System.Drawing.Point(413, 74);
this.tbIdx.Name = "tbIdx";
this.tbIdx.ReadOnly = true;
this.tbIdx.Size = new System.Drawing.Size(127, 21);
this.tbIdx.TabIndex = 9;
this.tbIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Gainsboro;
this.panel2.Controls.Add(this.textBox10);
this.panel2.Controls.Add(this.textBox9);
this.panel2.Controls.Add(this.textBox8);
this.panel2.Controls.Add(this.textBox3);
this.panel2.Controls.Add(label6);
this.panel2.Controls.Add(label1);
this.panel2.Controls.Add(this.tbUnit);
this.panel2.Controls.Add(label15);
this.panel2.Controls.Add(this.tbModel);
this.panel2.Controls.Add(this.arLabel1);
this.panel2.Controls.Add(this.textBox15);
this.panel2.Controls.Add(label20);
this.panel2.Controls.Add(this.textBox16);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 193);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(552, 133);
this.panel2.TabIndex = 88;
//
// textBox10
//
this.textBox10.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox10.Location = new System.Drawing.Point(112, 106);
this.textBox10.Name = "textBox10";
this.textBox10.ReadOnly = true;
this.textBox10.Size = new System.Drawing.Size(437, 21);
this.textBox10.TabIndex = 91;
//
// textBox9
//
this.textBox9.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox9.Location = new System.Drawing.Point(379, 80);
this.textBox9.Name = "textBox9";
this.textBox9.ReadOnly = true;
this.textBox9.Size = new System.Drawing.Size(127, 21);
this.textBox9.TabIndex = 90;
//
// textBox8
//
this.textBox8.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox8.Location = new System.Drawing.Point(246, 80);
this.textBox8.Name = "textBox8";
this.textBox8.ReadOnly = true;
this.textBox8.Size = new System.Drawing.Size(127, 21);
this.textBox8.TabIndex = 89;
//
// textBox3
//
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox3.Location = new System.Drawing.Point(113, 80);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(127, 21);
this.textBox3.TabIndex = 88;
//
// tbUnit
//
this.tbUnit.Location = new System.Drawing.Point(413, 53);
this.tbUnit.Name = "tbUnit";
this.tbUnit.ReadOnly = true;
this.tbUnit.Size = new System.Drawing.Size(127, 21);
this.tbUnit.TabIndex = 13;
this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tbModel
//
this.tbModel.Location = new System.Drawing.Point(104, 53);
this.tbModel.Name = "tbModel";
this.tbModel.ReadOnly = true;
this.tbModel.Size = new System.Drawing.Size(302, 21);
this.tbModel.TabIndex = 3;
//
// arLabel1
//
this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel1.Location = new System.Drawing.Point(0, 0);
this.arLabel1.Name = "arLabel1";
this.arLabel1.Size = new System.Drawing.Size(552, 23);
this.arLabel1.TabIndex = 86;
this.arLabel1.Text = "품목정보";
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// textBox15
//
this.textBox15.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox15.Location = new System.Drawing.Point(104, 30);
this.textBox15.Name = "textBox15";
this.textBox15.ReadOnly = true;
this.textBox15.Size = new System.Drawing.Size(303, 21);
this.textBox15.TabIndex = 1;
//
// textBox16
//
this.textBox16.Location = new System.Drawing.Point(413, 30);
this.textBox16.Name = "textBox16";
this.textBox16.ReadOnly = true;
this.textBox16.Size = new System.Drawing.Size(127, 21);
this.textBox16.TabIndex = 9;
this.textBox16.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.Gainsboro;
this.panel3.Controls.Add(this.tbInRemar);
this.panel3.Controls.Add(label7);
this.panel3.Controls.Add(this.tbInQty);
this.panel3.Controls.Add(label8);
this.panel3.Controls.Add(this.chkInDate);
this.panel3.Controls.Add(this.dtInDate);
this.panel3.Controls.Add(receiveLabel);
this.panel3.Controls.Add(this.cmbReceive);
this.panel3.Controls.Add(this.btOK);
this.panel3.Controls.Add(this.arLabel3);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 326);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(552, 213);
this.panel3.TabIndex = 89;
//
// tbInRemar
//
this.tbInRemar.Enabled = false;
this.tbInRemar.Location = new System.Drawing.Point(104, 136);
this.tbInRemar.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
this.tbInRemar.Size = new System.Drawing.Size(286, 70);
this.tbInRemar.TabIndex = 110;
//
// tbInQty
//
this.tbInQty.Enabled = false;
this.tbInQty.Location = new System.Drawing.Point(104, 101);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 21);
this.tbInQty.TabIndex = 108;
//
// chkInDate
//
this.chkInDate.AutoSize = true;
this.chkInDate.Location = new System.Drawing.Point(25, 68);
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(60, 16);
this.chkInDate.TabIndex = 103;
this.chkInDate.TabStop = false;
this.chkInDate.Text = "입고일";
this.chkInDate.UseVisualStyleBackColor = true;
this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged);
//
// dtInDate
//
this.dtInDate.Enabled = false;
this.dtInDate.Location = new System.Drawing.Point(104, 66);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 21);
this.dtInDate.TabIndex = 104;
this.dtInDate.TabStop = false;
//
// cmbReceive
//
this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReceive.Enabled = false;
this.cmbReceive.FormattingEnabled = true;
this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbReceive.Location = new System.Drawing.Point(104, 30);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 20);
this.cmbReceive.TabIndex = 106;
//
// btOK
//
this.btOK.Dock = System.Windows.Forms.DockStyle.Right;
this.btOK.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btOK.Location = new System.Drawing.Point(413, 23);
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(139, 190);
this.btOK.TabIndex = 102;
this.btOK.Text = "등록";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//
// arLabel3
//
this.arLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231)))));
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel3.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.arLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel3.Location = new System.Drawing.Point(0, 0);
this.arLabel3.Name = "arLabel3";
this.arLabel3.Size = new System.Drawing.Size(552, 23);
this.arLabel3.TabIndex = 86;
this.arLabel3.Text = "입고정보";
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// fPurchaseCR_Ipgo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(552, 539);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPurchaseCR_Ipgo";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "CR 품목 입고";
this.Load += new System.EventHandler(this.fPurchaseCR_Ipgo_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox tbPrjIdx;
private System.Windows.Forms.TextBox tbPrjSerial;
private System.Windows.Forms.TextBox tbPrjModel;
private System.Windows.Forms.TextBox tbPrjProcess;
private System.Windows.Forms.TextBox tbProjOrderNo;
private System.Windows.Forms.TextBox tbPrjMemo;
private System.Windows.Forms.TextBox tbPrjAsset;
private System.Windows.Forms.Label arLabel2;
private System.Windows.Forms.TextBox tbPrjName;
private System.Windows.Forms.TextBox tbIdx;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox tbUnit;
private System.Windows.Forms.TextBox tbModel;
private System.Windows.Forms.Label arLabel1;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.TextBox textBox16;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label arLabel3;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.Button btOK;
private System.Windows.Forms.TextBox tbInRemar;
private System.Windows.Forms.TextBox tbInQty;
private System.Windows.Forms.CheckBox chkInDate;
private System.Windows.Forms.DateTimePicker dtInDate;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPrjStatus;
}
}

View File

@@ -0,0 +1,171 @@
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 fPurchaseCR_Ipgo : Form
{
int idx = -1;
public fPurchaseCR_Ipgo(int purchaseIdx)
{
InitializeComponent();
this.idx = purchaseIdx;
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
string prestatus = "PO";
private void fPurchaseCR_Ipgo_Load(object sender, EventArgs e)
{
//담당자목록
var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
var dt = ta.GetByIdx(this.idx);
if (dt == null || dt.Any() == false)
{
FCOMMON.Util.MsgE("정보를 확인할 수 없습니다");
this.btOK.Enabled = false;
return;
}
var dr = dt.First();
prestatus = dr.state;
textBox15.Text = dr.pumname;
textBox16.Text = dr.pumidx.ToString();
tbModel.Text = dr.pumscale;
tbUnit.Text = dr.pumunit;
textBox3.Text = dr.pumqty.ToString();
textBox8.Text = dr.pumprice.ToString();
textBox9.Text = (dr.pumqty * dr.pumprice).ToString();
textBox10.Text = dr.bigo;
//프로젝트정보 찾는다
var tap = new DSPrjTableAdapters.ProjectsTableAdapter();
var dtp = tap.GetData(dr.projectidx);
DSPrj.ProjectsRow drp;
if (dtp == null || dtp.Any() == false)
{
drp = dtp.NewProjectsRow();
}
else
{
//프로젝트정보표시
drp = dtp.First();
}
tbPrjName.Text = drp.name;
tbPrjAsset.Text = drp.asset;
tbPrjStatus.Text = drp.status;
tbPrjMemo.Text = drp.memo;
tbProjOrderNo.Text = drp.orderno;
tbPrjModel.Text = drp.model;
tbPrjSerial.Text = drp.serial;
tbPrjProcess.Text = drp.process;
tbPrjIdx.Text = drp.idx.ToString();
var userList = FCOMMON.DBM.getUserList(); //.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
foreach (var user in userList)
{
this.cmbReceive.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
// this.cmbRequest.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
}
//기존에 설정된 정보가 있다면 그것을 쓴다
if (dr.receive.isEmpty() == false)
{
cmbReceive.Text = $"[{dr.receive}] {dr.receiveName}";
if (DateTime.TryParse(dr.indate, out DateTime dtin))
{
dtInDate.Value = dtin;
}
else dtInDate.Value = DateTime.Now;
chkInDate.Checked = true;
tbInQty.Text = dr.inqty.ToString();
tbInRemar.Text = dr.inremark;
}
else
{
//설정정보가 없다면 비활성화해준다
cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
dtInDate.Value = DateTime.Now;
chkInDate.Checked = false;
chkInDate_CheckedChanged(null, null);
}
}
private void btOK_Click(object sender, EventArgs e)
{
if (chkInDate.Checked && cmbReceive.SelectedIndex < 0)
{
FCOMMON.Util.MsgE("수령인을 선택하세요");
cmbReceive.Focus();
return;
}
var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
var dr = ta.GetByIdx(this.idx).First();
if (chkInDate.Checked == false)
{
dr.indate = string.Empty;
dr.receive = string.Empty;
// dr.receiveName = string.Empty;
dr.inqty = 0;
dr.inremark = string.Empty;
if (prestatus == "Received") dr.state = "---";
else dr.state = prestatus;
}
else
{
dr.indate = dtInDate.Value.ToShortDateString();
dr.receive = cmbReceive.Text.Substring(1, cmbReceive.Text.IndexOf("]") - 1);
// dr.receiveName = cmbReceive.Text.Substring(cmbReceive.Text.IndexOf("]") + 1).Trim();
if (int.TryParse(tbInQty.Text, out int qty) == false)
{
FCOMMON.Util.MsgE("수량을 확인하세요");
tbInQty.Focus();
tbInQty.SelectAll();
return;
}
else
{
if (qty > int.Parse(textBox3.Text))
{
if (FCOMMON.Util.MsgQ("입고수량이 주문수량보다 많습니다 입력 할까요?") != DialogResult.Yes)
return;
}
dr.inqty = qty;
}
dr.state = "Received";
dr.inremark = tbInRemar.Text.Trim();
}
dr.EndEdit();
var cnt = ta.Update(dr);
DialogResult = DialogResult.OK;
}
private void chkInDate_CheckedChanged(object sender, EventArgs e)
{
dtInDate.Enabled = chkInDate.Checked;
cmbReceive.Enabled = chkInDate.Checked;
tbInQty.Enabled = chkInDate.Checked;
tbInRemar.Enabled = chkInDate.Checked;
if (chkInDate.Checked == false)
cmbReceive.SelectedIndex = -1;
else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
}
}
}

View File

@@ -0,0 +1,171 @@
<?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>
<metadata name="label17.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label12.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label11.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label9.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="assetLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="nameLabel.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>
<metadata name="label20.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="receiveLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -0,0 +1,182 @@
namespace FEQ0000.Purchase
{
partial class rPurchaseCR
{
/// <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()
{
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource2 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rPurchaseCR));
this.rpv1 = new Microsoft.Reporting.WinForms.ReportViewer();
this.dsPurchase = new FEQ0000.dsPurchase();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.dtED = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
this.cmbReport = new System.Windows.Forms.ToolStripComboBox();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// rpv1
//
this.rpv1.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource2.Name = "DataSet1";
reportDataSource2.Value = null;
this.rpv1.LocalReport.DataSources.Add(reportDataSource2);
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Purchase.Rpt_Purchase.rdlc";
this.rpv1.Location = new System.Drawing.Point(0, 25);
this.rpv1.Name = "rpv1";
this.rpv1.ServerReport.BearerToken = null;
this.rpv1.Size = new System.Drawing.Size(723, 492);
this.rpv1.TabIndex = 0;
this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage;
//
// dsPurchase
//
this.dsPurchase.DataSetName = "dsPurchase";
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabel1,
this.dtSD,
this.toolStripLabel4,
this.toolStripLabel2,
this.dtED,
this.toolStripLabel3,
this.cmbReport,
this.btSearch});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(723, 25);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
this.toolStripLabel1.Text = "Start";
//
// dtSD
//
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtSD.Name = "dtSD";
this.dtSD.Size = new System.Drawing.Size(100, 25);
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// toolStripLabel4
//
this.toolStripLabel4.Name = "toolStripLabel4";
this.toolStripLabel4.Size = new System.Drawing.Size(15, 22);
this.toolStripLabel4.Text = "~";
//
// toolStripLabel2
//
this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(27, 22);
this.toolStripLabel2.Text = "End";
//
// dtED
//
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtED.Name = "dtED";
this.dtED.Size = new System.Drawing.Size(100, 25);
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// toolStripLabel3
//
this.toolStripLabel3.Name = "toolStripLabel3";
this.toolStripLabel3.Size = new System.Drawing.Size(42, 22);
this.toolStripLabel3.Text = "Report";
//
// cmbReport
//
this.cmbReport.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReport.Items.AddRange(new object[] {
"User - Month",
"Process - Month",
"Project - Month"});
this.cmbReport.Name = "cmbReport";
this.cmbReport.Size = new System.Drawing.Size(121, 25);
//
// btSearch
//
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSearch.Name = "btSearch";
this.btSearch.Size = new System.Drawing.Size(81, 22);
this.btSearch.Text = "Refresh(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// rPurchaseCR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(723, 517);
this.Controls.Add(this.rpv1);
this.Controls.Add(this.toolStrip1);
this.Name = "rPurchaseCR";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "CR 구매 집계표";
this.Load += new System.EventHandler(this.rPurchase_Load);
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer rpv1;
private dsPurchase dsPurchase;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.ToolStripTextBox dtSD;
private System.Windows.Forms.ToolStripLabel toolStripLabel4;
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripTextBox dtED;
private System.Windows.Forms.ToolStripButton btSearch;
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
private System.Windows.Forms.ToolStripComboBox cmbReport;
private dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter ta;
}
}

View File

@@ -0,0 +1,84 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FEQ0000.Purchase
{
public partial class rPurchaseCR : Form
{
public rPurchaseCR()
{
InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
}
private void rPurchase_Load(object sender, EventArgs e)
{
this.dtSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
this.dtED.Text = DateTime.Now.Year.ToString("0000") + "-12-31";
this.rpv1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual;
this.rpv1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.FullPage;
//this.rpv1.DisplayMode = Microsoft.Reporting.WinForms.DisplayMode.PrintLayout;
this.cmbReport.SelectedIndex = 0;
//refreshData();
}
private void btSearch_Click(object sender, EventArgs e)
{
refreshData();
}
void refreshData()
{
this.ta.FillDate(dsPurchase.EETGW_PurchaseCR, dtSD.Text, dtED.Text,FCOMMON.info.Login.gcode);
//Set DataSource
Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource();
DsEQ.Name = "DataSet1";
DsEQ.Value = this.dsPurchase.EETGW_PurchaseCR;
switch (this.cmbReport.SelectedIndex)
{
case 0: //사용자 - 월
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.PurchaseCR.Rpt_PurchaseCR.rdlc";
break;
case 1: //공정 - 월
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.PurchaseCR.Rpt_PurchasePrcCR.rdlc";
break;
case 2: //프로젝트 - 월
//비고를 짤라서 처리해야한다.
foreach(dsPurchase.EETGW_PurchaseCRRow dr in dsPurchase.EETGW_PurchaseCR)
{
if (dr.IsbigoNull()) dr.bigo = string.Empty;
else
{
dr.bigo = dr.bigo.Split('/')[0].Trim();
}
if(dr.projectidx == -1)
{
dr.state = "비 프로젝트";
}
else
{
dr.state = "프로젝트";
}
if (dr.bigo.isEmpty()) dr.bigo = "(없음)";
}
dsPurchase.EETGW_PurchaseCR.AcceptChanges();
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.PurchaseCR.Rpt_PurchasePrjCR.rdlc";
break;
}
this.rpv1.LocalReport.DataSources.Clear();
this.rpv1.LocalReport.DataSources.Add(DsEQ);
this.rpv1.RefreshReport();
}
}
}

View File

@@ -0,0 +1,141 @@
<?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>
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>131, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
</value>
</data>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>237, 17</value>
</metadata>
</root>

View File

@@ -403,6 +403,8 @@ namespace FEQ0000 {
private global::System.Data.DataColumn columnpumpriceD;
private global::System.Data.DataColumn columninremark;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public PurchaseDataTable() :
@@ -749,6 +751,14 @@ namespace FEQ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn inremarkColumn {
get {
return this.columninremark;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -823,7 +833,8 @@ namespace FEQ0000 {
string place,
int inqty,
string bigo2,
decimal pumpriceD) {
decimal pumpriceD,
string inremark) {
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -863,7 +874,8 @@ namespace FEQ0000 {
place,
inqty,
bigo2,
pumpriceD};
pumpriceD,
inremark};
rowPurchaseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPurchaseRow);
return rowPurchaseRow;
@@ -907,7 +919,8 @@ namespace FEQ0000 {
string requestName,
string place,
int inqty,
decimal pumpriceD) {
decimal pumpriceD,
string inremark) {
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -947,7 +960,8 @@ namespace FEQ0000 {
place,
inqty,
null,
pumpriceD};
pumpriceD,
inremark};
rowPurchaseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPurchaseRow);
return rowPurchaseRow;
@@ -1015,6 +1029,7 @@ namespace FEQ0000 {
this.columninqty = base.Columns["inqty"];
this.columnbigo2 = base.Columns["bigo2"];
this.columnpumpriceD = base.Columns["pumpriceD"];
this.columninremark = base.Columns["inremark"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1096,6 +1111,8 @@ namespace FEQ0000 {
base.Columns.Add(this.columnbigo2);
this.columnpumpriceD = new global::System.Data.DataColumn("pumpriceD", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpumpriceD);
this.columninremark = new global::System.Data.DataColumn("inremark", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columninremark);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1135,6 +1152,7 @@ namespace FEQ0000 {
this.columnrequestName.MaxLength = 200;
this.columnplace.MaxLength = 20;
this.columnbigo2.ReadOnly = true;
this.columninremark.MaxLength = 500;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2834,6 +2852,22 @@ namespace FEQ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string inremark {
get {
if (this.IsinremarkNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tablePurchase.inremarkColumn]));
}
}
set {
this[this.tablePurchase.inremarkColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -3241,6 +3275,18 @@ namespace FEQ0000 {
public void SetpumpriceDNull() {
this[this.tablePurchase.pumpriceDColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsinremarkNull() {
return this.IsNull(this.tablePurchase.inremarkColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetinremarkNull() {
this[this.tablePurchase.inremarkColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -4512,6 +4558,7 @@ namespace FEQ0000.dsPurchaseTableAdapters {
tableMapping.ColumnMappings.Add("place", "place");
tableMapping.ColumnMappings.Add("inqty", "inqty");
tableMapping.ColumnMappings.Add("pumpriceD", "pumpriceD");
tableMapping.ColumnMappings.Add("inremark", "inremark");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -4547,7 +4594,8 @@ namespace FEQ0000.dsPurchaseTableAdapters {
"al_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_p" +
"lace)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqt" +
"y)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Orig" +
"inal_pumpriceD)))";
"inal_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremar" +
"k] = @Original_inremark)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -4613,10 +4661,12 @@ namespace FEQ0000.dsPurchaseTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
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], [inqty], [pumpriceD]) 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, @pumpriceD);
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, inqty, pumpriceD FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC";
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], [inqty], [pumpriceD], [inremark]) 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, @pumpriceD, @inremark);
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, inqty, pumpriceD, inremark 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, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4652,6 +4702,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, 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, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", 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, [" +
@@ -4662,44 +4713,46 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
"e] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept, [wuid] = @wuid, [wd" +
"ate] = @wdate, [import] = @import, [pumidx] = @pumidx, [isdel] = @isdel, [bigo] " +
"= @bigo, [manuproc] = @manuproc, [orderno] = @orderno, [gcode] = @gcode, [place]" +
" = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD WHERE (([idx] = @Original_" +
"idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)" +
") AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) A" +
"ND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_proces" +
"s)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_r" +
"eceive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((" +
"@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) A" +
"ND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNul" +
"l_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@" +
"IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)" +
") AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pum" +
"unit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_p" +
"umqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Ori" +
"ginal_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @" +
"Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = " +
"@Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([sup" +
"plyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS" +
" NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [as" +
"set] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate" +
"] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate]" +
" IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NUL" +
"L) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dep" +
"t] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wda" +
"te) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_impo" +
"rt)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pum" +
"idx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel" +
")) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND " +
"((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manupr" +
"oc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_" +
"orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS" +
" NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NU" +
"LL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] " +
"IS NULL) OR ([pumpriceD] = @Original_pumpriceD)));\r\nSELECT idx, pdate, state, pr" +
"ocess, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUse" +
"rName(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, inq" +
"ty, pumpriceD FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC";
" = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inremark WH" +
"ERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([p" +
"date] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([stat" +
"e] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([pro" +
"cess] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR " +
"([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc]" +
" = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request]" +
" = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Ori" +
"ginal_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Or" +
"iginal_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscal" +
"e] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([" +
"pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR" +
" ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NUL" +
"L) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] I" +
"S NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] " +
"IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supp" +
"lyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx" +
" = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@" +
"IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsN" +
"ull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull" +
"_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNul" +
"l_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND " +
"[dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND " +
"([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([" +
"import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR (" +
"[pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([" +
"isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo]" +
" = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manu" +
"proc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR" +
" ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_" +
"place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inq" +
"ty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpri" +
"ceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@" +
"IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)" +
"));\r\nSELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS rec" +
"eiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pu" +
"mscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectid" +
"x, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, man" +
"uproc, orderno, gcode, place, inqty, pumpriceD, inremark FROM Purchase WHERE (id" +
"x = @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, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4735,6 +4788,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 0, 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, 0, 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("@pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", 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, 0, 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("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -4799,6 +4853,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumpriceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumpriceD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumpriceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "pumpriceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_inremark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_inremark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inremark", 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.Current, false, null, "", "", ""));
}
@@ -4812,11 +4868,12 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
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, inqty, pumpriceD
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD,
inremark
FROM Purchase
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC";
@@ -4842,11 +4899,27 @@ ORDER BY pdate DESC, idx DESC";
this._commandCollection[2].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.Original, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC";
this._commandCollection[3].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD,
pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid
FROM Purchase
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received'))
ORDER BY pdate DESC, idx DESC";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].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._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (idx = @idx)";
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[4].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.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC";
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4889,7 +4962,7 @@ ORDER BY pdate DESC, idx DESC";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillDate(dsPurchase.PurchaseDataTable dataTable, string sd, string ed, string gcode) {
public virtual int FillByDateExceptCR(dsPurchase.PurchaseDataTable dataTable, string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -4920,7 +4993,7 @@ ORDER BY pdate DESC, idx DESC";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsPurchase.PurchaseDataTable GetDate(string sd, string ed, string gcode) {
public virtual dsPurchase.PurchaseDataTable GetByDateExceptCR(string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -4945,6 +5018,92 @@ ORDER BY pdate DESC, idx DESC";
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillByIdx(dsPurchase.PurchaseDataTable dataTable, int idx) {
this.Adapter.SelectCommand = this.CommandCollection[4];
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsPurchase.PurchaseDataTable GetByIdx(int idx) {
this.Adapter.SelectCommand = this.CommandCollection[4];
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
dsPurchase.PurchaseDataTable dataTable = new dsPurchase.PurchaseDataTable(true);
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillDate(dsPurchase.PurchaseDataTable dataTable, string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
}
if ((ed == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
}
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(gcode));
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsPurchase.PurchaseDataTable GetDate(string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
}
if ((ed == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
}
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(gcode));
}
dsPurchase.PurchaseDataTable dataTable = new dsPurchase.PurchaseDataTable(true);
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
@@ -5012,7 +5171,8 @@ ORDER BY pdate DESC, idx DESC";
string Original_gcode,
string Original_place,
global::System.Nullable<int> Original_inqty,
global::System.Nullable<decimal> Original_pumpriceD) {
global::System.Nullable<decimal> Original_pumpriceD,
string Original_inremark) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -5267,6 +5427,14 @@ ORDER BY pdate DESC, idx DESC";
this.Adapter.DeleteCommand.Parameters[62].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[63].Value = global::System.DBNull.Value;
}
if ((Original_inremark == null)) {
this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[65].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[64].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[65].Value = ((string)(Original_inremark));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -5321,7 +5489,8 @@ ORDER BY pdate DESC, idx DESC";
string gcode,
string place,
global::System.Nullable<int> inqty,
global::System.Nullable<decimal> pumpriceD) {
global::System.Nullable<decimal> pumpriceD,
string inremark) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -5521,6 +5690,12 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value;
}
if ((inremark == null)) {
this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[34].Value = ((string)(inremark));
}
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)) {
@@ -5576,6 +5751,7 @@ ORDER BY pdate DESC, idx DESC";
string place,
global::System.Nullable<int> inqty,
global::System.Nullable<decimal> pumpriceD,
string inremark,
int Original_idx,
string Original_pdate,
string Original_state,
@@ -5610,6 +5786,7 @@ ORDER BY pdate DESC, idx DESC";
string Original_place,
global::System.Nullable<int> Original_inqty,
global::System.Nullable<decimal> Original_pumpriceD,
string Original_inremark,
int idx) {
if ((pdate == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -5810,261 +5987,275 @@ ORDER BY pdate DESC, idx DESC";
else {
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
if ((inremark == null)) {
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_pdate));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(inremark));
}
this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_idx));
if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_pdate));
}
if ((Original_state == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_state));
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_state));
}
if ((Original_process == null)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_process));
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_process));
}
if ((Original_receive == null)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_receive));
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_receive));
}
if ((Original_sc == null)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_sc));
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_sc));
}
if ((Original_request == null)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_request));
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_request));
}
if ((Original_sid == null)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_sid));
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_sid));
}
if ((Original_pumname == null)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_pumname));
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_pumname));
}
if ((Original_pumscale == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_pumscale));
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_pumscale));
}
if ((Original_pumunit == null)) {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_pumunit));
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_pumunit));
}
if ((Original_pumqty.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_pumqty.Value));
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_pumqty.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
}
if ((Original_pumprice.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[58].Value = ((decimal)(Original_pumprice.Value));
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[59].Value = ((decimal)(Original_pumprice.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
}
if ((Original_pumamt.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_pumamt.Value));
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_pumamt.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
}
if ((Original_supply == null)) {
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_supply));
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_supply));
}
if ((Original_supplyidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[64].Value = ((int)(Original_supplyidx.Value));
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[65].Value = ((int)(Original_supplyidx.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
}
if ((Original_projectidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_projectidx.Value));
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(Original_projectidx.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
}
if ((Original_asset == null)) {
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_asset));
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_asset));
}
if ((Original_edate == null)) {
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_edate));
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_edate));
}
if ((Original_indate == null)) {
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(Original_indate));
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_indate));
}
if ((Original_po == null)) {
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_po));
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_po));
}
if ((Original_dept == null)) {
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_dept));
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_dept));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_wuid));
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_wuid));
}
this.Adapter.UpdateCommand.Parameters[78].Value = ((System.DateTime)(Original_wdate));
this.Adapter.UpdateCommand.Parameters[79].Value = ((System.DateTime)(Original_wdate));
if ((Original_import.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[80].Value = ((bool)(Original_import.Value));
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(Original_import.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
}
if ((Original_pumidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[82].Value = ((int)(Original_pumidx.Value));
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[83].Value = ((int)(Original_pumidx.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
}
if ((Original_isdel.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[84].Value = ((bool)(Original_isdel.Value));
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_isdel.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
}
if ((Original_bigo == null)) {
this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[86].Value = ((string)(Original_bigo));
this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[87].Value = ((string)(Original_bigo));
}
if ((Original_manuproc == null)) {
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[88].Value = ((string)(Original_manuproc));
this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_manuproc));
}
if ((Original_orderno == null)) {
this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[91].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[90].Value = ((string)(Original_orderno));
this.Adapter.UpdateCommand.Parameters[90].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_orderno));
}
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_gcode));
this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(Original_gcode));
}
if ((Original_place == null)) {
this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[93].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[94].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[92].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_place));
this.Adapter.UpdateCommand.Parameters[93].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[94].Value = ((string)(Original_place));
}
if ((Original_inqty.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[95].Value = ((int)(Original_inqty.Value));
this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[96].Value = ((int)(Original_inqty.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[94].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[95].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[95].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[96].Value = global::System.DBNull.Value;
}
if ((Original_pumpriceD.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[97].Value = ((decimal)(Original_pumpriceD.Value));
this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[98].Value = ((decimal)(Original_pumpriceD.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[96].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[97].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[97].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[98].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[98].Value = ((int)(idx));
if ((Original_inremark == null)) {
this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[100].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[99].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[100].Value = ((string)(Original_inremark));
}
this.Adapter.UpdateCommand.Parameters[101].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)) {
@@ -6120,6 +6311,7 @@ ORDER BY pdate DESC, idx DESC";
string place,
global::System.Nullable<int> inqty,
global::System.Nullable<decimal> pumpriceD,
string inremark,
int Original_idx,
string Original_pdate,
string Original_state,
@@ -6153,8 +6345,9 @@ ORDER BY pdate DESC, idx DESC";
string Original_gcode,
string Original_place,
global::System.Nullable<int> Original_inqty,
global::System.Nullable<decimal> Original_pumpriceD) {
return this.Update(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, pumpriceD, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_wuid, Original_wdate, Original_import, Original_pumidx, Original_isdel, Original_bigo, Original_manuproc, Original_orderno, Original_gcode, Original_place, Original_inqty, Original_pumpriceD, Original_idx);
global::System.Nullable<decimal> Original_pumpriceD,
string Original_inremark) {
return this.Update(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, pumpriceD, inremark, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumname, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_wuid, Original_wdate, Original_import, Original_pumidx, Original_isdel, Original_bigo, Original_manuproc, Original_orderno, Original_gcode, Original_place, Original_inqty, Original_pumpriceD, Original_inremark, Original_idx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6724,7 +6917,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
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,
@@ -6755,15 +6948,24 @@ ORDER BY pdate DESC, idx DESC";
this._commandCollection[2].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.Original, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty,
this._commandCollection[3].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, inqty, pumpriceD,
inremark
FROM EETGW_PurchaseCR
WHERE idx = @idx";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].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.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = @"SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty,
pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid, inremark
FROM EETGW_PurchaseCR
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (state IN ('PO', 'Received'))
ORDER BY pdate DESC, idx DESC";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].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._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6806,8 +7008,34 @@ ORDER BY pdate DESC, idx DESC";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillDate(dsPurchase.EETGW_PurchaseCRDataTable dataTable, string sd, string ed, string gcode) {
public virtual int FillByIdx(dsPurchase.EETGW_PurchaseCRDataTable dataTable, int idx) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsPurchase.EETGW_PurchaseCRDataTable GetByIdx(int idx) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
dsPurchase.EETGW_PurchaseCRDataTable dataTable = new dsPurchase.EETGW_PurchaseCRDataTable(true);
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillDate(dsPurchase.EETGW_PurchaseCRDataTable dataTable, string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -6838,7 +7066,7 @@ ORDER BY pdate DESC, idx DESC";
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsPurchase.EETGW_PurchaseCRDataTable GetDate(string sd, string ed, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}

View File

@@ -12,7 +12,7 @@
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" 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 [Purchase] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)))</CommandText>
<CommandText>DELETE FROM [Purchase] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -78,13 +78,15 @@
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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], [inqty], [pumpriceD]) 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, @pumpriceD);
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, inqty, pumpriceD FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText>
<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], [inqty], [pumpriceD], [inremark]) 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, @pumpriceD, @inremark);
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, inqty, pumpriceD, inremark FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -120,13 +122,15 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" 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, inqty, pumpriceD
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty, pumpriceD,
inremark
FROM Purchase
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
ORDER BY pdate DESC, idx DESC</CommandText>
@@ -137,8 +141,8 @@ ORDER BY pdate DESC, idx DESC</CommandText>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<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, [gcode] = @gcode, [place] = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)));
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, inqty, pumpriceD FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText>
<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, [gcode] = @gcode, [place] = @place, [inqty] = @inqty, [pumpriceD] = @pumpriceD, [inremark] = @inremark WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumname = 1 AND [pumname] IS NULL) OR ([pumname] = @Original_pumname)) AND ((@IsNull_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_bigo = 1 AND [bigo] IS NULL) OR ([bigo] = @Original_bigo)) AND ((@IsNull_manuproc = 1 AND [manuproc] IS NULL) OR ([manuproc] = @Original_manuproc)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)) AND ([gcode] = @Original_gcode) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inqty = 1 AND [inqty] IS NULL) OR ([inqty] = @Original_inqty)) AND ((@IsNull_pumpriceD = 1 AND [pumpriceD] IS NULL) OR ([pumpriceD] = @Original_pumpriceD)) AND ((@IsNull_inremark = 1 AND [inremark] IS NULL) OR ([inremark] = @Original_inremark)));
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, inqty, pumpriceD, inremark FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@state" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="state" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -174,6 +178,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -238,6 +243,8 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_inqty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inqty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pumpriceD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_pumpriceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="pumpriceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inremark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inremark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_inremark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="inremark" 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="Current" />
</Parameters>
</DbCommand>
@@ -282,6 +289,7 @@ SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveN
<Mapping SourceColumn="place" DataSetColumn="place" />
<Mapping SourceColumn="inqty" DataSetColumn="inqty" />
<Mapping SourceColumn="pumpriceD" DataSetColumn="pumpriceD" />
<Mapping SourceColumn="inremark" DataSetColumn="inremark" />
</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="GetDataBy" UserSourceName="CoutImport">
@@ -318,10 +326,36 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDateExceptCR" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByDateExceptCR" GeneratorSourceName="FillByDateExceptCR" GetMethodModifier="Public" GetMethodName="GetByDateExceptCR" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByDateExceptCR" UserSourceName="FillByDateExceptCR">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD,
pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid
FROM Purchase
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(orderno, '') = '') AND (state IN ('PO', 'Received'))
ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" 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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByIdx" GeneratorSourceName="FillByIdx" GetMethodModifier="Public" GetMethodName="GetByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByIdx" UserSourceName="FillByIdx">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (idx = @idx)</CommandText>
<Parameters>
<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="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDate" GeneratorSourceName="FillDate" GetMethodModifier="Public" GetMethodName="GetDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDate" UserSourceName="FillDate">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC</CommandText>
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, inremark, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty, pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="EE.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -652,13 +686,27 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid) AND (gc
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_PurchaseCR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdx" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByIdx" GeneratorSourceName="FillByIdx" GetMethodModifier="Public" GetMethodName="GetByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByIdx" UserSourceName="FillByIdx">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT 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, inqty, pumpriceD,
inremark
FROM EETGW_PurchaseCR
WHERE idx = @idx</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDate" GeneratorSourceName="FillDate" GetMethodModifier="Public" GetMethodName="GetDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDate" UserSourceName="FillDate">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT asset, bigo, dept, edate, gcode, idx, import, indate, inqty, isdel, manuproc, orderno, pdate, place, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumpriceD, pumqty,
pumscale, pumunit, receive, dbo.getUserName(receive) AS receiveName, request, dbo.getUserName(request) AS requestName, sc, sid, state, supply, supplyidx, wdate, wuid, inremark
FROM EETGW_PurchaseCR
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (state IN ('PO', 'Received'))
ORDER BY pdate DESC, idx DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.EETGW_PurchaseCR" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -869,6 +917,13 @@ ORDER BY pdate DESC, idx DESC</CommandText>
<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:element name="bigo2" msdata:ReadOnly="true" msdata:Expression="iif(project = '', bigo , iif( bigo = '', project, project + '/' + bigo ))" msprop:Generator_ColumnVarNameInTable="columnbigo2" msprop:Generator_ColumnPropNameInRow="bigo2" msprop:Generator_ColumnPropNameInTable="bigo2Column" msprop:Generator_UserColumnName="bigo2" type="xs:string" minOccurs="0" />
<xs:element name="pumpriceD" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="pumpriceD" msprop:Generator_ColumnVarNameInTable="columnpumpriceD" msprop:Generator_ColumnPropNameInTable="pumpriceDColumn" msprop:Generator_UserColumnName="pumpriceD" type="xs:decimal" minOccurs="0" />
<xs:element name="inremark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="inremark" msprop:Generator_ColumnVarNameInTable="columninremark" msprop:Generator_ColumnPropNameInTable="inremarkColumn" msprop:Generator_UserColumnName="inremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@@ -4,10 +4,10 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="3" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Purchase" ZOrder="2" X="148" Y="70" Height="520" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="412" />
<Shape ID="DesignTable:EETGW_PurchaseCR" ZOrder="1" X="494" Y="78" Height="552" Width="277" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="427" />
<Shape ID="DesignTable:Purchase" ZOrder="2" X="148" Y="70" Height="596" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="433" />
<Shape ID="DesignTable:EETGW_PurchaseCR" ZOrder="1" X="452" Y="74" Height="592" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="448" />
</Shapes>
<Connectors />
</DiagramLayout>