I discovered something quite interesting couple of week back and I thought it was worth sharing.

When you create an object type variable in Microsoft Dynamics NAV 2015 and you leave out the name then NAV will automatically suggest the name based on the subtype. So, when creating variables that are pages, records, reports, codeunit, xmlports, etc. then there is no need to enter a variable name anymore.

Here is how NAV will automatically suggest the name based of the subtype.

As mentioned below screen shot, create a new variable with blank name and enter the datatype and subtype.

01

Now when leaving the subtype field (Cursor up and down) Dynamics NAV automatically populates the name as subtype where space, special characters etc. have been removed.

02

If you create a second variable for the same objects it’s get the same name, would have been nice if it had added a ‘2’ to the end or something as mentioned below screen shot.

03

If we add name to a variable and after enter the datatype and subtype, Dynamics NAV does not populate or replace the variable name entered already, which has shown in below screen shot.

04

If you wish to discuss regarding this blog, please feel free to drop me an email to sateesh.reddy@ecanarys.com.

Related

⚡ Angular — Protect your unsaved data

using CanDeactivate class route guard to prevent users from navigating with unsaved entries.

Read More >

Payroll Addon

Built on Microsoft Dynamics NAVCanarys NAV Payroll add-on, is a suite of products built using and ex...

Read More >

How to print TransHeader and TransFooter in Microsoft Dynamics NAV RDLC reports

We know that TransHeader and TransFooter section types were available in NAV 2009 version but there ...

Read More >

Continuous Integration/ Continuous Deployment VSTS

Following the below steps you can build and deploy your ASP.NET  app to Azure from either Visua...

Read More >

Populate data as Facebook feeds in ASP.NET

Want to load the data dynamically as Facebook feeds?Need to populate the data when scrollbar comes d...

Read More >

Correction and Cancelation of Posted Documents in NAV 2015

This feature is one with which we have simplification of user interface and faster work, but current...

Read More >

TFS Build for .Net 2.0 Projects

Clients have strange requirements. The other day I had been to a client for a discussion. These guys...

Read More >

ViewData and ViewBag in MVC

ASP.NET MVC provides us two options ViewData and ViewBag for passing data from controller to view.Vi...

Read More >

How to run NAV 2015 and NAV 2016 Administration tool side by side

Everyone would have installed NAV 2016 RTM and would have faced the same problem, i.e, you couldn...

Read More >

Share

Post a Comment

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *