Browse Source

修改装栈板功能

callm 4 days ago
parent
commit
fb9f3a6267

+ 148 - 65
UAS_MES_YDCY/FunctionCode/Warehouse/Warehouse_FinishedProductOutSumNEW.Designer.cs

@@ -64,17 +64,22 @@
             this.cancel = new UAS_MES_NEW.CustomControl.CustomCheckBox.CustomCheckBox();
             this.input = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.SnCollectionBox();
             this.InOutDetailDGV = new UAS_MES_NEW.CustomControl.DataGrid_View.DataGridViewWithSerialNum();
-            this.ProdDetail = new UAS_MES_NEW.CustomControl.ButtonUtil.NormalButton();
-            this.pi_inoutno = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.SearchTextBox();
-            this.PrinterList_label = new System.Windows.Forms.Label();
-            this.PrinterList = new UAS_MES_NEW.CustomControl.ComBoxWithFocus.PrinterCombox();
-            this.Combine = new System.Windows.Forms.CheckBox();
-            this.pa_outboxcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.pa_mothercode = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.PA_TOTALQTY = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.pa_prodcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.pr_detail = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.pr_spec = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.blank = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.ProdDetail = new UAS_MES_NEW.CustomControl.ButtonUtil.NormalButton();
+            this.pi_inoutno = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.SearchTextBox();
+            this.PrinterList_label = new System.Windows.Forms.Label();
+            this.PrinterList = new UAS_MES_NEW.CustomControl.ComBoxWithFocus.PrinterCombox();
+            this.Combine = new System.Windows.Forms.CheckBox();
+            this.AutoOutBoxCode = new System.Windows.Forms.CheckBox();
+            this.pa_outboxcode = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.SnCollectionBox();
+            this.pa_outboxcode_label = new System.Windows.Forms.Label();
+            this.pa_standardqty = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.EnterTextBox();
+            this.pa_packageqty_label = new System.Windows.Forms.Label();
             this.panel1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.Prodiodetail)).BeginInit();
@@ -275,7 +280,7 @@
             // 
             this.PrintLabel_label.AutoSize = true;
             this.PrintLabel_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.PrintLabel_label.Location = new System.Drawing.Point(851, 155);
+            this.PrintLabel_label.Location = new System.Drawing.Point(851, 209);
             this.PrintLabel_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
             this.PrintLabel_label.Name = "PrintLabel_label";
             this.PrintLabel_label.Size = new System.Drawing.Size(82, 41);
@@ -286,7 +291,7 @@
             // 
             this.pa_restqty_label.AutoSize = true;
             this.pa_restqty_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.pa_restqty_label.Location = new System.Drawing.Point(851, 243);
+            this.pa_restqty_label.Location = new System.Drawing.Point(851, 297);
             this.pa_restqty_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
             this.pa_restqty_label.Name = "pa_restqty_label";
             this.pa_restqty_label.Size = new System.Drawing.Size(82, 41);
@@ -298,7 +303,7 @@
             this.PrintNum.AllPower = null;
             this.PrintNum.BackColor = System.Drawing.Color.White;
             this.PrintNum.ID = null;
-            this.PrintNum.Location = new System.Drawing.Point(958, 249);
+            this.PrintNum.Location = new System.Drawing.Point(958, 303);
             this.PrintNum.Margin = new System.Windows.Forms.Padding(6);
             this.PrintNum.Name = "PrintNum";
             this.PrintNum.Power = null;
@@ -313,7 +318,7 @@
             // 
             this.PrintLabel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.PrintLabel.FormattingEnabled = true;
-            this.PrintLabel.Location = new System.Drawing.Point(958, 155);
+            this.PrintLabel.Location = new System.Drawing.Point(958, 209);
             this.PrintLabel.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
             this.PrintLabel.Name = "PrintLabel";
             this.PrintLabel.Size = new System.Drawing.Size(219, 32);
@@ -326,7 +331,7 @@
             this.Printlab.DownImage = ((System.Drawing.Image)(resources.GetObject("Printlab.DownImage")));
             this.Printlab.Image = ((System.Drawing.Image)(resources.GetObject("Printlab.Image")));
             this.Printlab.IsShowBorder = true;
