Oops, per ongeluk wijzigigen van MGE gecommit

svn path=/Website/trunk/; revision=33178
This commit is contained in:
Jos Groot Lipman
2017-03-16 19:45:59 +00:00
parent 14fb5403c9
commit 79f50d2716

View File

@@ -38,6 +38,20 @@ function model_persons()
this.records_name = "persons";
this.record_name = "person";
this.table = "prs_perslid";
//this.childtable = "fac_gebruikersgroep";
this.childtable = "fac_gebruikersgroep";
this.audit = { // Parameters voor fac_audit.
"childtable": "fac_gebruikersgroep",
"childaudit": {
"key": "fac_audit_tabelkey",
"table": "fac_audit",
"where": "fac_audit_waarde_oud"
},
"tabelkey": "TO_NUMBER(fac_audit_waarde_oud)",
"wherefield": "fac_audit_veldnaam",
"wherevalue": "prs_perslid_key"
};
this.hasverwijderveld = true;
this.primary = "prs_perslid_key";
this.record_title = L("prs_perslid");
this.records_title = L("prs_perslid_m");
@@ -52,6 +66,7 @@ function model_persons()
},
"name": {
"dbs": "pf.prs_perslid_naam_friendly",
"dbsa": "(SELECT pf.prs_perslid_naam_friendly FROM prs_v_perslid_fullnames_all pf WHERE pf.prs_perslid_key = x.prs_perslid_key)",
"label": L("lcl_prs_person_name"),
" typ": "varchar"
},