From 63dffe62ef6a2059e2d6019889dd65f9f0b4291d Mon Sep 17 00:00:00 2001 From: "chikyun.kim" Date: Tue, 6 Aug 2019 11:38:05 +0900 Subject: [PATCH] =?UTF-8?q?190806=09chi=09=ED=92=88=EB=AA=A9=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=EC=97=90=EC=84=9C=20=EC=B9=B4=ED=85=8C=EA=B3=A0?= =?UTF-8?q?=EB=A6=AC=20=EC=97=86=EB=8A=94=20=EC=9E=90=EB=A3=8C=EB=8F=84=20?= =?UTF-8?q?=EB=B3=B4=EC=9D=B4=EA=B2=8C=20=ED=95=A8=20=09=09=09=ED=92=88?= =?UTF-8?q?=EB=AA=A9=EC=A0=95=EB=B3=B4=20=EC=A0=95=EB=A0=AC=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EC=B6=94=EA=B0=80=20190731=20=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EA=B8=B0=EB=A1=9D=ED=99=94=EB=A9=B4(beta)=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EETGW.sln | 9 + Project/Dialog/fLogin.Designer.cs | 75 +- Project/Dialog/fLogin.cs | 7 +- Project/Dialog/fSelectDept.Designer.cs | 118 + Project/Dialog/fSelectDept.cs | 40 + Project/Dialog/fSelectDept.resx | 132 + Project/EETGW.csproj | 4 + Project/History.txt | 2 + Project/Properties/AssemblyInfo.cs | 4 +- Project/Setting.cs | 3 + Project/fMain.Designer.cs | 198 +- Project/fMain.cs | 100 +- Project/fMain.resx | 23 +- Project/fSetting.Designer.cs | 28 - Project/fSetting.cs | 5 +- SubProject/FCM0000/DSInventory.Designer.cs | 94 +- SubProject/FCM0000/DSInventory.xsd | 21 +- SubProject/FCM0000/DSReport.Designer.cs | 1799 +++++++++ SubProject/FCM0000/DSReport.xsd | 177 +- SubProject/FCM0000/DSReport.xss | 6 +- SubProject/FCM0000/FCM0000.csproj | 19 + SubProject/FCM0000/FPUtil.cs | 21 + .../FCM0000/Inventory/RepInvStock.Designer.cs | 101 +- SubProject/FCM0000/Inventory/RepInvStock.cs | 49 +- SubProject/FCM0000/Inventory/RepInvStock.rdlc | 911 +++-- SubProject/FCM0000/Inventory/RepInvStock.resx | 7 +- .../FCM0000/Inventory/RepInvStockPlace.rdlc | 996 +++++ .../Inventory/RepInvStockUser.Designer.cs | 90 + .../FCM0000/Inventory/RepInvStockUser.cs | 34 + .../FCM0000/Inventory/RepInvStockUser.resx | 129 + .../FCM0000/Inventory/fInventory.Designer.cs | 696 ++++ SubProject/FCM0000/Inventory/fInventory.cs | 410 ++ SubProject/FCM0000/Inventory/fInventory.resx | 294 ++ .../Inventory/fInventoryJagoList.Designer.cs | 527 +++ .../FCM0000/Inventory/fInventoryJagoList.cs | 208 + .../FCM0000/Inventory/fInventoryJagoList.resx | 252 ++ .../Inventory/fInventoryJagoPlace.Designer.cs | 204 + .../FCM0000/Inventory/fInventoryJagoPlace.cs | 80 + .../Inventory/fInventoryJagoPlace.resx | 132 + .../Inventory/fInventoryUser.Designer.cs | 583 +++ .../FCM0000/Inventory/fInventoryUser.cs | 326 ++ .../FCM0000/Inventory/fInventoryUser.resx | 281 ++ .../Inventory/finventoryAdd.Designer.cs | 497 +++ SubProject/FCM0000/Inventory/finventoryAdd.cs | 314 ++ .../FCM0000/Inventory/finventoryAdd.resx | 168 + SubProject/FCM0000/Item/fItemAdd.Designer.cs | 297 ++ SubProject/FCM0000/Item/fItemAdd.cs | 102 + SubProject/FCM0000/Item/fItemAdd.resx | 150 + SubProject/FCM0000/Item/fItems.Designer.cs | 870 +++++ SubProject/FCM0000/Item/fItems.cs | 339 ++ SubProject/FCM0000/Item/fItems.resx | 328 ++ SubProject/FCM0000/Item/fLovItem.Designer.cs | 622 +++ SubProject/FCM0000/Item/fLovItem.cs | 223 ++ SubProject/FCM0000/Item/fLovItem.resx | 293 ++ .../FCM0000/Item/fLovOneItem.Designer.cs | 234 ++ SubProject/FCM0000/Item/fLovOneItem.cs | 100 + SubProject/FCM0000/Item/fLovOneItem.resx | 180 + SubProject/FCM0000/User/fLovUser.Designer.cs | 430 +++ SubProject/FCM0000/User/fLovUser.cs | 117 + SubProject/FCM0000/User/fLovUser.resx | 219 ++ .../User/fUserGroupPermission.Designer.cs | 28 + SubProject/FCM0000/dsMSSQL.Designer.cs | 96 +- SubProject/FCM0000/dsMSSQL.xsd | 41 +- SubProject/FCM0000/fCode.Designer.cs | 100 +- SubProject/FCM0000/fCode.resx | 27 +- SubProject/FCOMMON/DataBaseManager.cs | 327 +- SubProject/FCOMMON/Info.cs | 2 + SubProject/FCOMMON/Util.cs | 1 + SubProject/FCOMMON/Util_Form.cs | 137 + SubProject/FEQ0000/Purchase/fPurchase_Add.cs | 13 +- SubProject/FLG0000/DSLog.Designer.cs | 3356 +++++++++++++++++ SubProject/FLG0000/DSLog.xsc | 9 + SubProject/FLG0000/DSLog.xsd | 368 ++ SubProject/FLG0000/DSLog.xss | 1 + SubProject/FLG0000/FLG0000.csproj | 163 + SubProject/FLG0000/LogData/Add.Designer.cs | 257 ++ SubProject/FLG0000/LogData/Add.cs | 291 ++ SubProject/FLG0000/LogData/Add.resx | 144 + SubProject/FLG0000/LogData/List.Designer.cs | 684 ++++ SubProject/FLG0000/LogData/List.cs | 429 +++ SubProject/FLG0000/LogData/List.resx | 309 ++ .../FLG0000/LogData/Lov_LogItem.Designer.cs | 126 + SubProject/FLG0000/LogData/Lov_LogItem.cs | 95 + SubProject/FLG0000/LogData/Lov_LogItem.resx | 120 + SubProject/FLG0000/MethodExtentions.cs | 154 + SubProject/FLG0000/Program.cs | 20 + SubProject/FLG0000/Properties/AssemblyInfo.cs | 36 + .../FLG0000/Properties/Resources.Designer.cs | 73 + SubProject/FLG0000/Properties/Resources.resx | 124 + .../FLG0000/Properties/Settings.Designer.cs | 37 + .../FLG0000/Properties/Settings.settings | 14 + SubProject/FLG0000/Properties/licenses.licx | 1 + SubProject/FLG0000/Resources/action_save.gif | Bin 0 -> 279 bytes SubProject/FLG0000/Setting.cs | 34 + SubProject/FLG0000/app.config | 8 + 95 files changed, 21458 insertions(+), 845 deletions(-) create mode 100644 Project/Dialog/fSelectDept.Designer.cs create mode 100644 Project/Dialog/fSelectDept.cs create mode 100644 Project/Dialog/fSelectDept.resx create mode 100644 SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc create mode 100644 SubProject/FCM0000/Inventory/RepInvStockUser.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/RepInvStockUser.cs create mode 100644 SubProject/FCM0000/Inventory/RepInvStockUser.resx create mode 100644 SubProject/FCM0000/Inventory/fInventory.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/fInventory.cs create mode 100644 SubProject/FCM0000/Inventory/fInventory.resx create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoList.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoList.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoList.resx create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoPlace.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoPlace.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryJagoPlace.resx create mode 100644 SubProject/FCM0000/Inventory/fInventoryUser.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryUser.cs create mode 100644 SubProject/FCM0000/Inventory/fInventoryUser.resx create mode 100644 SubProject/FCM0000/Inventory/finventoryAdd.Designer.cs create mode 100644 SubProject/FCM0000/Inventory/finventoryAdd.cs create mode 100644 SubProject/FCM0000/Inventory/finventoryAdd.resx create mode 100644 SubProject/FCM0000/Item/fItemAdd.Designer.cs create mode 100644 SubProject/FCM0000/Item/fItemAdd.cs create mode 100644 SubProject/FCM0000/Item/fItemAdd.resx create mode 100644 SubProject/FCM0000/Item/fItems.Designer.cs create mode 100644 SubProject/FCM0000/Item/fItems.cs create mode 100644 SubProject/FCM0000/Item/fItems.resx create mode 100644 SubProject/FCM0000/Item/fLovItem.Designer.cs create mode 100644 SubProject/FCM0000/Item/fLovItem.cs create mode 100644 SubProject/FCM0000/Item/fLovItem.resx create mode 100644 SubProject/FCM0000/Item/fLovOneItem.Designer.cs create mode 100644 SubProject/FCM0000/Item/fLovOneItem.cs create mode 100644 SubProject/FCM0000/Item/fLovOneItem.resx create mode 100644 SubProject/FCM0000/User/fLovUser.Designer.cs create mode 100644 SubProject/FCM0000/User/fLovUser.cs create mode 100644 SubProject/FCM0000/User/fLovUser.resx create mode 100644 SubProject/FCOMMON/Util_Form.cs create mode 100644 SubProject/FLG0000/DSLog.Designer.cs create mode 100644 SubProject/FLG0000/DSLog.xsc create mode 100644 SubProject/FLG0000/DSLog.xsd create mode 100644 SubProject/FLG0000/DSLog.xss create mode 100644 SubProject/FLG0000/FLG0000.csproj create mode 100644 SubProject/FLG0000/LogData/Add.Designer.cs create mode 100644 SubProject/FLG0000/LogData/Add.cs create mode 100644 SubProject/FLG0000/LogData/Add.resx create mode 100644 SubProject/FLG0000/LogData/List.Designer.cs create mode 100644 SubProject/FLG0000/LogData/List.cs create mode 100644 SubProject/FLG0000/LogData/List.resx create mode 100644 SubProject/FLG0000/LogData/Lov_LogItem.Designer.cs create mode 100644 SubProject/FLG0000/LogData/Lov_LogItem.cs create mode 100644 SubProject/FLG0000/LogData/Lov_LogItem.resx create mode 100644 SubProject/FLG0000/MethodExtentions.cs create mode 100644 SubProject/FLG0000/Program.cs create mode 100644 SubProject/FLG0000/Properties/AssemblyInfo.cs create mode 100644 SubProject/FLG0000/Properties/Resources.Designer.cs create mode 100644 SubProject/FLG0000/Properties/Resources.resx create mode 100644 SubProject/FLG0000/Properties/Settings.Designer.cs create mode 100644 SubProject/FLG0000/Properties/Settings.settings create mode 100644 SubProject/FLG0000/Properties/licenses.licx create mode 100644 SubProject/FLG0000/Resources/action_save.gif create mode 100644 SubProject/FLG0000/Setting.cs create mode 100644 SubProject/FLG0000/app.config diff --git a/EETGW.sln b/EETGW.sln index 575265c..bf2e780 100644 --- a/EETGW.sln +++ b/EETGW.sln @@ -29,6 +29,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "arControl", "..\..\_Library EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTPClass", "Sub\arftp\FTPClass.csproj", "{150859D3-1C5D-4E20-B324-F9EBE188D893}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLG0000", "SubProject\FLG0000\FLG0000.csproj", "{0677FB12-D582-4A7A-B266-EF2477A89688}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -105,6 +107,12 @@ Global {150859D3-1C5D-4E20-B324-F9EBE188D893}.Release|Any CPU.ActiveCfg = Release|Any CPU {150859D3-1C5D-4E20-B324-F9EBE188D893}.Release|Any CPU.Build.0 = Release|Any CPU {150859D3-1C5D-4E20-B324-F9EBE188D893}.Release|x86.ActiveCfg = Release|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Debug|x86.ActiveCfg = Debug|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Release|Any CPU.Build.0 = Release|Any CPU + {0677FB12-D582-4A7A-B266-EF2477A89688}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -120,6 +128,7 @@ Global {DB5EE9C8-EACF-4231-877E-B9DFD7A714DE} = {28105E67-9D33-4627-8E26-FCE67700622F} {F31C242C-1B15-4518-9733-48558499FE4B} = {28105E67-9D33-4627-8E26-FCE67700622F} {150859D3-1C5D-4E20-B324-F9EBE188D893} = {28105E67-9D33-4627-8E26-FCE67700622F} + {0677FB12-D582-4A7A-B266-EF2477A89688} = {6C7EC99E-7367-4255-A039-EF5E8D75A2F6} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B5B1FD72-356F-4840-83E8-B070AC21C8D9} diff --git a/Project/Dialog/fLogin.Designer.cs b/Project/Dialog/fLogin.Designer.cs index a71b5e4..347c660 100644 --- a/Project/Dialog/fLogin.Designer.cs +++ b/Project/Dialog/fLogin.Designer.cs @@ -31,15 +31,15 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.cmbDept = new System.Windows.Forms.ComboBox(); this.tbID = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.tbPW = new System.Windows.Forms.TextBox(); this.panel2 = new System.Windows.Forms.Panel(); this.btLogin = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); - this.cmbDept = new System.Windows.Forms.ComboBox(); - this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); @@ -58,9 +58,9 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(244))))); + this.panel1.Controls.Add(this.linkLabel2); this.panel1.Controls.Add(this.linkLabel1); this.panel1.Controls.Add(this.cmbDept); - this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.tbID); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); @@ -72,6 +72,28 @@ this.panel1.Size = new System.Drawing.Size(488, 366); this.panel1.TabIndex = 0; // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.linkLabel1.Location = new System.Drawing.Point(12, 126); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(31, 15); + this.linkLabel1.TabIndex = 0; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "부서"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // cmbDept + // + this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F); + this.cmbDept.FormattingEnabled = true; + this.cmbDept.Location = new System.Drawing.Point(15, 144); + this.cmbDept.Name = "cmbDept"; + this.cmbDept.Size = new System.Drawing.Size(460, 41); + this.cmbDept.TabIndex = 1; + // // tbID // this.tbID.Font = new System.Drawing.Font("Calibri", 20.25F); @@ -134,38 +156,19 @@ this.btLogin.UseVisualStyleBackColor = true; this.btLogin.Click += new System.EventHandler(this.button1_Click); // - // label3 + // linkLabel2 // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.label3.ForeColor = System.Drawing.Color.DodgerBlue; - this.label3.Location = new System.Drawing.Point(15, 340); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(243, 15); - this.label3.TabIndex = 6; - this.label3.Text = "문의 ) Chickyun.kim@amkor.co.kr, T.8567"; - this.label3.Click += new System.EventHandler(this.label3_Click); - // - // cmbDept - // - this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F); - this.cmbDept.FormattingEnabled = true; - this.cmbDept.Location = new System.Drawing.Point(15, 144); - this.cmbDept.Name = "cmbDept"; - this.cmbDept.Size = new System.Drawing.Size(460, 41); - this.cmbDept.TabIndex = 1; - // - // linkLabel1 - // - this.linkLabel1.AutoSize = true; - this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.linkLabel1.Location = new System.Drawing.Point(12, 126); - this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(31, 15); - this.linkLabel1.TabIndex = 0; - this.linkLabel1.Text = "부서"; - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + this.linkLabel2.AutoSize = true; + this.linkLabel2.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.linkLabel2.ForeColor = System.Drawing.Color.DodgerBlue; + this.linkLabel2.LinkColor = System.Drawing.Color.DodgerBlue; + this.linkLabel2.Location = new System.Drawing.Point(12, 339); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(243, 15); + this.linkLabel2.TabIndex = 7; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "문의 ) Chickyun.kim@amkor.co.kr, T.8567"; + this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); // // fLogin // @@ -199,8 +202,8 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.ComboBox tbID; - private System.Windows.Forms.Label label3; private System.Windows.Forms.ComboBox cmbDept; private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; } } \ No newline at end of file diff --git a/Project/Dialog/fLogin.cs b/Project/Dialog/fLogin.cs index 39f599a..0f9908b 100644 --- a/Project/Dialog/fLogin.cs +++ b/Project/Dialog/fLogin.cs @@ -124,7 +124,7 @@ namespace Project.Dialog private void label3_Click(object sender, EventArgs e) { - FCOMMON.Util.RunExplorer("mailto:chikyun.kim@amkor.co.kr"); + } private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) @@ -137,5 +137,10 @@ namespace Project.Dialog cmbDept.Text = f.deptName; } } + + private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + FCOMMON.Util.RunExplorer("mailto:chikyun.kim@amkor.co.kr"); + } } } diff --git a/Project/Dialog/fSelectDept.Designer.cs b/Project/Dialog/fSelectDept.Designer.cs new file mode 100644 index 0000000..973bac3 --- /dev/null +++ b/Project/Dialog/fSelectDept.Designer.cs @@ -0,0 +1,118 @@ +namespace Project.Dialog +{ + partial class fSelectDept + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.dsMSSQL = new Project.dsMSSQL(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new Project.dsMSSQLTableAdapters.UserGroupTableAdapter(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // fpSpread1 + // + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.Location = new System.Drawing.Point(0, 0); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.fpSpread1_Sheet1}); + this.fpSpread1.Size = new System.Drawing.Size(495, 562); + this.fpSpread1.TabIndex = 5; + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "UserGroup"; + this.bs.DataSource = this.dsMSSQL; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 1; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "부서명"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 32F; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "dept"; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "부서명"; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 413F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // fSelectDept + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(495, 562); + this.Controls.Add(this.fpSpread1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fSelectDept"; + this.Text = "부서목록"; + this.Load += new System.EventHandler(this.fSelectDept_Load); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private FarPoint.Win.Spread.FpSpread fpSpread1; + private dsMSSQL dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsMSSQLTableAdapters.UserGroupTableAdapter ta; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + + } +} \ No newline at end of file diff --git a/Project/Dialog/fSelectDept.cs b/Project/Dialog/fSelectDept.cs new file mode 100644 index 0000000..5e1ccf7 --- /dev/null +++ b/Project/Dialog/fSelectDept.cs @@ -0,0 +1,40 @@ +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 Project.Dialog +{ + public partial class fSelectDept : FCOMMON.fBase + { + public string deptName { get; set; } + public fSelectDept() + { + InitializeComponent(); + deptName = string.Empty; + this.fpSpread1.KeyDown += (s1, e1) => { SelectData(); }; + this.fpSpread1.CellDoubleClick += (s1, e1) => { SelectData(); }; + } + + private void fSelectDept_Load(object sender, EventArgs e) + { + // TODO: 이 코드는 데이터를 'dsMSSQL.UserGroup' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. + this.ta.Fill(this.dsMSSQL.UserGroup); + var ta = new dsMSSQLTableAdapters.UserGroupTableAdapter(); + + } + void SelectData() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.UserGroupRow; + this.deptName = dr.dept; + this.DialogResult = System.Windows.Forms.DialogResult.OK; + } + } +} diff --git a/Project/Dialog/fSelectDept.resx b/Project/Dialog/fSelectDept.resx new file mode 100644 index 0000000..4a50ed3 --- /dev/null +++ b/Project/Dialog/fSelectDept.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 248, 17 + + + 122, 17 + + + 17, 17 + + + 186, 17 + + \ No newline at end of file diff --git a/Project/EETGW.csproj b/Project/EETGW.csproj index 7483c43..ddd42a0 100644 --- a/Project/EETGW.csproj +++ b/Project/EETGW.csproj @@ -459,6 +459,10 @@ {c2e0627d-0623-4b68-a558-37cbce6bdca6} FEQ0000 + + {0677fb12-d582-4a7a-b266-ef2477a89688} + FLG0000 + {74836a5f-cb5b-449f-9210-99c9d1a23b97} FPJ0000 diff --git a/Project/History.txt b/Project/History.txt index c54d80c..6f9a887 100644 --- a/Project/History.txt +++ b/Project/History.txt @@ -1,4 +1,6 @@ * 주간내역이 업데이트 되지 않는 데이터를 강조시키고 알림을 띄울 방안 확인 +190806 chi 품목정보에서 카테고리 없는 자료도 보이게 함 + 품목정보 정렬 기능 추가 190718 chi 목록조회화면에서 열 너비가 자동 불러오게 함 190711 chi 프로젝트목록 엑셀저장시 컬럼도 저장되게 190423 chi 프로젝트 편집창에 FTP Explorer 기능 추가 diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 42e6379..d3c5963 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("19.07.26.1730")] -[assembly: AssemblyFileVersion("19.07.26.1730")] +[assembly: AssemblyVersion("19.08.06.1130")] +[assembly: AssemblyFileVersion("19.08.06.1130")] diff --git a/Project/Setting.cs b/Project/Setting.cs index 2d6fb8c..c11cad3 100644 --- a/Project/Setting.cs +++ b/Project/Setting.cs @@ -12,6 +12,9 @@ namespace Project NR구매관리, 프로젝트관리, 업무일지, + 재고관리, + 재고현황, + 운영기록 } public class Setting : arUtil.Setting { diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index 9cadbce..49d7ebe 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -51,22 +51,23 @@ this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.권한설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_kuntae = new System.Windows.Forms.ToolStripMenuItem(); - this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_kuntae = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_logdata = new System.Windows.Forms.ToolStripMenuItem(); this.managementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_purchase = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_project = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_dailyhistory = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_jago = new System.Windows.Forms.ToolStripMenuItem(); - this.menu_eq = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_purchase = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_project = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_dailyhistory = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_jago = new System.Windows.Forms.ToolStripMenuItem(); + this.관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.재고현황ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_eq = new System.Windows.Forms.ToolStripMenuItem(); this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.라인코드관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mn_docu = new System.Windows.Forms.ToolStripMenuItem(); this.패치내역ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.holidayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -88,6 +89,8 @@ this.addSIdDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.계정목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.그룹정보ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); @@ -162,8 +165,9 @@ this.btSetting, this.로그인ToolStripMenuItem, this.commonToolStripMenuItem, + this.mn_logdata, this.managementToolStripMenuItem, - this.boardsToolStripMenuItem, + this.mn_docu, this.즐겨찾기ToolStripMenuItem, this.btDev}); this.menuStrip1.Location = new System.Drawing.Point(1, 1); @@ -196,9 +200,7 @@ this.itemsToolStripMenuItem, this.userInfoToolStripMenuItem, this.customerToolStripMenuItem, - this.menu_kuntae, - this.staffGridToolStripMenuItem, - this.mailFormToolStripMenuItem}); + this.mn_kuntae}); this.commonToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("commonToolStripMenuItem.Image"))); this.commonToolStripMenuItem.Name = "commonToolStripMenuItem"; this.commonToolStripMenuItem.Size = new System.Drawing.Size(93, 23); @@ -256,87 +258,96 @@ this.customerToolStripMenuItem.Text = "업체정보"; this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); // - // menu_kuntae + // mn_kuntae // - this.menu_kuntae.Name = "menu_kuntae"; - this.menu_kuntae.Size = new System.Drawing.Size(153, 24); - this.menu_kuntae.Text = "월별 근무표"; - this.menu_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); + this.mn_kuntae.Name = "mn_kuntae"; + this.mn_kuntae.Size = new System.Drawing.Size(153, 24); + this.mn_kuntae.Text = "월별 근무표"; + this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); // - // staffGridToolStripMenuItem + // mn_logdata // - this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; - this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; - this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(153, 24); - this.staffGridToolStripMenuItem.Text = "Staff Grid"; - this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); - // - // mailFormToolStripMenuItem - // - this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; - this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; - this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(153, 24); - this.mailFormToolStripMenuItem.Text = "메일 양식"; - this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); + this.mn_logdata.Image = ((System.Drawing.Image)(resources.GetObject("mn_logdata.Image"))); + this.mn_logdata.Name = "mn_logdata"; + this.mn_logdata.Size = new System.Drawing.Size(65, 23); + this.mn_logdata.Text = "기록"; + this.mn_logdata.Click += new System.EventHandler(this.mn_logdata_Click); // // managementToolStripMenuItem // this.managementToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.menu_purchase, - this.menu_project, - this.menu_dailyhistory, - this.menu_jago, - this.menu_eq, + this.mn_purchase, + this.mn_project, + this.mn_dailyhistory, + this.mn_jago, + this.mn_eq, this.personalInventoryToolStripMenuItem}); this.managementToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("managementToolStripMenuItem.Image"))); this.managementToolStripMenuItem.Name = "managementToolStripMenuItem"; this.managementToolStripMenuItem.Size = new System.Drawing.Size(65, 23); this.managementToolStripMenuItem.Text = "관리"; // - // menu_purchase + // mn_purchase // - this.menu_purchase.Image = ((System.Drawing.Image)(resources.GetObject("menu_purchase.Image"))); - this.menu_purchase.Name = "menu_purchase"; - this.menu_purchase.Size = new System.Drawing.Size(153, 24); - this.menu_purchase.Text = "구매신청"; - this.menu_purchase.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click); + this.mn_purchase.Image = ((System.Drawing.Image)(resources.GetObject("mn_purchase.Image"))); + this.mn_purchase.Name = "mn_purchase"; + this.mn_purchase.Size = new System.Drawing.Size(153, 24); + this.mn_purchase.Text = "구매신청"; + this.mn_purchase.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click); // - // menu_project + // mn_project // - this.menu_project.Image = ((System.Drawing.Image)(resources.GetObject("menu_project.Image"))); - this.menu_project.Name = "menu_project"; - this.menu_project.Size = new System.Drawing.Size(153, 24); - this.menu_project.Text = "프로젝트"; - this.menu_project.Click += new System.EventHandler(this.프로젝트ToolStripMenuItem_Click); + this.mn_project.Image = ((System.Drawing.Image)(resources.GetObject("mn_project.Image"))); + this.mn_project.Name = "mn_project"; + this.mn_project.Size = new System.Drawing.Size(153, 24); + this.mn_project.Text = "프로젝트"; + this.mn_project.Click += new System.EventHandler(this.프로젝트ToolStripMenuItem_Click); // - // menu_dailyhistory + // mn_dailyhistory // - this.menu_dailyhistory.Image = ((System.Drawing.Image)(resources.GetObject("menu_dailyhistory.Image"))); - this.menu_dailyhistory.Name = "menu_dailyhistory"; - this.menu_dailyhistory.Size = new System.Drawing.Size(153, 24); - this.menu_dailyhistory.Text = "업무일지"; - this.menu_dailyhistory.Click += new System.EventHandler(this.업무일지ToolStripMenuItem1_Click); + this.mn_dailyhistory.Image = ((System.Drawing.Image)(resources.GetObject("mn_dailyhistory.Image"))); + this.mn_dailyhistory.Name = "mn_dailyhistory"; + this.mn_dailyhistory.Size = new System.Drawing.Size(153, 24); + this.mn_dailyhistory.Text = "업무일지"; + this.mn_dailyhistory.Click += new System.EventHandler(this.업무일지ToolStripMenuItem1_Click); // - // menu_jago + // mn_jago // - this.menu_jago.Image = ((System.Drawing.Image)(resources.GetObject("menu_jago.Image"))); - this.menu_jago.Name = "menu_jago"; - this.menu_jago.Size = new System.Drawing.Size(153, 24); - this.menu_jago.Text = "품목재고"; - this.menu_jago.Click += new System.EventHandler(this.재고관리ToolStripMenuItem_Click); + this.mn_jago.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.관리ToolStripMenuItem, + this.재고현황ToolStripMenuItem}); + this.mn_jago.Image = ((System.Drawing.Image)(resources.GetObject("mn_jago.Image"))); + this.mn_jago.Name = "mn_jago"; + this.mn_jago.Size = new System.Drawing.Size(153, 24); + this.mn_jago.Text = "품목재고"; + this.mn_jago.Click += new System.EventHandler(this.재고관리ToolStripMenuItem_Click); // - // menu_eq + // 관리ToolStripMenuItem // - this.menu_eq.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.관리ToolStripMenuItem.Name = "관리ToolStripMenuItem"; + this.관리ToolStripMenuItem.Size = new System.Drawing.Size(134, 24); + this.관리ToolStripMenuItem.Text = "재고관리"; + this.관리ToolStripMenuItem.Click += new System.EventHandler(this.관리ToolStripMenuItem_Click); + // + // 재고현황ToolStripMenuItem + // + this.재고현황ToolStripMenuItem.Name = "재고현황ToolStripMenuItem"; + this.재고현황ToolStripMenuItem.Size = new System.Drawing.Size(134, 24); + this.재고현황ToolStripMenuItem.Text = "재고현황"; + this.재고현황ToolStripMenuItem.Click += new System.EventHandler(this.재고현황ToolStripMenuItem_Click); + // + // mn_eq + // + this.mn_eq.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.dataFOLToolStripMenuItem, this.dataMoldEOLToolStripMenuItem, this.dataToolStripMenuItem, this.toolStripMenuItem2, this.라인코드관리ToolStripMenuItem}); - this.menu_eq.Image = ((System.Drawing.Image)(resources.GetObject("menu_eq.Image"))); - this.menu_eq.Name = "menu_eq"; - this.menu_eq.Size = new System.Drawing.Size(153, 24); - this.menu_eq.Text = "장비 목록"; + this.mn_eq.Image = ((System.Drawing.Image)(resources.GetObject("mn_eq.Image"))); + this.mn_eq.Name = "mn_eq"; + this.mn_eq.Size = new System.Drawing.Size(153, 24); + this.mn_eq.Text = "장비 목록"; // // dataFOLToolStripMenuItem // @@ -380,9 +391,9 @@ this.personalInventoryToolStripMenuItem.Visible = false; this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click); // - // boardsToolStripMenuItem + // mn_docu // - this.boardsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mn_docu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.패치내역ToolStripMenuItem1, this.minutesToolStripMenuItem, this.holidayToolStripMenuItem, @@ -391,10 +402,10 @@ this.bugReportToolStripMenuItem, this.todoListToolStripMenuItem, this.메일전송ToolStripMenuItem}); - this.boardsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("boardsToolStripMenuItem.Image"))); - this.boardsToolStripMenuItem.Name = "boardsToolStripMenuItem"; - this.boardsToolStripMenuItem.Size = new System.Drawing.Size(65, 23); - this.boardsToolStripMenuItem.Text = "문서"; + this.mn_docu.Image = ((System.Drawing.Image)(resources.GetObject("mn_docu.Image"))); + this.mn_docu.Name = "mn_docu"; + this.mn_docu.Size = new System.Drawing.Size(65, 23); + this.mn_docu.Text = "문서"; // // 패치내역ToolStripMenuItem1 // @@ -477,7 +488,9 @@ this.workReportImportToolStripMenuItem, this.addSIdDataToolStripMenuItem, this.계정목록ToolStripMenuItem, - this.그룹정보ToolStripMenuItem1}); + this.그룹정보ToolStripMenuItem1, + this.toolStripMenuItem1, + this.toolStripMenuItem3}); this.btDev.ForeColor = System.Drawing.Color.Blue; this.btDev.Name = "btDev"; this.btDev.Size = new System.Drawing.Size(91, 23); @@ -561,6 +574,22 @@ this.그룹정보ToolStripMenuItem1.Text = "그룹정보"; this.그룹정보ToolStripMenuItem1.Click += new System.EventHandler(this.그룹정보ToolStripMenuItem1_Click); // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.ForeColor = System.Drawing.Color.HotPink; + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(235, 24); + this.toolStripMenuItem1.Text = "Staff Grid"; + this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.ForeColor = System.Drawing.Color.HotPink; + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(235, 24); + this.toolStripMenuItem3.Text = "메일 양식"; + this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click); + // // tabControl1 // this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; @@ -619,13 +648,12 @@ private System.Windows.Forms.ToolStripMenuItem itemsToolStripMenuItem; private System.Windows.Forms.ToolStripStatusLabel sbLogin; private System.Windows.Forms.ToolStripMenuItem codesToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem boardsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mn_docu; private System.Windows.Forms.ToolStripMenuItem freeBoardToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem bugReportToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem todoListToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_eq; - private System.Windows.Forms.ToolStripMenuItem staffGridToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem mn_eq; private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem dataMoldEOLToolStripMenuItem; @@ -633,9 +661,8 @@ private System.Windows.Forms.ToolStripMenuItem userInfoToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem minutesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem holidayToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem mailFormToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem requestITemToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_purchase; + private System.Windows.Forms.ToolStripMenuItem mn_purchase; private System.Windows.Forms.ToolStripMenuItem btDev; private System.Windows.Forms.ToolStripMenuItem purchaseImportToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem purchaseDataConvertToolStripMenuItem; @@ -649,21 +676,26 @@ private System.Windows.Forms.ToolStripMenuItem 라인코드관리ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem materialImportToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_project; + private System.Windows.Forms.ToolStripMenuItem mn_project; private System.Windows.Forms.ToolStripMenuItem projectImportCompleteToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem purchaseOrderImportToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 로그인ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 메일전송ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_dailyhistory; + private System.Windows.Forms.ToolStripMenuItem mn_dailyhistory; private System.Windows.Forms.ToolStripMenuItem 패치내역ToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem workReportImportToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_kuntae; + private System.Windows.Forms.ToolStripMenuItem mn_kuntae; private System.Windows.Forms.ToolStripMenuItem 즐겨찾기ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem menu_jago; + private System.Windows.Forms.ToolStripMenuItem mn_jago; private System.Windows.Forms.ToolStripMenuItem addSIdDataToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 계정목록ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 그룹정보ToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem 권한설정ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 관리ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 재고현황ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + private System.Windows.Forms.ToolStripMenuItem mn_logdata; } } diff --git a/Project/fMain.cs b/Project/fMain.cs index 9c990d7..44d3b33 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -116,12 +116,14 @@ namespace Project if (flogIn.ShowDialog() != System.Windows.Forms.DialogResult.OK) Application.ExitThread(); - this.menu_purchase.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_purchase); - this.menu_project.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_project); - this.menu_dailyhistory.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_history); - this.menu_jago.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_jago); - this.menu_eq.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_equipment); - this.menu_kuntae.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_workday); + this.mn_purchase.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_purchase); + this.mn_project.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_project); + this.mn_dailyhistory.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_history); + this.mn_jago.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_jago); + this.mn_eq.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_equipment); + this.mn_kuntae.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_workday); + this.mn_docu.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_docu); + this.mn_logdata.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_logdata); if (FCOMMON.info.Login.level >= 10) btDev.Visible = true; @@ -138,21 +140,41 @@ namespace Project } void Func_RunStartForm() { + var menu_purchaseVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_purchase); + var menu_projectVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_project); + var menu_dailyhistoryVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_history); + var menu_jagoVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_jago); + var menu_eqVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_equipment); + var menu_kuntaeVisible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_workday); + var menu_logdata = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_logdata); + //시작폼 확인 - if (Pub.setting.startForm == eFormList.NR구매관리) + if (Pub.setting.startForm == eFormList.NR구매관리 && menu_purchaseVisible==true) { menu_nrpurchase(); } - else if (Pub.setting.startForm == eFormList.업무일지) + else if (Pub.setting.startForm == eFormList.업무일지 && menu_dailyhistoryVisible == true) { menu_work_report(); } - else if (Pub.setting.startForm == eFormList.프로젝트관리) + else if (Pub.setting.startForm == eFormList.프로젝트관리 && menu_projectVisible == true) { menu_projecT_list(); } + else if(Pub.setting.startForm == eFormList.재고관리 && menu_jagoVisible==true) + { + Menu_Inventory(); + } + else if (Pub.setting.startForm == eFormList.재고현황 && menu_jagoVisible == true) + { + Menu_InventoryList(); + } + else if (Pub.setting.startForm == eFormList.운영기록 && menu_logdata == true) + { + Menu_logData(); + } } - + void _SetLang() { @@ -254,9 +276,7 @@ namespace Project private void staffGridToolStripMenuItem_Click(object sender, EventArgs e) { - string formkey = "STAFFGRID"; - if (!ShowForm(formkey)) - AddForm(formkey, new _Info.fInfo_Staff()); + } @@ -357,9 +377,7 @@ namespace Project private void mailFormToolStripMenuItem_Click(object sender, EventArgs e) { - string formkey = "MAILFORM"; - if (!ShowForm(formkey)) - AddForm(formkey, new FCM0000.fMailform()); + } @@ -412,7 +430,7 @@ namespace Project private void toolStripButton2_Click(object sender, EventArgs e) { - menu_purchase.PerformClick(); + mn_purchase.PerformClick(); } private void userAccountToolStripMenuItem_Click(object sender, EventArgs e) @@ -624,7 +642,7 @@ namespace Project private void 재고관리ToolStripMenuItem_Click(object sender, EventArgs e) { - Menu_Inventory(); + } private void 그룹정보ToolStripMenuItem_Click(object sender, EventArgs e) @@ -708,5 +726,51 @@ namespace Project f.ShowDialog(); } + private void 관리ToolStripMenuItem_Click(object sender, EventArgs e) + { + Menu_Inventory(); + } + + private void 재고장ToolStripMenuItem_Click(object sender, EventArgs e) + { + var f = new FCM0000.Inventory.RepInvStock(); + f.ShowDialog(); + } + void Menu_InventoryList() + { + string formkey = "INVENTORYLIST"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fInventoryJagoList()); + } + private void 재고현황ToolStripMenuItem_Click(object sender, EventArgs e) + { + Menu_InventoryList(); + } + + private void toolStripMenuItem1_Click(object sender, EventArgs e) + { + string formkey = "STAFFGRID"; + if (!ShowForm(formkey)) + AddForm(formkey, new _Info.fInfo_Staff()); + } + + private void toolStripMenuItem3_Click(object sender, EventArgs e) + { + string formkey = "MAILFORM"; + if (!ShowForm(formkey)) + AddForm(formkey, new FCM0000.fMailform()); + } + void Menu_logData() + { + //운영기록 + string formkey = "LOGDATA"; + if (!ShowForm(formkey)) + AddForm(formkey, new FLG0000.LogData.List()); + } + + private void mn_logdata_Click(object sender, EventArgs e) + { + Menu_logData(); + } } } diff --git a/Project/fMain.resx b/Project/fMain.resx index 64ae914..2196060 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -164,7 +164,18 @@ RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7 - + + + R0lGODlhEAAQAIUtAFNle4Gt2fX6/pu814yz2Xyet5vN/FpwiWag2eXw+6vU+6TR+1hpf3iatL7e/T6C + uWF8m8Df/Ze3y8Xi/uv1/m+PqrXa/Uhace72/rTZ/LHX/FSRueDp87XN4MDf/vn8/p/A23ygvHaZtnSU + r/D3/rfa/HmbtV13lejy/T13uer0/77a9f///////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAtACwAAAAAEAAQ + AAAIpABZCBxIcGCLgyw2PHiQoqHDhiwOtmAxQIXFixcDREQ4YIXHjx8JbJwoQQUCjBlHspAAsqVGiRRN + WuxQoICJBiNCbKT4EUQBAR8ECCCR4EREFgRk/qQwYUIEBw4wQBBI4GMDARFKZFCgYEGCAwIHEAgQoAIK + Dxq6GjCQAEBBgSJQyEVhwYBbiXhZQDhwAACKBRdG4p04EAAHBoIHwwSAWLFjgwEBADs= + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIwSURBVDhPpVLbSqJRGPVqruY9Zp7gf4F5jbkSEhFE @@ -180,7 +191,7 @@ AABJRU5ErkJggg== - + R0lGODlhEAAQAIZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4 Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKB @@ -195,7 +206,7 @@ FDQRoA+IDAJU0JjQWI2cDgY9DBigRMgWBj2WiJEDh2PBNiew7GDwIEYcjggL8hhDgAruiB1/CwwIADs= - + R0lGODlhEAAQAIQAANnq+K7T5HiUsMHb+v/vlOXs9IyzzHWs1/T5/1ZtjUlVa+z1/+3x9uTx/6a2ysng +FFhe0NLXIDG/fD4/ykxQz5FVf/41vr8/6TI3MvM0XHG/vbHQPn8//b8/4PL/f///yH/C05FVFNDQVBF @@ -205,7 +216,7 @@ BoA/JHjAoACDx5AfZ6DgNoFlCBAUKIgQoUIFCkMPih4dEAA7 - + R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF @@ -215,7 +226,7 @@ v3gHemD5QK4HtBMSEyRplOTBgAA7 - + R0lGODlhEAAQAIUkAHBwcMXFxaioqJqamtHR0XNzc6SkpJeXl6CgoNXV1ZiYmHd3d8fHx6Kioo2NjZub m6GhoX9/f4qKipSUlKenp5CQkJOTk6Ojo3t7e6WlpZ2dnX19fZ+fn4SEhHJycn5+foWFhZ6entra2v// @@ -235,7 +246,7 @@ OoWKdGiDBgEBADs= - + R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF diff --git a/Project/fSetting.Designer.cs b/Project/fSetting.Designer.cs index 87fdb5a..2706219 100644 --- a/Project/fSetting.Designer.cs +++ b/Project/fSetting.Designer.cs @@ -35,8 +35,6 @@ this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); - this.tabPage4 = new System.Windows.Forms.TabPage(); - this.chkLogIO = new System.Windows.Forms.CheckBox(); this.bsUser = new System.Windows.Forms.BindingSource(this.components); this.dataSet1 = new Project.DataSet1(); this.bsModel = new System.Windows.Forms.BindingSource(this.components); @@ -44,7 +42,6 @@ this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); - this.tabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsModel)).BeginInit(); @@ -87,7 +84,6 @@ // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; @@ -106,26 +102,6 @@ this.tabPage1.Text = "Main"; this.tabPage1.UseVisualStyleBackColor = true; // - // tabPage4 - // - this.tabPage4.Controls.Add(this.chkLogIO); - this.tabPage4.Location = new System.Drawing.Point(4, 29); - this.tabPage4.Name = "tabPage4"; - this.tabPage4.Size = new System.Drawing.Size(931, 442); - this.tabPage4.TabIndex = 3; - this.tabPage4.Text = "Log"; - this.tabPage4.UseVisualStyleBackColor = true; - // - // chkLogIO - // - this.chkLogIO.AutoSize = true; - this.chkLogIO.Location = new System.Drawing.Point(19, 17); - this.chkLogIO.Name = "chkLogIO"; - this.chkLogIO.Size = new System.Drawing.Size(164, 24); - this.chkLogIO.TabIndex = 0; - this.chkLogIO.Text = "Advantech I/O Data"; - this.chkLogIO.UseVisualStyleBackColor = true; - // // bsUser // this.bsUser.DataMember = "Users"; @@ -161,8 +137,6 @@ this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); - this.tabPage4.ResumeLayout(false); - this.tabPage4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsModel)).EndInit(); @@ -179,8 +153,6 @@ private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.BindingSource bsUser; private DataSet1 dataSet1; - private System.Windows.Forms.TabPage tabPage4; - private System.Windows.Forms.CheckBox chkLogIO; private System.Windows.Forms.BindingSource bsModel; private System.Windows.Forms.ToolTip toolTip1; } diff --git a/Project/fSetting.cs b/Project/fSetting.cs index e13346f..e794dd7 100644 --- a/Project/fSetting.cs +++ b/Project/fSetting.cs @@ -24,9 +24,6 @@ namespace Project }; this.MouseMove += (s1, e1) => { if (DateTime.Now > Pub.LastInputTime) Pub.LastInputTime = DateTime.Now; }; this.FormClosed += __Closed; - - - } private void __Closed(object sender, FormClosedEventArgs e) @@ -43,7 +40,7 @@ namespace Project //this.dataSet1.Merge(Pub.mdm.dataSet); this.dataSet1.AcceptChanges(); - this.chkLogIO.DataBindings.Add(new Binding("Checked", Pub.setting, "Log_IO", false, DataSourceUpdateMode.OnPropertyChanged)); + // this.chkLogIO.DataBindings.Add(new Binding("Checked", Pub.setting, "Log_IO", false, DataSourceUpdateMode.OnPropertyChanged)); } diff --git a/SubProject/FCM0000/DSInventory.Designer.cs b/SubProject/FCM0000/DSInventory.Designer.cs index 9fe5567..aff3105 100644 --- a/SubProject/FCM0000/DSInventory.Designer.cs +++ b/SubProject/FCM0000/DSInventory.Designer.cs @@ -2800,7 +2800,7 @@ SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.g [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, @@ -2819,12 +2819,24 @@ ORDER BY pdate DESC"; this._commandCollection[1].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[2] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate DESC"; + this._commandCollection[2].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, + wdate, item +FROM Inventory +WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (item = @item) +ORDER BY pdate DESC"; this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 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.Current, false, null, "", "", "")); this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate DESC"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; + 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[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("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2927,7 +2939,7 @@ ORDER BY pdate DESC"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] - public virtual int FillByUid(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, string uid) { + public virtual int FillByDateItem(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, global::System.Nullable item) { this.Adapter.SelectCommand = this.CommandCollection[2]; if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); @@ -2947,6 +2959,78 @@ ORDER BY pdate DESC"; else { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); } + if ((item.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DSInventory.InventoryDataTable GetByDateItem(string gcode, string sd, string ed, global::System.Nullable item) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); + } + if ((item.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] + public virtual int FillByUid(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); + } if ((uid == null)) { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } @@ -2965,7 +3049,7 @@ ORDER BY pdate DESC"; [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DSInventory.InventoryDataTable GetByUid(string gcode, string sd, string ed, string uid) { - this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand = this.CommandCollection[3]; if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); } diff --git a/SubProject/FCM0000/DSInventory.xsd b/SubProject/FCM0000/DSInventory.xsd index 2baf2d0..e305189 100644 --- a/SubProject/FCM0000/DSInventory.xsd +++ b/SubProject/FCM0000/DSInventory.xsd @@ -174,6 +174,23 @@ SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.g + + + + SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, + wdate, item +FROM Inventory +WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (item = @item) +ORDER BY pdate DESC + + + + + + + + + @@ -305,7 +322,7 @@ WHERE (idx = @Original_idx) - + @@ -396,7 +413,7 @@ WHERE (idx = @Original_idx) - + diff --git a/SubProject/FCM0000/DSReport.Designer.cs b/SubProject/FCM0000/DSReport.Designer.cs index 915e40d..49018cf 100644 --- a/SubProject/FCM0000/DSReport.Designer.cs +++ b/SubProject/FCM0000/DSReport.Designer.cs @@ -26,6 +26,10 @@ namespace FCM0000 { private PersonInvStockDataTable tablePersonInvStock; + private jagosummaryDataTable tablejagosummary; + + private jagosummaryPlaceDataTable tablejagosummaryPlace; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -57,6 +61,12 @@ namespace FCM0000 { if ((ds.Tables["PersonInvStock"] != null)) { base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"])); } + if ((ds.Tables["jagosummary"] != null)) { + base.Tables.Add(new jagosummaryDataTable(ds.Tables["jagosummary"])); + } + if ((ds.Tables["jagosummaryPlace"] != null)) { + base.Tables.Add(new jagosummaryPlaceDataTable(ds.Tables["jagosummaryPlace"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -85,6 +95,26 @@ namespace FCM0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public jagosummaryDataTable jagosummary { + get { + return this.tablejagosummary; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public jagosummaryPlaceDataTable jagosummaryPlace { + get { + return this.tablejagosummaryPlace; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -155,6 +185,12 @@ namespace FCM0000 { if ((ds.Tables["PersonInvStock"] != null)) { base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"])); } + if ((ds.Tables["jagosummary"] != null)) { + base.Tables.Add(new jagosummaryDataTable(ds.Tables["jagosummary"])); + } + if ((ds.Tables["jagosummaryPlace"] != null)) { + base.Tables.Add(new jagosummaryPlaceDataTable(ds.Tables["jagosummaryPlace"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -194,6 +230,18 @@ namespace FCM0000 { this.tablePersonInvStock.InitVars(); } } + this.tablejagosummary = ((jagosummaryDataTable)(base.Tables["jagosummary"])); + if ((initTable == true)) { + if ((this.tablejagosummary != null)) { + this.tablejagosummary.InitVars(); + } + } + this.tablejagosummaryPlace = ((jagosummaryPlaceDataTable)(base.Tables["jagosummaryPlace"])); + if ((initTable == true)) { + if ((this.tablejagosummaryPlace != null)) { + this.tablejagosummaryPlace.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -206,6 +254,10 @@ namespace FCM0000 { this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePersonInvStock = new PersonInvStockDataTable(); base.Tables.Add(this.tablePersonInvStock); + this.tablejagosummary = new jagosummaryDataTable(); + base.Tables.Add(this.tablejagosummary); + this.tablejagosummaryPlace = new jagosummaryPlaceDataTable(); + base.Tables.Add(this.tablejagosummaryPlace); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -214,6 +266,18 @@ namespace FCM0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializejagosummary() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializejagosummaryPlace() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -272,6 +336,12 @@ namespace FCM0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void PersonInvStockRowChangeEventHandler(object sender, PersonInvStockRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void jagosummaryRowChangeEventHandler(object sender, jagosummaryRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void jagosummaryPlaceRowChangeEventHandler(object sender, jagosummaryPlaceRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -583,6 +653,720 @@ namespace FCM0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class jagosummaryDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columnlastDate; + + private global::System.Data.DataColumn columnname; + + private global::System.Data.DataColumn columnsid; + + private global::System.Data.DataColumn columnmodel; + + private global::System.Data.DataColumn columnQty; + + private global::System.Data.DataColumn columnAmt; + + private global::System.Data.DataColumn columnsupply; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryDataTable() { + this.TableName = "jagosummary"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal jagosummaryDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected jagosummaryDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn lastDateColumn { + get { + return this.columnlastDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nameColumn { + get { + return this.columnname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn sidColumn { + get { + return this.columnsid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn modelColumn { + get { + return this.columnmodel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtyColumn { + get { + return this.columnQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AmtColumn { + get { + return this.columnAmt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn supplyColumn { + get { + return this.columnsupply; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryRow this[int index] { + get { + return ((jagosummaryRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryRowChangeEventHandler jagosummaryRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryRowChangeEventHandler jagosummaryRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryRowChangeEventHandler jagosummaryRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryRowChangeEventHandler jagosummaryRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddjagosummaryRow(jagosummaryRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryRow AddjagosummaryRow(string lastDate, string name, string sid, string model, int Qty, decimal Amt, string supply) { + jagosummaryRow rowjagosummaryRow = ((jagosummaryRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + lastDate, + name, + sid, + model, + Qty, + Amt, + supply}; + rowjagosummaryRow.ItemArray = columnValuesArray; + this.Rows.Add(rowjagosummaryRow); + return rowjagosummaryRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + jagosummaryDataTable cln = ((jagosummaryDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new jagosummaryDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columnlastDate = base.Columns["lastDate"]; + this.columnname = base.Columns["name"]; + this.columnsid = base.Columns["sid"]; + this.columnmodel = base.Columns["model"]; + this.columnQty = base.Columns["Qty"]; + this.columnAmt = base.Columns["Amt"]; + this.columnsupply = base.Columns["supply"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columnlastDate = new global::System.Data.DataColumn("lastDate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlastDate); + this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnname); + this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsid); + this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmodel); + this.columnQty = new global::System.Data.DataColumn("Qty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQty); + this.columnAmt = new global::System.Data.DataColumn("Amt", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAmt); + this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsupply); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, false)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columnlastDate.ReadOnly = true; + this.columnlastDate.MaxLength = 10; + this.columnname.MaxLength = 200; + this.columnsid.MaxLength = 50; + this.columnmodel.MaxLength = 200; + this.columnQty.ReadOnly = true; + this.columnAmt.ReadOnly = true; + this.columnsupply.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryRow NewjagosummaryRow() { + return ((jagosummaryRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new jagosummaryRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(jagosummaryRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.jagosummaryRowChanged != null)) { + this.jagosummaryRowChanged(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.jagosummaryRowChanging != null)) { + this.jagosummaryRowChanging(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.jagosummaryRowDeleted != null)) { + this.jagosummaryRowDeleted(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.jagosummaryRowDeleting != null)) { + this.jagosummaryRowDeleting(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemovejagosummaryRow(jagosummaryRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DSReport ds = new DSReport(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "jagosummaryDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class jagosummaryPlaceDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnplace; + + private global::System.Data.DataColumn columnlastDate; + + private global::System.Data.DataColumn columnname; + + private global::System.Data.DataColumn columnsid; + + private global::System.Data.DataColumn columnmodel; + + private global::System.Data.DataColumn columnQty; + + private global::System.Data.DataColumn columnAmt; + + private global::System.Data.DataColumn columnsupply; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceDataTable() { + this.TableName = "jagosummaryPlace"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal jagosummaryPlaceDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected jagosummaryPlaceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn placeColumn { + get { + return this.columnplace; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn lastDateColumn { + get { + return this.columnlastDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nameColumn { + get { + return this.columnname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn sidColumn { + get { + return this.columnsid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn modelColumn { + get { + return this.columnmodel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtyColumn { + get { + return this.columnQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AmtColumn { + get { + return this.columnAmt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn supplyColumn { + get { + return this.columnsupply; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceRow this[int index] { + get { + return ((jagosummaryPlaceRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddjagosummaryPlaceRow(jagosummaryPlaceRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceRow AddjagosummaryPlaceRow(string place, string lastDate, string name, string sid, string model, int Qty, decimal Amt, string supply) { + jagosummaryPlaceRow rowjagosummaryPlaceRow = ((jagosummaryPlaceRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + place, + lastDate, + name, + sid, + model, + Qty, + Amt, + supply}; + rowjagosummaryPlaceRow.ItemArray = columnValuesArray; + this.Rows.Add(rowjagosummaryPlaceRow); + return rowjagosummaryPlaceRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + jagosummaryPlaceDataTable cln = ((jagosummaryPlaceDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new jagosummaryPlaceDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnplace = base.Columns["place"]; + this.columnlastDate = base.Columns["lastDate"]; + this.columnname = base.Columns["name"]; + this.columnsid = base.Columns["sid"]; + this.columnmodel = base.Columns["model"]; + this.columnQty = base.Columns["Qty"]; + this.columnAmt = base.Columns["Amt"]; + this.columnsupply = base.Columns["supply"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnplace); + this.columnlastDate = new global::System.Data.DataColumn("lastDate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlastDate); + this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnname); + this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsid); + this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmodel); + this.columnQty = new global::System.Data.DataColumn("Qty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQty); + this.columnAmt = new global::System.Data.DataColumn("Amt", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAmt); + this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnsupply); + this.columnplace.MaxLength = 100; + this.columnlastDate.ReadOnly = true; + this.columnlastDate.MaxLength = 10; + this.columnname.MaxLength = 200; + this.columnsid.MaxLength = 50; + this.columnmodel.MaxLength = 200; + this.columnQty.ReadOnly = true; + this.columnAmt.ReadOnly = true; + this.columnsupply.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceRow NewjagosummaryPlaceRow() { + return ((jagosummaryPlaceRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new jagosummaryPlaceRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(jagosummaryPlaceRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.jagosummaryPlaceRowChanged != null)) { + this.jagosummaryPlaceRowChanged(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.jagosummaryPlaceRowChanging != null)) { + this.jagosummaryPlaceRowChanging(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.jagosummaryPlaceRowDeleted != null)) { + this.jagosummaryPlaceRowDeleted(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.jagosummaryPlaceRowDeleting != null)) { + this.jagosummaryPlaceRowDeleting(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemovejagosummaryPlaceRow(jagosummaryPlaceRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DSReport ds = new DSReport(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "jagosummaryPlaceDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -738,6 +1522,484 @@ namespace FCM0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class jagosummaryRow : global::System.Data.DataRow { + + private jagosummaryDataTable tablejagosummary; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal jagosummaryRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablejagosummary = ((jagosummaryDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idx { + get { + try { + return ((int)(this[this.tablejagosummary.idxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'idx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string lastDate { + get { + try { + return ((string)(this[this.tablejagosummary.lastDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'lastDate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.lastDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string name { + get { + try { + return ((string)(this[this.tablejagosummary.nameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'name\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.nameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string sid { + get { + try { + return ((string)(this[this.tablejagosummary.sidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.sidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string model { + get { + try { + return ((string)(this[this.tablejagosummary.modelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.modelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qty { + get { + try { + return ((int)(this[this.tablejagosummary.QtyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'Qty\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.QtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Amt { + get { + try { + return ((decimal)(this[this.tablejagosummary.AmtColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'Amt\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.AmtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string supply { + get { + try { + return ((string)(this[this.tablejagosummary.supplyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'supply\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummary.supplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxNull() { + return this.IsNull(this.tablejagosummary.idxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxNull() { + this[this.tablejagosummary.idxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslastDateNull() { + return this.IsNull(this.tablejagosummary.lastDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlastDateNull() { + this[this.tablejagosummary.lastDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnameNull() { + return this.IsNull(this.tablejagosummary.nameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnameNull() { + this[this.tablejagosummary.nameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssidNull() { + return this.IsNull(this.tablejagosummary.sidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsidNull() { + this[this.tablejagosummary.sidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmodelNull() { + return this.IsNull(this.tablejagosummary.modelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmodelNull() { + this[this.tablejagosummary.modelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtyNull() { + return this.IsNull(this.tablejagosummary.QtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtyNull() { + this[this.tablejagosummary.QtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsAmtNull() { + return this.IsNull(this.tablejagosummary.AmtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetAmtNull() { + this[this.tablejagosummary.AmtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssupplyNull() { + return this.IsNull(this.tablejagosummary.supplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsupplyNull() { + this[this.tablejagosummary.supplyColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class jagosummaryPlaceRow : global::System.Data.DataRow { + + private jagosummaryPlaceDataTable tablejagosummaryPlace; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal jagosummaryPlaceRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablejagosummaryPlace = ((jagosummaryPlaceDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string place { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.placeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string lastDate { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.lastDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'lastDate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.lastDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string name { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.nameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'name\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.nameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string sid { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.sidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.sidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string model { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.modelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'model\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.modelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qty { + get { + try { + return ((int)(this[this.tablejagosummaryPlace.QtyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'Qty\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.QtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Amt { + get { + try { + return ((decimal)(this[this.tablejagosummaryPlace.AmtColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'Amt\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.AmtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string supply { + get { + try { + return ((string)(this[this.tablejagosummaryPlace.supplyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'supply\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablejagosummaryPlace.supplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tablejagosummaryPlace.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetplaceNull() { + this[this.tablejagosummaryPlace.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslastDateNull() { + return this.IsNull(this.tablejagosummaryPlace.lastDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlastDateNull() { + this[this.tablejagosummaryPlace.lastDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnameNull() { + return this.IsNull(this.tablejagosummaryPlace.nameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnameNull() { + this[this.tablejagosummaryPlace.nameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssidNull() { + return this.IsNull(this.tablejagosummaryPlace.sidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsidNull() { + this[this.tablejagosummaryPlace.sidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsmodelNull() { + return this.IsNull(this.tablejagosummaryPlace.modelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetmodelNull() { + this[this.tablejagosummaryPlace.modelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtyNull() { + return this.IsNull(this.tablejagosummaryPlace.QtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtyNull() { + this[this.tablejagosummaryPlace.QtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsAmtNull() { + return this.IsNull(this.tablejagosummaryPlace.AmtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetAmtNull() { + this[this.tablejagosummaryPlace.AmtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IssupplyNull() { + return this.IsNull(this.tablejagosummaryPlace.supplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetsupplyNull() { + this[this.tablejagosummaryPlace.supplyColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -771,6 +2033,74 @@ namespace FCM0000 { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class jagosummaryRowChangeEvent : global::System.EventArgs { + + private jagosummaryRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryRowChangeEvent(jagosummaryRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class jagosummaryPlaceRowChangeEvent : global::System.EventArgs { + + private jagosummaryPlaceRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceRowChangeEvent(jagosummaryPlaceRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace FCM0000.DSReportTableAdapters { @@ -965,6 +2295,475 @@ ORDER BY username, project, ItemName"; } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class jagosummaryTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "jagosummary"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("lastDate", "lastDate"); + tableMapping.ColumnMappings.Add("name", "name"); + tableMapping.ColumnMappings.Add("sid", "sid"); + tableMapping.ColumnMappings.Add("model", "model"); + tableMapping.ColumnMappings.Add("Qty", "Qty"); + tableMapping.ColumnMappings.Add("Amt", "Amt"); + tableMapping.ColumnMappings.Add("supply", "supply"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT Items.idx, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) +GROUP BY Items.idx, Items.name, Items.sid, Items.model, Items.supply"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DSReport.jagosummaryDataTable dataTable, string gcode, string baseDate) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DSReport.jagosummaryDataTable GetData(string gcode, string baseDate) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + DSReport.jagosummaryDataTable dataTable = new DSReport.jagosummaryDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class jagosummaryPlaceTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public jagosummaryPlaceTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "jagosummaryPlace"; + tableMapping.ColumnMappings.Add("place", "place"); + tableMapping.ColumnMappings.Add("lastDate", "lastDate"); + tableMapping.ColumnMappings.Add("name", "name"); + tableMapping.ColumnMappings.Add("sid", "sid"); + tableMapping.ColumnMappings.Add("model", "model"); + tableMapping.ColumnMappings.Add("Qty", "Qty"); + tableMapping.ColumnMappings.Add("Amt", "Amt"); + tableMapping.ColumnMappings.Add("supply", "supply"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) +GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = @"SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) AND (Items.idx = @item) +GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DSReport.jagosummaryPlaceDataTable dataTable, string gcode, string baseDate) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DSReport.jagosummaryPlaceDataTable GetData(string gcode, string baseDate) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + DSReport.jagosummaryPlaceDataTable dataTable = new DSReport.jagosummaryPlaceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] + public virtual int FillByItemIdx(DSReport.jagosummaryPlaceDataTable dataTable, string gcode, string baseDate, int item) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(item)); + 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DSReport.jagosummaryPlaceDataTable GetbyItemIdx(string gcode, string baseDate, int item) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((baseDate == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate)); + } + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(item)); + DSReport.jagosummaryPlaceDataTable dataTable = new DSReport.jagosummaryPlaceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/SubProject/FCM0000/DSReport.xsd b/SubProject/FCM0000/DSReport.xsd index a61ecda..2fbbde1 100644 --- a/SubProject/FCM0000/DSReport.xsd +++ b/SubProject/FCM0000/DSReport.xsd @@ -34,6 +34,83 @@ ORDER BY username, project, ItemName + + + + + + SELECT Items.idx, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) +GROUP BY Items.idx, Items.name, Items.sid, Items.model, Items.supply + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) +GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place + + + + + + + + + + + + + + + + + + + + + + + SELECT Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply +FROM Inventory LEFT OUTER JOIN + Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx +WHERE (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) AND (Items.idx = @item) +GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place + + + + + + + + + + @@ -42,7 +119,7 @@ ORDER BY username, project, ItemName - + @@ -77,7 +154,105 @@ ORDER BY username, project, ItemName + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubProject/FCM0000/DSReport.xss b/SubProject/FCM0000/DSReport.xss index 122fe31..43a34d2 100644 --- a/SubProject/FCM0000/DSReport.xss +++ b/SubProject/FCM0000/DSReport.xss @@ -4,9 +4,11 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - + + + \ No newline at end of file diff --git a/SubProject/FCM0000/FCM0000.csproj b/SubProject/FCM0000/FCM0000.csproj index 75e26c4..32a4374 100644 --- a/SubProject/FCM0000/FCM0000.csproj +++ b/SubProject/FCM0000/FCM0000.csproj @@ -143,12 +143,24 @@ fCode.cs + + Form + + + fInventoryJagoList.cs + Form finventoryAdd.cs + + Form + + + fInventoryJagoPlace.cs + Form @@ -287,9 +299,16 @@ fCode.cs + + fInventoryJagoList.cs + finventoryAdd.cs + + fInventoryJagoPlace.cs + + fLovUser.cs diff --git a/SubProject/FCM0000/FPUtil.cs b/SubProject/FCM0000/FPUtil.cs index f142df5..cb37515 100644 --- a/SubProject/FCM0000/FPUtil.cs +++ b/SubProject/FCM0000/FPUtil.cs @@ -8,6 +8,27 @@ namespace FCM0000 { public static class FPUtil { + public static void printsheet(FarPoint.Win.Spread.FpSpread fpSpread1, string headerTitle) + { + FarPoint.Win.Spread.PrintInfo printset = fpSpread1.Sheets[0].PrintInfo; // new FarPoint.Win.Spread.PrintInfo(); + printset.Header = headerTitle; + printset.Footer = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); + printset.Orientation = FarPoint.Win.Spread.PrintOrientation.Auto; + // printset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File; + // printset.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append; + // printset.PrintToPdf = true; + printset.Preview = true; + printset.UseSmartPrint = true; + printset.BestFitCols = false; + printset.BestFitRows = false; + printset.BestFitWithSpan = true; + printset.Centering = FarPoint.Win.Spread.Centering.Horizontal; + printset.EnhancePreview = false; + // printset.PdfFileName = "C:\\\results.pdf"; + fpSpread1.Sheets[0].PrintInfo = printset; + fpSpread1.PrintSheet(0); + } + public static void ColsizeSave(FarPoint.Win.Spread.FpSpread dv, string fn) { arUtil.INIHelper ini = new arUtil.INIHelper(fn); diff --git a/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs b/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs index 8b91ab2..779221f 100644 --- a/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs +++ b/SubProject/FCM0000/Inventory/RepInvStock.Designer.cs @@ -30,14 +30,31 @@ { this.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); - this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); - this.dSReport = new FCM0000.DSReport(); this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new FCM0000.DSReportTableAdapters.PersonInvStockTableAdapter(); - ((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit(); + this.dSReport = new FCM0000.DSReport(); + this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); + this.panel1 = new System.Windows.Forms.Panel(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.btrefresh = new System.Windows.Forms.Button(); + this.tbDate = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.ta = new FCM0000.DSReportTableAdapters.jagosummaryTableAdapter(); + this.taPlace = new FCM0000.DSReportTableAdapters.jagosummaryPlaceTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dSReport)).BeginInit(); + this.panel1.SuspendLayout(); this.SuspendLayout(); // + // bs + // + this.bs.DataMember = "jagosummary"; + this.bs.DataSource = this.dSReport; + // + // dSReport + // + this.dSReport.DataSetName = "DSReport"; + this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; @@ -45,37 +62,83 @@ reportDataSource1.Value = this.bs; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc"; - this.reportViewer1.Location = new System.Drawing.Point(0, 0); + this.reportViewer1.Location = new System.Drawing.Point(0, 36); this.reportViewer1.Name = "reportViewer1"; - this.reportViewer1.Size = new System.Drawing.Size(660, 589); + this.reportViewer1.Size = new System.Drawing.Size(738, 501); this.reportViewer1.TabIndex = 0; // - // dSReport + // panel1 // - this.dSReport.DataSetName = "DSReport"; - this.dSReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + this.panel1.Controls.Add(this.checkBox1); + this.panel1.Controls.Add(this.btrefresh); + this.panel1.Controls.Add(this.tbDate); + this.panel1.Controls.Add(this.label1); + 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(738, 36); + this.panel1.TabIndex = 1; // - // bs + // checkBox1 // - this.bs.DataMember = "PersonInvStock"; - this.bs.DataSource = this.dSReport; + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(322, 11); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(88, 16); + this.checkBox1.TabIndex = 3; + this.checkBox1.Text = "보관소 분리"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // btrefresh + // + this.btrefresh.Location = new System.Drawing.Point(239, 8); + this.btrefresh.Name = "btrefresh"; + this.btrefresh.Size = new System.Drawing.Size(75, 21); + this.btrefresh.TabIndex = 2; + this.btrefresh.Text = "새로고침"; + this.btrefresh.UseVisualStyleBackColor = true; + this.btrefresh.Click += new System.EventHandler(this.btrefresh_Click); + // + // tbDate + // + this.tbDate.Location = new System.Drawing.Point(88, 8); + this.tbDate.Name = "tbDate"; + this.tbDate.Size = new System.Drawing.Size(143, 21); + this.tbDate.TabIndex = 1; + this.tbDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(69, 12); + this.label1.TabIndex = 0; + this.label1.Text = "재고 기준일"; // // ta // this.ta.ClearBeforeFill = true; // + // taPlace + // + this.taPlace.ClearBeforeFill = true; + // // RepInvStock // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(660, 589); + this.ClientSize = new System.Drawing.Size(738, 537); this.Controls.Add(this.reportViewer1); + this.Controls.Add(this.panel1); this.Name = "RepInvStock"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "RepInvStock"; + this.Text = "[FCM0000] 재고장"; this.Load += new System.EventHandler(this.RepInvStock_Load); - ((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dSReport)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); this.ResumeLayout(false); } @@ -85,6 +148,12 @@ private Microsoft.Reporting.WinForms.ReportViewer reportViewer1; private System.Windows.Forms.BindingSource bs; private DSReport dSReport; - private DSReportTableAdapters.PersonInvStockTableAdapter ta; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox tbDate; + private System.Windows.Forms.Button btrefresh; + private DSReportTableAdapters.jagosummaryTableAdapter ta; + private System.Windows.Forms.CheckBox checkBox1; + private DSReportTableAdapters.jagosummaryPlaceTableAdapter taPlace; } } \ No newline at end of file diff --git a/SubProject/FCM0000/Inventory/RepInvStock.cs b/SubProject/FCM0000/Inventory/RepInvStock.cs index a4b4ea8..bc1b707 100644 --- a/SubProject/FCM0000/Inventory/RepInvStock.cs +++ b/SubProject/FCM0000/Inventory/RepInvStock.cs @@ -11,24 +11,61 @@ namespace FCM0000.Inventory { public partial class RepInvStock : Form { - string userid = string.Empty; - public RepInvStock(string uid) + public RepInvStock() { InitializeComponent(); - this.userid = uid; } private void RepInvStock_Load(object sender, EventArgs e) + { + this.Show(); + Application.DoEvents(); + + this.tbDate.Text = DateTime.Now.ToShortDateString(); + this.reportViewer1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual; + this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth; + refreshData(); + } + void refreshData() { try { - this.ta.Fill(this.dSReport.PersonInvStock, this.userid); + if (checkBox1.Checked == false) + this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStock.rdlc"; + else + this.reportViewer1.LocalReport.ReportEmbeddedResource = "FCM0000.Inventory.RepInvStockPlace.rdlc"; + + var plist = new List(); + plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("pdate", this.tbDate.Text)); + plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("gname", FCOMMON.info.Login.dept)); + plist.Add(new Microsoft.Reporting.WinForms.ReportParameter("gcode", FCOMMON.info.Login.gcode)); + this.reportViewer1.LocalReport.SetParameters(plist); + + if (checkBox1.Checked) + { + this.bs.DataMember = "jagosummaryPlace"; + this.taPlace.Fill(this.dSReport.jagosummaryPlace, FCOMMON.info.Login.gcode, tbDate.Text); + } + else + { + this.bs.DataMember = "jagosummary"; + this.ta.Fill(this.dSReport.jagosummary, FCOMMON.info.Login.gcode, tbDate.Text); + } + + + + this.reportViewer1.RefreshReport(); - }catch (Exception ex) + } + catch (Exception ex) { FCOMMON.Util.MsgE(ex.Message); } - + } + + private void btrefresh_Click(object sender, EventArgs e) + { + refreshData(); } } } diff --git a/SubProject/FCM0000/Inventory/RepInvStock.rdlc b/SubProject/FCM0000/Inventory/RepInvStock.rdlc index c7e5a15..db71124 100644 --- a/SubProject/FCM0000/Inventory/RepInvStock.rdlc +++ b/SubProject/FCM0000/Inventory/RepInvStock.rdlc @@ -2,23 +2,140 @@ - + - 3.135cm + 4.1784cm - 5.58208cm + 3.05765cm - 2.5cm + 2.38125cm + + + 1.65333cm + + + 2.94979cm + + + 2.21985cm - 1.50896cm + 0.6cm + + + + true + true + + + + + 품명 + + + + + + + Textbox21 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 모델 + + + + + + + Textbox23 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SID + + + + + + + Textbox25 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + @@ -28,10 +145,9 @@ - + 수량 @@ -45,46 +161,9 @@ + - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - - - - - - - - Textbox28 - - - Middle + LightGrey 2pt 2pt 2pt @@ -102,10 +181,9 @@ - + 금액 @@ -119,9 +197,45 @@ + - Middle + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 비고 + + + + + + + Textbox31 + + + LightGrey 2pt 2pt 2pt @@ -137,154 +251,28 @@ - + true true - Date - + =Fields!name.Value + - Textbox2 + name1 - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - Item - - - - - - - Textbox3 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - true - true - - - - - Stock - - - - - - - Textbox5 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - 0.6cm - - - - - true - true - - - - - =Fields!pdate.Value - - - - - - - pdate - - - Middle 2pt 2pt 2pt @@ -295,30 +283,28 @@ - + true true - =Fields!ItemName.Value - + =Fields!model.Value + - ItemName + model1 - Middle 2pt 2pt 2pt @@ -329,18 +315,15 @@ - + true true - =Sum(Fields!stock.Value) - + =Fields!sid.Value + - stock + sid1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Qty.Value + + + + + + + Qty1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Amt.Value + + + + + + + Amt1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + Textbox32 - Middle 2pt 2pt 2pt @@ -372,180 +454,229 @@ + + + - - 5.43688cm - - - true - true - - - - - =first(Fields!username.Value) - - - - - - - Textbox26 - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - + After - - 5.43688cm - - - true - true - - - - - Project - - - - - - - Textbox7 - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - true - - - - - - - - - - =Fields!username.Value - - - - - =Fields!username.Value - - - - - - - =Fields!project.Value - - - - - =Fields!project.Value - - - - 5.43688cm - - - true - true - - - - - =Fields!project.Value - - - - - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - + DataSet1 - 2.70896cm - 16.65396cm + 0.15558cm + 1.2cm + 16.44028cm - Middle - 1.06652in + 0.53369in + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + 품목 재고장 + + + + + + + Textbox1 + 0.32855cm + 0.15875cm + 1.46921cm + 16.28153cm + 1 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!gname.Value + + + + + + + Textbox1 + 2.06587cm + 10.54303cm + 0.33161cm + 5.89725cm + 2 + + + Middle + + + + true + true + + + + + =Globals!ExecutionTime + + + + + + + Textbox1 + 1.64253cm + 10.54303cm + 0.33161cm + 5.89725cm + 3 + + + Bottom + + + + + + + + + 0.53121cm + true + true + + + true + true + + + + + =Globals!PageNumber & "/" & Globals!TotalPages + + + + + + + Textbox1 + 5.43688cm + 0.49946cm + 5.83375cm + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + 29.7cm 21cm 2cm @@ -572,37 +703,69 @@ /* Local Query */ - - username - System.String - - - project - System.String - - - pdate - System.String - - - ItemName - System.String - - - stock + + idx System.Int32 + + lastDate + System.String + + + name + System.String + + + sid + System.String + + + model + System.String + + + Qty + System.Int32 + + + Amt + System.Decimal + + + supply + System.String + DSReport - D:\Source\GroupWare\EET_GroupWare_181019_1000\SubProject\FCM0000\DSReport.xsd - PersonInvStock + D:\Source\(014) GroupWare\Source\SubProject\FCM0000\DSReport.xsd + jagosummary Fill GetData - PersonInvStockTableAdapter + jagosummaryTableAdapter + + + String + true + true + ReportParameter1 + + + String + true + true + ReportParameter1 + + + String + true + true + ReportParameter1 + + Cm 25afdef5-d3f4-4e4f-b983-915ee13c2383 \ No newline at end of file diff --git a/SubProject/FCM0000/Inventory/RepInvStock.resx b/SubProject/FCM0000/Inventory/RepInvStock.resx index 19bc336..a43665a 100644 --- a/SubProject/FCM0000/Inventory/RepInvStock.resx +++ b/SubProject/FCM0000/Inventory/RepInvStock.resx @@ -118,12 +118,15 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 120, 17 + 104, 17 17, 17 - 184, 17 + 167, 17 + + + 229, 17 \ No newline at end of file diff --git a/SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc b/SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc new file mode 100644 index 0000000..7b5fc0b --- /dev/null +++ b/SubProject/FCM0000/Inventory/RepInvStockPlace.rdlc @@ -0,0 +1,996 @@ + + + + + + + + + 4.1784cm + + + 3.05765cm + + + 2.38125cm + + + 1.65333cm + + + 1.65333cm + + + 2.94979cm + + + + + 0.6cm + + + + + true + true + + + + + 품명 + + + + + + + Textbox21 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 모델 + + + + + + + Textbox23 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SID + + + + + + + Textbox25 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + place + + + + + + + Textbox5 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 수량 + + + + + + + Textbox27 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 금액 + + + + + + + Textbox29 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + =Fields!name.Value + + + + name1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!model.Value + + + + model1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!sid.Value + + + + sid1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 소계 + + + + Textbox7 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!Qty.Value) + + + + + + + Qty1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!Amt.Value) + + + + + + + Amt + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + + + + + Textbox9 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + Textbox11 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + Textbox12 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!place.Value + + + + place1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!Qty.Value) + + + + + + + Qty + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Sum(Fields!Qty.Value) + + + + + + + Qty2 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + + + =Fields!name.Value + =Fields!model.Value + =Fields!sid.Value + + + + + + + + + + =Fields!place.Value + + + + + =Fields!place.Value + + + + + + + + + + DataSet1 + 0.15558cm + 1.8cm + 15.87375cm + + + + + + 0.76991in + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + 품목 재고장 + + + + + + + Textbox1 + 0.32855cm + 0.15875cm + 1.46921cm + 16.28153cm + 1 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!gname.Value + + + + + + + Textbox1 + 2.06587cm + 10.54303cm + 0.33161cm + 5.89725cm + 2 + + + Middle + + + + true + true + + + + + =Globals!ExecutionTime + + + + + + + Textbox1 + 1.64253cm + 10.54303cm + 0.33161cm + 5.89725cm + 3 + + + Bottom + + + + + + + + + 0.68996cm + true + true + + + true + true + + + + + =Globals!PageNumber & "/" & Globals!TotalPages + + + + + + + Textbox1 + 0.12699cm + 5.43688cm + 0.49946cm + 5.83375cm + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + 29.7cm + 21cm + 2cm + 2cm + 2cm + 2cm + 0.13cm +