This commit is contained in:
chi
2023-10-19 12:37:49 +09:00
parent 2f66e3cca1
commit aaa794ea97
58 changed files with 1264 additions and 654 deletions

View File

@@ -31,6 +31,7 @@
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.label4 = new System.Windows.Forms.Label();
this.cmbDept = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
@@ -40,7 +41,6 @@
this.tbPW = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.btLogin = new System.Windows.Forms.Button();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
@@ -74,6 +74,18 @@
this.panel1.Size = new System.Drawing.Size(888, 415);
this.panel1.TabIndex = 0;
//
// linkLabel1
//
this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(806, 334);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(70, 23);
this.linkLabel1.TabIndex = 11;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "신규가입";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// label4
//
this.label4.AutoSize = true;
@@ -111,6 +123,7 @@
//
this.tbID.Font = new System.Drawing.Font("Calibri", 20.25F);
this.tbID.FormattingEnabled = true;
this.tbID.ImeMode = System.Windows.Forms.ImeMode.Alpha;
this.tbID.Location = new System.Drawing.Point(16, 213);
this.tbID.Name = "tbID";
this.tbID.Size = new System.Drawing.Size(860, 41);
@@ -141,6 +154,7 @@
// tbPW
//
this.tbPW.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbPW.ImeMode = System.Windows.Forms.ImeMode.Alpha;
this.tbPW.Location = new System.Drawing.Point(16, 287);
this.tbPW.Name = "tbPW";
this.tbPW.PasswordChar = '●';
@@ -170,18 +184,6 @@
this.btLogin.UseVisualStyleBackColor = true;
this.btLogin.Click += new System.EventHandler(this.button1_Click);
//
// linkLabel1
//
this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(806, 334);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(70, 23);
this.linkLabel1.TabIndex = 11;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "신규가입";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// fLogin
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("23.10.19.0042")]
[assembly: AssemblyFileVersion("23.10.19.0042")]
[assembly: AssemblyVersion("23.10.19.1230")]
[assembly: AssemblyFileVersion("23.10.19.1230")]

View File