-            this.Printlab.Location = new System.Drawing.Point(998, 353);
+            this.Printlab.Location = new System.Drawing.Point(998, 407);
             this.Printlab.Margin = new System.Windows.Forms.Padding(6);
             this.Printlab.MoveImage = ((System.Drawing.Image)(resources.GetObject("Printlab.MoveImage")));
             this.Printlab.Name = "Printlab";
@@ -350,12 +355,12 @@
             this.pr_detail1,
             this.pr_spec1});
             this.Prodiodetail.EnableContentClick = true;
-            this.Prodiodetail.Location = new System.Drawing.Point(18, 79);
+            this.Prodiodetail.Location = new System.Drawing.Point(18, 124);
             this.Prodiodetail.Margin = new System.Windows.Forms.Padding(4);
             this.Prodiodetail.Name = "Prodiodetail";
             this.Prodiodetail.RowHeadersWidth = 82;
             this.Prodiodetail.RowTemplate.Height = 27;
-            this.Prodiodetail.Size = new System.Drawing.Size(829, 441);
+            this.Prodiodetail.Size = new System.Drawing.Size(829, 396);
             this.Prodiodetail.TabIndex = 242;
             this.Prodiodetail.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Prodiodetail_CellClick);
             // 
@@ -476,7 +481,7 @@
             this.InOutDetailDGV.AllowUserToAddRows = false;
             this.InOutDetailDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.InOutDetailDGV.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.pa_outboxcode,
+            this.pa_mothercode,
             this.PA_TOTALQTY,
             this.pa_prodcode,
             this.pr_detail,
@@ -492,6 +497,58 @@
             this.InOutDetailDGV.TabIndex = 218;
             this.InOutDetailDGV.DataSourceChanged += new System.EventHandler(this.InOutDetailDGV_DataSourceChanged);
             // 
+            // pa_mothercode
+            // 
+            this.pa_mothercode.DataPropertyName = "pa_outboxcode";
+            this.pa_mothercode.HeaderText = "栈板/箱号";
+            this.pa_mothercode.MinimumWidth = 2;
+            this.pa_mothercode.Name = "pa_mothercode";
+            this.pa_mothercode.ReadOnly = true;
+            this.pa_mothercode.Width = 150;
+            // 
+            // PA_TOTALQTY
+            // 
+            this.PA_TOTALQTY.DataPropertyName = "PA_TOTALQTY";
+            this.PA_TOTALQTY.HeaderText = "装箱数量";
+            this.PA_TOTALQTY.MinimumWidth = 10;
+            this.PA_TOTALQTY.Name = "PA_TOTALQTY";
+            this.PA_TOTALQTY.Width = 200;
+            // 
+            // pa_prodcode
+            // 
+            this.pa_prodcode.DataPropertyName = "pa_prodcode";
+            this.pa_prodcode.HeaderText = "产品代码";
+            this.pa_prodcode.MinimumWidth = 10;
+            this.pa_prodcode.Name = "pa_prodcode";
+            this.pa_prodcode.ReadOnly = true;
+            this.pa_prodcode.Width = 200;
+            // 
+            // pr_detail
+            // 
+            this.pr_detail.DataPropertyName = "pr_detail";
+            this.pr_detail.HeaderText = "名称";
+            this.pr_detail.MinimumWidth = 10;
+            this.pr_detail.Name = "pr_detail";
+            this.pr_detail.ReadOnly = true;
+            this.pr_detail.Width = 200;
+            // 
+            // pr_spec
+            // 
+            this.pr_spec.DataPropertyName = "pr_spec";
+            this.pr_spec.HeaderText = "规格";
+            this.pr_spec.MinimumWidth = 200;
+            this.pr_spec.Name = "pr_spec";
+            this.pr_spec.ReadOnly = true;
+            this.pr_spec.Width = 200;
+            // 
+            // blank
+            // 
+            this.blank.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            this.blank.HeaderText = "";
+            this.blank.MinimumWidth = 2;
+            this.blank.Name = "blank";
+            this.blank.Width = 2;
+            // 
             // ProdDetail
             // 
             this.ProdDetail.AllPower = null;
@@ -535,7 +592,7 @@
             // 
             this.PrinterList_label.AutoSize = true;
             this.PrinterList_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.PrinterList_label.Location = new System.Drawing.Point(851, 79);
+            this.PrinterList_label.Location = new System.Drawing.Point(851, 133);
             this.PrinterList_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
             this.PrinterList_label.Name = "PrinterList_label";
             this.PrinterList_label.Size = new System.Drawing.Size(114, 41);
