This commit is contained in:
2022-07-13 20:02:49 +00:00
parent 93bf6628d6
commit aec0992c13
5 changed files with 27 additions and 5 deletions

View File

@@ -120,6 +120,7 @@ namespace AyaNovaQBI
//remove the object from the grid as it's now dealt with
MisMatches.RemoveAt(e.RowIndex);
BindDataSource();
ChangesMade = true;
//If all done then close up
if (MisMatches.Count == 0)

View File

@@ -99,6 +99,11 @@ namespace AyaNovaQBI
private void btnOK_Click(object sender, EventArgs e)
{
if(_Pre && SelectedStatus==0)
{
if (MessageBox.Show("WARNING: You have selected \"< Any status >\" of Work order QBI will analyze for invoicing.\r\nThis could slow down QBI and is not recommended.\r\n\r\nAre you sure?", "Any status", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
return;
}
this.DialogResult = DialogResult.OK;
this.Close();

View File

@@ -10,6 +10,8 @@ Upload to same folder as AyaNova server files using same system
TODO:
DOCS
Test persisted form settings for server url (ONCE POSTED NEW BUILD OF AYANOVA TO TEST SERVER)

View File

@@ -975,14 +975,16 @@ namespace AyaNovaQBI
s1.DialogTitle = "AyaNova QBI setup - Choose billable Workorder Status";
s1.OptionTitle = "Billable workorder status";
s1.OptionDescription = "One of AyaNova QBI's tasks is to look for work orders in AyaNova \r\n" +
"that are ready to be billed out and put them in a list for your selection. \r\n" +
"that are ready to be billed out, analyze them to see if they are linked and put them in a list for your selection. \r\n" +
" \r\n" +
"By default QBI will consider work orders that are set to service completed \r\n" +
"and are not closed as it's selection criteria. \r\n" +
"By default QBI will consider work orders that do not have an Invoice number set as it's selection criteria. \r\n" +
" \r\n" +
"In addition, you can further refine the types of work orders that QBI \r\n" +
"considers ready for billing by specifying here a particular workorder Status \r\n" +
"you want to include in addition to the default criteria. ";
"you want to include in addition to the default criteria. \r\n" +
" \r\n" +
"We *strongly* recommend you choose a particular status for this option rather than <Any Status>\r\n" +
"otherwise QBI could be very slow if it has to analyze a large number of Work orders in AyaNova.";
s1.SelectedStatus = QDat.PreWOStatus;
s1.PreStatus = true;
if (s1.ShowDialog() == DialogResult.Cancel)
@@ -1019,7 +1021,7 @@ namespace AyaNovaQBI
s1.DialogTitle = "AyaNova QBI setup - Choose post billed Workorder Status";
s1.OptionTitle = "Post billing workorder status";
s1.OptionDescription = "After QBI has billed out a work order, it can change the \r\n" +
"work order status for you automatically if desired.\r\nIt is recommended to set the work order to a locking / closed status after invoicing.";
"work order status for you automatically if desired.\r\nWe recommend to set the work order to a locking / closed status with very restricted Roles after invoicing.\r\nThis will prevent edits being made after the work order was billed out.";
s1.SelectedStatus = QDat.PostWOStatus;
s1.PreStatus = false;
if (s1.ShowDialog() == DialogResult.Cancel)