Bij verify data ook notificatie queue en order queue controleren op leeg zijn
svn path=/Website/branches/v2017.3/; revision=37196
This commit is contained in:
@@ -712,9 +712,10 @@ checker("Controle: queries die geen records mogen opleveren",
|
||||
" WHERE fac_locale_xsl_module = 'ASP' AND fac_locale_xsl_lang = 'NL'"
|
||||
},
|
||||
{ msg: "Notificatie queue moet doorgaans leeg zijn",
|
||||
sql: "SELECT *" +
|
||||
" FROM fac_v_notifyqueue" +
|
||||
" WHERE BITAND (fac_notificatie_status, 2 + 4 + 32) > 0"
|
||||
sql: "SELECT fac_notificatie_datum datum, f.*" +
|
||||
" FROM fac_v_notifyqueue f" +
|
||||
" WHERE BITAND (fac_notificatie_status, 2 + 4 + 32) > 0" +
|
||||
" AND fac_notificatie_datum < sysdate - 1/24" // minstens uur oud, putorders kan nog lopen
|
||||
},
|
||||
{ msg: "Order queue moet doorgaans leeg zijn",
|
||||
sql: "SELECT *" +
|
||||
@@ -752,7 +753,13 @@ checker("Controle: queries die geen records mogen opleveren",
|
||||
{
|
||||
oRs.Close();
|
||||
var oRs = Oracle.Execute(noResults[noResult].sql);
|
||||
tbl = ["<table>"];
|
||||
tbl = ["<table>", "<thead>", "<tr>"];
|
||||
for (var i = 0; i < oRs.Fields.Count && i < 5; i++)
|
||||
{
|
||||
tbl.push("<th style='text-align:left'>" + safe.html(oRs.Fields(i).Name) + "</th>");
|
||||
}
|
||||
tbl.push("</tr>");
|
||||
tbl.push("</thead>");
|
||||
while (!oRs.Eof)
|
||||
{
|
||||
tbl.push("<tr>");
|
||||
|
||||
Reference in New Issue
Block a user