How to: Create a Codeunit

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

To create a codeunit

  1. On the Tools menu, choose Object Designer.

  2. In Object Designer, choose Codeunit.

  3. Choose the New button to create a new codeunit.

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

See Also

Concepts

Codeunits