Files
Facilitor/APPL/API2/model_mld_srtdiscipline.inc
Jos Groot Lipman d8021560f7 Melding 52151 koppelvelden tussen diverse tickets (problems, incidenten etc)
svn path=/Website/trunk/; revision=38127
2018-06-07 14:24:31 +00:00

113 lines
3.3 KiB
PHP

<% /*
$Revision$
$Id$
File: model_mld_srtdiscipline.inc
Description: Vanuit CodeCharge gegenereerd model voor mld_srtdiscipline
Context:
Notes:
*/
%>
<!-- #include file="../api2/model_mld_typeopdr_srtdiscipline.inc" -->
<%
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"
},
"issuegroup": {
"dbs": "ins_srtdiscipline_mldgroup",
"label": L("ins_srtdiscipline_mldgroup"),
"typ": "number",
"defaultvalue": "0",
"LOV": L("ins_srtdiscipline_mldgroupLOV"),
"emptyoption": null
},
"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);
}
%>