To create a new codeunit by using Object Designer, use the following procedure.

To create a codeunit

  1. Click the Tools menu and then click Object Designer.

  2. In Object Designer, click Codeunit.

  3. Click New to create a new codeunit.

  4. In the C/AL Editor, add functions.

See Also