how to create journalling tables and thier triggers

--------------------------------------------------
create Journalling tables:
1. go to http://iai2.iai.org.kw:7778/forms/frmservlet?config=hsd65_utilities
2. Productivity Boosters --> Data Layer --> Logical Database Design (DB.010)
3. click on Maintain journal tables
4. select the names of Tables to be journaled, then click on run
5. generate th journal tables from DB Admin and grant roles to ADMIN and APPROVE
6. you don't need to generate CAPI for the journal table from the utilities, just generate the table from DB admin and then generate Table API from the Server model.
7. in the properites of the table to be journalled , put Journal in the notes filed

create journalling triggers:
1.go to http://iai2.iai.org.kw:7778/forms/frmservlet?config=hsd65_utilities
2. Productivity Boosters --> Business Logic Layer --> Rule Layer - CDM RuleFrame --> Standar rule patterns
3. click on Maintain Journalling Business Rules
4. Select the tables to be journaled, then click on run
5. go to the tables triggers in the Server Model and update the logic to insert the required information in the journalling tables.
6. jenerate the table TAPI and CAPI.

Notes:
please note that when you pass the columns in arguments of the journalling triggers, name them as old. ex: P_OLD_MGH_ID, P_OLD_ID. define them as columns, and map them to the corresponding columns in table.
you can check the pms_activities t

Comments

Popular posts from this blog

Another user has changed the row with primary key oracle.jbo.Key[12 ].

Working With File Throgh WebUtill

weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck