This commit is contained in:
2022-07-06 18:59:10 +00:00
parent dda1bb096e
commit 12ca6b2f61
6 changed files with 346 additions and 54 deletions

View File

@@ -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
}
}
}