Files
Facilitor/APPL/API2/model_fin_btwtabel.inc
Jos Groot Lipman 28f336d489 FSN#36152 BTW tabel had door de modal geen edit van de waarden meer
svn path=/Website/trunk/; revision=29072
2016-04-20 11:49:09 +00:00

66 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fin_btwtabel.inc
Description: Vanuit CodeCharge gegenereerd model voor fin_btwtabel
Context:
Notes:
*/
%>
<!-- #include file="../api2/model_fin_btwtabelwaarde.inc" -->
<%
function model_fin_btwtabel()
{
this.table = "fin_btwtabel";
this.primary = "fin_btwtabel_key";
this.records_name = "fin_btwtabels";
this.record_name = "fin_btwtabel";
this.soft_delete = "fin_btwtabel_verwijder";
this.autfunction = "WEB_FINMSU";
this.record_title = L("fin_btwtabel");
this.records_title = L("fin_btwtabel_m")
this.fields = {
"id": {
"dbs": "fin_btwtabel_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fin_s_fin_btwtabel_key"
},
"name": {
"dbs": "fin_btwtabel_omschrijving",
"label": L("fin_btwtabel_omschrijving"),
"typ": "varchar",
"translate": true,
"filter": "like"
},
"default": {
"dbs": "fin_btwtabel_default",
"label": L("fin_btwtabel_default"),
"typ": "check",
"defaultvalue": "1"
}
};
this.includes = {
"vat_values": {
"model": new model_fin_btwtabelwaarde(),
"joinfield": "table"
}
};
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);
}
%>