I think I should be little more expert. to know where exactly to pass the codes.
Now my codeunit has only one trigger, that is OnRun. There are some other function that I have added, those are functio1 and function2. These 2 function call is being decided in OnRun trigger based on some conditions. Now I have disabled(commented) the call to these 2 functions(functio1 and function2) to test our CODEUNIT.RUN(59999,Rec); command.
Now, my OnRun section includes the codes as below:
But, there is no OnDelete trigger. Please do not mide if I ask you ‘do I have to create this OnDelete trigger manually ? or it should be there by default once I create a new code unit’? [;)]
It was not when I started.