diff --git a/AyaNovaQBI/AyaNovaQBI.csproj b/AyaNovaQBI/AyaNovaQBI.csproj
index 4ae4dbd..1f0723e 100644
--- a/AyaNovaQBI/AyaNovaQBI.csproj
+++ b/AyaNovaQBI/AyaNovaQBI.csproj
@@ -112,6 +112,12 @@
Map.cs
+
+ Form
+
+
+ MapApproveUpdateSelectedItems.cs
+
Form
@@ -236,6 +242,9 @@
Map.cs
+
+ MapApproveUpdateSelectedItems.cs
+
MapSelectAyaNovaItem.cs
diff --git a/AyaNovaQBI/Map.Designer.cs b/AyaNovaQBI/Map.Designer.cs
index 4a4df8b..690d1f8 100644
--- a/AyaNovaQBI/Map.Designer.cs
+++ b/AyaNovaQBI/Map.Designer.cs
@@ -28,10 +28,10 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.objectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.customersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -46,7 +46,6 @@
this.linkSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.importSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.autoLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.updateAyaNovaPricesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gridAya = new System.Windows.Forms.DataGridView();
this.AyaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.linked = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -58,6 +57,7 @@
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
+ this.updateSelectedItemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridAya)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridQB)).BeginInit();
@@ -74,8 +74,8 @@
this.showToolStripMenuItem,
this.linkSelectedItemsToolStripMenuItem,
this.importSelectedItemsToolStripMenuItem,
- this.autoLinkToolStripMenuItem,
- this.updateAyaNovaPricesToolStripMenuItem});
+ this.updateSelectedItemsToolStripMenuItem,
+ this.autoLinkToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(783, 24);
@@ -100,7 +100,7 @@
this.customersToolStripMenuItem.CheckOnClick = true;
this.customersToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.customersToolStripMenuItem.Name = "customersToolStripMenuItem";
- this.customersToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.customersToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.customersToolStripMenuItem.Text = "&Customers";
this.customersToolStripMenuItem.Click += new System.EventHandler(this.customersToolStripMenuItem_Click);
//
@@ -108,7 +108,7 @@
//
this.serviceRatesToolStripMenuItem.CheckOnClick = true;
this.serviceRatesToolStripMenuItem.Name = "serviceRatesToolStripMenuItem";
- this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.serviceRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.serviceRatesToolStripMenuItem.Text = "&Service rates";
this.serviceRatesToolStripMenuItem.Click += new System.EventHandler(this.serviceRatesToolStripMenuItem_Click);
//
@@ -116,7 +116,7 @@
//
this.travelRatesToolStripMenuItem.CheckOnClick = true;
this.travelRatesToolStripMenuItem.Name = "travelRatesToolStripMenuItem";
- this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.travelRatesToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.travelRatesToolStripMenuItem.Text = "&Travel rates";
this.travelRatesToolStripMenuItem.Click += new System.EventHandler(this.travelRatesToolStripMenuItem_Click);
//
@@ -124,7 +124,7 @@
//
this.partsToolStripMenuItem.CheckOnClick = true;
this.partsToolStripMenuItem.Name = "partsToolStripMenuItem";
- this.partsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.partsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.partsToolStripMenuItem.Text = "&Parts";
this.partsToolStripMenuItem.Click += new System.EventHandler(this.partsToolStripMenuItem_Click);
//
@@ -132,7 +132,7 @@
//
this.vendorsToolStripMenuItem.CheckOnClick = true;
this.vendorsToolStripMenuItem.Name = "vendorsToolStripMenuItem";
- this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.vendorsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.vendorsToolStripMenuItem.Text = "&Vendors";
this.vendorsToolStripMenuItem.Click += new System.EventHandler(this.vendorsToolStripMenuItem_Click);
//
@@ -152,7 +152,7 @@
this.allItemsToolStripMenuItem.CheckOnClick = true;
this.allItemsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.allItemsToolStripMenuItem.Name = "allItemsToolStripMenuItem";
- this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.allItemsToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.allItemsToolStripMenuItem.Tag = "all";
this.allItemsToolStripMenuItem.Text = "&All items";
this.allItemsToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
@@ -161,7 +161,7 @@
//
this.linkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
this.linkedItemsOnlyToolStripMenuItem.Name = "linkedItemsOnlyToolStripMenuItem";
- this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.linkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.linkedItemsOnlyToolStripMenuItem.Tag = "linked";
this.linkedItemsOnlyToolStripMenuItem.Text = "&Linked items only";
this.linkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
@@ -170,7 +170,7 @@
//
this.unlinkedItemsOnlyToolStripMenuItem.CheckOnClick = true;
this.unlinkedItemsOnlyToolStripMenuItem.Name = "unlinkedItemsOnlyToolStripMenuItem";
- this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.unlinkedItemsOnlyToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.unlinkedItemsOnlyToolStripMenuItem.Tag = "unlinked";
this.unlinkedItemsOnlyToolStripMenuItem.Text = "&Unlinked items only";
this.unlinkedItemsOnlyToolStripMenuItem.Click += new System.EventHandler(this.showSubItemToolStripMenuItem_Click);
@@ -196,28 +196,22 @@
this.autoLinkToolStripMenuItem.Text = "&Auto link";
this.autoLinkToolStripMenuItem.Click += new System.EventHandler(this.autoLinkToolStripMenuItem_Click);
//
- // updateAyaNovaPricesToolStripMenuItem
- //
- this.updateAyaNovaPricesToolStripMenuItem.Name = "updateAyaNovaPricesToolStripMenuItem";
- this.updateAyaNovaPricesToolStripMenuItem.Size = new System.Drawing.Size(142, 20);
- this.updateAyaNovaPricesToolStripMenuItem.Text = "Update AyaNova &prices";
- //
// gridAya
//
this.gridAya.AllowUserToAddRows = false;
this.gridAya.AllowUserToDeleteRows = false;
this.gridAya.AllowUserToResizeRows = false;
- dataGridViewCellStyle13.BackColor = System.Drawing.Color.WhiteSmoke;
- this.gridAya.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.gridAya.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
this.gridAya.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
- dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.gridAya.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.gridAya.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.gridAya.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.gridAya.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.AyaName,
@@ -264,17 +258,17 @@
this.gridQB.AllowUserToAddRows = false;
this.gridQB.AllowUserToDeleteRows = false;
this.gridQB.AllowUserToResizeRows = false;
- dataGridViewCellStyle15.BackColor = System.Drawing.Color.WhiteSmoke;
- this.gridQB.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.gridQB.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.gridQB.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.gridQB.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.gridQB.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.gridQB.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.gridQB.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
@@ -357,6 +351,13 @@
this.label2.TabIndex = 6;
this.label2.Text = "QuickBooks";
//
+ // updateSelectedItemsToolStripMenuItem
+ //
+ this.updateSelectedItemsToolStripMenuItem.Name = "updateSelectedItemsToolStripMenuItem";
+ this.updateSelectedItemsToolStripMenuItem.Size = new System.Drawing.Size(135, 20);
+ this.updateSelectedItemsToolStripMenuItem.Text = "&Update selected items";
+ this.updateSelectedItemsToolStripMenuItem.Click += new System.EventHandler(this.updateSelectedItemsToolStripMenuItem_Click);
+ //
// Map
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -397,7 +398,6 @@
private System.Windows.Forms.ToolStripMenuItem linkedItemsOnlyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem unlinkedItemsOnlyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem autoLinkToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem updateAyaNovaPricesToolStripMenuItem;
private System.Windows.Forms.DataGridView gridAya;
private System.Windows.Forms.DataGridView gridQB;
private System.Windows.Forms.SplitContainer splitContainer1;
@@ -411,5 +411,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
+ private System.Windows.Forms.ToolStripMenuItem updateSelectedItemsToolStripMenuItem;
}
}
\ No newline at end of file
diff --git a/AyaNovaQBI/Map.cs b/AyaNovaQBI/Map.cs
index 1b90796..9abaf75 100644
--- a/AyaNovaQBI/Map.cs
+++ b/AyaNovaQBI/Map.cs
@@ -638,17 +638,14 @@ namespace AyaNovaQBI
_aya.Rows.Clear();
_qb.Rows.Clear();
-
-
- //Case 147
- updateAyaNovaPricesToolStripMenuItem.Visible = false;
+ updateSelectedItemsToolStripMenuItem.Visible = false;
switch (_Type)
{
case AyaType.Customer:
#region client
-
+ updateSelectedItemsToolStripMenuItem.Visible = true;
foreach (var i in util.AyaClientList)
{
@@ -671,7 +668,7 @@ namespace AyaNovaQBI
break;
case AyaType.Vendor:
#region Vendor
-
+ updateSelectedItemsToolStripMenuItem.Visible = true;
foreach (var i in util.AyaVendorList)
{
@@ -750,12 +747,8 @@ namespace AyaNovaQBI
break;
case AyaType.Part:
- #region Service parts
- //case 632
- //gridQB.DisplayLayout.Rows.TemplateAddRow.Hidden=true;
-
- //Case 147
- updateAyaNovaPricesToolStripMenuItem.Visible = true;
+ #region Service parts
+ updateSelectedItemsToolStripMenuItem.Visible = true;
foreach (var i in util.AyaPartList)
{
@@ -950,8 +943,24 @@ namespace AyaNovaQBI
+
#endregion utility stuff
+
+ private void updateSelectedItemsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ //Parts in v7 default update would do price / cost both ways in addition to the part description and other fields
+ // however the user could go to map and select to *only* update the prices in AyaNova from QB but not the other fields
+ //for v8 going to simplify this to update all by default still for selected items or optionally pick "Price and cost only"
+
+ //Parts either grid separate checkbox "update Price and cost only" which does that otherwise does price/cost and other fields both ways
+
+ //customers either grid offer to update the opposite
+
+ //vendors either grid offer to update the opposite, this is new functionality
+
+ //Rates are not offered
+ }
}
}
diff --git a/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs b/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs
new file mode 100644
index 0000000..c279d67
--- /dev/null
+++ b/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs
@@ -0,0 +1,104 @@
+namespace AyaNovaQBI
+{
+ partial class MapApproveUpdateSelectedItems
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btnOK = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.lblUpdateMessage = new System.Windows.Forms.Label();
+ this.ckUpdatePriceCostOnly = new System.Windows.Forms.CheckBox();
+ this.SuspendLayout();
+ //
+ // btnOK
+ //
+ this.btnOK.Location = new System.Drawing.Point(372, 132);
+ this.btnOK.Name = "btnOK";
+ this.btnOK.Size = new System.Drawing.Size(75, 23);
+ this.btnOK.TabIndex = 21;
+ this.btnOK.Text = "OK";
+ this.btnOK.UseVisualStyleBackColor = true;
+ this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnCancel.Location = new System.Drawing.Point(30, 132);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 23);
+ this.btnCancel.TabIndex = 20;
+ this.btnCancel.Text = "Cancel";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+ //
+ // lblUpdateMessage
+ //
+ this.lblUpdateMessage.AutoSize = true;
+ this.lblUpdateMessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblUpdateMessage.Location = new System.Drawing.Point(27, 29);
+ this.lblUpdateMessage.Name = "lblUpdateMessage";
+ this.lblUpdateMessage.Size = new System.Drawing.Size(112, 13);
+ this.lblUpdateMessage.TabIndex = 22;
+ this.lblUpdateMessage.Text = "Update selected items";
+ //
+ // ckUpdatePriceCostOnly
+ //
+ this.ckUpdatePriceCostOnly.AutoSize = true;
+ this.ckUpdatePriceCostOnly.Location = new System.Drawing.Point(30, 63);
+ this.ckUpdatePriceCostOnly.Name = "ckUpdatePriceCostOnly";
+ this.ckUpdatePriceCostOnly.Size = new System.Drawing.Size(155, 17);
+ this.ckUpdatePriceCostOnly.TabIndex = 23;
+ this.ckUpdatePriceCostOnly.Text = "Update Price and Cost only";
+ this.ckUpdatePriceCostOnly.UseVisualStyleBackColor = true;
+ this.ckUpdatePriceCostOnly.Visible = false;
+ //
+ // MapApproveUpdateSelectedItems
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(459, 180);
+ this.Controls.Add(this.ckUpdatePriceCostOnly);
+ this.Controls.Add(this.lblUpdateMessage);
+ this.Controls.Add(this.btnOK);
+ this.Controls.Add(this.btnCancel);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Name = "MapApproveUpdateSelectedItems";
+ this.Text = "Update selected items?";
+ this.Load += new System.EventHandler(this.MapApproveUpdateSelectedItems_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button btnOK;
+ private System.Windows.Forms.Button btnCancel;
+ private System.Windows.Forms.Label lblUpdateMessage;
+ private System.Windows.Forms.CheckBox ckUpdatePriceCostOnly;
+ }
+}
\ No newline at end of file
diff --git a/AyaNovaQBI/MapApproveUpdateSelectedItems.cs b/AyaNovaQBI/MapApproveUpdateSelectedItems.cs
new file mode 100644
index 0000000..2fb1e3f
--- /dev/null
+++ b/AyaNovaQBI/MapApproveUpdateSelectedItems.cs
@@ -0,0 +1,49 @@
+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 AyaNovaQBI
+{
+ public partial class MapApproveUpdateSelectedItems : Form
+ {
+ public MapApproveUpdateSelectedItems()
+ {
+ InitializeComponent();
+ }
+
+ bool ShowUpdatePriceCostOnlyCheckBox { get; set; } = false;
+
+ bool PriceOnly { get
+ {
+ return ckUpdatePriceCostOnly.Checked;
+ }
+ }
+ string UpdateMessage { get; set; }
+
+ private void MapApproveUpdateSelectedItems_Load(object sender, EventArgs e)
+ {
+ ckUpdatePriceCostOnly.Visible = ShowUpdatePriceCostOnlyCheckBox;
+ lblUpdateMessage.Text=UpdateMessage;
+ btnCancel.Text = util.AyaTranslations["Cancel"];
+ btnOK.Text = util.AyaTranslations["OK"];
+ }
+
+ private void btnOK_Click(object sender, EventArgs e)
+ {
+ DialogResult = DialogResult.OK;
+ Close();
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+ }
+}
diff --git a/AyaNovaQBI/MapApproveUpdateSelectedItems.resx b/AyaNovaQBI/MapApproveUpdateSelectedItems.resx
new file mode 100644
index 0000000..29dcb1b
--- /dev/null
+++ b/AyaNovaQBI/MapApproveUpdateSelectedItems.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file