66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
<%@language = "javascript" %>
|
|
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: fac_srtnotificatie.asp
|
|
|
|
Description: fac_management aanroep van model_fac_srtnotificatie
|
|
|
|
Context:
|
|
|
|
Notes:
|
|
*/
|
|
%>
|
|
<!-- #include file="../scf/scaffolding.inc" -->
|
|
<!-- #include file="../api2/model_fac_srtnotificatie.inc" -->
|
|
<%
|
|
var this_model = new model_fac_srtnotificatie();
|
|
|
|
scaffolding(this_model,
|
|
{
|
|
"search": {
|
|
"autosearch": true,
|
|
"filters": [
|
|
"description",
|
|
"name",
|
|
"xmlnode"
|
|
]
|
|
},
|
|
"list": {
|
|
"columns": [
|
|
"xmlnode",
|
|
"name",
|
|
"description",
|
|
"notification_mode",
|
|
"mode_status",
|
|
"mode_email",
|
|
"mode_sms",
|
|
"mode_alert",
|
|
"usermode",
|
|
"mail_building",
|
|
"delay"
|
|
]
|
|
}
|
|
});
|
|
|
|
|
|
function fill_srtnotificatie_LOV()
|
|
{
|
|
var xmlnodeLOV = "";
|
|
var sql = "SELECT distinct fac_srtnotificatie_xmlnode"
|
|
+ " , NVL(fac_srtnotificatie_xmlnode,'<empty>') xmlnode_lov"
|
|
+ " FROM fac_srtnotificatie"
|
|
+ " ORDER BY 1 NULLS FIRST";
|
|
var oRs = Oracle.Execute(sql);
|
|
while (!oRs.eof)
|
|
{
|
|
var xmlnode = oRs("fac_srtnotificatie_xmlnode").Value;
|
|
xmlnodeLOV += (xmlnodeLOV?";":"") + xmlnode + ";" + oRs("xmlnode_lov").Value;
|
|
oRs.moveNext();
|
|
}
|
|
oRs.Close();
|
|
return xmlnodeLOV;
|
|
}
|
|
%>
|