<% /* $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, {}); } %>