|
|
|
@ -129,7 +129,7 @@ WHEN (NEW.ID IS NULL)
|
|
|
|
|
END;
|
|
|
|
|
/
|
|
|
|
|
|
|
|
|
|
CREATE TABLE DM_ENROLMENT_OP_MAP (
|
|
|
|
|
CREATE TABLE DM_ENROLMENT_OP_MAPPING (
|
|
|
|
|
ID NUMBER(10) NOT NULL,
|
|
|
|
|
ENROLMENT_ID NUMBER(10) NOT NULL,
|
|
|
|
|
OPERATION_ID NUMBER(10) NOT NULL,
|
|
|
|
@ -146,7 +146,7 @@ CREATE SEQUENCE DM_ENROLMENT_OP_MAP_seq START WITH 1 INCREMENT BY 1 NOCACHE
|
|
|
|
|
/
|
|
|
|
|
CREATE OR REPLACE TRIGGER DM_ENROLMENT_OP_MAP_seq_tr
|
|
|
|
|
BEFORE INSERT
|
|
|
|
|
ON DM_ENROLMENT_op_map
|
|
|
|
|
ON DM_ENROLMENT_OP_MAPPING
|
|
|
|
|
REFERENCING NEW AS NEW
|
|
|
|
|
FOR EACH ROW
|
|
|
|
|
WHEN (NEW.ID IS NULL)
|
|
|
|
|