Codeunit categories into SubType Property in D365 BC:
(1) In this blog we will get to know about the “SubType” property and its uses in D365 BC.
(2) There are five “Subtype Properties” as below with its description:
- Normal
- Test
- TestRunner
- Upgrade
- Install
(3) As per Microsoft these properties nature as shown.
Value | Explanation |
---|---|
Normal | A normal codeunit. This is the default setting. |
Test | A test codeunit includes AL methods that test the application. |
TestRunner | A test runner codeunit manages the execution of one or more test codeunits. |
Upgrade | An upgrade codeunit includes AL methods for synchronizing changes to a table definition in an application with the business data table in SQL Server and migrating existing data. |
Install | An install codeunit includes AL methods for performing operations unconcerned with the extension code itself during the initial installation and the reinstallation of an extension. |
(4) Now shown in Visual Studio.
