<% /* $Revision$ $Id$ File: model_mld_srtdiscipline.inc Description: Vanuit CodeCharge gegenereerd model voor mld_srtdiscipline Context: Notes: */ %> <% function model_mld_srtdiscipline() { this.records_name = "disciplinetypes"; this.record_name = "disciplinetype"; this.terms = "mld_srtdiscipline"; this.table = "ins_srtdiscipline"; this.primary = "ins_srtdiscipline_key"; this.soft_delete = "ins_srtdiscipline_verwijder"; this.autfunction = "WEB_PRSSYS"; this.record_title = L("ins_srtdiscipline"); this.records_title = L("ins_srtdiscipline_m"); this.fields = { "id": { "dbs": "ins_srtdiscipline_key", "label": "Key", "typ": "key", "required": true, "filter": "exact", "seq": "ins_s_ins_srtdiscipline_key" }, "module": { "dbs": "ins_srtdiscipline_module", "label": L("ins_srtdiscipline_module"), "typ": "varchar", "hidden_fld": true, "defaultvalue": "MLD" }, "name": { "dbs": "ins_srtdiscipline_omschrijving", "label": L("ins_srtdiscipline_omschrijving"), "typ": "varchar", "translate": true, "required": true }, "prefix": { "dbs": "ins_srtdiscipline_prefix", "label": L("ins_srtdiscipline_prefix"), "typ": "varchar" }, "locationdata": { "dbs": "ins_srtdiscipline_alg", "label": L("ins_srtdiscipline_alg"), "typ": "key", "LOV": L("ins_srtdiscipline_algLOV"), "emptyoption": null }, "objectdata": { "dbs": "ins_srtdiscipline_ins", "label": L("ins_srtdiscipline_ins"), "typ": "check" }, "orderdata": { "dbs": "ins_srtdiscipline_bes", "label": L("ins_srtdiscipline_bes"), "typ": "check" }, "custpays": { "dbs": "ins_srtdiscipline_kostenklant", "label": L("ins_srtdiscipline_kostenklant"), "typ": "key", "defaultvalue": "0", "LOV": L("ins_srtdiscipline_kostenklantLOV"), "emptyoption": null }, "description": { "dbs": "ins_srtdiscipline_opmerking", "label": L("ins_srtdiscipline_opmerking"), "typ": "memo", "translate": true } }; this.includes = { "mld_opdrtypes": { "model": new model_mld_typeopdr_srtdiscipline(), "joinfield": "disciplinetype", "enable_update": true } }; 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); } %>