@@ -544,7 +601,7 @@
             // 
             // PrinterList
             // 
-            this.PrinterList.Location = new System.Drawing.Point(958, 83);
+            this.PrinterList.Location = new System.Drawing.Point(958, 137);
             this.PrinterList.Margin = new System.Windows.Forms.Padding(8);
             this.PrinterList.Name = "PrinterList";
             this.PrinterList.Size = new System.Drawing.Size(219, 40);
@@ -560,63 +617,84 @@
             this.Combine.Text = "合并明细";
             this.Combine.UseVisualStyleBackColor = true;
             // 
-            // pa_outboxcode
-            // 
-            this.pa_outboxcode.DataPropertyName = "pa_outboxcode";
-            this.pa_outboxcode.HeaderText = "栈板/箱号";
-            this.pa_outboxcode.MinimumWidth = 2;
-            this.pa_outboxcode.Name = "pa_outboxcode";
-            this.pa_outboxcode.ReadOnly = true;
-            this.pa_outboxcode.Width = 150;
-            // 
-            // PA_TOTALQTY
-            // 
-            this.PA_TOTALQTY.DataPropertyName = "PA_TOTALQTY";
-            this.PA_TOTALQTY.HeaderText = "装箱数量";
-            this.PA_TOTALQTY.MinimumWidth = 10;
-            this.PA_TOTALQTY.Name = "PA_TOTALQTY";
-            this.PA_TOTALQTY.Width = 200;
-            // 
-            // pa_prodcode
-            // 
-            this.pa_prodcode.DataPropertyName = "pa_prodcode";
-            this.pa_prodcode.HeaderText = "产品代码";
-            this.pa_prodcode.MinimumWidth = 10;
-            this.pa_prodcode.Name = "pa_prodcode";
-            this.pa_prodcode.ReadOnly = true;
-            this.pa_prodcode.Width = 200;
-            // 
-            // pr_detail
+            // AutoOutBoxCode
             // 
-            this.pr_detail.DataPropertyName = "pr_detail";
-            this.pr_detail.HeaderText = "名称";
-            this.pr_detail.MinimumWidth = 10;
-            this.pr_detail.Name = "pr_detail";
-            this.pr_detail.ReadOnly = true;
-            this.pr_detail.Width = 200;
-            // 
-            // pr_spec
+            this.AutoOutBoxCode.AutoSize = true;
+            this.AutoOutBoxCode.Checked = true;
+            this.AutoOutBoxCode.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.AutoOutBoxCode.Font = new System.Drawing.Font("微软雅黑", 10F);
+            this.AutoOutBoxCode.Location = new System.Drawing.Point(495, 67);
+            this.AutoOutBoxCode.Margin = new System.Windows.Forms.Padding(6);
+            this.AutoOutBoxCode.Name = "AutoOutBoxCode";
+            this.AutoOutBoxCode.Size = new System.Drawing.Size(155, 39);
+            this.AutoOutBoxCode.TabIndex = 253;
+            this.AutoOutBoxCode.Text = "自动生成";
+            this.AutoOutBoxCode.UseVisualStyleBackColor = true;
             // 
-            this.pr_spec.DataPropertyName = "pr_spec";
-            this.pr_spec.HeaderText = "规格";
-            this.pr_spec.MinimumWidth = 200;
-            this.pr_spec.Name = "pr_spec";
-            this.pr_spec.ReadOnly = true;
-            this.pr_spec.Width = 200;
-            // 
-            // blank
+            // pa_outboxcode
             // 
