Restricted builtin [message #528501] |
Tue, 25 October 2011 05:54 |
|
Dear All,
I want to insert one record and display message whenever the form is opened using pre form and i have written proceedure as below , but i am getting restricted builtin cant be using
DECLARE
CURSOR c1
IS
SELECT DISTINCT sl_activ_code
FROM ow_stage_shipper_upld
WHERE sl_jh_job_no = '1018'
AND sl_activ_code NOT IN (SELECT DISTINCT job_no
FROM os_fab_summary)
AND sl_activ_code NOT LIKE '%BU%';
m_found VARCHAR2 (200);
BEGIN
FOR i IN c1
LOOP
m_found := m_found || ' ' || i.sl_activ_code;
END LOOP;
IF NVL (m_found, 'Y') != 'Y'
THEN
disp_alert ('MISSING STRUCTURES KINDLY REQUEST IT FROM EGYPT');
INSERT INTO temp_1018
VALUES (:m_struct_no, :t_struct_no, :GLOBAL.m_user_id, SYSDATE,
'OR7015_AIC', m_found);
COMMIT;
--dummy1('forms'||'-'||M_FOUND);
RAISE form_trigger_failure;
END IF;
END;
CM: fixed code tags. There's a preview function, please use it.
[Updated on: Tue, 25 October 2011 05:56] by Moderator Report message to a moderator
|
|
|
|
Re: Restricted builtin [message #528503 is a reply to message #528502] |
Tue, 25 October 2011 06:04 |
|
dear cookiemonster i want to insert when the message is displayed and he comes out as in WHEN-NEW-FORM instance it is allowing him to go into form which i dont want.
|
|
|
|