@@ -20,22 +20,22 @@ namespace FCOMMON
public static partial class Util
{
#region "flag"
//public static Boolean getBit(ref Int32 flag_, int idx)
//{
// return getBit(ref (UInt32)flag_, idx);
//}
public static Boolean getBit( Int32 flag_, int idx)
public static Boolean getBit(Int32 flag_, int idx)
{
var offset = (UInt32)(1 << (int)idx);
return ((flag_ & offset) != 0);
}
public static void toggleBit(ref Int32 flag_, int idx)
{
var curValue = getBit( flag_, idx);
var curValue = getBit(flag_, idx);
setBit(ref flag_, idx, !curValue);
}
// public static void setBit(ref Int32 flag_, int idx, Boolean value)
@@ -61,8 +61,68 @@ namespace FCOMMON
#endregion
public static string Number2Hangle(long lngNumber)
{
string[] NumberChar = new string[] { "", "일", "이", "삼"
, "사", "오", "육"
, "칠", "팔", "구" };
string[] LevelChar = new string[] { "", "십", "백", "천" };
string[] DecimalChar = new string[] { "", "만", "억", "조", "경" };
string strMinus = string.Empty;
if (lngNumber < 0)
{
strMinus = "마이너스";
lngNumber *= -1;
}
string strValue = string.Format("{0}", lngNumber);
string NumToKorea = string.Empty;
bool UseDecimal = false;
if (lngNumber == 0) return "영";
for (int i = 0; i < strValue.Length; i++)
{
int Level = strValue.Length - i;
if (strValue.Substring(i, 1) != "0")
{
UseDecimal = true;
if (((Level - 1) % 4) == 0)
{
if (DecimalChar[(Level - 1) / 4] != string.Empty
&& strValue.Substring(i, 1) == "1")
NumToKorea = NumToKorea + DecimalChar[(Level - 1) / 4];
else
NumToKorea = NumToKorea
+ NumberChar[int.Parse(strValue.Substring(i, 1))]
+ DecimalChar[(Level - 1) / 4];
UseDecimal = false;
}
else
{
if (strValue.Substring(i, 1) == "1")
NumToKorea = NumToKorea
+ LevelChar[(Level - 1) % 4];
else
NumToKorea = NumToKorea
+ NumberChar[int.Parse(strValue.Substring(i, 1))]
+ LevelChar[(Level - 1) % 4];
}
}
else
{
if ((Level % 4 == 0) && UseDecimal)
{
NumToKorea = NumToKorea + DecimalChar[Level / 4];
UseDecimal = false;
}
}
}
return strMinus + NumToKorea;
}
public static bool IsNumeric(string input)
@@ -281,12 +341,12 @@ namespace FCOMMON
m = string.Format(m, args);
MessageBox.Show(m, "확인", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
public static void MsgE(string m,params string[] args)
public static void MsgE(string m, params string[] args)
{
m = string.Format(m, args);
MessageBox.Show(m, "오류", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
public static DialogResult MsgQ(string m,params string[] args)
public static DialogResult MsgQ(string m, params string[] args)
{
m = string.Format(m, args);
DialogResult dlg = MessageBox.Show(m, "확인", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

View File

@@ -33,6 +33,8 @@ namespace FCOMMON
this.radM = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
this.label16 = new System.Windows.Forms.Label();
this.nudSFIOffice = new System.Windows.Forms.NumericUpDown();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.nudOsavetime = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
@@ -40,8 +42,10 @@ namespace FCOMMON
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.label15 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.numericUpDown10 = new System.Windows.Forms.NumericUpDown();
this.nudShiftCnt = new System.Windows.Forms.NumericUpDown();
this.label11 = new System.Windows.Forms.Label();
this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
this.nudMSaveCnt = new System.Windows.Forms.NumericUpDown();
@@ -49,7 +53,7 @@ namespace FCOMMON
this.nudMsavetime = new System.Windows.Forms.NumericUpDown();
this.label13 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
this.nudSFIMFG = new System.Windows.Forms.NumericUpDown();
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
this.label5 = new System.Windows.Forms.Label();
@@ -57,18 +61,24 @@ namespace FCOMMON
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label14 = new System.Windows.Forms.Label();
this.nudCnt = new System.Windows.Forms.NumericUpDown();
this.label17 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudSFIOffice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).BeginInit();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudShiftCnt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudSFIMFG)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudCnt)).BeginInit();
this.SuspendLayout();
//
// radO
@@ -91,9 +101,9 @@ namespace FCOMMON
this.radM.Location = new System.Drawing.Point(21, 200);
this.radM.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.radM.Name = "radM";
this.radM.Size = new System.Drawing.Size(155, 41);
this.radM.Size = new System.Drawing.Size(258, 41);
this.radM.TabIndex = 0;
this.radM.Text = "MFG 인원";
this.radM.Text = "MFG 인원(단위:분)";
this.radM.UseVisualStyleBackColor = true;
this.radM.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
//
@@ -101,6 +111,8 @@ namespace FCOMMON
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel1.Controls.Add(this.numericUpDown3);
this.panel1.Controls.Add(this.label16);
this.panel1.Controls.Add(this.nudSFIOffice);
this.panel1.Controls.Add(this.numericUpDown2);
this.panel1.Controls.Add(this.nudOsavetime);
this.panel1.Controls.Add(this.label3);
@@ -114,20 +126,45 @@ namespace FCOMMON
//
// numericUpDown3
//
this.numericUpDown3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown3.DecimalPlaces = 2;
this.numericUpDown3.Location = new System.Drawing.Point(233, 58);
this.numericUpDown3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown3.Location = new System.Drawing.Point(515, 57);
this.numericUpDown3.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown3.Name = "numericUpDown3";
this.numericUpDown3.Size = new System.Drawing.Size(161, 43);
this.numericUpDown3.TabIndex = 5;
this.numericUpDown3.Tag = "o";
this.numericUpDown3.Size = new System.Drawing.Size(147, 43);
this.numericUpDown3.TabIndex = 18;
this.numericUpDown3.Tag = "";
this.numericUpDown3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label16
//
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(400, 60);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(109, 37);
this.label16.TabIndex = 17;
this.label16.Text = "Indirect";
//
// nudSFIOffice
//
this.nudSFIOffice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.nudSFIOffice.DecimalPlaces = 2;
this.nudSFIOffice.Location = new System.Drawing.Point(233, 58);
this.nudSFIOffice.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudSFIOffice.Name = "nudSFIOffice";
this.nudSFIOffice.Size = new System.Drawing.Size(161, 43);
this.nudSFIOffice.TabIndex = 5;
this.nudSFIOffice.Tag = "o";
this.nudSFIOffice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudSFIOffice.ValueChanged += new System.EventHandler(this.nudSIFOffice_ValueChanged);
//
// numericUpDown2
//
this.numericUpDown2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
@@ -209,8 +246,11 @@ namespace FCOMMON
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel2.Controls.Add(this.label17);
this.panel2.Controls.Add(this.numericUpDown1);
this.panel2.Controls.Add(this.label15);
this.panel2.Controls.Add(this.label12);
this.panel2.Controls.Add(this.numericUpDown10);
this.panel2.Controls.Add(this.nudShiftCnt);
this.panel2.Controls.Add(this.label11);
this.panel2.Controls.Add(this.numericUpDown9);
this.panel2.Controls.Add(this.nudMSaveCnt);
@@ -218,7 +258,7 @@ namespace FCOMMON
this.panel2.Controls.Add(this.nudMsavetime);
this.panel2.Controls.Add(this.label13);
this.panel2.Controls.Add(this.label9);
this.panel2.Controls.Add(this.numericUpDown4);
this.panel2.Controls.Add(this.nudSFIMFG);
this.panel2.Controls.Add(this.numericUpDown5);
this.panel2.Controls.Add(this.numericUpDown6);
this.panel2.Controls.Add(this.label5);
@@ -231,39 +271,64 @@ namespace FCOMMON
this.panel2.Size = new System.Drawing.Size(720, 223);
this.panel2.TabIndex = 2;
//
// numericUpDown1
//
this.numericUpDown1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown1.Location = new System.Drawing.Point(515, 169);
this.numericUpDown1.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(147, 43);
this.numericUpDown1.TabIndex = 16;
this.numericUpDown1.Tag = "";
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label15
//
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(400, 172);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(109, 37);
this.label15.TabIndex = 15;
this.label15.Text = "Indirect";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(597, 67);
this.label12.Location = new System.Drawing.Point(588, 67);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(73, 37);
this.label12.TabIndex = 14;
this.label12.Text = "Shift";
//
// numericUpDown10
// nudShiftCnt
//
this.numericUpDown10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.numericUpDown10.Location = new System.Drawing.Point(529, 64);
this.numericUpDown10.Maximum = new decimal(new int[] {
this.nudShiftCnt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.nudShiftCnt.Location = new System.Drawing.Point(520, 64);
this.nudShiftCnt.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown10.Name = "numericUpDown10";
this.numericUpDown10.Size = new System.Drawing.Size(62, 43);
this.numericUpDown10.TabIndex = 13;
this.numericUpDown10.Tag = "m";
this.numericUpDown10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown10.Value = new decimal(new int[] {
this.nudShiftCnt.Name = "nudShiftCnt";
this.nudShiftCnt.Size = new System.Drawing.Size(62, 43);
this.nudShiftCnt.TabIndex = 13;
this.nudShiftCnt.Tag = "m";
this.nudShiftCnt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudShiftCnt.Value = new decimal(new int[] {
4,
0,
0,
0});
this.nudShiftCnt.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(496, 67);
this.label11.Location = new System.Drawing.Point(487, 67);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(30, 37);
this.label11.TabIndex = 12;
@@ -274,7 +339,7 @@ namespace FCOMMON
this.numericUpDown9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown9.DecimalPlaces = 2;
this.numericUpDown9.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.numericUpDown9.Location = new System.Drawing.Point(317, 64);
this.numericUpDown9.Location = new System.Drawing.Point(264, 65);
this.numericUpDown9.Maximum = new decimal(new int[] {
999999999,
0,
@@ -336,9 +401,9 @@ namespace FCOMMON
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(8, 67);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(313, 37);
this.label13.Size = new System.Drawing.Size(250, 37);
this.label13.TabIndex = 6;
this.label13.Text = "1 Shift 당 개선절감 횟수";
this.label13.Text = "1 Shift 당 개선절감";
//
// label9
//
@@ -349,21 +414,22 @@ namespace FCOMMON
this.label9.TabIndex = 6;
this.label9.Text = "1회 당 절감시간";
//
// numericUpDown4
// nudSFIMFG
//
this.numericUpDown4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.numericUpDown4.DecimalPlaces = 2;
this.numericUpDown4.Location = new System.Drawing.Point(233, 169);
this.numericUpDown4.Maximum = new decimal(new int[] {
this.nudSFIMFG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.nudSFIMFG.DecimalPlaces = 2;
this.nudSFIMFG.Location = new System.Drawing.Point(233, 169);
this.nudSFIMFG.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.numericUpDown4.Name = "numericUpDown4";
this.numericUpDown4.Size = new System.Drawing.Size(429, 43);
this.numericUpDown4.TabIndex = 5;
this.numericUpDown4.Tag = "m";
this.numericUpDown4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudSFIMFG.Name = "nudSFIMFG";
this.nudSFIMFG.Size = new System.Drawing.Size(161, 43);
this.nudSFIMFG.TabIndex = 5;
this.nudSFIMFG.Tag = "m";
this.nudSFIMFG.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudSFIMFG.ValueChanged += new System.EventHandler(this.numericUpDown4_ValueChanged);
//
// numericUpDown5
//
@@ -444,7 +510,7 @@ namespace FCOMMON
//
// button1
//
this.button1.Location = new System.Drawing.Point(43, 487);
this.button1.Location = new System.Drawing.Point(43, 483);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(720, 55);
this.button1.TabIndex = 3;
@@ -452,11 +518,52 @@ namespace FCOMMON
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(510, 20);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(125, 37);
this.label14.TabIndex = 8;
this.label14.Text = "적용대수";
//
// nudCnt
//
this.nudCnt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.nudCnt.Location = new System.Drawing.Point(641, 16);
this.nudCnt.Maximum = new decimal(new int[] {
999999999,
0,
0,
0});
this.nudCnt.Name = "nudCnt";
this.nudCnt.Size = new System.Drawing.Size(121, 43);
this.nudCnt.TabIndex = 6;
this.nudCnt.Tag = "";
this.nudCnt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudCnt.Value = new decimal(new int[] {
1,
0,
0,
0});
this.nudCnt.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label17
//
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(435, 70);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(44, 37);
this.label17.TabIndex = 17;
this.label17.Text = "분";
//
// fSFI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(15F, 37F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(774, 553);
this.ClientSize = new System.Drawing.Size(774, 545);
this.Controls.Add(this.nudCnt);
this.Controls.Add(this.label14);
this.Controls.Add(this.button1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
@@ -467,20 +574,24 @@ namespace FCOMMON
this.Name = "fSFI";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fSFI";
this.Load += new System.EventHandler(this.fSFI_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudSFIOffice)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudOsavetime)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudShiftCnt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMSaveCnt)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMsavetime)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudSFIMFG)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudCnt)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -493,9 +604,9 @@ namespace FCOMMON
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.NumericUpDown nudSFIOffice;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.NumericUpDown numericUpDown4;
private System.Windows.Forms.NumericUpDown nudSFIMFG;
private System.Windows.Forms.NumericUpDown numericUpDown5;
private System.Windows.Forms.NumericUpDown numericUpDown6;
private System.Windows.Forms.Label label5;
@@ -505,7 +616,7 @@ namespace FCOMMON
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.NumericUpDown numericUpDown9;
private System.Windows.Forms.NumericUpDown numericUpDown10;
private System.Windows.Forms.NumericUpDown nudShiftCnt;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
@@ -515,5 +626,12 @@ namespace FCOMMON
public System.Windows.Forms.NumericUpDown nudOsavetime;
public System.Windows.Forms.NumericUpDown nudMSaveCnt;
public System.Windows.Forms.NumericUpDown nudMsavetime;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.NumericUpDown nudCnt;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
}
}

View File

@@ -4,6 +4,7 @@ using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -12,7 +13,7 @@ namespace FCOMMON
{
public partial class fSFI : Form
{
public fSFI(string sfi_type, float time, float cnt)
public fSFI(string sfi_type, float time, float cnt, double shiftcount, int itemcnt)
{
InitializeComponent();
if (sfi_type == "M")
@@ -23,10 +24,12 @@ namespace FCOMMON
else
{
radO.Checked = true;
nudOsavetime.Value= (decimal)time;
nudOsavetime.Value = (decimal)time;
}
nudMSaveCnt.Value = (decimal)cnt;
nudShiftCnt.Value = (decimal)shiftcount;
this.nudCnt.Value = (decimal)itemcnt;
}
private void label1_Click(object sender, EventArgs e)
@@ -46,7 +49,7 @@ namespace FCOMMON
var nud = sender as NumericUpDown;
if (nud.Tag.ToString().ToLower() == "o")
{
updateOFF();
UpdateOffice();
}
else
{
@@ -58,36 +61,60 @@ namespace FCOMMON
var nud = sender as NumericUpDown;
//mfg의 총 절감 시간이 변경되었다
var = (double)nud.Value;
var sfi = / (int)numericUpDown5.Value;
numericUpDown4.Value = (Decimal)sfi;
var sfi = / (float)numericUpDown5.Value;
nudSFIMFG.Value = (Decimal)sfi;
}
public double Value { get; set; } = 0;
void updateMFG()
{
var = (double)nudMsavetime.Value;
var SHIFT수 = (int)nudMSaveCnt.Value;
var SHIFT수 = (float)nudMSaveCnt.Value;
var shift총수 = (double)( * SHIFT수);
numericUpDown9.Value = (decimal)shift총수; //1쉬프트 개선절감횟수
var = (int)numericUpDown10.Value;
numericUpDown6.Value = (decimal)(shift총수 * );
if (numericUpDown9.Value != (decimal)shift총수)
numericUpDown9.Value = (decimal)shift총수; //1쉬프트 개선절감횟수
var = (int)nudShiftCnt.Value;
var = (int)nudCnt.Value;
numericUpDown6.Value = (decimal)(shift총수 * * );
}
void updateOFF()
void UpdateOffice()
{
var savetime = (double)nudOsavetime.Value;
var min = (int)numericUpDown2.Value;
var sfi = savetime / min;
numericUpDown3.Value = (decimal)sfi;
var cnt = (int)nudCnt.Value;
nudSFIOffice.Value = (decimal)(sfi * cnt);
}
private void button1_Click(object sender, EventArgs e)
{
this.Invalidate();
if (radO.Checked)
this.Value = (double)numericUpDown3.Value;
this.Value = (double)nudSFIOffice.Value;
else
this.Value = (double)numericUpDown4.Value;
this.Value = (double)nudSFIMFG.Value;
DialogResult = DialogResult.OK;
}
private void fSFI_Load(object sender, EventArgs e)
{
nudMSaveCnt.DecimalPlaces = 1;
}
private void nudSIFOffice_ValueChanged(object sender, EventArgs e)
{
//offcie update
var sfi = (double)nudSFIOffice.Value;
numericUpDown3.Value = (decimal)(sfi * 1.25);
}
private void numericUpDown4_ValueChanged(object sender, EventArgs e)
{
//mfg update
var sfi = (double)nudSFIMFG.Value;
numericUpDown1.Value = (decimal)(sfi * 1.25);
}
}
}

View File

@@ -223,10 +223,10 @@
<Compile Include="PurchaseEB\rPurchaseEB.Designer.cs">
<DependentUpon>rPurchaseEB.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNR_Ipgo.cs">
<Compile Include="PurchaseNR\fPurchaseNR_Ipgo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseNR_Ipgo.Designer.cs">
<Compile Include="PurchaseNR\fPurchaseNR_Ipgo.Designer.cs">
<DependentUpon>fPurchaseNR_Ipgo.cs</DependentUpon>
</Compile>
<Compile Include="PurchaseCR\fPurchaseCR_Ipgo.cs">
@@ -235,22 +235,22 @@
<Compile Include="PurchaseCR\fPurchaseCR_Ipgo.Designer.cs">
<DependentUpon>fPurchaseCR_Ipgo.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNRList.cs">
<Compile Include="PurchaseNR\fPurchaseNRList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseNRList.Designer.cs">
<Compile Include="PurchaseNR\fPurchaseNRList.Designer.cs">
<DependentUpon>fPurchaseNRList.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fInputSC.cs">
<Compile Include="PurchaseNR\fInputSC.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fInputSC.Designer.cs">
<Compile Include="PurchaseNR\fInputSC.Designer.cs">
<DependentUpon>fInputSC.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fMailForm.cs">
<Compile Include="PurchaseNR\fMailForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fMailForm.Designer.cs">
<Compile Include="PurchaseNR\fMailForm.Designer.cs">
<DependentUpon>fMailForm.cs</DependentUpon>
</Compile>
<Compile Include="PurchaseCR\fPurchaseCR_Add.cs">
@@ -259,46 +259,46 @@
<Compile Include="PurchaseCR\fPurchaseCR_Add.Designer.cs">
<DependentUpon>fPurchaseCR_Add.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_excelimport.cs">
<Compile Include="PurchaseNR\fPurchase_excelimport.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_excelimport.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_excelimport.Designer.cs">
<DependentUpon>fPurchase_excelimport.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_AddS.cs">
<Compile Include="PurchaseNR\fPurchase_AddS.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_AddS.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_AddS.Designer.cs">
<DependentUpon>fPurchase_AddS.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_Add.cs">
<Compile Include="PurchaseNR\fPurchase_Add.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_Add.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_Add.Designer.cs">
<DependentUpon>fPurchase_Add.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_Data.cs">
<Compile Include="PurchaseNR\fPurchase_Data.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_Data.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_Data.Designer.cs">
<DependentUpon>fPurchase_Data.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_ImportO.cs">
<Compile Include="PurchaseNR\fPurchase_ImportO.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_ImportO.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_ImportO.Designer.cs">
<DependentUpon>fPurchase_ImportO.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchase_Import.cs">
<Compile Include="PurchaseNR\fPurchase_Import.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchase_Import.Designer.cs">
<Compile Include="PurchaseNR\fPurchase_Import.Designer.cs">
<DependentUpon>fPurchase_Import.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNR.cs">
<Compile Include="PurchaseNR\fPurchaseNR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fPurchaseNR.Designer.cs">
<Compile Include="PurchaseNR\fPurchaseNR.Designer.cs">
<DependentUpon>fPurchaseNR.cs</DependentUpon>
</Compile>
<Compile Include="PurchaseCR\rPurchaseCR.cs">
@@ -307,24 +307,30 @@
<Compile Include="PurchaseCR\rPurchaseCR.Designer.cs">
<DependentUpon>rPurchaseCR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fSIDCheckNR.cs">
<Compile Include="PurchaseNR\fSIDCheckNR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fSIDCheckNR.Designer.cs">
<Compile Include="PurchaseNR\fSIDCheckNR.Designer.cs">
<DependentUpon>fSIDCheckNR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fSIDListSelect.cs">
<Compile Include="PurchaseNR\fSIDListSelect.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fSIDListSelect.Designer.cs">
<Compile Include="PurchaseNR\fSIDListSelect.Designer.cs">
<DependentUpon>fSIDListSelect.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\rPurchaseNR.cs">
<Compile Include="PurchaseNR\rPurchaseNR.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\rPurchaseNR.Designer.cs">
<Compile Include="PurchaseNR\rPurchaseNR.Designer.cs">
<DependentUpon>rPurchaseNR.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fBatchUpdate.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Purchase\fBatchUpdate.Designer.cs">
<DependentUpon>fBatchUpdate.cs</DependentUpon>
</Compile>
<Compile Include="SqlServerTypes\Loader.cs" />
<EmbeddedResource Include="Equipment\EQFilterApply.resx">
<DependentUpon>EQFilterApply.cs</DependentUpon>
@@ -377,60 +383,63 @@
<EmbeddedResource Include="PurchaseEB\rPurchaseEB.resx">
<DependentUpon>rPurchaseEB.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNR_Ipgo.resx">
<EmbeddedResource Include="PurchaseNR\fPurchaseNR_Ipgo.resx">
<DependentUpon>fPurchaseNR_Ipgo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PurchaseCR\fPurchaseCR_Ipgo.resx">
<DependentUpon>fPurchaseCR_Ipgo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNRList.resx">
<EmbeddedResource Include="PurchaseNR\fPurchaseNRList.resx">
<DependentUpon>fPurchaseNRList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fInputSC.resx">
<EmbeddedResource Include="PurchaseNR\fInputSC.resx">
<DependentUpon>fInputSC.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fMailForm.resx">
<EmbeddedResource Include="PurchaseNR\fMailForm.resx">
<DependentUpon>fMailForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PurchaseCR\fPurchaseCR_Add.resx">
<DependentUpon>fPurchaseCR_Add.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_excelimport.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_excelimport.resx">
<DependentUpon>fPurchase_excelimport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_AddS.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_AddS.resx">
<DependentUpon>fPurchase_AddS.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_Add.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_Add.resx">
<DependentUpon>fPurchase_Add.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_Data.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_Data.resx">
<DependentUpon>fPurchase_Data.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_ImportO.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_ImportO.resx">
<DependentUpon>fPurchase_ImportO.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchase_Import.resx">
<EmbeddedResource Include="PurchaseNR\fPurchase_Import.resx">
<DependentUpon>fPurchase_Import.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNR.resx">
<EmbeddedResource Include="PurchaseNR\fPurchaseNR.resx">
<DependentUpon>fPurchaseNR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fSIDCheckNR.resx">
<EmbeddedResource Include="PurchaseNR\fSIDCheckNR.resx">
<DependentUpon>fSIDCheckNR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fSIDListSelect.resx">
<EmbeddedResource Include="PurchaseNR\fSIDListSelect.resx">
<DependentUpon>fSIDListSelect.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\Rpt_PurchasePrj.rdlc" />
<EmbeddedResource Include="Purchase\Rpt_PurchasePrc.rdlc" />
<EmbeddedResource Include="Purchase\Rpt_Purchase.rdlc" />
<EmbeddedResource Include="PurchaseNR\Rpt_PurchasePrj.rdlc" />
<EmbeddedResource Include="PurchaseNR\Rpt_PurchasePrc.rdlc" />
<EmbeddedResource Include="PurchaseNR\Rpt_Purchase.rdlc" />
<EmbeddedResource Include="PurchaseCR\rPurchaseCR.resx">
<DependentUpon>rPurchaseCR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\rPurchaseNR.resx">
<EmbeddedResource Include="PurchaseNR\rPurchaseNR.resx">
<DependentUpon>rPurchaseNR.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fBatchUpdate.resx">
<DependentUpon>fBatchUpdate.cs</DependentUpon>
</EmbeddedResource>
<None Include="app.config" />
<None Include="DataClasses1.dbml">
<Generator>MSLinqToSQLGenerator</Generator>

View File

@@ -0,0 +1,112 @@
namespace FEQ0000.Purchase
{
partial class fBatchUpdate
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.cmbState = new System.Windows.Forms.ComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(71, 37);
this.label1.TabIndex = 0;
this.label1.Text = "상태";
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button1.Location = new System.Drawing.Point(10, 60);
this.button1.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(365, 50);
this.button1.TabIndex = 2;
this.button1.Text = "일괄 변경";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// cmbState
//
this.cmbState.Dock = System.Windows.Forms.DockStyle.Fill;
this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbState.FormattingEnabled = true;
this.cmbState.Location = new System.Drawing.Point(71, 0);
this.cmbState.Name = "cmbState";
this.cmbState.Size = new System.Drawing.Size(294, 45);
this.cmbState.TabIndex = 4;
//
// panel1
//
this.panel1.Controls.Add(this.cmbState);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(10, 10);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(365, 46);
this.panel1.TabIndex = 5;
//
// fBatchUpdate
//
this.AutoScaleDimensions = new System.Drawing.SizeF(15F, 37F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(385, 120);
this.Controls.Add(this.panel1);
this.Controls.Add(this.button1);
this.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.KeyPreview = true;
this.Margin = new System.Windows.Forms.Padding(6, 10, 6, 10);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fBatchUpdate";
this.Padding = new System.Windows.Forms.Padding(10);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "fInputSC";
this.Load += new System.EventHandler(this.fBatchUpdate_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Panel panel1;
public System.Windows.Forms.ComboBox cmbState;
}
}

View File

@@ -0,0 +1,45 @@
using FCOMMON;
using NetOffice.OutlookApi;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FEQ0000.Purchase
{
public partial class fBatchUpdate : Form
{
public fBatchUpdate(List<int> _rows)
{
InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
this.Text = $"일괄변경 : {_rows.Count} 건";
this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); };
}
private void fBatchUpdate_Load(object sender, EventArgs e)
{
var code_state = DBM.getCodeTable("04");
cmbState.DataSource = code_state;
cmbState.DisplayMember = "Value";
cmbState.ValueMember = "Value";
cmbState.SelectedIndex = -1;
}
private void button1_Click(object sender, EventArgs e)
{
if(cmbState.SelectedIndex <0)
{
FCOMMON.Util.MsgE("값을 선택하지 않았습니다");
return;
}
DialogResult = DialogResult.OK;
}
}
}

View File

@@ -1,120 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -30,42 +30,42 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR));
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType7 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType8 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType51 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType52 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType53 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType54 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType55 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType56 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType57 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType58 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType59 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType60 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType21 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType22 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType64 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType23 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType24 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType65 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType25 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType66 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType26 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType67 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType68 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType69 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType27 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType70 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType71 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType72 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType9 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
@@ -104,7 +104,6 @@
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -148,6 +147,7 @@
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -422,14 +422,14 @@
// 집계표ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "집계표ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "집계표";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 구매승인양식ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "구매승인 양식";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -486,6 +486,7 @@
this.toolStripMenuItem3,
this.exportDataToolStripMenuItem,
this.toolStripMenuItem4,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.makeRepeatToolStripMenuItem,
@@ -495,49 +496,41 @@
this.sC검색ToolStripMenuItem,
this.cRCF검색ToolStripMenuItem});
this.cm1.Name = "contextMenuStrip1";
this.cm1.Size = new System.Drawing.Size(314, 400);
this.cm1.Size = new System.Drawing.Size(314, 464);
this.cm1.Opening += new System.ComponentModel.CancelEventHandler(this.cm1_Opening);
//
// columnSizeToolStripMenuItem
//
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.autoToolStripMenuItem,
this.resetToolStripMenuItem,
this.saveToolStripMenuItem,
this.loadToolStripMenuItem});
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.columnSizeToolStripMenuItem.Text = "Column Size";
//
// autoToolStripMenuItem
//
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.autoToolStripMenuItem.Text = "Auto";
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
this.columnSizeToolStripMenuItem.Text = "열 너비 조정";
//
// resetToolStripMenuItem
//
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.resetToolStripMenuItem.Text = "Reset";
this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
this.resetToolStripMenuItem.Text = "초기화";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
//
// saveToolStripMenuItem
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
this.saveToolStripMenuItem.Text = "저장";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
// loadToolStripMenuItem
//
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.loadToolStripMenuItem.Text = "Load";
this.loadToolStripMenuItem.Size = new System.Drawing.Size(202, 42);
this.loadToolStripMenuItem.Text = "불러오기";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
// toolStripMenuItem3
@@ -877,6 +870,13 @@
this.label2.Text = "--";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// 상태일괄변경ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "상태일괄변경ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.ToolStripMenuItem.Text = "상태 일괄 변경";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
@@ -926,17 +926,17 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 36).Value = "구매담당";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "삭제됨";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType7;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "요청\r\n검사";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 31F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType8;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "구매\r\n검사";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 35F;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType49;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "구매신청일";
@@ -945,7 +945,7 @@
this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType50;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "상태";
@@ -953,39 +953,39 @@
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType51;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "보관소";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType52;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType53;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestName";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "requestName";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType54;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "costcenter";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "Cost Center";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType55;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "linecode";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "LineCode";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType56;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "sc";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Label = "SC#";
@@ -993,7 +993,7 @@
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType57;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "SCR/CF";
@@ -1001,202 +1001,202 @@
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType58;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "수령";
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "receiveName";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(12).AllowAutoSort = true;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType59;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "sid";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Label = "SID#";
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "sid";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType60;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumname";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumname";
this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType1;
numberCellType19.DecimalPlaces = 0;
numberCellType19.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType19.MaximumValue = 2147483647D;
numberCellType19.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType19;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumidx";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType61;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumscale";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "규격";
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumscale";
this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType62;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "dept";
this.fpSpread1_Sheet1.Columns.Get(16).Label = "장비\r\n제조사";
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType62;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "manuproc";
this.fpSpread1_Sheet1.Columns.Get(17).Label = "제조\r\n공정";
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType62;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(18).Label = "장비\r\n모델";
this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.NegativeRed = true;
numberCellType2.NullDisplay = "--";
numberCellType2.Separator = ",";
numberCellType2.ShowSeparator = true;
numberCellType2.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType2;
numberCellType20.DecimalPlaces = 0;
numberCellType20.NegativeRed = true;
numberCellType20.NullDisplay = "--";
numberCellType20.Separator = ",";
numberCellType20.ShowSeparator = true;
numberCellType20.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType20;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumqtyReq";
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(19).Label = "수량\r\n(요청)";
this.fpSpread1_Sheet1.Columns.Get(19).Tag = "pumqty";
this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
numberCellType3.DecimalPlaces = 0;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType3;
numberCellType21.DecimalPlaces = 0;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType21;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumqty";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "수량\r\n(구매)";
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Width = 55F;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType63;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumunit";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F;
numberCellType4.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType4;
numberCellType22.DecimalPlaces = 2;
this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType22;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumpriceD";
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(22).Label = "단가\r\n(해외)";
this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType64;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "currency";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Label = "통화";
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Width = 33F;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 9999999999999.99D;
numberCellType5.MinimumValue = -9999999999999.99D;
numberCellType5.NegativeRed = true;
numberCellType5.NullDisplay = "--";
numberCellType5.Separator = ",";
numberCellType5.ShowSeparator = true;
numberCellType5.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = numberCellType5;
numberCellType23.DecimalPlaces = 0;
numberCellType23.MaximumValue = 9999999999999.99D;
numberCellType23.MinimumValue = -9999999999999.99D;
numberCellType23.NegativeRed = true;
numberCellType23.NullDisplay = "--";
numberCellType23.Separator = ",";
numberCellType23.ShowSeparator = true;
numberCellType23.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(24).CellType = numberCellType23;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(24).Label = "단가";
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "pumprice";
this.fpSpread1_Sheet1.Columns.Get(24).Width = 51F;
numberCellType6.DecimalPlaces = 0;
numberCellType6.MaximumValue = 9999999999999.99D;
numberCellType6.MinimumValue = -9999999999999.99D;
numberCellType6.NegativeRed = true;
numberCellType6.NullDisplay = "--";
numberCellType6.Separator = ",";
numberCellType6.ShowSeparator = true;
numberCellType6.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType6;
numberCellType24.DecimalPlaces = 0;
numberCellType24.MaximumValue = 9999999999999.99D;
numberCellType24.MinimumValue = -9999999999999.99D;
numberCellType24.NegativeRed = true;
numberCellType24.NullDisplay = "--";
numberCellType24.Separator = ",";
numberCellType24.ShowSeparator = true;
numberCellType24.ShrinkToFit = true;
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType24;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(25).Label = "합계금액";
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "pumamt";
this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(26).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType65;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(26).Label = "공급업체";
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "supply";
this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(27).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType7.DecimalPlaces = 0;
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType7.MaximumValue = 2147483647D;
numberCellType7.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType7;
numberCellType25.DecimalPlaces = 0;
numberCellType25.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType25.MaximumValue = 2147483647D;
numberCellType25.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(27).CellType = numberCellType25;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "supplyidx";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(27).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(28).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType66;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(28).Label = "프로젝트";
this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(29).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType8.DecimalPlaces = 0;
numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType8.MaximumValue = 2147483647D;
numberCellType8.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType8;
numberCellType26.DecimalPlaces = 0;
numberCellType26.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType26.MaximumValue = 2147483647D;
numberCellType26.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType26;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "projectidx";
this.fpSpread1_Sheet1.Columns.Get(29).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
textCellType19.WordWrap = true;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType19;
textCellType67.WordWrap = true;
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType67;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "bigo";
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(30).Label = "비고(구매사유)\r\n(요청자)";
this.fpSpread1_Sheet1.Columns.Get(30).Tag = "bigo";
this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).Width = 96F;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType68;
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(31).Label = "입고예정";
this.fpSpread1_Sheet1.Columns.Get(31).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType69;
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(32).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(32).Tag = "indate";
this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F;
numberCellType9.DecimalPlaces = 0;
numberCellType9.NegativeRed = true;
numberCellType9.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(33).CellType = numberCellType9;
numberCellType27.DecimalPlaces = 0;
numberCellType27.NegativeRed = true;
numberCellType27.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(33).CellType = numberCellType27;
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "inqty";
this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(33).Label = "입고수량";
this.fpSpread1_Sheet1.Columns.Get(33).Tag = "inqty";
this.fpSpread1_Sheet1.Columns.Get(33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(34).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(34).CellType = textCellType70;
this.fpSpread1_Sheet1.Columns.Get(34).DataField = "po";
this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(34).Label = "PO#";
this.fpSpread1_Sheet1.Columns.Get(34).Tag = "po";
this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F;
textCellType23.WordWrap = true;
this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType23;
textCellType71.WordWrap = true;
this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType71;
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "chkremark";
this.fpSpread1_Sheet1.Columns.Get(35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(35).Label = "비고\r\n(담당자)";
this.fpSpread1_Sheet1.Columns.Get(35).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(36).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType72;
this.fpSpread1_Sheet1.Columns.Get(36).DataField = "purchase_manager";
this.fpSpread1_Sheet1.Columns.Get(36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(36).Label = "구매담당";
this.fpSpread1_Sheet1.Columns.Get(36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(37).CellType = checkBoxCellType3;
this.fpSpread1_Sheet1.Columns.Get(37).CellType = checkBoxCellType9;
this.fpSpread1_Sheet1.Columns.Get(37).DataField = "isdel";
this.fpSpread1_Sheet1.Columns.Get(37).Label = "삭제됨";
this.fpSpread1_Sheet1.Columns.Get(37).Tag = "isdel";
@@ -1205,6 +1205,9 @@
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange;
this.fpSpread1_Sheet1.ShowEditingRowSelector = true;
this.fpSpread1_Sheet1.ShowRowSelector = true;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// fPurchaseNR
@@ -1275,7 +1278,6 @@
private System.Windows.Forms.ToolStripButton btFind;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
@@ -1320,6 +1322,7 @@
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
private System.Windows.Forms.ToolStripComboBox cmbManager;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -14,6 +14,7 @@ using NetOffice.OutlookApi.Enums;
using FEQ0000.Purchase;
using FCOMMON;
using NetOffice.OfficeApi;
using System.Web.Services.Protocols;
namespace FEQ0000
{
@@ -148,6 +149,7 @@ namespace FEQ0000
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
IsAdmin = curLevel >= 5;
if (curLevel >= 5)
{
btSave.Visible = true;
@@ -188,6 +190,7 @@ namespace FEQ0000
}
}
bool IsAdmin = false;
private void refreshData()
{
@@ -1123,7 +1126,7 @@ namespace FEQ0000
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new fPurchase_excelimport( fPurchase_excelimport.eImporttype.NR);
var f = new fPurchase_excelimport(fPurchase_excelimport.eImporttype.NR);
f.Show();
}
@@ -1419,5 +1422,49 @@ namespace FEQ0000
FCOMMON.Util.RunExplorer(fi.FullName);
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
var selected = this.fpSpread1_Sheet1.GetSelections(); //선택된 개체확인
List<int> rows = new List<int>();
foreach (var item in selected)
{
for(int i = item.Row; i < item.Row + item.RowCount;i++)
{
if(rows.Contains(i)==false)
{
if(fpSpread1_Sheet1.IsRowBound(i))
{
rows.Add(i);
}
}
}
}
//이대상의 실제 데이터베이스 인덱스값을 생성해서 폼에 전송한다.
var codlist = DBM.getCodeList("04");
var f = new FEQ0000.Purchase.fBatchUpdate(rows);
if (f.ShowDialog() != DialogResult.OK) return;
var colstat = fpSpread1_Sheet1.Columns["state"];
var value = f.cmbState.Text;
foreach(var rowindex in rows)
{
fpSpread1_Sheet1.SetValue(rowindex, colstat.Index, value);
}
FCOMMON.Util.MsgI($"{rows.Count} 건의 자료가 변경되었습니다\n저장 버튼을 누르면 적용 됩니다\n취소하려면 새로고침을 누르세요");
}
private void cm1_Opening(object sender, CancelEventArgs e)
{
ToolStripMenuItem.Enabled = IsAdmin;
}
}
}

View File

@@ -279,6 +279,35 @@
pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="입고품목메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -318,50 +347,11 @@
oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A
cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA
Ow==
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
AAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>504, 23</value>
</metadata>
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ
4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg
wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO
GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE
pRQTK6YYEAA7
</value>
</data>
<data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R

View File

@@ -57,7 +57,7 @@
System.Windows.Forms.Label label15;
System.Windows.Forms.Label label17;
System.Windows.Forms.Label label9;
System.Windows.Forms.Label label18;
this.label18 = new System.Windows.Forms.Label();
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSID = new System.Windows.Forms.TextBox();
this.tbPumName = new System.Windows.Forms.TextBox();
@@ -114,8 +114,8 @@
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.dsPurchase = new FEQ0000.dsPurchase();
this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
processLabel = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
@@ -143,12 +143,11 @@
label15 = new System.Windows.Forms.Label();
label17 = new System.Windows.Forms.Label();
label9 = new System.Windows.Forms.Label();
label18 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.SuspendLayout();
//
// processLabel
@@ -433,13 +432,12 @@
//
// label18
//
label18.AutoSize = true;
label18.Location = new System.Drawing.Point(277, 177);
label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label18.Name = "label18";
label18.Size = new System.Drawing.Size(20, 20);
label18.TabIndex = 51;
label18.Text = "\\";
this.label18.Location = new System.Drawing.Point(277, 177);
this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(198, 20);
this.label18.TabIndex = 51;
this.label18.Text = "원";
//
// tbSC
//
@@ -719,7 +717,7 @@
// groupBox1
//
this.groupBox1.Controls.Add(this.tbStorage);
this.groupBox1.Controls.Add(label18);
this.groupBox1.Controls.Add(this.label18);
this.groupBox1.Controls.Add(this.cmbRemark);
this.groupBox1.Controls.Add(this.cmbCurrency);
this.groupBox1.Controls.Add(this.tbQtyReal);
@@ -1118,14 +1116,14 @@
this.dsPurchase.DataSetName = "dsPurchase";
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// purchaseBindingSource
// bs
//
this.purchaseBindingSource.DataMember = "Purchase";
this.purchaseBindingSource.DataSource = this.dsPurchase;
this.bs.DataMember = "Purchase";
this.bs.DataSource = this.dsPurchase;
//
// purchaseTableAdapter
// ta
//
this.purchaseTableAdapter.ClearBeforeFill = true;
this.ta.ClearBeforeFill = true;
//
// fPurchase_Add
//
@@ -1152,7 +1150,7 @@
this.groupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.ResumeLayout(false);
}
@@ -1188,8 +1186,8 @@
private System.Windows.Forms.GroupBox groupBox2;
public System.Windows.Forms.PictureBox pictureBox1;
private dsPurchase dsPurchase;
private System.Windows.Forms.BindingSource purchaseBindingSource;
private dsPurchaseTableAdapters.PurchaseTableAdapter purchaseTableAdapter;
private System.Windows.Forms.BindingSource bs;
private dsPurchaseTableAdapters.PurchaseTableAdapter ta;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.TextBox tbOrderNo;
private System.Windows.Forms.Button button1;
@@ -1217,5 +1215,6 @@
private System.Windows.Forms.ComboBox cmbCurrency;
private System.Windows.Forms.ComboBox cmbRemark;
private System.Windows.Forms.ComboBox tbStorage;
private System.Windows.Forms.Label label18;
}
}

