FSN#39312 Verder ontsluiten van modellen via de API

svn path=/Website/trunk/; revision=32864
This commit is contained in:
Erik Groener
2017-02-17 13:14:26 +00:00
parent 99e3937cdb
commit 4f53d5bab0
18 changed files with 74 additions and 55 deletions

View File

@@ -16,10 +16,10 @@
function model_fac_profiel()
{
this.records_name = "profiles";
this.record_name = "profile";
this.table = "fac_profiel";
this.primary = "fac_profiel_key";
this.records_name = "fac_profiels";
this.record_name = "fac_profiel";
this.autfunction = "WEB_FINMSU";
this.record_title = L("fac_profiel");
this.records_title = L("fac_profiel_m");
@@ -28,7 +28,7 @@ function model_fac_profiel()
this.fields = {
"id": {
"dbs": "fac_profiel_key",
"label": "Key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"filter": "exact",
@@ -42,7 +42,7 @@ function model_fac_profiel()
"translate": true,
"filter": "like"
},
"profile_limit": {
"limit": {
"dbs": "fac_profiel_limiet",
"label": L("fac_profiel_limiet"),
"typ": "number"