-            this.blank.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
-            this.blank.HeaderText = "";
-            this.blank.MinimumWidth = 2;
-            this.blank.Name = "blank";
-            this.blank.Width = 2;
+            this.pa_outboxcode.AllPower = "ifall";
+            this.pa_outboxcode.BackColor = System.Drawing.Color.White;
+            this.pa_outboxcode.ID = null;
+            this.pa_outboxcode.Location = new System.Drawing.Point(154, 69);
+            this.pa_outboxcode.Margin = new System.Windows.Forms.Padding(6);
+            this.pa_outboxcode.Name = "pa_outboxcode";
+            this.pa_outboxcode.Power = "ifread";
+            this.pa_outboxcode.Size = new System.Drawing.Size(316, 35);
+            this.pa_outboxcode.Str = null;
+            this.pa_outboxcode.Str1 = null;
+            this.pa_outboxcode.Str2 = null;
+            this.pa_outboxcode.TabIndex = 252;
+            this.pa_outboxcode.Tag = "NoAuto";
+            // 
+            // pa_outboxcode_label
+            // 
+            this.pa_outboxcode_label.AutoSize = true;
+            this.pa_outboxcode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.pa_outboxcode_label.Location = new System.Drawing.Point(11, 63);
+            this.pa_outboxcode_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
+            this.pa_outboxcode_label.Name = "pa_outboxcode_label";
+            this.pa_outboxcode_label.Size = new System.Drawing.Size(114, 41);
+            this.pa_outboxcode_label.TabIndex = 251;
+            this.pa_outboxcode_label.Text = "栈板号";
+            // 
+            // pa_standardqty
+            // 
+            this.pa_standardqty.AllPower = null;
+            this.pa_standardqty.BackColor = System.Drawing.Color.White;
+            this.pa_standardqty.ID = null;
+            this.pa_standardqty.Location = new System.Drawing.Point(821, 67);
+            this.pa_standardqty.Margin = new System.Windows.Forms.Padding(4);
+            this.pa_standardqty.Name = "pa_standardqty";
+            this.pa_standardqty.Power = null;
+            this.pa_standardqty.Size = new System.Drawing.Size(200, 35);
+            this.pa_standardqty.Str = null;
+            this.pa_standardqty.Str1 = null;
+            this.pa_standardqty.Str2 = null;
+            this.pa_standardqty.TabIndex = 255;
+            this.pa_standardqty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.pa_standardqty_KeyDown);
+            // 
+            // pa_packageqty_label
+            // 
+            this.pa_packageqty_label.AutoSize = true;
+            this.pa_packageqty_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.pa_packageqty_label.Location = new System.Drawing.Point(665, 63);
+            this.pa_packageqty_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
+            this.pa_packageqty_label.Name = "pa_packageqty_label";
+            this.pa_packageqty_label.Size = new System.Drawing.Size(146, 41);
+            this.pa_packageqty_label.TabIndex = 254;
+            this.pa_packageqty_label.Text = "栈板容量";
             // 
             // Warehouse_FinishedProductOutSumNEW
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(1480, 1036);
+            this.Controls.Add(this.pa_standardqty);
+            this.Controls.Add(this.pa_packageqty_label);
+            this.Controls.Add(this.AutoOutBoxCode);
+            this.Controls.Add(this.pa_outboxcode);
+            this.Controls.Add(this.pa_outboxcode_label);
             this.Controls.Add(this.Combine);
             this.Controls.Add(this.PrinterList_label);
             this.Controls.Add(this.PrinterList);
@@ -699,7 +777,12 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
         private System.Windows.Forms.DataGridViewTextBoxColumn pr_detail1;
         private System.Windows.Forms.DataGridViewTextBoxColumn pr_spec1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn pa_outboxcode;
+        private System.Windows.Forms.CheckBox AutoOutBoxCode;
+        private CustomControl.TextBoxWithIcon.SnCollectionBox pa_outboxcode;
+        private System.Windows.Forms.Label pa_outboxcode_label;
+        private CustomControl.TextBoxWithIcon.EnterTextBox pa_standardqty;
+        private System.Windows.Forms.Label pa_packageqty_label;
+        private System.Windows.Forms.DataGridViewTextBoxColumn pa_mothercode;
         private System.Windows.Forms.DataGridViewTextBoxColumn PA_TOTALQTY;
         private System.Windows.Forms.DataGridViewTextBoxColumn pa_prodcode;
         private System.Windows.Forms.DataGridViewTextBoxColumn pr_detail;

+ 36 - 4
UAS_MES_YDCY/FunctionCode/Warehouse/Warehouse_FinishedProductOutSumNEW.cs

