Files
Facilitor/APPL/API2/model_fin_btwtabelwaarde.inc
Koen Reefman d96cd24751 FCLT#70611 SCF-iconen (3/3)
svn path=/Website/trunk/; revision=61032
2023-07-03 13:34:11 +00:00

95 lines
2.5 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fin_btwtabelwaarde.inc
Description: Vanuit CodeCharge gegenereerd model voor fin_btwtabelwaarde
Context:
Notes:
*/
%>
<%
function model_fin_btwtabelwaarde()
{
this.records_name = "vattablevalues";
this.record_name = "vattablevalue";
this.table = "fin_btwtabelwaarde";
this.primary = "fin_btwtabelwaarde_key";
this.soft_delete = "fin_btwtabelwaarde_verwijder";
this.autfunction = "WEB_FINMSU";
this.record_title = L("fin_btwtabelwaarde");
this.records_title = L("fin_btwtabelwaarde_m");
this.defaultIcon = "fa-percent";
this.fields = {
"id": {
"dbs": "fin_btwtabelwaarde_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"seq": "fin_s_fin_btwtabelwaarde_key"
},
"vattable": {
"dbs": "fin_btwtabel_key",
"label": L("fin_btwtabel"),
"typ": "key",
"foreign": {
"tbl": "fin_btwtabel",
"key": "fin_btwtabel_key",
"desc": "fin_btwtabel_omschrijving"
}
},
"code": {
"dbs": "fin_btwtabelwaarde_code",
"label": L("fin_btwtabelwaarde_code"),
"typ": "varchar"
},
"name": {
"dbs": "fin_btwtabelwaarde_oms",
"label": L("fin_btwtabelwaarde_oms"),
"typ": "varchar",
"translate": true
},
"percentage": {
"dbs": "fin_btwtabelwaarde_perc",
"label": L("fin_btwtabelwaarde_perc"),
"typ": "float",
"defaultvalue": "0"
},
"shifted": { // better would be vattype
"dbs": "fin_btwtabelwaarde_verlegd",
"label": L("fin_btwtabelwaarde_verlegd"),
"typ": "number",
"LOV": L("fin_btwtabelwaarde_verlegdLOV"),
"multiedit": true
}
};
this.list = {
"columns": [
"id",
"vattable",
"code",
"name",
"percentage",
"shifted"
]
};
this.search = {
"autosearch": true
};
this.edit = {
"modal": 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);
}
%>