To modify an existing codeunit, use the following procedure.
To modify an existing codeunit
-
In the Tools menu, choose Object Designer.
-
In Object Designer, choose Codeunit.
-
Select the codeunit that you want to modify, and then choose Design.
-
In the C/AL Editor, modify the codeunit by changing the existing functions or by adding new functions.