@@ -270,24 +270,29 @@ namespace UAS_MES_NEW.Warehouse
                         {
                             string outboxcode = dh.getFieldDataByCondition("makeserial", "ms_outboxcode", "ms_sncode = '" + input.Text + "'").ToString();
                             string pa_makecode = "";
-                            string pa_mothercode = "";
-                            string pa_id = "";
+                            string pa_prodcode = "";
                             if (outboxcode != "")
                             {
                                 input.Text = outboxcode;
                             }
                             sql.Clear();
-                            sql.Append("select pa_id,pa_outboxcode,pa_makecode,pa_status,nvl(pa_iostatus,0) pa_iostatus,nvl(pa_downstatus,0)pa_downstatus,pa_outno, pa_mothercode from package where pa_outboxcode='" + input.Text + "' and pa_type in(1,2)");
+                            sql.Append("select pa_id,pr_palletqty,pa_outboxcode,pa_makecode,pa_status,nvl(pa_iostatus,0) pa_iostatus,nvl(pa_downstatus,0)pa_downstatus,pa_prodcode,pa_outno, pa_mothercode from package left join product on pr_code=pa_prodcode where pa_outboxcode='" + input.Text + "' and pa_type in(1,2)");
                             dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
                             if (dt.Rows.Count > 0)
                             {
                                 pa_makecode = dt.Rows[0]["pa_makecode"].ToString();
+                                pa_prodcode = dt.Rows[0]["pa_prodcode"].ToString();
+                                pa_standardqty.Text= dt.Rows[0]["pr_palletqty"].ToString();
                             }
                             else
                             {
                                 OperateResult.AppendText("箱号" + input.Text + "不存在,请重新输入\n", Color.Red, input);
                                 return;
                             }
+                            if (pa_outboxcode.Text == "" && AutoOutBoxCode.Checked)
+                            {
+                                pa_outboxcode.Text = LogicHandler.GetOutBoxCode("PALLET", pa_makecode, pa_prodcode, User.UserCode);
+                            }
                             if (!checkinsertprodiomac("箱号"))
                                 return;
                             //更新箱号对应的出货单号
@@ -648,7 +653,7 @@ namespace UAS_MES_NEW.Warehouse
 
         private void InOutDetailDGV_DataSourceChanged(object sender, EventArgs e)
         {
-           
+
         }
         string PrintPrcode = "";
         string PdPDNO = "";
@@ -686,5 +691,32 @@ namespace UAS_MES_NEW.Warehouse
                 OperateResult.AppendText(ErrorMessage + "\n", Color.Red);
             }
         }
+
+        private void pa_standardqty_KeyDown(object sender, KeyEventArgs e)
+        {
+            if (e.KeyCode == Keys.Enter)
+            {
+                ResetPackageQTY();
+            }
+        }
+
+        private void ResetPackageQTY()
+        {
+            if (pa_outboxcode.Text != "")
+            {
+                DataTable dt = (DataTable)dh.ExecuteSql("select pa_totalqty,pa_status from package where pa_outboxcode='" + pa_outboxcode.Text + "'", "select");
+                if (dt.Rows.Count > 0)
+                {
+                    string total = dt.Rows[0]["pa_totalqty"].ToString();
+                    if (int.Parse(pa_standardqty.Text) >= int.Parse(total))
+                    {
+                        dh.UpdateByCondition("package", "pa_standardqty='" + pa_standardqty.Text + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
+                        OperateResult.AppendText(">>栈板" + pa_outboxcode.Text + "修改容量成功,已修改为" + pa_standardqty.Text + "\n", Color.Green);
+                        return;
+                    }
+                    else OperateResult.AppendText(">>容量不能小于已装数量\n", Color.Red);
+                }
+            }
+        }
     }
 }

+ 1 - 37
UAS_MES_YDCY/FunctionCode/Warehouse/Warehouse_FinishedProductOutSumNEW.resx

@@ -270,24 +270,6 @@
   <metadata name="pr_spec1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="pd_pdno.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pd_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pd_prodcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pr_detail1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pr_spec1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <data name="Clean.DownImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAAEUAAAAWCAYAAACWl1FwAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
@@ -326,7 +308,7 @@
         42a73eNQWtiN/XCAB+GhVilVVUrFSqlfSikrMOzG/u+H6/+yQ4jdXN8e9AAAAABJRU5ErkJggg==
 </value>
   </data>
-  <metadata name="pa_outboxcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="pa_mothercode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
   <metadata name="PA_TOTALQTY.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -382,22 +364,4 @@
         42a73eNQWtiN/XCAB+GhVilVVUrFSqlfSikrMOzG/u+H6/+yQ4jdXN8e9AAAAABJRU5ErkJggg==
 </value>
   </data>
-  <metadata name="pa_outboxcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="PA_TOTALQTY.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pa_prodcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pr_detail.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="pr_spec.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="blank.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
 </root>