Tuesday, December 20, 2016

MS has announced the Preview of Development Tools for Dynamics NAV

Hey guys, the preview of Development tools is here. Check the full post by Microsoft here.

Another cool post by Mohana which has detailed steps on how to get started.

I am following these links and getting myself started on this preview.

Also check this MSDN link for more help!

Please share the knowledge you gather about this preview in comments!

Thank youuu! 🎅

And like Negan says "We're just getting started." There is so much coming up to learn and explore!👍




Monday, December 19, 2016

More about Developer Preview for NAV


Hi guys, Merry Christmas 😊 and wish you all a very Happy New Year 2017in advance. I really feel that this blog has connected me to a lot of individuals and I want to thank each and every one of you for all the support you have shown and  for the kind words of whoever has expressed their thoughts with comments.

So, Dynamics NAV Team Blog has recently blogged about what should we know about the new things coming our way! Santa will bring a lot to learn (which is exciting!)
  • Soon Microsoft will make an Azure Gallery image available that contains the product and tools to start learning about what we call Extensions 2.0.
  • Extensions 2.0 is the name Microsoft will use for the new versions of extensions – ones that aren’t based on the DELTA file design.
  • Making extensions with the new tools is much easier than the current tools suite you may be familiar with.
  •  We’ll be using Table Extension and Page Extension objects to describe new fields and UI elements.

My major take-away from this post of Microsoft :

Sunday, December 18, 2016

Difference between RESET and CLEAR - Tips, Tricks & Facts #9

Hi guys,

As it is pretty clear from the heading, I am going to compare rec.RESET and CLEAR(rec) in this post.

We are aware of the fact that CLEAR function is used to clear variables of all types. I am going to stick to how does CLEAR work with record type variables for this post.

Friday, December 09, 2016

Cumulative Update 1 for Microsoft Dynamics NAV 2017 (Build 14199)

Cumulative Update 01 includes all application and platform hotfixes and regulatory features that have been released for Microsoft Dynamics NAV 2017.

The cumulative update is intended mainly for solutions that are experiencing the problems described in the Knowledge Base article linked to below. However, you are advised to always keep your solution updated with the latest cumulative update. If you are in doubt about whether this cumulative update addresses your specific problem, or if you want to confirm whether any special compatibility, installation, or download issues are associated with this cumulative update, support professionals in Customer Support Services are ready to help you. For more information, see http://support.microsoft.com/contactus/.

The cumulative update includes hotfixes that apply to all countries and hotfixes specific to the following local versions:
  •   AU – Australia
  •   AT – Austria
  •   BE – Belgium
  •   CH – Switzerland
  •   CZ – Czech Republic
  •   DE – Germany
  •   DK – Denmark
  •   ES – Spain
  •   FI  – Finland
  •   FR – France
  •   IS – Iceland
  •   IT – Italy
  •   NA – North America
  •   NL – Netherlands
  •   NO – Norway
  •   NZ – New Zealand
  •   RU – Russia
  •   SE – Sweden
  •   UK – United Kingdom

 

Where to find Cumulative Update 01

You can download the cumulative update from KB 3209071 – Cumulative Update 01 for Microsoft Dynamics NAV 2017 (Build 14199).
Or you can download the cumulative update from the Microsoft Download Center.

Warning

Before you install a cumulative update in a production environment, take the following precautions:
  1. Test the cumulative update in a non-production environment.
  2. Make a backup of the system or computer where the cumulative update is to be installed.

Additional Information

For information about how to install the cumulative update, see How to Install a Microsoft Dynamics NAV 2017 Cumulative Update.

Post Source: Microsoft

Download & Install the update & Keep Learning! :) 

Sunday, December 04, 2016

Common mistakes we make in C/AL - Vol. 3 - Tips, Tricks & Facts #8

In this post I will talk about Significance of Using CALCSUMS in C/AL coding. 

Before writing about this topic I would mention here that, if a tool (or function) is available then we must use it to our system's benefit. Tools or functions are available in AL (or any other development envo.) to reduce the time taken by transactions and faster output generation.

