Files
Facilitor/APPL/API2/model_fac_usergraph.inc
Erik Groener 4bd0b479b8 FSN#35338 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=28580
2016-03-22 13:30:25 +00:00

122 lines
3.4 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_usergraph.inc
Description: Vanuit CodeCharge gegenereerd model voor fac_usergraph
Context:
Notes:
*/
%>
<%
function model_fac_usergraph()
{
this.table = "fac_usrgraph";
this.primary = "fac_usrgraph_key";
this.records_name = "fac_usrgraphs";
this.record_name = "fac_usrgraph";
this.autfunction = "WEB_PRSSYS";
this.record_title = L("fac_usrgraph");
this.records_title = L("fac_usrgraph_m");
this.fields = {
"id": {
"dbs": "fac_usrgraph_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fac_s_fac_usrgraph_key"
},
"name": {
"dbs": "fac_usrgraph_omschrijving",
"label": L("fac_usrgraph_omschrijving"),
"typ": "varchar",
"translate": true
},
"view_name": {
"dbs": "fac_usrgraph_view_name",
"label": L("fac_usrgraph_view_name"),
"typ": "varchar",
"required": true,
"filter": "like"
},
"graph_type": {
"dbs": "fac_usrgraph_type",
"label": L("fac_usrgraph_type"),
"typ": "key",
"required": true,
"LOV": L("mgt_graphtypeLOV")
},
"authorization": {
"dbs": "fac_functie_key",
"label": L("fac_functie_key"),
"typ": "key",
"foreign": fac_functie_foreign("EXT"),
/*
{
"tbl": "(SELECT f.fac_functie_key"
+ " , f.fac_functie_code || ': ' || f.fac_functie_omschrijving fac_functie_omschrijving"
+ " FROM fac_functie f"
+ " ORDER BY 2)",
"key": "fac_functie_key",
"desc": "fac_functie_omschrijving"
},
*/
"LOVinit": ""
},
"orderby": {
"dbs": "fac_usrgraph_orderby",
"label": L("fac_usrgraph_orderby"),
"typ": "varchar"
},
"maxrows": {
"dbs": "fac_usrgraph_maxrows",
"label": L("fac_usrgraph_maxrows"),
"typ": "number"
},
"_limits": {
"dbs": "",
"label": "",
"typ": "label",
"labelvalue": L("fac_usrgraph_dashboardlimits")
},
"limit0": {
"dbs": "fac_usrgraph_limiet0",
"label": L("fac_usrgraph_limiet0"),
"typ": "number"
},
"limit1": {
"dbs": "fac_usrgraph_limiet1",
"label": L("fac_usrgraph_limiet1"),
"typ": "number"
},
"limit2": {
"dbs": "fac_usrgraph_limiet2",
"label": L("fac_usrgraph_limiet2"),
"typ": "number"
},
"limit3": {
"dbs": "fac_usrgraph_limiet3",
"label": L("fac_usrgraph_limiet3"),
"typ": "number"
},
"options": {
"dbs": "fac_usrgraph_options",
"label": L("fac_usrgraph_options"),
"typ": "memo"
}
};
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);
}
%>