Quantcast
Channel: Saurav Dhyani - #MSDynNAV & #MSDyn365bc
Viewing all 1147 articles
Browse latest View live

Microsoft Dynamics Navision Cumulative Update Summary For January 2018.

$
0
0
Hi All,


Microsoft Have Released Cumulative Update for January 2018.


Please find below the details of Cumulative Updates Released for Microsoft Dynamics NAV 2013, NAV 2013 R2, NAV 2015, NAV 2016, NAV 2017 & NAV 2018.


Below are the Links to Download the Latest Cumulative Update.




1. Title - Cumulative Update 01 for Microsoft Dynamics NAV 2018
  Build No. - 19846
  Details of Update
  Download Link

2. Title - Cumulative Update 14 for Microsoft Dynamics NAV 2017
  Build No. - 19831
  Details of Update
  Download Link

3. Title - Cumulative Update 27 for Microsoft Dynamics NAV 2016
  Build No. - 49741
  Details of Update
  Download Link

4. Title - Cumulative Update 39 for Microsoft Dynamics NAV 2015
  Build No. - 49736
  Details of Update
  Download Link

5. Title - Cumulative Update 51 for Microsoft Dynamics NAV 2013 R2
  Build No. - 49751
  Details of Update
  Download Link

6. Title - Cumulative Update 58 for Microsoft Dynamics NAV 2013
  Build No. - 49750
  Details of Update
  Download Link

For information about previous Cumulative update released for Microsoft Dynamics NAV 2013, NAV 2013 R2, NAV 2015, NAV 2016, NAV 2017 & NAV 2018 please Navigate to Hotfix Label or follow the Link.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com


Microsoft Dynamics NAV 2018 - List of System and Hidden Tables.

$
0
0
Hi Readers,

As we always discuss the list of the new system & hidden tables added in the new version, in this article we will see what new system and hidden tables added in NAV 2018.

If you are looking for system and hidden tables in the previous version refer below -

NAV 2009   NAV 2015   NAV 2016   & NAV 2017

Below is the list of Virtual and System tables in Microsoft Dynamics NAV 2018.


  • 10 New System tables added in NAV 2018.
Object ID
Object Name
Object Caption
2000000081
Upgrade Blob Storage
Upgrade Blob Storage
2000000082
Report Layout
Report Layout
2000000176
NAV App Resource
NAV App Resource
2000000177
Tenant Profile
Tenant Profile
2000000178
All Profile
All Profile
2000000179
OData Edm Type
OData Edm Type
2000000182
Media Resources
Media Resources
2000000186
Profile Page Metadata
Profile Page Metadata
2000000187
Tenant Profile Page Metadata
Tenant Profile Page Metadata
2000000188
User Page Metadata
User Page Metadata

  • 02 New Virtual / Hidden Tables added in NAV 2018.
Object ID
Object Name
Object Caption
2000000192
Page Control Field
Page Control Field
2000000193
Api Web Service
Api Web Service

  • List of all Hidden / Virtual Tables in NAV 2018

Object ID
Object Name
Object Caption
2000000001
Object
Object
2000000007
Date
Date
2000000009
Session
Session
2000000020
Drive
Drive
2000000022
File
File
2000000026
Integer
Integer
2000000028
Table Information
Table Information
2000000029
System Object
System Object
2000000038
AllObj
AllObj
2000000039
Printer
Printer
2000000040
License Information
License Information
2000000041
Field
Field
2000000043
License Permission
License Permission
2000000044
Permission Range
Permission Range
2000000045
Windows Language
Windows Language
2000000048
Database
Database
2000000049
Code Coverage
Code Coverage
2000000055
SID - Account ID
SID - Account ID
2000000058
AllObjWithCaption
AllObjWithCaption
2000000063
Key
Key
2000000101
Debugger Call Stack
Debugger Call Stack
2000000102
Debugger Variable
Debugger Variable
2000000103
Debugger Watch Value
Debugger Watch Value
2000000135
Table Synch. Setup
Table Synch. Setup
2000000136
Table Metadata
Table Metadata
2000000137
CodeUnit Metadata
CodeUnit Metadata
2000000138
Page Metadata
Page Metadata
2000000139
Report Metadata
Report Metadata
2000000140
Event Subscription
Event Subscription
2000000141
Table Relations Metadata
Table Relations Metadata
2000000142
Query Metadata
Query Metadata
2000000154
Database Locks
Database Locks
2000000164
Time Zone
Time Zone
2000000167
Aggregate Permission Set
Aggregate Permission Set
2000000171
Page Table Field
Page Table Field
2000000172
Table Field Types
Table Field Types
2000000173
Finish Design Save Mode
Finish Design Save Mode
2000000178
All Profile
All Profile
2000000192
Page Control Field
Page Control Field
2000000193
Api Web Service
Api Web Service

Thinking what these new tables do. Let me know, I will make sure that we cover them in future articles.

Thanks,
Saurav Dhyani

Microsoft Dynamics NAV 2018 - Changes in Service Tier.

$
0
0
Hi Readers,


In this article, we will try to discuss and find out changes between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018 Service Tier Panel.

We will visit tab by tab and try to identify what new added in the service tier panel and try to figure out what those new options can be used in the system.




What Changed in General Tab, are listed below with a comparison between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018.

1. Default Language
Specifies which of the installed Dynamics NAV languages on the server instance will be used as the default language in the clients. Set the value to a valid language culture name, such en-US or da-DK.

In the Dynamics NAV Web and Tablet clients, the Default Language setting determines the language that is used if the web browser's language setting does not match any installed language or a language in the Supported Languages setting, if used. In the Dynamics NAV Windows client, this is the language that is used if the language setting of the computer does not have a match.

2. Enable Incremental Company Deletion
Specifies whether to delete companies incrementally. If you enable this setting, when you delete a company, the company record is deleted from the database immediately but the company data that is stored in the SQL tables will be deleted later by the task scheduler.