You can find the detailed definition of CALCSUMS on MSDN. This function must be used to calculate sums of a Decimal field. However, the scope of CALCSUMS has been widened to Integer, BigInteger and Duration type fields along with Decimal type fields from NAV 2016 and up.

Sunday, November 13, 2016

Common mistakes we make in C/AL - Vol. 1 - Tips, Tricks & Facts #6

Hi peeps, starting a new series of posts on what are the common mistakes made by developers like us which have bad, sometimes worse, impacts on database transactions. And what the kind of coding styles we must avoid to keep the code neat and clean. And what are the DO's and DON'T's for writing C/AL code.

We gotta remember that we are not the last developers who will write a particular code somewhere in the NAV objects. There will be more developers after us who will be carrying the torch and some of them might run into some code which was written by us.

Therefore, your code must better be understandable and optimized!

Friday, November 04, 2016

Code changes - NAV 2016 to NAV 2017 - Tips, Tricks & Facts #5

Hi guys, I am gonna talk about the code changes that I liked in NAV 2017 and you must know about them too.

Coding in NAV 2017 is better, as expected.

Just to give an overview. I will cover some examples as follows,


1. Codeunit 80 - OnRun Trigger - This trigger used to be a home of like more than a thousand lines of code. Well now, it has been decreased to a hundred lines of code, give or take. Check the image below,


Wednesday, November 02, 2016

Dynamics NAV 2017: Changes in the Core Application and Platform

Enhancements in sales order processes
Dynamics NAV 2016 introduced Dynamics CRM Integration that enables an optimal and seamless experience for our customers in the lead-to-cash process when they are utilizing Dynamics CRM for customer engagement and Dynamics NAV for order processing and financials.
In Dynamics NAV 2017, you can now synchronize assembly items and bill-of-material items (BOMs) to Dynamics CRM as CRM products without price.
The sales person in Dynamics CRM can now use the price lists from Dynamics NAV while creating a sales order. When they add the item to the sales order line in Dynamics CRM, they are also able to see the inventory level (availablity) of the item from Dynamics NAV. A new wizard “Dynamics CRM Connection Setup”, will publish Item Availablity Webservice as a part of the Assisted Setup that enables this scenario.

Friday, October 28, 2016

Dynamics NAV and Dynamics C5 App Update Version 2.3

An update to Dynamics NAV and Dynamics C5 for tablet and phone is now available. If you already have Dynamics NAV or Dynamics C5 v.2.2 installed, this will automatically be updated to v.2.3 (unless you specifically selected not to update automatically on your device). This is what you get with the new update:

New in this version

  • Added support for Android 7 ‘Nougat’.
  • Added support for iOS 10.

Bug fixes in this version

  • Fixed permission issues when accessing device camera and file storage.
  • Fixed issues with launching the app using the ms-dynamicsnav Uri.
  • Fixed sign-in issues when using AAD authentication.

Notification

  • With the release of iOS 10, we will be discontinuing support for iOS 7 and iOS 8 in an upcoming update during early 2017.
  • With the release of Android 7, we will be discontinuing support for Android 4 in an upcoming update during early 2017.

Get Dynamics NAV today

new-app-store new-microsoft-store new-google-play

Get Dynamics C5 today

new-app-store new-microsoft-store new-google-play
Google Play is a trademark of Google Inc. Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc.

Original Source - Microsoft Dynamics NAV Team Blog

Thursday, October 27, 2016

Microsoft Dynamics NAV 2017 available for download!

Great news everyone! NAV 2017 is available for download. Download Microsoft Dynamics NAV 2017 here.

Download and start exploring and learning the new! :)

The versions available are:

