Skip to main content
Question

how to obsolete files in Git Hub in IFS Cloud

  • July 10, 2023
  • 2 replies
  • 319 views

Forum|alt.badge.img+9

Hi, 

By mistake we added entity in module and it is merged in master deployed.

Code is also deployed in Prod. Now we have to remove to code related to entity. 

what is the procedure to obselete entity/files.

Regards,

Kishore Nenwani 

2 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 905 replies
  • July 10, 2023

Create a new branch and delete the entity and related files (.entity, .views, .plsql, .storage) and projection and client files

Create a CDB script and drop the PLSQL objects using Database_SYS.Remove_XXX procedures.

 

Eg: how to remove a package:

DECLARE
package_name_ VARCHAR2(100) := 'C_YOUR_UNWANTED_API';

BEGIN
IF (database_SYS.Package_Exist(package_name_)) THEN
DATABASE_SYS.Remove_Package(package_name_);
END IF;
END;
/

 

Hope it helps!

Damith


Forum|alt.badge.img+9
  • Author
  • Do Gooder (Partner)
  • 25 replies
  • July 10, 2023

Thanks Damith. I will check.