Skip to main content

I tried this in both 23R1 and 24R2 environments with latest version of developer studio.

Just trying to override crud_create and initialize a customized variable.

Cant find any methods in sublayers.

Any idea how to resolve this?

hi ​@Manoj Ruwanhewa 

we created the following task to investigate this further : https://ifsdev.atlassian.net/browse/DXDEV-4722

Until we take a look on this as a Workaround can you override this method in the projection level. But if this fragment has used by several clients and projections, then you need to do the same in all the places.  

/Harshini


Hi ​@hamalk Thanks for looking into this. 

As a workaround, I was able to overtake core CRUD_UPDATE.

Its not the ideal way but, i was able to proceed my CRIM requirement. 

 

@Overtake Core
PROCEDURE CRUD_Update___(
   old_ IN Change_Info_Virtual_Rec,
   new_ IN Change_Info_Virtual_Rec )
IS
   
BEGIN
   $SEARCH
      --core code line;
   $REPLACE
     -- core code line;
     -- cust code line;         
   $END
   
  
END CRUD_Update___;

 

As per core source code, what I have noted is, previously IFS R&D has override that CRUD_Create__

in a bug fix (HRZ-13435)

Not sure how it was allowed. Just for your information.


Reply