Files
Facilitor/APPL/API2/model_bes_disciplineprod.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
2.1 KiB
PHP

<% /*
$Revision$
$Id$
File: model_bes_disciplineprod.inc
Description: Vanuit CodeCharge gegenereerd model voor bes_disciplineprod
Context:
Notes:
*/
%>
<%
function model_bes_disciplineprod()
{
this.table = "ins_tab_discipline";
this.primary = "ins_discipline_key";
this.records_name = "ins_tab_disciplines";
this.record_name = "ins_tab_discipline";
this.autfunction = "WEB_PRDMSU";
this.record_title = L("ins_tab_discipline");
this.records_title = L("ins_tab_discipline_m");
this.fields = {
"id": {
"dbs": "ins_discipline_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "ins_s_ins_discipline_key",
"defaultvalue": null
},
"name": {
"dbs": "ins_discipline_omschrijving",
"label": L("ins_discipline_omschrijving"),
"typ": "varchar",
"required": true,
"filter": "like"
},
"module": {
"dbs": "ins_discipline_module",
"label": L("ins_discipline_module"),
"typ": "varchar",
"hidden_fld": true,
"defaultvalue": "PRD"
},
"remark": {
"dbs": "ins_discipline_opmerking",
"label": L("ins_discipline_opmerking"),
"typ": "memo"
}
};
this.REST_GET = generic_REST_GET(this,
{ "GET": {
wheres: [ "ins_discipline_verwijder IS NULL",
"ins_discipline_module = 'PRD'"
]
}
}
);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this, {});
}
%>