Files
Facilitor/APPL/API2/model_fac_note_group.inc
Alex Tiehuis 4020e00840 MNNL#62971 Mogelijkheid om bij aanvullen van notities de bron aan te kunnen geven
svn path=/Website/trunk/; revision=47570
2020-07-30 07:38:19 +00:00

74 lines
1.9 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_note_group.inc
Description: Model voor fac_note_group
Context:
Notes:
*/
%>
<%
function model_fac_note_group()
{
this.records_name = "fac_note_groups";
this.record_name = "fac_note_group";
this.table = "fac_note_group";
this.primary = "fac_note_group_key";
this.autfunction = "WEB_PRSSYS";
this.record_title = L("lcl_fac_note_group_frame");
this.records_title = L("lcl_fac_note_group_title");
this.soft_delete = "fac_note_group_vervaldatum";
this.fields = {
"id": {
"dbs": "fac_note_group_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"seq": "fac_s_fac_note_group_key"
},
"xmlnode": {
"dbs": "fac_note_group_xmlnode",
"label": L("fac_note_group_xmlnode"),
"typ": "varchar",
"LOV": L("fac_note_group_xmlnodeLOV"),
"required": true
},
"sequence": {
"dbs": "fac_note_group_volgnr",
"label": L("fac_note_group_volgnr"),
"typ": "number"
},
"name": {
"dbs": "fac_note_group_naam",
"label": L("fac_note_group_naam"),
"typ": "varchar",
"required": true,
"filter": "like"
},
"remark": {
"dbs": "fac_note_group_omschrijving",
"label": L("fac_note_group_omschrijving"),
"typ": "memo",
"filter": "like"
}
};
this.edit = {
"modal": true
};
this.list = {
"columns": ["xmlnode", "sequence", "name", "remark"]
};
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);
}
%>