3. Supported Languages
Specifies which of the installed Dynamics NAV languages on the server instance will be available for use in the clients. If you do not specify a language, then all installed languages will be available.
In the client, users can switch among the supported languages. The value is a semicolon-separated list that contains the language culture names for each language.
If you specify any languages in this setting, then you must include the language that you specified in the Default Language setting.

What Changed in Database Tab, are listed below with a comparison between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018.


1. SQL Connection Idle Timeout
Specifies the time that a SQL connection can remain idle before being closed. The value has the format HH:MM:SS.

2. SQL Query Logging Threshold
Specifies the amount of time (in milliseconds) that an SQL query can run before a warning event is recorded in the application log for the server instance.

What Changed in ODATA Tab, are listed below with a comparison between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018. 

1. Enable API Services
Specifies whether API web services are enabled for this server instance.

2. OData Max Connections
Specifies the maximum number of OData connections before returning a 429 error. Set this value to 0 to disable throttling.

What Changed in Azure Active Directory Tab, are listed below with a comparison between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018. 


1. Valid Audiences
Specifies a semicolon-separated list of allowed audiences for Azure AD authentication.

What Changed in Task Scheduler Tab, are listed below with a comparison between Microsoft Dynamics NAV 2017 and Microsoft Dynamics NAV 2018. 

1. System Task End Time / System Task Start Time
Specifies the time of day after which system tasks can start & Stop.The time is based on the time zone of the computer that is running the server instance. The value has the format HH:MM:SS.

A New Tab Development is added in Microsoft Dynamics NAV 2018. 


1. Allowed Extension Target Level
Specifies the allowed target level when publishing extensions.

2. Enable Developer Service Endpoint
Specifies whether the Developer service endpoint will be enabled.

3. Enable loading application symbol references at server startup.
Specifies whether application symbol references should be loaded at server startup.

4. Enable SSL
Specifies whether SSL (https) is enabled for the Developer web service port.

5. HttpClient AL Function Maximum Timeout value
Specifies the maximum allowed timeout value in minutes that can be set for the HttpClient Timeout AL function.

6. HttpClient AL Function Response Size
Specifies the maximum size in megabytes of a response buffer used by the HttpClient AL function.

7. Port
The listening HTTP port for Microsoft Dynamics NAV Developer web services.Valid range: 1 - 65535

These are all the changes that are there between Microsoft Dynamics NAV 2017 and 2018, but we will move forward and check how we can use these new changes. If you want to cover any specific setting please put a comment on this article and we will cover it first.

Let me know your views!!

Regards,
Saurav Dhyani

Microsoft Dynamics NAV 2018 - API Part 1.

$
0
0
Hi all,

As most of us know that with Microsoft NAV 2018 Microsoft has released a great feature about API.

As per Microsoft, in standard NAV 44 API,  have been released.

In API Series of articles, we will cover what is available in standard NAV 2018 and how we can add more API in Microsoft Dynamics NAV 2018.


I will start with the way I start exploring this feature in a set of multiple articles. During series of these articles if you think we need to cover anything new let me know I will try to add that in future articles.

1. To Start with Microsoft have added a New Page Type in NAV 2018 i.e API as shown below.
With that Microsoft have added new page properties EntityName,EntitySetName & ODataKeyFields.
We will use these fields in future articles.


All API Pages in NAV 2018 are listed below -

ID
Name
5470
Item Entity
5471
Customer Entity
5472
Vendor Entity
5473
Company Information Entity
5475
Sales Invoice Entity
5477
Customer Paym. Journal Entity
5480
Account Entity
5481
Tax Group Entity
5482
Journal Entity
5483
Employee Entity
5484
G/L Entry Entity
5485
Currencies Entity
5486
Payment Methods Entity
5487
Dimensions Entity
5489
Dimension Lines Entity
5490
Payment Terms Entity
5491
Shipment Method Entity
5492
Item Categories Entity
5493
Cash Flow Statement Entity
5494
Country/Regions Entity
5495
Sales Order Entity
5497
Retained Earnings Entity
5498
Units of Measure Entity
5499
Aged AR Entity
5500
Aged AP Entity
5501
Balance Sheet Entity
5502
Trial Balance Entity
5503
Income Statement Entity
5504
Tax Area Entity
5505
Sales Quote Entity
5507
Sales Credit Memo Entity
5527
Purchase Invoice Entity
10900
IRS 1099 Form-Box Entity

Next exploration that I did was a field analysis that was added to these pages source table and to my surprise, Microsoft has added a new field with the name ID  & type GUID shown below. In most of the tables, the field is added in ID 8000.


TableNo
No.
TableName
FieldName
Type
3
8000
Payment Terms
Id
GUID
4
8000
Currency
Id
GUID
9
8000
Country/Region
Id
GUID
10
8000
Shipment Method
Id
GUID
15
8000
G/L Account
Id
GUID
18
8000
Customer
Id
GUID
23
8000
Vendor
Id
GUID
27
8000
Item
Id
GUID
36
8000
Sales Header
Id
GUID
38
8000
Purchase Header
Id
GUID
79
8000
Company Information
Id
GUID
81
8000
Gen. Journal Line
Id
GUID
112
8000
Sales Invoice Header
Id
GUID
114
8000
Sales Cr.Memo Header
Id
GUID
122
8000
Purch. Inv. Header
Id
GUID
133
8000
Incoming Document Attachment
Id
GUID
138
8000
Unlinked Attachment
Id
GUID
204
8000
Unit of Measure
Id
GUID
232
8000
Gen. Journal Batch
Id
GUID
289
8000
Payment Method
Id
GUID
318
8000
Tax Area
Id
GUID
321
8000
Tax Group
Id
GUID
323
8000
VAT Business Posting Group
Id
GUID
324
8000
VAT Product Posting Group
Id
GUID
348
8000
Dimension
Id
GUID
349
8000
Dimension Value
Id
GUID
560
8000
VAT Clause
Id
GUID
2850
8000
Native - API Tax Setup
Id
GUID
5200
8000
Employee
Id
GUID
5475
8000
Sales Invoice Entity Aggregate
Id
GUID
5476
8000
Sales Invoice Line Aggregate
Document Id
GUID
5477
8000
Purch. Inv. Entity Aggregate
Id
GUID
5478
8000
Purch. Inv. Line Aggregate
Document Id
GUID
5480
8000
Tax Group Buffer
Id
GUID
5489
8000
Dimension Set Entry Buffer
Dimension Id
GUID
5495
8000
Sales Order Entity Buffer
Id
GUID
5504
8000
Tax Area Buffer
Id
GUID
5505
8000
Sales Quote Entity Buffer
Id
GUID
5507
8000
Sales Cr. Memo Entity Buffer
Id
GUID
5509
8000
Attachment Entity Buffer
Id
GUID
5722
8000
Item Category
Id
GUID
10010
8000
IRS 1099 Form-Box
Id
GUID
50505
8000
My Master
Id
GUID
2000000006
8000
Company
Id
GUID

Will share next part of exploration in next articles.

Let me know your views and stay tuned for Part 2 of API Article in NAV 2018.

Regards,
Saurav Dhyani
saurav-nav.blogspot.in

Microsoft Dynamics NAV 2018 - API Part 2 - Configure API.

$
0
0
Hi readers,


In the first article, we discussed exploration of API released with Microsoft Dynamics NAV 2018.


As we knew from the last article we read the Microsoft document says that there are 44 API released in Base Microsoft NAV. Let's see how we can access that list and how to configure API.




To Start with APMicrosoftoft have added a page API Setup (5469) to intialize of update all APIS defined in NAV Objects.

Dont get confuse with data in this page, we need to focus on action Integrate API as shown below.



So what will happen if we click on it -

1. System will look for all subscriber of the Published Event "ApiSetup" in Codeunit Graph Mgt - General Tools.

2. For Every Subscriber if it is API then system will Add or Update Integration Records for API's.

Next step is to check APIs which are added or updated. As in previous article we see that microsoft added a new virtual table in NAV 2018 - 2000000193 (Api Web Service). Lets create a list page based on this table and see the data inside this as shown below.



Now after finding information from MSDN to access any of these API's below is the format to access. http://<<Server Name>>:<<OData Port>>/<<Service Name>>/api/beta

In my case, it is - http://localhost:11048/DynamicsNAV110/api/beta

Lets try to access is and see results.

So what we are missing, after reading more about it we need to set following parameter in service.

1. Service Default Company. -- Company Name that will be used to get/post data from API's.
2. Enable API Services.     -- Enable API Service to get results from URL used above.
3. Enable ODATA Services.   -- Enable Odata as API depends on ODATA Services.
4. OData Base URL.          -- The public URL for accessing OData services.
5. Port.                    -- Will be used in the URL Above.


So lets try to access the base URL again and see a list of pulished API in Microsoft Dynamics NAV 2018. As highlighted 44 published API is displayed on the page.

Hope you find the information useful and will be able to configure API In your environment.

In Next article we will try to see demo of how we can use these standard API. That may not be the how we will actually use it but a simple demo and then i will leave it with everyone open mind to use it further.

Let me know your views.

Regards,
Saurav Dhyani

Microsoft Dynamics NAV 2018 - API Part 3 - Consuming API.

$
0
0
Hi Readers,

We already have two posts about NAV 2018 API listed below -

Microsoft Dynamics NAV 2018 - API Part 1.

Microsoft Dynamics NAV 2018 - API Part 2 - Configure API.


In this article, we will see how we can consume these APIs. For the Demo, I will use Google Chrome App called Postman. I am sure there are great developers out there who know how to consume it but I just wanted to test how it is consumed.

If you are interested in the small demo using Postman then please go further otherwise, i am sure you know how to consume these APIs.



1. Download Google Chrome App "Postman" using this link.

2. Launch App from Google Chrome window.


3. Close first popup/splash screen in-app. We can see that there are so many options (15) to choose from. But I was able to find out that NAV API only support 2 options -  GET and POST.

GET   is used to read data from NAV API.
POST is used to write data in NAV using APIs.


4. I am choosing one of the API from 44 APIs that we see in the last post. Lets select paymentMethods as highlighted below.



Base URL - http://localhost:11048/DynamicsNAV110/api/beta
Name - paymentMethods

So URL To use in POSTMAN - http://localhost:11048/DynamicsNAV110/api/beta/paymentMethods

5. Let's try to use GET and compare data with NAV. In NAV Entity is Page - 5486 "Payment Methods Entity".



6. Now let's try to use the POST statement and check data in NAV.
If we choose to post and try to click Send it will not work obviously as it will require some data (at least primary key), as shown below.


Now I am comfortable with JSON, you can choose other forms based on your comfort and assigned value to - code and description. The code is code in API and Description is displayName in API.

In postman select the Body tab, select raw and you can select any of 7 formats. I will select JSON and enter values for both parameters and then click send.

** Just to remember all these are case sensitive.



7. Let's check data in NAV table. Here is what we got in NAV using the POST.


Hope you find the information useful and will be able to consume API In your environment.

In Next article, we will try to create a New simple API. If you have some thoughts please let me know.

Let me know your views.

Regards,
+Saurav Dhyani - Microsoft Dynamics Navision 
saurav-nav.blogspot.in

Microsoft Dynamics Navision Cumulative Update Summary For March 2018.

$
0
0
Hi All,


Microsoft Have Released Cumulative Update for March 2018.

Please find below the details of Cumulative Updates Released for Microsoft Dynamics NAV 2015, NAV 2016, NAV 2017 & NAV 2018.


Below are the Links to Download the Latest Cumulative Update.




1. Title - Cumulative Update 03 for Microsoft Dynamics NAV 2018
  Build No. - 20783
  Details of Update 
  Download Link
 
2. Title - Cumulative Update 16 for Microsoft Dynamics NAV 2017
  Build No. - 20784
  Details of Update 
  Download Link
 
3. Title - Cumulative Update 29 for Microsoft Dynamics NAV 2016
  Build No. - 50087
  Details of Update 
  Download Link
 
