How to Get Product Name of Business Central D365:
(1) Business Central D365 have three names-
- Full Name.
- Marketing Name.
- Short Name.
(2) For getting the above name, Microsoft provides the function “PRODUCTNAME”, which enables us to retrieve these names.
(3) For getting the above name, the following methods are used.
- PRODUCT.FULL()
- PRODUCT.MARKETING()
- PRODUCT.SHORT()
(4) Let’s do this by taking an example. In this example, created on “Codeunit” and written code in the “OnRun()” trigger. After that publish the extension and run the “Codeunit” via page or report. (Note You can also create function and call from page, report etc.)
(5) After running the “Codeunit”, the system show message with the following names, as shown below.