Please note that this default value is only applicable for “IN” type parameters. Default value of parameter is not eligible for “IN OUT & OUT” type parameters. If there is a INOUT or OUT type parameters needs to be added, we have to write a new method logic to handle. As far as I’m concerned lack of possibility of adding OUT parameters in overtakes and overrides is reasonable. Otherwise it would harm existing Core code in places where Core calls this overtaken/overridden method. In Core it would be lack of variable to receive information from this new OUT parameters. And it would generate compilation error.Fortunately, there is workaround for this problem. You can try to use App_Context_SYS.Set_Value() App_Context_SYS.Find_Value() to indirectly pass the value between procedures/functions. To my mind, we should use this technique carefully because in my opinion it works as a sort of “global variable” and sometimes makes code less readable./Tomasz
As far as know you can add parameters in overtake and override but only with default value.@Overtake CoreFUNCTION Get_Description ( contract_ IN VARCHAR2, new_param_ IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2For me requirement of default value makes sense because we need to assure the existing core code still works without knowing about this new parameter.But as far as I know you cannot change or remove existing parameters. In this part I agree with Harshini./Tomasz
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.