4. Title - Cumulative Update 41 for Microsoft Dynamics NAV 2015
  Build No. - 50086
  Details of Update 
  Download Link
 
For information about previous Cumulative update released for Microsoft Dynamics NAV 2015, NAV 2016, NAV 2017 & NAV 2018 please Navigate to Hotfix Label or follow the Link.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

AL - Installing AL with Microsoft Dynamics NAV.

$
0
0
Hi all,

With this as the first article, i will start my journey towards AL (future for Dynamics NAV). I know its late but due to some personal commitments, i was unable to start it early.

In this article, we will configure AL environment on Local Environment. If you already have configured then please provide what I missed while trying to find it.



Step 1 - Add Mordern Developer environment.

If you have not installed NAV 2018 then make sure to select Modern Development Environment during installation.
If you have already installed then Run setup again and select add or remove the component and select Modern Development Environment.



Step 2 - Download and install Visual Studio Code.

Download the latest Visual Studio Code using the link.



Install the Visual Studio Code as shown below. (Run as administrator)



Step 3 - Install Extensions.

Open Visual Studio Code, and then select Extensions menu (Left-hand Last option).
Search for Install.VSIX.
Select and install the Extension as shown below.



After Installation of extension then from the file menu, select the Open folder, and Select Modern Dev Environment folder.
** Default Path - C:\Program Files (x86)\Microsoft Dynamics NAV\110\Modern Development Environment



Select the ALLanguage.vsix, Right click, and select install Extension.



You also may run into error message, as i did during installation (shown below).



Manually write code to install the extension -> code --install-extension ALLanguage.vsix



AL Language is Extension is installed and in next article how we refer NAV C/AL Objects into VS.

Let me know your views on same and if you have any issues.

Regards,
Saurav Dhyani
saurav-nav.blogspot.in

AL - Mapping AL with Local NAV Database.

$
0
0
Hi Readers,

In this article, we will discuss how to configure NAV 2018 database to work Side-by-side with C/Side and AL.

Article 1 - How to Install Visual Studio Code.

Pre-Requisites -
1. NAV 2018 installed with Modern Developer Environment.
2. Visual Studio Code installed.

References.


NAV 2018 supports development using both C/SIDE and AL, as well as Designer side-by-side. When we add/modify new objects in C/SIDE it should also reflect in Visual Studio code (AL).

A new command is added in finsql.exe that is generatesymbolreference.

Let's try to execute this command. Remember it is a lengthy process.

1. Open the Command prompt (Run as administrator).


2. Navigate to Path for finsql.exe using the cd command.
** C:\Program Files (x86)\Microsoft Dynamics NAV\110\RoleTailored Client


3. Run the command as below.
** Change servername and Database Name as per your local installation.
finsql.exe Command=generatesymbolreference, Database="NAV110_CAL_AL_Side_by_Side", ServerName=localhost

4. To Continuously generate symbols each time you compile objects in C/SIDE, run below command.
finsql.exe generatesymbolreference=yes


5. Create a new service mapped to the new database created for this exercise.



6. Update NAV Server settings to update generate symbol mapped to the database.
A new setting added in NAV Service tier in Development tab "Enable Symbol Loading at Server Startup." This setting must be enabled to allow any symbol generation.


7. Open Visual Studio Code and use following shortcuts.
Press Alt+A, Alt+L to open the Go! command.
Specify a Path in the Go! the command to create a folder to map.
** You will see Go Windows in the top center of Visual studio code.



Check Folder in explorer.


7. Open the Folder recently created the folder and select launch.json and lets update that file to map to current service tier to generate the symbol.


8. Update parameters, close and save file.

The system will load the default settings as shown below, which specifically set authentication to UserPassword and Server Name as "Your Own Server".


As we are using authentication as Windows. 
Update parameters like Server Name, service Name, authentication.


9. Close visual studio code editor and reopen the editor.



10. If you are using the custom port in development tab, then 7049 you might end up an error message.

11. So let's update the port no in the launch.json and try to download symbol again.

Add Port Number in the launch.json file.


And Load the symbol again.


Hope you are able to execute steps above and able to download symbols in AL. 
Let me know your views on same and if you have any issues.

Regards,
Saurav Dhyani

Directions Asia - Will you be around?

$
0
0
Hi All,

Directions Asia 2018 Conference for partners and customers and is happening in Bangkok Thailand.

Conference dates are March 15 and 16.

We will be there!




About Directions Asia 2018 - 
Directions ASIA is a must-attend conference for Microsoft Dynamics SMB  focused Partners that provides a collaboration platform for the Microsoft team, ISVs and implementers, technical and sales experts as well as business owners and executives from Microsoft Partner companies operating in the Asia-Pacific region. The objective of the conference is to build agile, well-informed and collaborative community of Partners to support their business growth based on Microsoft Dynamics products and the latest technology advancements.The 2018 conference is to welcome more than 500 participants.

Will you be there?
If you already booked your seats then let's meet in Directions Asia. This is the first time I am attending sessions and I would love to interact will anyone who would be interested. I would love to be part of all workshop and sessions as much as I can, but we can meet after/before session.

If you are not there?
Don't worry if you are not there. 05 Team members from archerpoint India Just landed in Bangkok -
1. Saurav Dhyani
2. Jon Long
3. Sowkarthika Rajendran
4. Mahadevan Alagaraja
5. Pavithra Palani

Keep a close eye on our twitter accounts to get updates. You can also follow @archerpointinc on twitter to see updates during the session. 

I will be posting articles after coming back from #DirectionsAsia.

Keep your twitter ready and keep on asking questions as you see updates coming from Directionsasia. 

Regards,
Saurav Dhyani
saurav-nav.blogspot.in

Microsoft Dynamics 365 Business Central - Day 1.

$
0
0
Hi all,

As most of you know that I am here in Bangkok to attend Directions Asia where it's all happening, so in this article lets talk about Day 1 of Business Central.

1. Whats in the name?

As we all know the name of next version  Product is “Microsoft Dynamics 365 Business Central”.

