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.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"
|
||||
"childaudit": {"sql": "SELECT fac_audit_tabelkey"
|
||||
+ " FROM fac_audit"
|
||||
+ " WHERE fac_audit_tabelnaam = 'fac_gebruikersgroep'"
|
||||
+ " AND fac_audit_waarde_oud IN ({0})",
|
||||
"key": "fac_audit_tabelkey",
|
||||
"sqlget": "SELECT TO_NUMBER (x.fac_audit_waarde_oud)"
|
||||
+ " FROM fac_audit x"
|
||||
+ " 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.record_title = L("prs_perslid");
|
||||
this.records_title = L("prs_perslid_m");
|
||||
|
||||
Reference in New Issue
Block a user