Do​wnlo​​ad​Microsoft Dynamics ​NAV 2017Partner Translation Toolki​t
AU-Austr​alia​DownloadAvailable in NAV 2017
AT-Austr​iaDownload​Available in NAV 2017
BE-BelgiumD​ownloadAvailable in NAV 2017
CA-Canada​Download​Available in NAV 2017
CZ-Czech RepublicD​ownloadAvailable in NAV 2017
DK-DenmarkD​ownloadAvailable in NAV 2017
FI-FinlandD​ownload​Available in NAV 2017
FR-FranceD​ownloadAvailable in NAV 2017
DE-GermanyD​ownloadAvailable in NAV 2017
​​IS-IcelandD​ownloadAvailable in NAV 2017
IT-ItalyDownloadAvailable in NAV 2017
MX-MexicoDownload​​Available in NAV 2017
NL-NetherlandsDownloadAvailable in NAV 2017
​NZ-New ZealandD​ownloadAvailable in NAV 2017
NO-NorwayD​ownloadAvailable in NAV 2017
ES-SpainD​ownloadAvailable in NAV 2017
SE-SwedenDownloadAvailable in NAV 2017
CH-SwitzerlandDownloadAvailable in NAV 2017
UK-​United KingdomDownloadAvailable in NAV 2017
US-United States​​DownloadAvailable in NAV 2017
NA-​North AmericaDownloadAvailable in NAV 2017
RU-RussiaDownloadAvailable in NAV 2017
W1D​ownloadAvailable in NAV 2017

Blog Source : Microsoft PartnerSource

P.S People who are facing issues in downloading NAV 2017, Try downloading vis Internet Explorer 11 and if still not downloading then try this,

- Using IE11, Go to: 
​Tools> Press F12 (Developer Tools)> Click on the last option 'Emulation'>'Document mode'​> set IE 10 or 9 or 8 > and the download will start             

 


The download will start in Microsoft File Transfer Manager (like the one shown below), If IE11 asks to install Microsoft File Transfer Manager before the actual download starts then install it.


Keep Learning!
Ishwar Sharma

Saturday, October 15, 2016

Unpacking NAV App Package OR Unpack an Extension in Dynamics NAV 2016 - Tips, Tricks & Facts #4

Hi guys,

Let's take a scenario where an extension named 'My_Location_Extension' was developed, published and installed by a developer named 'Jack' on a NAV Server Instance named 'NAVDemoService'. A few days later Jack is out of reach and 'Jill' (another developer) wants to know that what objects were modified and created by Jack and packaged in My_Location_Extension.

These kind of scenarios happen in real world. I tried to find a PowerShell cmdlet for unpacking a NAV app package but no success.

So, what to do? Other questions which arise in such a situation are,

Monday, October 10, 2016

Cumulative Update 12 for Microsoft Dynamics NAV 2016 has been released

Cumulative Update 12 includes all application and platform hot fixes and regulatory features that have been released for Microsoft Dynamics NAV 2016.

The cumulative update is intended mainly for solutions that are experiencing the problems described in the Knowledge Base article linked to below. However, you are advised to always keep your solution updated with the latest cumulative update. If you are in doubt about whether this cumulative update addresses your specific problem, or if you want to confirm whether any special compatibility, installation, or download issues are associated with this cumulative update, support professionals in Customer Support Services are ready to help you. For more information, see http://support.microsoft.com/contactus/.
The cumulative update includes hot fixes that apply to all countries and hotfixes specific to the following local versions:
  •   AU – Australia
  •   AT – Austria
  •   BE – Belgium
  •   CH – Switzerland
  •   CZ – Czech Republic
  •   DE – Germany
  •   DK – Denmark
  •   ES – Spain
  •   FI  – Finland
  •   FR – France
  •   IS – Iceland
  •   IT – Italy
  •   NA – North America
  •   NL – Netherlands
  •   NO – Norway
  •   NZ – New Zealand
  •   RU – Russia
  •   SE – Sweden
  •   UK – United Kingdom

Where to find Cumulative Update 12

You can download the cumulative update from KB 3193868 – Cumulative Update 12 for Microsoft Dynamics NAV 2016 (Build 47042)
Original Source :- Microsoft Blog

Cumulative Updates Microsoft Dynamics NAV 2016

Sunday, October 09, 2016

What happens to the Data after an Extension is uninstalled in Dynamics NAV 2016 ? - Tips, Tricks & Facts #3

Hi Guys, After my last post on extensions, I got questions from my blog readers that,

What happens to the data if we uninstall an extension in NAV 2016? 

As in, If we uninstall the extension then what about the data in the fields which were packaged in that extension.

Take a look at the screenshot below,

After uninstalling the extension we can see some new tables in our database.


The new tables are marked in orange and the new fields are marked in blue in the image above.

