• Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Olof Simren - Microsoft Dynamics 365 Business Central Blog

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Autofill Variable Name in NAV 2015

April 16, 2015 Posted by Olof Simren Development 3 Comments

By accident I discovered something quite interesting last week and I thought it was worth sharing it through a blog post.

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 forms, records, reports, xmlports, etc. then there is no need to enter a variable name anymore. Nice! 🙂

Here is how it works;

Create a new variable by leaving the name blank and enter the datatype and subtype.

CAL-Variable-Dynamics-NAV

Now, when leaving the subtype field Dynamics NAV automatically populates the name as the subtype where the spaces, etc. been removed. Cool!

CAL-Variable-Name-Autofilled-Dynamics-NAV

I will start using this all the time now, saves a lot of key strokes in my mind. It does assumes you are ok with the suggested name that is.

This new feature made my day when I discovered it, I bit nerdy I know. 🙂

If you create a second variable for the same object it gets the same name, would have been nice if it had added a ‘2’ to the end or something, but I guess you can’t get everything.

I have also started building a Dynamics NAV FAQ list on my blog (just as an FYI 🙂 ).

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X

Related


Discover more from Olof Simren - Microsoft Dynamics 365 Business Central Blog

Subscribe to get the latest posts sent to your email.

Tags: CALNAV 2015
3 Comments
Share
6

About Olof Simren

I am a Microsoft Dynamics NAV and 365 Business Central Expert, I started implementing Microsoft Dynamics NAV in 2002, back then it was called Navision Attain. Throughout the years there has been many exciting implementations in different parts of the world, all of them with different challenges but with one common theme; manufacturing. As a consultant, I bring over 20 years of experience in implementing Microsoft Dynamics NAV and 365 Business Central within manufacturing and distribution companies. The services I offer includes project management, consultation, development and training. Feel free to contact me if you need help with anything related to Microsoft Dynamics NAV or 365 Business Central. I work through my company Naviona where I team up with other skilled Microsoft Dynamics NAV and 365 Business Central Experts.

You also might be interested in

Write C/AL Code in Excel

Sep 22, 2014

This is something that I did some days ago and[...]

Record Deletion Tool for Dynamics NAV 2015

Nov 17, 2014

Several people that have read my previous post, Run Objects[...]

XML Buffer and CSV Buffer Tables

Mar 27, 2017

Most of us that’s been programming in Dynamics NAV for[...]

3 Comments

Leave your reply.
  • Francis Malengier
    · Reply

    April 16, 2015 at 6:01 AM

    Hi Olof,

    indeed, i discovered this also.
    What would be nice is if you could put the name column after the datatype and subtype. This way it would be easier to modify the proposed name if necessary. You can move the column, but he doesn’t remember that for the next time.

    kr,
    Francis

  • Krupesh
    · Reply

    April 16, 2015 at 12:09 PM

    Cool stuff

    Thanks for sharing

  • Anton Inckle
    · Reply

    April 16, 2015 at 2:45 PM

    Nice ..
    Thanks for sharing

Leave a Reply

Your email is safe with us.
Cancel Reply

Subscribe to My Blog via Email

Check Out My Apps in AppSource

My Dynamics NAV Partner

Naviona, LLC

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (25)
  • Manufacturing (37)
  • Miscellaneous (28)
  • Purchase (10)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM CAL Capacity Consumption Convergence 2015 EMEA Copilot Costs Customer Development Dimensions Excel Finance General Ledger Inventory Item KCP Dynamics MRP NAV 2013 NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Quality Reports Routing Sales Order Scrap Security Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Put-away Warehouse Receipt Warehouse Shipment Work Center

Recent Posts

  • Quality Management in Business Central Version 28
  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption

Categories

  • Assembly
  • Development
  • Finance
  • General
  • Inventory
  • Manufacturing
  • Miscellaneous
  • Purchase
  • Sales
  • Warehouse

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (25)
  • Manufacturing (37)
  • Miscellaneous (28)
  • Purchase (10)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM CAL Capacity Consumption Convergence 2015 EMEA Copilot Costs Customer Development Dimensions Excel Finance General Ledger Inventory Item KCP Dynamics MRP NAV 2013 NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Quality Reports Routing Sales Order Scrap Security Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Put-away Warehouse Receipt Warehouse Shipment Work Center

Recent Posts

  • Quality Management in Business Central Version 28
  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption

Recent Comments

  • Olof on Business Central Configuration Audit using Vibe Coding
  • Andrew Trayfoot on Business Central Configuration Audit using Vibe Coding
  • Barrett Allen on Reopen Finished Production Orders
  • Kateryna on Business Central Configuration Audit using Vibe Coding
  • Takeshi Setoya on Reopen Finished Production Orders
  • Steve on Consignment Inventory
  • Olof Simren on Copilot in Planning Worksheet
  • Omaer Amjad on Copilot in Planning Worksheet

© 2026 · Olof Simren

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ
Prev Next