O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mapping COM datatypes to C/AL

The component object model was developed as a platform-independent and programming language-independent object-oriented system. To avoid dependency on any language-specific type system, COM implements its own set of datatypes. When working with COM interfaces, you have to deal with the COM type system, which is seamlessly integrated with C/AL datatypes. In the next example, we will see how NAV datatypes correspond to COM types.

How to do it...

  1. Create a page object in C/SIDE object designer. Create a blank page without the page wizard and source table - required page content will be configured manually.
  2. Open the properties for the new page and change the value of the PageType property from the default value Card to

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required