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)

View File

@@ -9,3 +9,15 @@ It is recommended to familiarize yourself with the AyaNova program before using
---
<h6>Documentation version: 8.0.0, Copyright &copy; 2022 Ground Zero Tech-Works Inc.</h6>
TODO
Login will kick out of AyaNova can't be logged in twice to AyaNova from any location be it the ayanova web app or QBI
if necessary make a QBI specific account, in fact we should recommend that
Docs mention must be accoutning role user
Docs mention that any existing work order statuses that might be set on wo to be invoiced MUST have Accounting role added to their REMOVE and ADD,
also POSTWOSTATUS must have allow ADD accounting role
docs mention status required for it to work don't fuck with it and if necessary how to fix it
Docs should not refer to autoclose anymore, it's status driven now
DOCS UI use "Link" and do not use "map" anywhere