Consultor Eletrônico



Kbase P21227: Dyn+ Erwin: Auditing does not reports correct table entity
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/27/2003
Status: Unverified

FACT(s) (Environment):

Dynamics 2.0A

SYMPTOM(s):

Auditing does not reports correct table entity name.

Database designed with Erwin.

CAUSE:

A typo was made in Table-FLA in the logical model, which is used in the following macro code :
%If(%!==("%EntityProp(TableObj)", "none")) {
/* Update Audit Log */
IF CAN-FIND(FIRST gsc_entity_mnemonic
WHERE gsc_entity_mnemonic.entity_mnemonic =
'%EntityProp("TableFLA")':U
AND gsc_entity_mnemonic.auditing_enabled = YES) THEN
RUN af/app/afauditlgp.p (INPUT "%Action":U, INPUT
"%EntityProp("TableFLA")":U, INPUT BUFFER %TableName:HANDLE, INPUT BUFFER
o_%TableName:HANDLE).}

FIX:

Correct the typo in the Database Triggers badly generated by Erwin.