Deleting interface through application and trying to create the same name, It will not allow to recreate the same interface name, for that we need to delete the interface through API
-- Get 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 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 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;
/
I deleted Interface through application. Now I'm not able to create with interface with different name also. I tried deleting values created for old interface in different BNE_% tables
ReplyDeleteCan you suggest what to do now.