Files
Facilitor/APPL/API2/model_ins_controlemode.inc
Erik Groener 868ce33c74 FSN#33941 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=27345
2015-12-09 09:39:42 +00:00

71 lines
1.9 KiB
PHP

<% /*
$Revision$
$Id$
File: model_ins_controlemode.inc
Description: Vanuit CodeCharge gegenereerd model voor ins_controlemode
Context:
Notes:
*/
%>
<!-- #include file="../mgt/mgt_tools.inc" -->
<%
function model_ins_controlemode()
{
this.table = "ins_controlemode";
this.primary = "ins_controlemode_key";
this.records_name = "ins_controlemodes";
this.record_name = "ins_controlemode";
this.autfunction = "WEB_INSMGT";
this.record_title = L("ins_controlemode");
this.records_title = L("ins_controlemode_m");
this.fields = {
"id": {
"dbs": "ins_controlemode_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "ins_s_ins_controlemode_key"
},
"name": {
"dbs": "ins_controlemode_oms",
"label": L("ins_controlemode_oms"),
"typ": "varchar",
"translate": true
},
"inspection_type": {
"dbs": "ins_srtcontrole_type",
"label": L("ins_srtcontrole_type"),
"typ": "key",
"required": true,
"LOV": buildSrtcontroletypeList(),
"filter": "exact"
},
"remark": {
"dbs": "ins_controlemode_opmerking",
"label": L("ins_controlemode_opmerking"),
"typ": "memo",
"translate": true
},
"success": {
"dbs": "ins_controlemode_success",
"label": L("ins_controlemode_success"),
"typ": "check",
"defaultvalue": "1"
}
};
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, {});
}
%>