View File

@@ -29,7 +29,7 @@ namespace FEQ0000
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
this.bs.DataSource = dr_;
bsManu = new BindingSource();
bsModel = new BindingSource();
@@ -59,6 +59,24 @@ namespace FEQ0000
tbLineCode.BackColor = Color.FromArgb(255, 255, 192);
tbManager.BackColor = Color.FromArgb(255, 255, 192);
}
this.tbPumPrice.Validated += (s1, e1) => {
if(tbPumPrice.Tag != null && tbPumPrice.Tag.ToString().Equals(tbPumPrice.Text))
{
}
else
{
tbPumPrice.Tag = tbPumPrice.Text;
if (decimal.TryParse(tbPumPrice.Text.Replace(",", ""), out decimal value))
{
tbPumPrice.Text = value.ToString("N0");
}
}
};
}
Boolean advInput = false;
@@ -225,8 +243,8 @@ namespace FEQ0000
if (dr.IspumidxNull()) tbPumIDX.Text = "-1";
else tbPumIDX.Text = dr.pumidx.ToString();
tbPumPrice.Text = dr.pumprice.ToString();
tbPumPriceD.Text = dr.pumpriceD.ToString();
tbPumPrice.Text = dr.pumprice.ToString("N0");
tbPumPriceD.Text = dr.pumpriceD.ToString("N0");
tbPumAmt.Text = dr.pumamt.ToString("N0"); //천단위 구분기호 추가 181222
tbPumUnit.Text = dr.pumunit;
@@ -421,8 +439,8 @@ namespace FEQ0000
this.tbPumIDX.Text = f.item.ToString();
this.tbPumModel.Text = f.itemmodel;
this.tbPumPrice.Text = f.itemprice.ToString();
this.tbPumPriceD.Text = f.itempriceD.ToString();
this.tbPumPrice.Text = f.itemprice.ToString("N0");
this.tbPumPriceD.Text = f.itempriceD.ToString("N0");
this.tbSID.Text = f.SID;
this.tbSID.Tag = f.SID;
this.tbPumUnit.Text = f.itemUnit; //181214
@@ -510,6 +528,7 @@ namespace FEQ0000
private bool saveData()
{
this.Validate();
bs.EndEdit();
tbSID.Text = sidTrim(tbSID.Text);
@@ -608,7 +627,7 @@ namespace FEQ0000
//실수량은 구매담당자만 입력한다
if (tbBigoChk.Enabled && (cmbState.Text == "PO" || cmbState.Text == "PR"))
{
var qtycnv = int.TryParse(tbQtyReal.Text, out int qtyreq);
var qtycnv = int.TryParse(tbQtyReal.Text.Replace(",", ""), out int qtyreq);
if (qtycnv == false || qtyreq < 1)
{
FCOMMON.Util.MsgE("수량(실 구매)을 입력하세요.");
@@ -755,7 +774,7 @@ namespace FEQ0000
//품목정보에 없는 데이터이므로 자료를 추가한다.
if (tbPumIDX.Text == "-1")
{
var newidx = FCOMMON.DBM.addItem(tbPumName.Text, tbSID.Text, tbPumModel.Text.Trim(), decimal.Parse(tbPumPrice.Text), tbSupply.Text.Trim(), int.Parse(tbSupplyIndex.Text), null);
var newidx = FCOMMON.DBM.addItem(tbPumName.Text, tbSID.Text, tbPumModel.Text.Trim(), decimal.Parse(tbPumPrice.Text.Replace(",","")), tbSupply.Text.Trim(), int.Parse(tbSupplyIndex.Text), null);
if (newidx > 0) tbPumIDX.Text = newidx.ToString();
}
else if (tbSID.Text != "" && tbSID.Text != tbSID.Tag.ToString())
@@ -777,19 +796,19 @@ namespace FEQ0000
}
//단가가없는경우 생성한다.
if (decimal.TryParse(tbPumPrice.Text, out decimal vprice) == false)
if (decimal.TryParse(tbPumPrice.Text.Replace(",",""), out decimal vprice) == false)
{
if (decimal.TryParse(tbPumPriceD.Text, out decimal vpriced) == true)
if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal vpriced) == true)
{
applyDollerToWon();
}
}
if (int.TryParse(tbQtyReq.Text, out int vqtyreq) == false)
if (int.TryParse(tbQtyReq.Text.Replace(",", ""), out int vqtyreq) == false)
tbQtyReq.Text = "0";
if (int.TryParse(tbQtyReal.Text, out int vqtyreal) == false)
if (int.TryParse(tbQtyReal.Text.Replace(",", ""), out int vqtyreal) == false)
tbQtyReal.Text = "0";
if (decimal.TryParse(tbPumPrice.Text, out decimal vpumprice) == false)
if (decimal.TryParse(tbPumPrice.Text.Replace(",", ""), out decimal vpumprice) == false)
tbPumPrice.Text = "0";
//요청 구매 수량이 다를경우 비고 입력이 필요함
@@ -808,7 +827,7 @@ namespace FEQ0000
dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text);
dr.currency = cmbCurrency.Text.Trim();
if (decimal.TryParse(tbPumPriceD.Text, out decimal priced))
if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal priced))
{
dr.pumpriceD = priced;
}
@@ -981,9 +1000,11 @@ namespace FEQ0000
private void tbPumQty_TextChanged(object sender, EventArgs e)
{
var b1 = int.TryParse(tbQtyReal.Text, out int qtyreal);
var b2 = int.TryParse(tbQtyReq.Text, out int qtyreq);
var b3 = double.TryParse(tbPumPrice.Text, out double price);
var b1 = int.TryParse(tbQtyReal.Text.Replace(",", ""), out int qtyreal);
var b2 = int.TryParse(tbQtyReq.Text.Replace(",", ""), out int qtyreq);
var amtstr = tbPumPrice.Text.Replace("\\", "").Replace(",", "").Replace("₩","");
var b3 = double.TryParse(amtstr, out double price);
double amt = 0;
//실구매수량이 잇으면 그걸로한다
@@ -991,6 +1012,7 @@ namespace FEQ0000
else amt = qtyreq * price;
tbPumAmt.Text = amt.ToString("N0");
//label18.Text = Util.Number2Hangle((long)price) + "원";
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
@@ -1133,7 +1155,7 @@ namespace FEQ0000
//if ( decimal.TryParse(tbPumPrice.Text, out decimal result) == false || result == 0)
if (binit)
{
if (decimal.TryParse(tbPumPriceD.Text, out decimal priced) == true)
if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal priced) == true)
{
applyDollerToWon();
}
@@ -1147,7 +1169,7 @@ namespace FEQ0000
}
void applyDollerToWon()
{
if (decimal.TryParse(tbPumPriceD.Text, out decimal priced))
if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal priced))
{
var price = FCOMMON.info.dollertowon * (double)priced;
tbPumPrice.Text = (Math.Ceiling(price)).ToString();

View File

@@ -151,7 +151,7 @@
<value>False</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>490, 17</value>
<value>257, 17</value>
</metadata>
<data name="deptLabel.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
@@ -224,9 +224,6 @@
<metadata name="label9.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label18.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<data name="tbBigo.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
@@ -242,16 +239,16 @@
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>587, 17</value>
<value>354, 17</value>
</metadata>
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="purchaseBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>131, 17</value>
</metadata>
<metadata name="purchaseTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>313, 17</value>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>195, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -675,14 +675,26 @@ namespace FPJ0000
private void linkLabel11_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
int cnt;
if(int.TryParse(cntTextBox.Text, out cnt)==false)
{
FCOMMON.Util.MsgE($"수량이 입려되지 않았습니다");
cntTextBox.Focus();
return;
}
var sfi_type = "O";
var sfi_count = 0f;
var sfi_time = 0f;
var sfi_shiftcount = 0D;
if (dr.Issfi_typeNull() == false) sfi_type = dr.sfi_type;
if (dr.Issfi_savecountNull() == false) sfi_count = dr.sfi_savecount;
if (dr.Issfi_savetimeNull() == false) sfi_time = dr.sfi_savetime;
if (dr.Issfi_shiftcountNull() == false) sfi_shiftcount = dr.sfi_shiftcount;
if (sfi_shiftcount == 0) sfi_shiftcount = 4;
var f = new FCOMMON.fSFI(sfi_type, sfi_time, sfi_count);
var f = new FCOMMON.fSFI(sfi_type, sfi_time, sfi_count,sfi_shiftcount, cnt);
if (f.ShowDialog() == DialogResult.OK)
{
tbSFI.Text = f.Value.ToString("N2");

View File

@@ -170,7 +170,7 @@ namespace FPJ0000
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
var f = new FCOMMON.fSFI("O",0f,0f);
var f = new FCOMMON.fSFI("O",0f,0f,4,1);
if (f.ShowDialog() == DialogResult.OK)
textBox5.Text = f.Value.ToString("N2");
}

View File

@@ -1133,6 +1133,8 @@ namespace FPJ0000 {
private global::System.Data.DataColumn columnlasthistory_date;
private global::System.Data.DataColumn columnsfi_shiftcount;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ProjectsDataTable() :
@@ -1879,6 +1881,14 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn sfi_shiftcountColumn {
get {
return this.columnsfi_shiftcount;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2003,7 +2013,8 @@ namespace FPJ0000 {
float sfi_savecount,
double sfi_savetime1,
double sfi_savecount1,
string lasthistory_date) {
string lasthistory_date,
double sfi_shiftcount) {
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2093,7 +2104,8 @@ namespace FPJ0000 {
sfi_savecount,
sfi_savetime1,
sfi_savecount1,
lasthistory_date};
lasthistory_date,
sfi_shiftcount};
rowProjectsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowProjectsRow);
return rowProjectsRow;
@@ -2187,7 +2199,8 @@ namespace FPJ0000 {
float sfi_savecount,
double sfi_savetime1,
double sfi_savecount1,
string lasthistory_date) {
string lasthistory_date,
double sfi_shiftcount) {
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2277,7 +2290,8 @@ namespace FPJ0000 {
sfi_savecount,
sfi_savetime1,
sfi_savecount1,
lasthistory_date};
lasthistory_date,
sfi_shiftcount};
rowProjectsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowProjectsRow);
return rowProjectsRow;
@@ -2395,6 +2409,7 @@ namespace FPJ0000 {
this.columnsfi_savetime1 = base.Columns["sfi_savetime1"];
this.columnsfi_savecount1 = base.Columns["sfi_savecount1"];
this.columnlasthistory_date = base.Columns["lasthistory_date"];
this.columnsfi_shiftcount = base.Columns["sfi_shiftcount"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2576,6 +2591,8 @@ namespace FPJ0000 {
base.Columns.Add(this.columnsfi_savecount1);
this.columnlasthistory_date = new global::System.Data.DataColumn("lasthistory_date", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlasthistory_date);
this.columnsfi_shiftcount = new global::System.Data.DataColumn("sfi_shiftcount", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsfi_shiftcount);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -14201,6 +14218,22 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public double sfi_shiftcount {
get {
if (this.Issfi_shiftcountNull()) {
return 0D;
}
else {
return ((double)(this[this.tableProjects.sfi_shiftcountColumn]));
}
}
set {
this[this.tableProjects.sfi_shiftcountColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsnameNull() {
@@ -15208,6 +15241,18 @@ namespace FPJ0000 {
public void Setlasthistory_dateNull() {
this[this.tableProjects.lasthistory_dateColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool Issfi_shiftcountNull() {
return this.IsNull(this.tableProjects.sfi_shiftcountColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void Setsfi_shiftcountNull() {
this[this.tableProjects.sfi_shiftcountColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -24730,6 +24775,7 @@ namespace FPJ0000.dsPRJTableAdapters {
tableMapping.ColumnMappings.Add("sfi_savetime", "sfi_savetime1");
tableMapping.ColumnMappings.Add("sfi_savecount", "sfi_savecount1");
tableMapping.ColumnMappings.Add("lasthistory_date", "lasthistory_date");
tableMapping.ColumnMappings.Add("sfi_shiftcount", "sfi_shiftcount");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -24738,80 +24784,76 @@ namespace FPJ0000.dsPRJTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO Projects
(status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate,
progress, import, asset, isdel, path, userhw2, orderno, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, model, serial,
bdate, qdate, cdate, championid, designid, assemblyid, epanelid, softwareid, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangible,
effect_intangible, sfi_type, sfi_savetime, sfi_savecount)
VALUES (@status,@pdate,@name,@usermain,@usersub,@reqstaff,@sdate,@edate,@odate,@memo,@wuid,@wdate,@rev,@pidx,@userManager,@level,@part,@process,@costo,@costn,@cnt,@remark_req,@remark_ans,@ddate,@progress,@import,@asset,@isdel,@path,@userhw2,@orderno,@gcode,@category,@userprocess,@CMP_Background,@CMP_Description,@CMP_Before,@CMP_After,@bCost,@bFanOut,@div,@crdue,@model,@serial,@bdate,@qdate,@cdate,@championid,@designid,@assemblyid,@epanelid,@softwareid,@userAssembly,@ReqLine,@ReqSite,@ReqPackage,@ReqPlant,@pno,@kdate,@jasmin,@sfi,@bHighlight,@effect_tangible,@effect_intangible,@sfi_type,@sfi_savetime,@sfi_savecount)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi], [bHighlight], [effect_tangible], [effect_intangible], [sfi_type], [sfi_savetime], [sfi_savecount], [sfi_shiftcount]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi, @bHighlight, @effect_tangible, @effect_intangible, @sfi_type, @sfi_savetime, @sfi_savecount, @sfi_shiftcount)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usermain", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usersub", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costo", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costn", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cnt", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_req", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "remark_req", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_ans", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "remark_ans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path", global::System.Data.SqlDbType.VarChar, 300, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userprocess", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Background", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Background", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Description", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Before", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Before", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_After", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_After", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bCost", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bFanOut", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@div", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@crdue", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "bdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "qdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@championid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "championid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@designid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "designid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@assemblyid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "assemblyid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@epanelid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "epanelid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@softwareid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "softwareid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userAssembly", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userAssembly", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqLine", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ReqLine", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqSite", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ReqSite", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqPackage", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ReqPackage", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqPlant", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ReqPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "kdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jasmin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "jasmin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bHighlight", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bHighlight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@effect_tangible", global::System.Data.SqlDbType.VarChar, 1000, global::System.Data.ParameterDirection.Input, 0, 0, "effect_tangible", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@effect_intangible", global::System.Data.SqlDbType.VarChar, 1000, global::System.Data.ParameterDirection.Input, 0, 0, "effect_intangible", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_type", global::System.Data.SqlDbType.VarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_savetime", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_savetime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_savecount", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_savecount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usermain", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@usersub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costo", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@costn", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_req", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark_req", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark_ans", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark_ans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userprocess", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userprocess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Background", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Background", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_Before", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_Before", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CMP_After", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CMP_After", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bCost", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bFanOut", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bFanOut", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@div", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "div", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@crdue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "crdue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@championid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "championid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@designid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "designid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@assemblyid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "assemblyid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@epanelid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "epanelid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@softwareid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "softwareid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userAssembly", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userAssembly", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqLine", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReqLine", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqSite", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReqSite", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqPackage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReqPackage", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReqPlant", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReqPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jasmin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jasmin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bHighlight", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bHighlight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@effect_tangible", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "effect_tangible", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@effect_intangible", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "effect_intangible", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_savetime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_savetime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_savecount", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_savecount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi_shiftcount", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi_shiftcount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE Projects\r\nSET status = @status, pdate = @pdate, name = @name, userm" +
@@ -24949,13 +24991,13 @@ VALUES (@status,@pdate,@name,@usermain,@usersub,@reqstaff,@sdate,@edate,@odate,
"istoryD(idx) AS lasthistoryD, bHighlight, effect_tangible, effect_intangible, sf" +
"i_type, sfi_savetime, \r\n sfi_savecount,\r\n (SELEC" +
"T MAX(pdate) AS Expr1\r\n FROM ProjectsHistory\r\n " +
" WHERE (pidx = Projects.idx)) AS lasthistory_date\r\nFROM Projects\r\n" +
"WHERE (status LIKE @state) AND (ISNULL(userManager, \'\') LIKE @username OR\r\n " +
" ISNULL(usermain, \'\') LIKE @username OR\r\n ISNULL(usersub" +
", \'\') LIKE @username) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)\r\nORDER BY " +
"(CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([statu" +
"s] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') \r\n " +
" THEN \'9\' ELSE \'5\' END)";
" WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftcount\r\nFRO" +
"M Projects\r\nWHERE (status LIKE @state) AND (ISNULL(userManager, \'\') LIKE @u" +
"sername OR\r\n ISNULL(usermain, \'\') LIKE @username OR\r\n " +
" ISNULL(usersub, \'\') LIKE @username) AND (ISNULL(isdel, 0) = 0) AND (gcode = @g" +
"code)\r\nORDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN " +
"\'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([statu" +
"s] = \'취소\') \r\n THEN \'9\' ELSE \'5\' END)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -24975,7 +25017,7 @@ VALUES (@status,@pdate,@name,@usermain,@usersub,@reqstaff,@sdate,@edate,@odate,
ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangible, effect_intangible, sfi_savecount, sfi_savetime, sfi_type,
(SELECT MAX(pdate) AS Expr1
FROM ProjectsHistory
WHERE (pidx = Projects.idx)) AS lasthistory_date
WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftcount
FROM Projects
WHERE (idx = @idx)";
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
@@ -24997,11 +25039,11 @@ WHERE (idx = @idx)";
" ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangi" +
"ble, effect_intangible, sfi_savecount, sfi_savetime, sfi_type,\r\n " +
" (SELECT MAX(pdate) AS Expr1\r\n FROM ProjectsHistory\r\n " +
" WHERE (pidx = Projects.idx)) AS lasthistory_date\r\nFROM P" +
"rojects\r\nWHERE (ISNULL(name, N\'\') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND " +
"(gcode = @gcode) OR\r\n (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) " +
"AND (CAST(idx AS varchar) LIKE @search) OR\r\n (ISNULL(isdel, 0) = 0" +
") AND (gcode = @gcode) AND (ISNULL(memo, N\'\') LIKE @search)";
" WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftc" +
"ount\r\nFROM Projects\r\nWHERE (ISNULL(name, N\'\') LIKE @search) AND (ISNULL(isd" +
"el, 0) = 0) AND (gcode = @gcode) OR\r\n (ISNULL(isdel, 0) = 0) AND (" +
"gcode = @gcode) AND (CAST(idx AS varchar) LIKE @search) OR\r\n (ISNU" +
"LL(isdel, 0) = 0) AND (gcode = @gcode) AND (ISNULL(memo, N\'\') LIKE @search)";
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -25271,7 +25313,8 @@ WHERE (idx = @idx)";
string effect_intangible,
string sfi_type,
global::System.Nullable<double> sfi_savetime,
global::System.Nullable<double> sfi_savecount) {
global::System.Nullable<double> sfi_savecount,
global::System.Nullable<double> sfi_shiftcount) {
if ((status == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -25669,6 +25712,12 @@ WHERE (idx = @idx)";
else {
this.Adapter.InsertCommand.Parameters[66].Value = global::System.DBNull.Value;
}
if ((sfi_shiftcount.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[67].Value = ((double)(sfi_shiftcount.Value));
}
else {
this.Adapter.InsertCommand.Parameters[67].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {

View File

@@ -21,80 +21,76 @@ WHERE (idx = @Original_idx)</CommandText>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO Projects
(status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate,
progress, import, asset, isdel, path, userhw2, orderno, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, model, serial,
bdate, qdate, cdate, championid, designid, assemblyid, epanelid, softwareid, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangible,
effect_intangible, sfi_type, sfi_savetime, sfi_savecount)
VALUES (@status,@pdate,@name,@usermain,@usersub,@reqstaff,@sdate,@edate,@odate,@memo,@wuid,@wdate,@rev,@pidx,@userManager,@level,@part,@process,@costo,@costn,@cnt,@remark_req,@remark_ans,@ddate,@progress,@import,@asset,@isdel,@path,@userhw2,@orderno,@gcode,@category,@userprocess,@CMP_Background,@CMP_Description,@CMP_Before,@CMP_After,@bCost,@bFanOut,@div,@crdue,@model,@serial,@bdate,@qdate,@cdate,@championid,@designid,@assemblyid,@epanelid,@softwareid,@userAssembly,@ReqLine,@ReqSite,@ReqPackage,@ReqPlant,@pno,@kdate,@jasmin,@sfi,@bHighlight,@effect_tangible,@effect_intangible,@sfi_type,@sfi_savetime,@sfi_savecount)</CommandText>
<CommandText>INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi], [bHighlight], [effect_tangible], [effect_intangible], [sfi_type], [sfi_savetime], [sfi_savecount], [sfi_shiftcount]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi, @bHighlight, @effect_tangible, @effect_intangible, @sfi_type, @sfi_savetime, @sfi_savecount, @sfi_shiftcount)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="status" ColumnName="status" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="usermain" ColumnName="usermain" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usermain" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usermain" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="usersub" ColumnName="usersub" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@usersub" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="usersub" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="reqstaff" ColumnName="reqstaff" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="odate" ColumnName="odate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="rev" ColumnName="rev" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rev" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="rev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pidx" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userManager" ColumnName="userManager" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="level" ColumnName="level" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@level" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="level" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="part" ColumnName="part" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="costo" ColumnName="costo" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costo" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="costn" ColumnName="costn" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@costn" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="costn" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="cnt" ColumnName="cnt" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cnt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="cnt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="remark_req" ColumnName="remark_req" DataSourceName="" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_req" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_req" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="remark_ans" ColumnName="remark_ans" DataSourceName="" DataTypeServer="varchar(MAX)" DbType="AnsiString" Direction="Input" ParameterName="@remark_ans" Precision="0" ProviderType="VarChar" Scale="0" Size="2147483647" SourceColumn="remark_ans" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ddate" ColumnName="ddate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="progress" ColumnName="progress" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@progress" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="progress" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="asset" ColumnName="asset" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="path" ColumnName="path" DataSourceName="" DataTypeServer="varchar(300)" DbType="AnsiString" Direction="Input" ParameterName="@path" Precision="0" ProviderType="VarChar" Scale="0" Size="300" SourceColumn="path" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userhw2" ColumnName="userhw2" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userhw2" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userhw2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="category" ColumnName="category" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userprocess" ColumnName="userprocess" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@userprocess" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="userprocess" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CMP_Background" ColumnName="CMP_Background" DataSourceName="" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@CMP_Background" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="CMP_Background" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CMP_Description" ColumnName="CMP_Description" DataSourceName="" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@CMP_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="CMP_Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CMP_Before" ColumnName="CMP_Before" DataSourceName="" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@CMP_Before" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="CMP_Before" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="CMP_After" ColumnName="CMP_After" DataSourceName="" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@CMP_After" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="CMP_After" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bCost" ColumnName="bCost" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bCost" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bFanOut" ColumnName="bFanOut" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bFanOut" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bFanOut" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="div" ColumnName="div" DataSourceName="" DataTypeServer="varchar(2)" DbType="AnsiString" Direction="Input" ParameterName="@div" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="crdue" ColumnName="crdue" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@crdue" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="crdue" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="model" ColumnName="model" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@model" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="serial" ColumnName="serial" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bdate" ColumnName="bdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@bdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="bdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="qdate" ColumnName="qdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@qdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="qdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="cdate" ColumnName="cdate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="championid" ColumnName="championid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@championid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="championid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="designid" ColumnName="designid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@designid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="designid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="assemblyid" ColumnName="assemblyid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@assemblyid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="assemblyid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="epanelid" ColumnName="epanelid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@epanelid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="epanelid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="softwareid" ColumnName="softwareid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@softwareid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="softwareid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userAssembly" ColumnName="userAssembly" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@userAssembly" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="userAssembly" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ReqLine" ColumnName="ReqLine" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ReqLine" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ReqLine" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ReqSite" ColumnName="ReqSite" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ReqSite" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ReqSite" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ReqPackage" ColumnName="ReqPackage" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ReqPackage" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ReqPackage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ReqPlant" ColumnName="ReqPlant" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ReqPlant" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ReqPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="pno" ColumnName="pno" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pno" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="kdate" ColumnName="kdate" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@kdate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="kdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="jasmin" ColumnName="jasmin" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@jasmin" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="jasmin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sfi" ColumnName="sfi" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@sfi" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="sfi" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="bHighlight" ColumnName="bHighlight" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bHighlight" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bHighlight" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="effect_tangible" ColumnName="effect_tangible" DataSourceName="" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@effect_tangible" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="effect_tangible" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="effect_intangible" ColumnName="effect_intangible" DataSourceName="" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@effect_intangible" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="effect_intangible" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sfi_type" ColumnName="sfi_type" DataSourceName="" DataTypeServer="varchar(1)" DbType="AnsiString" Direction="Input" ParameterName="@sfi_type" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumn="sfi_type" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sfi_savetime" ColumnName="sfi_savetime" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@sfi_savetime" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="sfi_savetime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sfi_savecount" ColumnName="sfi_savecount" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@sfi_savecount" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="sfi_savecount" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@usermain" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="usermain" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@usersub" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="usersub" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@level" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="level" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@costo" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="costo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@costn" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="costn" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cnt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cnt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@remark_req" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="remark_req" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@remark_ans" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="remark_ans" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@progress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="progress" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@asset" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="asset" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@path" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="path" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@userhw2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userhw2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userprocess" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userprocess" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CMP_Background" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CMP_Background" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CMP_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CMP_Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CMP_Before" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CMP_Before" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CMP_After" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CMP_After" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bCost" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bFanOut" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bFanOut" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@div" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@crdue" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="crdue" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@qdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="qdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@championid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="championid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@designid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="designid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@assemblyid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="assemblyid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@epanelid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="epanelid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@softwareid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="softwareid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@userAssembly" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userAssembly" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReqLine" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReqLine" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReqSite" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReqSite" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReqPackage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReqPackage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReqPlant" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReqPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@kdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="kdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@jasmin" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jasmin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@sfi" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="sfi" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bHighlight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bHighlight" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@effect_tangible" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="effect_tangible" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@effect_intangible" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="effect_intangible" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sfi_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sfi_type" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@sfi_savetime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="sfi_savetime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@sfi_savecount" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="sfi_savecount" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@sfi_shiftcount" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="sfi_shiftcount" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -109,7 +105,7 @@ VALUES (@status,@pdate,@name,@usermain,@usersub,@reqstaff,@sdate,@edate,@odate,
sfi_savecount,
(SELECT MAX(pdate) AS Expr1
FROM ProjectsHistory
WHERE (pidx = Projects.idx)) AS lasthistory_date
WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftcount
FROM Projects
WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR
ISNULL(usermain, '') LIKE @username OR
@@ -295,6 +291,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat
<Mapping SourceColumn="sfi_savetime" DataSetColumn="sfi_savetime1" />
<Mapping SourceColumn="sfi_savecount" DataSetColumn="sfi_savecount1" />
<Mapping SourceColumn="lasthistory_date" DataSetColumn="lasthistory_date" />
<Mapping SourceColumn="sfi_shiftcount" DataSetColumn="sfi_shiftcount" />
</Mappings>
<Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
@@ -325,7 +322,7 @@ WHERE (import = 1) AND (gcode = @gcode)</CommandText>
ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangible, effect_intangible, sfi_savecount, sfi_savetime, sfi_type,
(SELECT MAX(pdate) AS Expr1
FROM ProjectsHistory
WHERE (pidx = Projects.idx)) AS lasthistory_date
WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftcount
FROM Projects
WHERE (idx = @idx)</CommandText>
<Parameters>
@@ -345,7 +342,7 @@ WHERE (idx = @idx)</CommandText>
ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, bHighlight, effect_tangible, effect_intangible, sfi_savecount, sfi_savetime, sfi_type,
(SELECT MAX(pdate) AS Expr1
FROM ProjectsHistory
WHERE (pidx = Projects.idx)) AS lasthistory_date
WHERE (pidx = Projects.idx)) AS lasthistory_date, sfi_shiftcount
FROM Projects
WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) OR
(ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (CAST(idx AS varchar) LIKE @search) OR
@@ -3517,15 +3514,16 @@ WHERE (idx = @idx)</CommandText>
</xs:element>
<xs:element name="sfi_savetime" msprop:Generator_ColumnPropNameInTable="sfi_savetimeColumn" msprop:Generator_ColumnPropNameInRow="sfi_savetime" msprop:Generator_UserColumnName="sfi_savetime" msprop:Generator_ColumnVarNameInTable="columnsfi_savetime" type="xs:float" minOccurs="0" />
<xs:element name="sfi_savecount" msprop:Generator_ColumnPropNameInTable="sfi_savecountColumn" msprop:Generator_ColumnPropNameInRow="sfi_savecount" msprop:Generator_UserColumnName="sfi_savecount" msprop:Generator_ColumnVarNameInTable="columnsfi_savecount" type="xs:float" minOccurs="0" />
<xs:element name="sfi_savetime1" msdata:Caption="sfi_savetime" msprop:Generator_ColumnPropNameInRow="sfi_savetime1" msprop:Generator_ColumnPropNameInTable="sfi_savetime1Column" msprop:Generator_ColumnVarNameInTable="columnsfi_savetime1" msprop:Generator_UserColumnName="sfi_savetime1" type="xs:double" minOccurs="0" />
<xs:element name="sfi_savecount1" msdata:Caption="sfi_savecount" msprop:Generator_ColumnPropNameInRow="sfi_savecount1" msprop:Generator_ColumnPropNameInTable="sfi_savecount1Column" msprop:Generator_ColumnVarNameInTable="columnsfi_savecount1" msprop:Generator_UserColumnName="sfi_savecount1" type="xs:double" minOccurs="0" />
<xs:element name="lasthistory_date" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="lasthistory_date" msprop:Generator_ColumnPropNameInTable="lasthistory_dateColumn" msprop:Generator_ColumnVarNameInTable="columnlasthistory_date" msprop:Generator_UserColumnName="lasthistory_date" minOccurs="0">
<xs:element name="sfi_savetime1" msdata:Caption="sfi_savetime" msprop:Generator_UserColumnName="sfi_savetime1" msprop:Generator_ColumnPropNameInTable="sfi_savetime1Column" msprop:Generator_ColumnPropNameInRow="sfi_savetime1" msprop:Generator_ColumnVarNameInTable="columnsfi_savetime1" type="xs:double" minOccurs="0" />
<xs:element name="sfi_savecount1" msdata:Caption="sfi_savecount" msprop:Generator_UserColumnName="sfi_savecount1" msprop:Generator_ColumnPropNameInTable="sfi_savecount1Column" msprop:Generator_ColumnPropNameInRow="sfi_savecount1" msprop:Generator_ColumnVarNameInTable="columnsfi_savecount1" type="xs:double" minOccurs="0" />
<xs:element name="lasthistory_date" msdata:ReadOnly="true" msprop:Generator_UserColumnName="lasthistory_date" msprop:Generator_ColumnPropNameInTable="lasthistory_dateColumn" msprop:Generator_ColumnPropNameInRow="lasthistory_date" msprop:Generator_ColumnVarNameInTable="columnlasthistory_date" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sfi_shiftcount" msprop:nullValue="0" msprop:Generator_ColumnPropNameInTable="sfi_shiftcountColumn" msprop:Generator_ColumnVarNameInTable="columnsfi_shiftcount" msprop:Generator_UserColumnName="sfi_shiftcount" msprop:Generator_ColumnPropNameInRow="sfi_shiftcount" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -5126,45 +5124,45 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EETGW_Project_Layout" msprop:Generator_RowClassName="EETGW_Project_LayoutRow" msprop:Generator_RowEvHandlerName="EETGW_Project_LayoutRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_Project_LayoutRowDeleted" msprop:Generator_RowDeletingName="EETGW_Project_LayoutRowDeleting" msprop:Generator_RowEvArgName="EETGW_Project_LayoutRowChangeEvent" msprop:Generator_TablePropName="EETGW_Project_Layout" msprop:Generator_RowChangedName="EETGW_Project_LayoutRowChanged" msprop:Generator_UserTableName="EETGW_Project_Layout" msprop:Generator_RowChangingName="EETGW_Project_LayoutRowChanging" msprop:Generator_TableClassName="EETGW_Project_LayoutDataTable" msprop:Generator_TableVarName="tableEETGW_Project_Layout">
<xs:element name="EETGW_Project_Layout" msprop:Generator_RowEvHandlerName="EETGW_Project_LayoutRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_Project_LayoutRowDeleted" msprop:Generator_RowDeletingName="EETGW_Project_LayoutRowDeleting" msprop:Generator_RowEvArgName="EETGW_Project_LayoutRowChangeEvent" msprop:Generator_TablePropName="EETGW_Project_Layout" msprop:Generator_RowChangedName="EETGW_Project_LayoutRowChanged" msprop:Generator_UserTableName="EETGW_Project_Layout" msprop:Generator_RowChangingName="EETGW_Project_LayoutRowChanging" msprop:Generator_RowClassName="EETGW_Project_LayoutRow" msprop:Generator_TableClassName="EETGW_Project_LayoutDataTable" msprop:Generator_TableVarName="tableEETGW_Project_Layout">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="no" msprop:Generator_UserColumnName="no" msprop:Generator_ColumnPropNameInTable="noColumn" msprop:Generator_ColumnPropNameInRow="no" msprop:Generator_ColumnVarNameInTable="columnno" type="xs:int" />
<xs:element name="row" msprop:Generator_UserColumnName="row" msprop:Generator_ColumnPropNameInTable="rowColumn" msprop:Generator_ColumnPropNameInRow="row" msprop:Generator_ColumnVarNameInTable="columnrow" type="xs:int" />
<xs:element name="col" msprop:Generator_UserColumnName="col" msprop:Generator_ColumnPropNameInTable="colColumn" msprop:Generator_ColumnPropNameInRow="col" msprop:Generator_ColumnVarNameInTable="columncol" type="xs:int" />
<xs:element name="rowspan" msprop:Generator_UserColumnName="rowspan" msprop:Generator_ColumnPropNameInTable="rowspanColumn" msprop:Generator_ColumnPropNameInRow="rowspan" msprop:Generator_ColumnVarNameInTable="columnrowspan" type="xs:int" />
<xs:element name="colspan" msprop:Generator_UserColumnName="colspan" msprop:Generator_ColumnPropNameInTable="colspanColumn" msprop:Generator_ColumnPropNameInRow="colspan" msprop:Generator_ColumnVarNameInTable="columncolspan" type="xs:int" />
<xs:element name="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="reserve" msprop:Generator_UserColumnName="reserve" msprop:Generator_ColumnPropNameInTable="reserveColumn" msprop:Generator_ColumnPropNameInRow="reserve" msprop:Generator_ColumnVarNameInTable="columnreserve" minOccurs="0">
<xs:element name="no" msprop:Generator_ColumnPropNameInTable="noColumn" msprop:Generator_ColumnPropNameInRow="no" msprop:Generator_UserColumnName="no" msprop:Generator_ColumnVarNameInTable="columnno" type="xs:int" />
<xs:element name="row" msprop:Generator_ColumnPropNameInTable="rowColumn" msprop:Generator_ColumnPropNameInRow="row" msprop:Generator_UserColumnName="row" msprop:Generator_ColumnVarNameInTable="columnrow" type="xs:int" />
<xs:element name="col" msprop:Generator_ColumnPropNameInTable="colColumn" msprop:Generator_ColumnPropNameInRow="col" msprop:Generator_UserColumnName="col" msprop:Generator_ColumnVarNameInTable="columncol" type="xs:int" />
<xs:element name="rowspan" msprop:Generator_ColumnPropNameInTable="rowspanColumn" msprop:Generator_ColumnPropNameInRow="rowspan" msprop:Generator_UserColumnName="rowspan" msprop:Generator_ColumnVarNameInTable="columnrowspan" type="xs:int" />
<xs:element name="colspan" msprop:Generator_ColumnPropNameInTable="colspanColumn" msprop:Generator_ColumnPropNameInRow="colspan" msprop:Generator_UserColumnName="colspan" msprop:Generator_ColumnVarNameInTable="columncolspan" type="xs:int" />
<xs:element name="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="reserve" msprop:Generator_ColumnPropNameInTable="reserveColumn" msprop:Generator_ColumnPropNameInRow="reserve" msprop:Generator_UserColumnName="reserve" msprop:Generator_ColumnVarNameInTable="columnreserve" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="remark" msprop:Generator_UserColumnName="remark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_ColumnVarNameInTable="columnremark" minOccurs="0">
<xs:element name="remark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_UserColumnName="remark" msprop:Generator_ColumnVarNameInTable="columnremark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>