CREATE OR REPLACE PROCEDURE SP_INSERT_DUE_INFO
(
CASE_NUMBER IN DATE_DUE_INFO_TBL.CASE_NUMBER%TYPE,
DUE_DATE IN DATE_DUE_INFO_TBL.DUE_DATE%TYPE,
DESCRIPTION IN DATE_DUE_INFO_TBL.DESCRIPTION%TYPE
)
AS
BEGIN
INSERT INTO DATE_DUE_INFO_TBL
(
CASE_NUMBER,
DUE_DATE,
DESCRIPTION,
ID_KEY
)
SELECT
CASE_NUMBER,
DUE_DATE,
DESCRIPTION,
DATEDUEINFO_SEQ.nextval FROM DUAL
;
COMMIT;
END SP_INSERT_DUE_INFO;
/