Sets whether a .NET object that is defined by a variable is run on the Microsoft Dynamics NAV Windows client or Microsoft Dynamics NAV Server.
Variables of the DotNet data type.
True if you want to run the .NET object on the Microsoft Dynamics NAV Windows client; otherwise, false. The default is false.
The Microsoft Dynamics NAV Web client does not support running the .NET object on the client.
The RunOnClient property is part of .NET interoperability in Dynamics 365 for Finance and Operations, Business edition that you can use to expand your solution using .NET assemblies. With .NET interoperability, you can call methods and properties in a class of a .NET assembly from AL code by defining a variable for the class. When you set the RunOnClient property to true, then the class instance that is defined by the variable is instantiated on the Microsoft Dynamics NAV Windows client.
If you set the RunOnClient property to true, then the .NET assembly that is used by the variable must be installed on the machine that is running the Microsoft Dynamics NAV Windows client.