This commit is contained in:
@@ -4587,7 +4587,7 @@ namespace AyaImport
|
||||
|
||||
#region Upgrade CE
|
||||
|
||||
private static class UpdateCEDatabaseSchema
|
||||
public static class UpdateCEDatabaseSchema
|
||||
{
|
||||
|
||||
//FUTURE READER keywords to find this method
|
||||
@@ -5857,7 +5857,7 @@ namespace AyaImport
|
||||
executeQuery("INSERT INTO rptsmaster ( virtualname, filename, recordset, x, criteriafields, id ) "
|
||||
+ "SELECT \"Workorders not invoiced\", \"notbilled.rpt\", \"mgr\", True, 385, 36;");
|
||||
|
||||
q2 = strData = "SELECT ~CRITERIA AS CRITERIA, wo.id, clients.company, wo.modified, wo.ourref, wo.clientrefnum, wo.clientcontact, wo.closed, wo.invoice, wo.notes "
|
||||
q2 = "SELECT ~CRITERIA AS CRITERIA, wo.id, clients.company, wo.modified, wo.ourref, wo.clientrefnum, wo.clientcontact, wo.closed, wo.invoice, wo.notes "
|
||||
+ "FROM probstat RIGHT JOIN (wo LEFT JOIN clients ON wo.client = clients.id) ON probstat.id = wo.status "
|
||||
+ "WHERE (((wo.modified) Between #~STRT# And #~END_#) AND ((wo.client)~CUST) AND ((wo.invoice) Is Null)) "
|
||||
+ "ORDER BY wo.modified DESC;";
|
||||
|
||||
Reference in New Issue
Block a user