AAIT#88977 Mutaties van Admin inzien

svn path=/Database/trunk/; revision=71050
This commit is contained in:
Erik Groener
2025-11-25 10:54:30 +00:00
parent 8d5bcf002e
commit da6d7cf574
2 changed files with 29 additions and 0 deletions

View File

@@ -404,9 +404,21 @@ FOR EACH ROW ~\
:new.column, ~\
action);
#define AUDIT_VALUE_T(table, tablekey, column) ~\
aud.auditaction(STRINGIZE(table), ~\
:old.tablekey, ~\
:new.tablekey, ~\
STRINGIZE(column), ~\
:old.column.tijdsduur||' '||:old.column.eenheid, ~\
:new.column.tijdsduur||' '||:new.column.eenheid, ~\
action);
#define AUDIT_VALUE(table, column) ~\
AUDIT_VALUE_K(table, table##_key, column)
#define AUDIT_VAL_T(table, column) ~\
AUDIT_VALUE_T(table, table##_key, column)
#define AUDIT_END() ~\
END; ~\
/ ~ \

View File

@@ -96,6 +96,23 @@ AUDIT_VALUE(mld_stdmelding, mld_stdmelding_malusbasis)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_malus)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_malusmax)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_verwijder)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_omschrijving)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_freetext)
AUDIT_VALUE(mld_stdmelding, mld_stdmeldinggroep_key)
AUDIT_VALUE(mld_stdmelding, alg_onrgoed_niveau)
AUDIT_VALUE(mld_stdmelding, prs_kostensoort_key)
AUDIT_VALUE(mld_stdmelding, prs_kostenplaats_key)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_kanverwijzen)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_conceptstatus)
AUDIT_VALUE(mld_stdmelding, mld_stdmelding_slabewaken)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_accepttijd)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_accept_pr1)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_accept_pr2)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_accept_pr4)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_uitvoertijd)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_uitvtijd_pr1)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_uitvtijd_pr2)
AUDIT_VAL_T(mld_stdmelding, mld_stdmelding_t_uitvtijd_pr4)
AUDIT_END()
CREATE_TRIGGER(mld_t_mld_stdmelding_B_IU)