--Delete an Interface/Integrator Details
SELECT biv.application_id
,biv.integrator_code
,biv.user_name
,bib.interface_code
FROM bne_integrators_vl biv
,bne_interfaces_b bib
WHERE upper(user_name) like '%XXAK%'
AND bib.integrator_code = biv.integrator_code ;
---------------------------------------------
--Delete an Interface
DECLARE
vn_number NUMBER;
BEGIN
vn_number := bne_integrator_utils.delete_ interface
(p_ application_id => 20003,
p_interface_ code => 'XXAKTESTUPADI_XINTG_INTF1');
DBMS_OUTPUT.put_line ('ADI Interface Deleted '||vn_number);
COMMIT;
--
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('Error: '||sqlerrm);
ROLLBACK;
END;
----------------------------
--Delete an Intergrator
DECLARE
vn_number number:=0;
BEGIN
vn_number:= bne_integrator_utils.delete_ integrator
(p_application_id => 20003,
p_integrator_code => 'XXAKTESTUPADI_XINTG');
dbms_output.put_line(' ADI Deleted : '||vn_number);
COMMIT;
--
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('Error: '||sqlerrm);
ROLLBACK;
END;
---------------------------
--Delete a Component
DECLARE
vn_number number:=0;
BEGIN
vn_number:=BNE_INTEGRATOR_UTILS.DELETE_COMPONENT(p_application_id => 200,
p_COMPONENT_CODE
=> 'HUBINV_XINTG_INTF1_C9_COMP');
dbms_output.put_line(' ADI Deleted : '||vn_number);
COMMIT;
--
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('Error: '||sqlerrm);
ROLLBACK;
END;
No comments:
Post a Comment