Use this complex data type to store units of C/AL code. Codeunits contain a number of user-defined functions.