AAIT#33956: Tracking uitbreiden op grondbeginselen financiele & rechten inrichting.
svn path=/Website/trunk/; revision=33237
This commit is contained in:
@@ -40,20 +40,21 @@ function model_prs_perslid(params)
|
|||||||
this.records_name = "persons";
|
this.records_name = "persons";
|
||||||
this.record_name = "person";
|
this.record_name = "person";
|
||||||
this.table = "prs_perslid";
|
this.table = "prs_perslid";
|
||||||
//this.childtable = "fac_gebruikersgroep";
|
|
||||||
this.childtable = "fac_gebruikersgroep";
|
|
||||||
this.audit = { // Parameters voor fac_audit.
|
this.audit = { // Parameters voor fac_audit.
|
||||||
"childtable": "fac_gebruikersgroep",
|
"childtable": "fac_gebruikersgroep",
|
||||||
"childaudit": {
|
"childaudit": {"sql": "SELECT fac_audit_tabelkey"
|
||||||
"key": "fac_audit_tabelkey",
|
+ " FROM fac_audit"
|
||||||
"table": "fac_audit",
|
+ " WHERE fac_audit_tabelnaam = 'fac_gebruikersgroep'"
|
||||||
"where": "fac_audit_waarde_oud"
|
+ " AND fac_audit_waarde_oud IN ({0})",
|
||||||
},
|
"key": "fac_audit_tabelkey",
|
||||||
"tabelkey": "TO_NUMBER(fac_audit_waarde_oud)",
|
"sqlget": "SELECT TO_NUMBER (x.fac_audit_waarde_oud)"
|
||||||
"wherefield": "fac_audit_veldnaam",
|
+ " FROM fac_audit x"
|
||||||
"wherevalue": "prs_perslid_key"
|
+ " WHERE x.fac_audit_veldnaam = 'prs_perslid_key'"
|
||||||
|
+ " AND fac_audit_tabelnaam = 'fac_gebruikersgroep'"
|
||||||
|
+ " AND x.fac_audit_tabelkey = {0}"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
this.hasverwijderveld = true;
|
this.softdelete = true;
|
||||||
this.primary = "prs_perslid_key";
|
this.primary = "prs_perslid_key";
|
||||||
this.record_title = L("prs_perslid");
|
this.record_title = L("prs_perslid");
|
||||||
this.records_title = L("prs_perslid_m");
|
this.records_title = L("prs_perslid_m");
|
||||||
|
|||||||
Reference in New Issue
Block a user