Codeunit categories into SubType Property in D365 BC

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.

ValueExplanation
NormalA normal codeunit. This is the default setting.
TestA test codeunit includes AL methods that test the application.
TestRunnerA test runner codeunit manages the execution of one or more test codeunits.
UpgradeAn 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.
InstallAn 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.

Visual Studio shown Codeunit categories into SubType Property

Maximum Size of File Attachment or Upload in D365 BC
How to Assign External User License in D365 BC
Page Extension Overview in Business Central D365
Publish an Extension in the Production Environment of D365 BC SAAS Version
Creation of Chart of Accounts in D365 BC
SubType Property (Codeunit)– Microsoft Docs

Leave a Reply