I know there are mixed views about the name like -
 - It's too big.
 - NAV was great.
 - What does business central means?



How I feel about it?
Actually, I was discussing this with my colleague "Jon Long" and he said - Does it matters what Microsoft name the Product or should we focus on What is changing and How we create a Path to reach there for all our customers. 

Beleive it or not - It's not yours or my product, so we don't have any control. Lets naming and behavior be with Microsoft and let them call it Business Central or any name they like as its there Child!. Think about it, someone else is reacting to name of your baby boy or girl.

So for me let's focus on change stop discussing about the name.

2. What is “Microsoft Dynamics 365 Business Central” contains?

Microsoft had so many product lines when they plan to move Good Old NAV to Cloud like - Microsoft Dynamics 365 for Finance and Operation & Microsoft Dynamics 365 for Business Edition and other names which was partial/full NAV with so much confusion.

Guess what "Microsoft Dynamics 365 Business Central" comes up with Full NAV capabilities and here is what Microsoft say about it.
 - An all-in-one business management solution.
 - An evolution of Dynamics NAV.
 - An application and a platform.
 - An intelligent and unified solution.
 - A member of the Dynamics 365 family.

3. What is the cost/price?

Three Pricing Model - Team Members, Essentials & Premium.


4. When to Expect?

The product will be available starting April 2 for 14 countries (North America & Europe).
Worldwide version, Australia, and New Zealand will be released on July 1, 2018.
For other no News/announcement yet.



5. Will Microsoft Dynamics 365 Business Central on Prem will be released?
Yes, there will be on-prem release for MSDYN365BC.

6. NAV 2018 R2 is Dead?
Here is what "Jon Long" think and from where I took this title from.

Not my title and not be worried about but this is my conclusion from diffrence in slides for Directions NA and Directions Asia.

If you remember the Roadmap in Directions NA said after NAV 2018 there will be NAV 2018 R2 and then we move to Cloud, guess what that slide changed and now it says -

NAV 2018 (which is avilable) - NAV 2018 Updates (which means Cumulative updates) and then Dynamics 365 Business Central on cloud and on Prem.



7. C/AL or AL? Will C/AL be avilable as a Development Language?
I dont know and I didnt got a clear answer about it but here is what i feel.
Eventually C/AL will go away and the future is AL.

8. C/AL should die ?
** My Views nothing official on this point.

As much as i love C/AL like most of you who are reading this I feel microsoft should discontinue it as soon as possible. I know its very harsh to say when you love something but that statement is coming from past experience.

Remember the bumppy ride, pain and endless discussion 10 year ago when RTC was introduced. Most of us still love classic clients but RTC was future and we were not ready to change.
Guess what we moved ahead from classic and all of us now love RTC. We still remember good old days with classic but those are good memories and will remain with us till we work on this product.

I Feel a product will change as per market need and we also need to start accepting changes. Its hard to change but its mandatory to change if you want to survive.
CHANGE is Permanent!

I hated and i think most of us hated transition from classic to RTC, specially NAV 2009, SP1 and R2 releases because of Mixed mode with Forms & Pages, Classic and RTC Report Layout, Dataports and Xmlports. We are still having those changes with so many customers who are still on classic or mixed mode.

We are at the same transition Phase from C/AL to AL. A mixed mode environment may sound easy today but it will cause pain going foward. I think either we stay on C/AL till it exist or we stay with AL but never be in a mixed mode solutions. It will cause trouble.

9. How easy the transition will be?
** My Views nothing official on this point.

It will be a bummy ride and lot of pain. Beleive it or not its not because of microsoft, It is a pain that we created for ourself in past but developing #antipatterns, writing code on base application, commenting standard code segments.

I know what you are thinking - Saurav, you dont understand those were the only options at that time and it is working fine with customer business?

Guess what those all quick fixes that we did and are working fine still today, will cause pain during transition. As i earlier said product was never our child "baby", Product parents decided to change it and we need to change with product.

10. What should we do?

We should start working on cleaning our plates "Customer base code". Upgrade them at least to NAV 2017 and then -

Start using Events, Request Event if you dont find it in product, Community Discussion, Train Team on New Coding methodlogy, Extension V2.0.

We all need to go togeather to cross this hurdle and Help each other going foward.

My 2 cents!

If you are in Directions Asia Day 2 and want to discuss more on this i will be around to talk about it!.

Disclaimer - All information above is my own thoughts on what i heard during first of new born child “Microsoft Dynamics 365 Business Central”.

Regards,
Saurav Dhyani
saurav-nav.blogspot.in

Microsoft Dynamics NAV 2018 - API Part 4 - Develop Custom API.

$
0
0
Hi Readers,

We already have two posts about NAV 2018 API listed below -


API Part 1

API Part 2 - Configure API

API Part 3 - Consuming API


In this article, we will see how we can create a new custom API. We will customize NAV and see how API can be developed if we want to create a custom API's.



If you are interested in the small demo then please go further otherwise, I am sure you know how to consume these APIs.

Let's create a New custom table that we will use for API named as "External Items", with a boolean flowfield & Inventory Flowfield that will be set based on data entered from external systems in this table.

As in standard API Tables discussed in the earlier article, we will add Id Field with Field No. 8000



Now let's create a list page to see data in this page that is inserted by the external system.



Let's create an API page that we will require to configure in API Page which has all 44 standard pages published.

1. A New Page Type is added in NAV 2018 that is API.
2. Specify EntityName and EntitySetName that will be used in URL to access by the external system.
3. Also Speicy OdataKeyField the GUID Field i.e ID as shown below.



In the next article, we will discuss how we can add this new API to the external system. Let me know if any questions or suggestions.

Regards,
Saurav Dhyani

HOW DO I - Customize Report Word Layout.

$
0
0
Hi Readers,

This article is based on an email request that I received on my blog Contact form. The Request is sent from Rathnakumar.

I thought it would be good to write an article as I am getting this question multiple time.

Let me know your thoughts and views about it.



One Good example is Report 1320 "Notification Email". This report is used for sending workflow email notification.

Step 1 - Let's check what is there in RDLC Layout and guess what there is no RDLC Layout as shown below.



Step 2 - To Customize the word layout let's navigate to RTC Client.

Step 3 - Navigate to "Departments/Administration/IT Administration/Reports".

Step 4 - Open Custom Report Layout.

Step 5 - Click New to add a new record, specify Report ID = 1320 and Insert Word Layout to TRUE.


Step 6 -  Select the Record in New page and click on Edit Layout from the Ribbon.



Step 7 -  This will open Microsoft word for editing the word layout. From the Developer Tab, select XML Mapping Pane as shown below.
** If you don't see Developer tab you can enable that from the options.


Step 8 - Select XML Mapping and select the Custom XML Part that is with Report ID, as shown below.


Step 9 - Once you are done with customizing the word layout, close Microsoft word and select Yes to import changes in NAV Report.


Changes should be available going forward.

Let me know if you find information useful or if you have any questions or suggestions.

Regards,
Saurav Dhyani 
saurav-nav.blogspot.in

Data Upgrade to Microsoft Dynamics NAV 2018.

$
0
0
Hi Readers,

In this article, we will discuss data upgrade to NAV 2018 from NAV 2017 (Cronus Database). Steps will remain same for the NAV Version 2015 and 2016.

Data Upgrade to NAV 2018 in one step is from -
1. NAV 2013.      *
2. NAV 2013 R2. *
3. NAV 2015.
4. NAV 2016.
5. NAV 2017.

* Read at the End of article.


First thing first - How many steps to upgrade to NAV 2018?


Microsoft Upgrade toolkit objects in the UpgradeToolKit\Data Conversion Tools folder on the Microsoft Dynamics NAV 2018 installation media (DVD). Choose the FOB that matches the Dynamics NAV version from which you are upgrading:

Task 1: Prepare the old database

1. Use the Microsoft Dynamics NAV Development Environment to build all application objects.
From Tools - Build Server Application Objects.



2. Unlock all application objects.
Filter - Locked True in object designer.
Select all Locked Objects and From File Select Force Unlock.

3. Synchronize the database schema.
From Tools - Sync. Schema For All Tables, with validation.



Task 2: Create a full SQL backup of the old database on SQL Server.

** If you have extensions in the database then =
Task 3 Uninstall all V1 extensions in the old database -

1. Get List of v1 Extension that is installed, run PowerShell cmdlet -

Get-NAVAppInfo -ServerInstance <ServerInstanceName> -Tenant <TenantID> |ft

Replace <ServerInstanceName> - Service Name
Replace <TenantID> with Tenant Id, If not multitenat then use default.



As this is not providing the complete Name of the extension, we can run the table - 2000000153 "NAV App Installed App".



2. For each Extension V1, run this command to uninstall it:

Uninstall-NAVApp -ServerInstance <ServerInstanceName> -Name <Name> -Version <N.N.N.N>
Replace <Name> and <N.N.N.N> with the name and version of the Extension V1 as it appeared in the previous step.

For Crouns Database -
#Un-install all Extensions
Uninstall-NAVApp -ServerInstance dynamicsnav100 -Name "QuickBooks Data Migration" -Version 1.0.0.2
Uninstall-NAVApp -ServerInstance dynamicsnav100 -Name "Sales and Inventory Forecast" -Version 1.0.0.0
Uninstall-NAVApp -ServerInstance dynamicsnav100 -Name "PayPal Payments Standard" -Version 1.0.0.0
Uninstall-NAVApp -ServerInstance dynamicsnav100 -Name "Envestnet Yodlee Bank Feeds" -Version 1.0.0.0



Task 4: Upload the Microsoft Dynamics NAV 2018 license to the old database

Task 5: Delete all objects except tables from the old database
In the development environment, open the old database, open Object Designer, select all objects except tables, and then choose Delete.
* Select All in Object Designer and Mark All Objects.
* Select tables in Object Designer, select all and Un-mark all tables.
* From View Select Marked only and select all in Object Designer.
* Delete all Objects (marked Objects).

Task 6: Uninstall (optional) the old product and install the new product

Task 7: Clear Dynamics NAV Server instance records from old database.
Stop NAV Services mapped to database and run SQL Query -
DELETE FROM [My NAV Database Name].[dbo].[Server Instance]
Replace - [My NAV Database Name] with NAV Databsae Name.

Task 8: Convert the old database to the Microsoft Dynamics NAV 2018 format.
1. Open NAV 2018 Developer Environment as administrator.
2. Open old database to Dynamics NAV 2018 Developer Environment.
3. Follow the conversion instructions.
** Do not run table synchronization.

Task 9: Import the upgraded application objects and upgrade toolkit objects into the converted database.
1. Import Merged objects from NAV 2018 Object Merge in the database. (Select Replace all)
** Do not run table synchronization (Select Later if asked).
2. Import Upgrade Toolkit Object in Database.
** Do not run table synchronization (Select Later if asked).



Task 10: Connect a Microsoft Dynamics NAV 2018 Server instance to the converted database.
1. Increase the SQL Command Timeout setting for the Microsoft Dynamics NAV Server instance.



Task 11: Compile all objects that are not already compiled.
1. Filter Objects with compiled false.
2. Compile objects with Synchronization Schema Later.

If you get errors on the following table objects, use the Object Designer to delete the objects because they are no longer used.

Table 470 Job Queue (replaced by the Task Scheduler)
Table 824 DO Payment Connection Details
Table 825 DO Payment Connection Setup
Table 827 DO Payment Credit Card
Table 828 DO Payment Credit Card Number
Table 829 DO Payment Trans. Log Entry
Table 1510 Notification Template

When you delete following table object, in the Delete confirmation dialog box, set the Synchronize Schema option to Force.

Task 12: Run the schema synchronization on the imported objects.
From Tools - Sync. Schema for all Tables - With Validation.

Task 13: Run the data upgrade process.
On the Tools menu, choose Data Upgrade, and then choose Start and follow the instructions.


