Files
Facilitor/APPL/API2/model_fac_srtnotificatie.inc
Erik Groener ffec6bb8db FSN#35338 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=28315
2016-02-26 14:00:00 +00:00

130 lines
4.1 KiB
HTML

<% /*
$Revision$
$Id$
File: model_fac_srtnotificatie.inc
Description: Vanuit CodeCharge gegenereerd model voor fac_srtnotificatie
Context:
Notes:
*/
%>
<%
function model_fac_srtnotificatie()
{
this.table = "fac_srtnotificatie";
this.primary = "fac_srtnotificatie_key";
this.records_name = "fac_srtnotificaties";
this.record_name = "fac_srtnotificatie";
this.autfunction = "WEB_PRSSYS";
this.record_title = L("fac_srtnotificatie");
this.records_title = L("fac_srtnotificatie_m");
this.fields = {
"id": {
"dbs": "fac_srtnotificatie_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fac_s_fac_srtnotificatie_key"
},
"code": {
"dbs": "fac_srtnotificatie_code",
"label": L("fac_srtnotificatie_code"),
"typ": "varchar"
},
"name": {
"dbs": "fac_srtnotificatie_oms",
"label": L("fac_srtnotificatie_oms"),
"typ": "varchar",
"translate": true,
"filter": "like"
},
"xmlnode": {
"dbs": "fac_srtnotificatie_xmlnode",
"label": L("fac_srtnotificatie_xmlnode"),
"typ": "varchar",
"LOV": fill_srtnotificatie_LOV(),
"emptyoption": null
},
"notification_url": {
"dbs": "fac_srtnotificatie_url",
"label": L("fac_srtnotificatie_url"),
"typ": "varchar",
"defaultvalue": "1"
},
"group": {
"dbs": "fac_srtnotificatie_groep",
"label": L("fac_srtnotificatie_groep"),
"typ": "varchar"
},
"notification_mode": {
"dbs": "fac_srtnotificatie_mode",
"label": L("fac_srtnotificatie_mode"),
"typ": "number",
"bits": [
{
"name": "",
"label": "",
"typ": "check",
"mask": 31,
"radios": [
{
"name": "portal_statusinfo",
"label": L("fac_srtnotificatie_portal_statusinfo"),
"mask": 1
},
{
"name": "send_email",
"label": L("fac_srtnotificatie_send_email"),
"mask": 2
},
{
"name": "send_sms",
"label": L("fac_srtnotificatie_send_sms"),
"mask": 4
},
{
"name": "stylesheet",
"label": L("fac_srtnotificatie_stylesheet"),
"mask": 8
},
{
"name": "portal_popup",
"label": L("fac_srtnotificatie_portal_popup"),
"mask": 16
}
]
}
]
},
"usermode": {
"dbs": "fac_srtnotificatie_usermode",
"label": L("fac_srtnotificatie_usermode"),
"typ": "check"
},
"mail_building": {
"dbs": "fac_srtnotificatie_gebouw",
"label": "E-mail sturen naar gebouw",
"typ": "check0"
},
"delay": {
"dbs": "fac_srtnotificatie_delay",
"label": L("fac_srtnotificatie_delay"),
"typ": "number",
"required": true,
"defaultvalue": "0"
}
};
this.REST_GET = generic_REST_GET(this);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this);
}
%>