Files
Facilitor/APPL/API2/model_ins_controlemode.inc
Jos Groot Lipman 8280e20254 FSN#44507: (PDA) Bijlagen toevoegen herzien savepoint
Ook vooral: mgt/mgt_tools naar api2/api2_tools verplaatst

svn path=/Website/branches/v2017.2/; revision=35656
2017-10-12 08:59:35 +00:00

70 lines
1.8 KiB
PHP

<% /*
$Revision$
$Id$
File: model_ins_controlemode.inc
Description: Vanuit CodeCharge gegenereerd model voor ins_controlemode
Context:
Notes:
*/
%>
<%
function model_ins_controlemode()
{
this.records_name = "taskhandlings";
this.record_name = "taskhandling";
this.table = "ins_controlemode";
this.primary = "ins_controlemode_key";
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": L("lcl_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
},
"inspectiontype": {
"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, {});
}
%>