Task 14: Delete the upgrade objects.
Filter Objects with Version Tag - @*UPGTK* and delete objects with Force.

Task 15: Import upgraded permission sets and permissions by using the Roles and Permissions XMLports.

Task 18: Publish and install/upgrade extensions.

Publish all the extensions from the \Extensions folder of the Microsoft Dynamics NAV 2018 installation media (DVD):

From the Microsoft Dynamics NAV Administration Shell, run the following command for each extension.

Publish-NAVApp -ServerInstance <ServerInstanceName> -Path <ExtensionFileName>
V1 extensions have the file type .navx. V2 extensions have the file type .app.

--
** My Product DVD is placed in D:\NAV2018

#Publish NAV APPS
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\Ceridian\Ceridian.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\EnvestnetYodleeBankFeeds\EnvestnetYodleeBankFeeds.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\ImageAnalysis\ImageAnalysis.app"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\MSWalletPayments\MSWalletPayments.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\PayPalPaymentsStandard\PayPalPaymentsStandard.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\QuickBooksDataMigration\QuickBooksDataMigration.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\QuickbooksPayrollFileImport\QuickbooksPayrollFileImport.navx"
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path "D:\NAV2018\Extensions\SalesAndInventoryForecast\SalesAndInventoryForecast.navx"
--

For each Extension V2, run the following command to synchronize its schema with the tenant database:
Sync-NAVApp -ServerInstance <ServerInstanceName> -Name <Name> -Version <N.N.N.N>

Task 19: Update the Dynamics NAV Web client configuration file (navsettings.json)
If you have installed the Microsoft Dynamics NAV Web Server components, populate the navsettings.json file for the Dynamics NAV Web Server instance with the settings of the old web.config file.

Refer Here - https://docs.microsoft.com/en-us/dynamics-nav/configuring-microsoft-dynamics-nav-web-client-by-modifying-the-web.config-file

Updates * - 
As we all know NAV 2013 and NAV 2013 R2 are no longer active products from Microsoft, there will have no more cumulative updates for these versions and also there will no updates in active products (NAV 2015 and higher) for upgrade toolkit from NAV 2013 and NAV 2013R2.

  • NAV 2013 and NAV 2013 R2 end of mainstream support end after the release of NAV 2018.
  • So if you are planning to upgrade to NAV 2018 Initial Release, CU0, CU1, and CU2 then the number of data migration steps  = 1.
  • But if you are planning to upgrade to NAV 2018 Cumulative Update 03 or latest cumulative release in future then Number of data migration step = 2.


If you have any questions, I will be happy to answer those if I can. Please also let me know your views.

Regards,
Saurav Dhyani
saurav-nav.blogspot.in

Microsoft Dynamics Navision Cumulative Update Summary For April 2018.

$
0
0
Hi All,


Microsoft Have Released Cumulative Update for April 2018.

Please find below the details of Cumulative Updates Released for Microsoft Dynamics NAV 2015, NAV 2016, NAV 2017 & NAV 2018.

** Cumulative Update for NAV 2015 is not released yet.

Below are the Links to Download the Latest Cumulative Update.





1. Title - Cumulative Update 04 for Microsoft Dynamics NAV 2018
  Build No. - 21441
  Details of Update
  Download Link

2. Title - Cumulative Update 17 for Microsoft Dynamics NAV 2017
  Build No. - 21440
  Details of Update
  Download Link

3. Title - Cumulative Update 30 for Microsoft Dynamics NAV 2016
  Build No. - 50221
  Details of Update
  Download Link

4. Title - Cumulative Update 42 for Microsoft Dynamics NAV 2015 ** Not Released Yet.
  Build No. -
  Details of Update
  Download Link
 
For information about previous Cumulative update released for Microsoft Dynamics NAV 2015, NAV 2016, NAV 2017 & NAV 2018 please Navigate to Hotfix Label or follow the Link.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

MSDYN365BC - Journey To Business Central Table of Content.

$
0
0
Hi All,

I know I am late on this but I was busy with all these changes and I know you will understand the reason for being late in Journey.

I will try my best to run quickly and will try to cover most of the aspects with respect to this change.

What I need from my readers is a close eye on my articles, questions, suggestions and what I am missing. with your support, I will try to make this transition as smooth as possible.

This does not mean that I will stop posting articles about the pre-BC version of our favorite NAV Versions. I will keep that as active as I can.

This article will act as a placeholder, for all the articles posted for Microsoft Dynamics NAV 365 Business central. So if you are busy I would suggest keeping the bookmark of this article so that you can find all articles MSDYN365BC in one place.

MSDYN365BC Articles -

  1. Install Docker.



Please keep reading, suggesting and commenting on these articles to make it a great series about MSDYN365BC.

Regards,
Saurav Dhyani
https://saurav-nav.blogspot.com/

MSDYN365BC - Install Dockers.

$
0
0
Hi All,

The first article in this series is about the installation of dockers for windows. I know there may be some questions about dockers and why a new technology or software with all these changes in Product.

I will try to answer most of these questions and we will also talk about installation of Dockers.




What is Dockers?
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.

Read More about dockers here.

Is Docker is a Microsoft Product?
Docker is not a Microsoft product. It's an open source software. In October 2014, Microsoft announced the integration of the Docker engine into the next Windows Server release. Windows Containers was made available for Windows 10 and Windows Server 2016.

Why we need to install Docker?

Freedy from Microsoft has put great efforts in integrating NAV and MSDYN365BC with Dockers.

With respect to NAV, dockers can be used for the following version -
1. NAV 2016.
2. NAV 2017.
3. NAV 2018.
All cumulative updates released by Microsoft on following versions are also available on dockers.

Business Central (latest and greatest) releases is also available in dockers.

More Resources by Freedy - https://blogs.msdn.microsoft.com/freddyk/tag/nav-on-docker/

You can plan to use or not to use dockers but I personally feel it will be a cool tool in your toolbox to have multiple version and CU in one single environment which can be accessed turn on and off based on your requirements. I will be using dockers to configure and demo Business central.

Docker Installation - 



Download the installer from the website.