One table is created in SQL per existing Company in the database and this happens only when you have added new fields in a table which was packaged in your extension.

Yes, the names of these newly created tables are confusing but each table name is prefixed with AppData. All the data which was in the fields which were packaged in the extension exists in these tables.

Before uninstalling the app, I created a Location card in NAV as shown below,


Take a look at the table data in SQL for this Location record (before the app was uninstalled),


Now, take a look at the table data in the new table which was created after uninstalling the app,


This newly created table has two set of fields in it,
  • Primary Key fields (of the table in which new fields were added).
  • New Fields which were packaged in the extension.
In my demo scenario, 3 fields are created in the new table
  • Code (Primary key of Location Table)
  • Created By (Added on ID 50000 in Location Table and then packaged in extension)
  • Created Date (Added on ID 50001 in Location Table and then packaged in extension)
And last but not the least, when I uninstalled my Location extension I left DoNotSaveData unchecked so that my data is saved in SQL. See the screenshot below to know How to uninstall an extension,


If I mark DoNotSaveData parameter as True when I uninstall my app then obviously my data will not be saved in SQL and obviously no new AppData prefixed name tables will be created.

Keep Learning!!
& don't forget to post comments and doubts in comments section, I will be happy to answer them!

Sunday, October 02, 2016

NAV Debugger Keyboard Shortcuts - Tips, Tricks & Facts #2

Hi Guys. I want share knowledge about something which could save a considerable amount of time while debugging.

Developers like us debug code almost every day. So knowing the shortcuts will save us so much time!

Most of us must be knowing these shortcut keys but for those who don't, checkout this post. I hope it helps you out and debugging takes lesser time.

Lets start with Activating debugger first,


Tuesday, September 27, 2016

New Development Environment for NAV unleashing this Christmas! :D

Checkout this picture taken by Kauffmann in Directions US.


I will talk about this picture later. First things first.. So, I was scrolling through my twitter feed, seeing updates from people and companies about NAV Directions. And the picture below dropped my jaw. LITERALLY!

No, It is not about NAV 2017 or Dynamics 365. I am looking forward to these too but it is the 3rd thing mentioned in this picture, new development environment, which got me so excited, thrilled, delighted and what not!! Thank you Microsoft for exciting us every time we try to settle. Thank you, seriously!

Below is the stuff that Waldo and Kauffmann have shared in their blogs. Thank you both for sharing the knowledge with us.

So, as you all must have already got to know that in NAV 2017, we will be working with a new tool known as VS Code editor. The VS Code editor will become the preferred way of doing modifications in the future. Eventually, it will enable us to do any kind of modification that we can do today. 

Another picture taken by Kauffmann in Directions US. These pictures are interesting!!


The capabilities of Extensions have been immensely improved in NAV 2017. All object types are available now .. and more. (I so want to explore this “more” part, I know you guys will agree with me here!)

In short this will be the new stuff available to us,

-          Additional Object Types in Extensions:
o   Reports
o   XMLPorts
o   Queries
o   Custom report templates

-          Default and starting data

-          Multilanguage captions

-          Support for .Net Framework Add-Ins
o   .NET interop types executed on the server
o   Client-side JavaScript
o   WinForms extensibility control add-ins

-          Support for web services

-          Restore and backup data in extensions
o   NAVAPP.RESTOREARCHIVEDATA
o   NAVAPP.DELETEARCHIVEDATA

-          Updated PowerShell to publish Extensions
o   Publish to SQL db on Azure SQL

-          Installing Extensions
o   Users can install/uninstall from Extensions Mgt page.

There is a lot to deep dive into, check the full posts here and here. Do check these posts, they have a lot more interesting stuff, like a new datatype called "MediaSet" coming in NAV 2017. (I will say no more, check the posts :) go go!)

The “New developer Experience“ is not going to be released in the upcoming release. It’s only going to be there in preview at Christmas. There must be a lot of questions arising, I know, check these posts to get all the knowledge about what’s really new in NAV 2017.

Grateful because i am expecting that there will be so much to learn soon enough. Well, Let's see. Christmas will be so merry this time if we get what we all are expecting by that time.

#Excited #KeepLearning #KnowledgeForNAVTechies
Cheers!
Ishwar