Double-click Docker for Windows Installer to run the installer.

In the configuration panel, please select “Use Windows containers instead of Linux containers.”


Installation completed confirmation message.


When the installation finishes, run docker from the desktop (if you selected Add shortcut to desktop).

The whale icon in the notification area indicates that Docker is running, and accessible from a terminal.


Be Ready with Dockers, we will be using in future articles. We have one more installation to be done to continue our journey towards Microsoft Dynamics 365 Business central. We will talk about it in future articles.

Keep hacking. 

Questions? Please feel free to ask.

Regards,
Saurav Dhyani

MSDYN365BC - Install Visual Studio Code.

$
0
0
Hi All,

In the last article, we installed dockers for windows. Most of us know that for coding in Business Central on cloud version we will require to use Visual Studio Code.

We all know that is future, I will leave it to you if you plan to ignore it but that is a clear Roadmap for the product in future. Even Business Central on-prem will allow customizing using NAV Developer environment I think its time we change our mindset and start using Visual studio Code.

In this article, we will discuss installation of Visual Studio code that we will use in future articles to customize business central.



What is Visual Studio Code?

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux, and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Is Visual Studio Code is a replacement of C/AL?
No, it's not the way we code in NAV from ages will remain as it is in VS code. I would even say that coding in VS Code will make life more simple with new features that are available.

Yes, it will change the way we used to code. It will not allow us to modify any base objects in any way. You can only see the Metadata of standard object but you cannot modify it.

How it will impact?
It will be hard as everyone of us will have to unlearn old way of customizing NAV and will need to learn the new way of doing things which is using events and subscriptions?

Event and subscriptions are available from NAV 2016 and have enhanced in last 3 version.

We heard a lot about extensions. Do we need to worry about it?
If you have used extension V1 which is in NAV 2016 you might have the bad experience with them. Forget all those experiences and see the new V2 Extension which is completely automated.

If you haven't used extensions (as developers) you don't need to worry about it. Its all automated.  If you want to focus/learn then spent your time and energy on Events and subscriptions.

Installation of Visual Studio Code- 


Download the installer from the website, based on your operating system.



Double-click VSCodeSetup Installer to run the installer.

I would suggest - During Installation setup actions for windows (all) as shown below.


Ready to Hack Business Central on Dockers. Just one more configuration that we will discuss in next article and then we will talk business.

Questions? Please feel free to ask any question/suggestion/comment that you have.

Regards,
Saurav Dhyani
https://saurav-nav.blogspot.com/

MSDYN365BC - Setup Business Central.

$
0
0
Hi All,

In the last article, we installed dockers & Visual Studio Code for windows.

Next step is to download the Business Central Image using dockers and in future articles, we will start hacking or customizing Business Central.

If you are new to this series you can read old articles in this series using this Table of content Page.


Search and open Windows Powershell ISE as administrator.


Run command dockerversion to confirm that docker is installed and running.
If it's installed and running you will see an output as in below screenshot. If not then run the docker from the desktop shortcut or from the start menu.


Run command dockerpullmicrosoft/bcsandbox:us to download the image for Business Central US version.

** This command running for the first time will take some time to download, don’t run it on a weak internet connection. 



Using an object-oriented programming analogy, the difference between a Docker image and a Docker container is the same as that of the difference between a class and an object. An object is the runtime instance of a class. Similarly, a container is the runtime instance of an image.

Run PowerShell command –
Set-ExecutionPolicyRemoteSigned

We will be running the script and by default, PowerShell stops running scripts. Run above command to set Execution Policy to Remote Signed.


install-modulenavcontainerhelper-force

navcontainerhelper is a PowerShell Module, which can be installed from the PowerShell Gallery by using above cmdlet.

dockerimages

Above command will list down all the images that you have downloaded till now. If you have already run download image in the last section you should see one image as shown below.


 dockercontainerls

Above command will list down all the containers which are running right now. As we don’t have any containers it will return blank.

New-NavContainer

For above command, please run using right-hand command panel and specify following parameters as per requirement. 


A Sample command for New-NAVContainer is below –
               
New-NavContainer-containerNamesauravMSDYNBC-accept_eula-alwaysPull-assignPremiumPlan-authNavUserPassword-doNotExportObjectsToText-enableSymbolLoading-imageNamemicrosoft/bcsandbox:us-includeCSide-memoryLimit3G-shortcutsDesktop-updateHosts


Once you run above command, the system will prompt you to save your username & Password as encrypted.


** Remember your password.
** Password should fulfill password policy for SQL Server.

Once­ the PowerShell command is complete, a screen like below as result of PowerShell cmdlet.


Please keep a note of from above screen –
** These values will be used for using this container.
1      Container IP Address
       Container Hostname
       Container Dns Name
       Web Client
       Dev. Server
       Dev. ServerInstance
       Files

Check your desktop, you should have all shortcut icons that are require accessing Business Central Container.



Go ahead and use any of these + if you have SQL Server management studio installed, you can connect to SQL for Docker database.

** Remember as docker will start all containers will start automatically. Please remember to use docker container stop cmdlet to save the memory of your host machine.

If you are interested to load some old NAV version using docker you can refer following GitHub page.


Be Ready, with the setup of business central on your local system. we will be discussing AL Code and how we can customize Business Central.

Let me know if any questions. I will be happy to answer.

Regards,
Saurav Dhyani

NAVUG PODCAST - Microsoft MVP Interview June 2018.

$
0
0
Hi All,

I attended UG Focus conference in Indianapolis in May 2017.

I got an opportunity to be a part of a  podcast together with Gunnar and Erik while we were at the UG Focus conference in Indianapolis.

We discussed great stuff about future of Business Central and the community.

The podcast was moderated by great Mark Rhodes.

Thanks, NAVUG for inviting for the Podcast.

Recording of the Podcast is available in SoundCloud. Tune in to Soundcloud and listen to the recording and let us know how do you feel about it.

Regards,
Saurav Dhyani
https://saurav-nav.blogspot.com
Viewing all 1147 articles
Browse latest View live