Tuesday, August 20, 2019

Weird Internal Server Error on Publishing Extension

I am working on a AL project which is on NAV 2018, and I have run into the below error several times now

image

This happens when I publish my extension from VS Code using F5, the packing is created successfully but it fails to publish with the above error message, sometimes the error message is very vague like Internal Error occured…..

I am not sure if it has to do with this specific version of cumulative update or NAV 2018, but below are the steps I took to resolve the issue

  • 1.  If you have a web client/Win client open or even powershell command prompt from the container then close all of those and try again.  This trick did work sometimes but not always.
  • 2.  Restart the docker container using VS Code Docker Extension or using command prompt
  •      docker restart <containerid>

I believe running Sync-NAVTenant may resolve it but I could not launch the powershell, it just closes abruptly and nothing in the docker logs about the error message

 

 

Share:

Friday, August 9, 2019

How to handle changes in NAV/BC when event does not exist ?

questions-4304981_1920

In the NAV2018/BC we are using AL for development and build extensions for our customizations using table/page extensions and events.  But in NAV 2018  and also in BC on premise versions there are certain cases where we don’t find the event to subscribe, in that case how should we handle the modification ? and avoid any conflicts in the next upgrade.

In those scenarios, should we modify the base objects like the old way ?

Sometimes events even get trickier. Such as I want to exit from a calling function without executing the next line of code, after the event is executed ? This is not possible unless you design the event in that way. In this case, the event should have a variable as parameter, which we set in the subscriber function based on our condition, and if that is true, in the calling function there is already a code added to check that value and exit. Everyone has a unique requirement, so designing events this way is little harder. I think in the future the events may evolve where we will have a way to define that. Anyhow, I ran into this kind of situations only couple of times.

The real question is how we handle the modification when there is no event available to subscribe. This is the procedure I am following and sure there are better ways to handle it. I usually check if the same object in the newest cumulative update or in the new version, if there is any event added, then I try to copy that and update the object in our version, that way it will not create any conflict during the upgrade.

For example, I have a created a new field on the Ship-to Address and Sales Header table called “Locality”, so when a ship-to code is selected, I want to transfer the Locality value from the respective Ship-to Address table to Sales Header. In NAV 2018 version CU 14, I don’t have any events available to subscribe to transfer the value, but in the newest version I found this event “OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr”

 

image

I have just copied over that event from the new version to my version. Then in my extension, I have created a subscriber Codeunit and subscribed to the function. 

If I don’t find a event, then I will create my own event, and try to name it properly, following the standards MS is using that way in future version if they add anything it may reflect. Also suggest/ask the product team in the below link

https://experience.dynamics.com

Share:

Thursday, August 8, 2019

Cannot import the data because the table with the ID ….

Few weeks ago, I was trying to import a company from a Test database to Development database. I have exported the data from the test database using the Export to Data File option which creates a .navdata file and if the both databases have the same schema you can import that file into another database.

You can read more about How to Export/Import Data from the below link
https://docs.microsoft.com/en-us/dynamics-nav/exporting-and-importing-companies-and-other-data

In my case, both databases have the same schema, but when I try to use the Import Data, I got the below error
Cannot import the data because the table with the ID 27 in the specified file has different fields or key definitions than the application database. Make sure that you are importing data into the same application as it was exported from

I have check the Table 27 in both databases and they have the same schema, but I still get the same error. I have compiled the objects, and restarted the NAV Service just to confirm the schema is in sync but that did not resolve the issue.



The issue was I have a extension (“Sales and Inventory Forecast”) installed in Test Database but not in the other database, so I have uninstalled the extension from the Test database and re-exported the data. This time the import ran without any error.

So, when you use Export/Import Data option, make sure you check the same extensions are installed in both the databases.
Share:

Released Cumulative Updates for NAV and D365BC

List of released cumulative updates for supported DynNAV and D365BC versions

Released Cumulative Updates for Microsoft Dynamics NAV 2015

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-nav-2015

Released Cumulative Updates for Microsoft Dynamics NAV 2016

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-nav-2016

Released Cumulative Updates for Microsoft Dynamics NAV 2017

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-nav-2017

Released Cumulative Updates for Microsoft Dynamics NAV 2018

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-nav-2018

Released Cumulative Updates for Microsoft Dynamics 365 Business Central Spring 2019 release (v14)

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-365-business

Released Cumulative Updates for Microsoft Dynamics 365 Business Central Fall 2018 release (v13)

support.microsoft.com/.../released-cumulative-updates-for-microsoft-dynamics-365-business

Share:

Friday, March 22, 2019

You have not been granted permission to perform the current activity

Today, when I try to launch the debugger, I got the below error



I have checked my permissions in the Navision, and I have SUPER, and there is no company specified for the permission set. So I have compared my permissions with other users, and I haven’t noticed anything different on the NAV side.

Then I opened the SQL Server and checked the Access Control table; then I spotted one difference with my permission set SUPER and with another user who has the same permission set. The [App ID] column has value for my permission set, but it is to 00000000-0000-0000-0000-000000000000 for the other user.

I ran a simple UPDATE query for my [User Security ID] to set the [App ID] to 00000000-0000-0000-0000-000000000000, and that resolved my issue

If you have any other tips or suggestions, please do share them in the comments below.
Share:

Friday, January 4, 2019

Print Send To Excel do not export all columns

Few weeks ago, I ran into a strange issue and in this blog I will discuss the issue and the solution which worked for me.

I got a requirement to add the salesperson code and sell-to customer name to the salesline page, since those fields are not part of the salesline table, I have added the code on the salesline list page to retrieve the salesheader record and display those values on the page.

Everything worked well, but when we try to use the Print –> Send to Excel option those custom fields are not available on the excel.  Couple of users were able to get those fields on the excel but not all the users.

Initially I thought it could be a permission issue on the sales header table but that was not the case, even user with SUPER permission has the same issue. We have checked if the excel version is different between those users but that’s not the case, everybody is running the same version.  I have searched the Cumulative updates if there is bug or fix for that kind of error but unfortunately I have not found anything related.

I have found a standard page which uses the similar kind of logic, the page is “Customer Order Lines Status” with ID 10010 which uses the same kind logic which it displays the status from the salesheader table and I have ran into same issue with that page, all fields were exported except the salesheader fields.

Finally, I saw one difference between the users who are able to export all the fields and other, and that is the DynamicsNAV menu on the Excel, The users who have the DynamicsNAV menu are not able to export all the fields, so I went ahead and disabled the DynamicsNAV Add-on.

Voila, that resolved the issue.  I have not uninstalled just disabled it, if you uninstall nothing will export.  I am not sure what is the reason but that resolved my issue.

Here are the steps to disable the add-on

1. Open Excel, Go To File –> Options

2. Select Add-Ins and in the bottom select the Go beside Mange Add-ons

3. Uncheck the box for the Dynamics NAV and Click Ok

DisableNAVAddIn

I hope this will help others who run into the same issue.

Please leave your comments/suggestions.



Share:

Thursday, October 4, 2018

Business Central Web Client Search Improvements

With the release of Business Central OnPremise one major change they introduced is the UI of the web client.  It is same UI which was released earlier for Business Central Cloud Version. It has rich interface and the look and feel is way different then earlier versions.

imageimage


We always used to use the search for finding pages/reports but with new search they have broadened the scope and now can search can be used to find the actions available on that page. As shown below on the Sales Order Page, when I search for post it displayed the actions with that name and also other pages. You can directly launch those actions from this page or open other pages.

The new search is called “Tell Me” and you can access Tell Me from anywhere from the application and the keyboard shortcut  is Alt+Q


image

This is a great improvement and very useful when you have lot of actions on a page.

Share:

Wednesday, October 3, 2018

Business Central OnPremise DEV License Error (Update)

Update: This issue is resolved now. You need to regenerate your license and it should work.

I have installed Business Central On Premise and uploaded over DEV license. Unfortunately the license did not work and I keep getting the below error

image

I am getting the same error on the Web Client. Initially, I thought it may be an issue with the license or how it was generated but a quick search found the below twitter post which mentions it is a known issue and they are working on it.

image


image

But the question is how do I access the client now, so I tried to upload the license which I found on the DVD in the below path and the same license file (Cronus.flf) is also located in few other folders on the DVD, but none of them worked.

RoleTailoredClient\program files\Microsoft Dynamics NAV\130\RoleTailored Client

The license we need in this case is not Cronus.flf but Master.flf which is located in the SQLDemoDatabase folder. This let me login into Business Central Web Client and RTC.

I hope the DEV license error will be resolved soon.

Share:

Tuesday, October 2, 2018

Good Bye to C/AL and RTC Client

There are several new things and lot of information is being shared during Directions NA. Unfortunately I was not there but the community was so active sharing the news through twitter posts /blogs which really helps people who did not attend.  Thank you everyone for sharing the information.

One thing they announced was Dynamics 365 Business Central Road Map. As you can see it clearly shows by 2020 the only client available would be Web Client and the Programming language is AL. Although, I am not sure how this will end up by 2020 but based upon the progress we have made in last couple of  years it is quite possible.

image

Although we still be using CAL / RTC client on older versions this will fade away as people upgrade or try to take the advantage of SAAS version of Business Central.

There are lot of improvement being made every month with AL, whether it is adding more events to subscribe or new functionality to make it available.

You can also become a contributor to the AL on GitHub for more information please check the following link

https://blogs.msdn.microsoft.com/nav/2018/08/28/become-a-contributor-to-business-central/

Share:

Dynamics 365 Business Central On Premise

image

On October 1st, during DirectionsNA it is officially announced that Dynamics 365 Business Central On Premise will be available to download.

You can download the software if you have Partner Source Access ,from here Download

One of the big difference/change in this version is the Web Client and its features.

image

You can also use docker to build Business Central On Premise  please check the following link for more information

https://hub.docker.com/r/microsoft/bconprem/

Share:

Wednesday, September 19, 2018

Connection Error while launching debugger in NAV

Recently I was working on a project where we have switched the authentication from Windows to NAVUserPassword.

To access different databases and instances we have created different config files and have used them in our shortcut to launch them, everything was working fine but when I try to debug an issue, I was getting the following error, which complains about the DnsIdentity

SNAGHTMLd9b5b4

The key is when  you launch the debugger it uses the config file (ClientUserSettings.config.) located at C:\Users\YourUserName\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\70 and depending on the version you are on it would be 80 or 90 folder. It does not use your custom config files you have created to launch the application.

So, you need to make sure this file is also updated with proper authentication using the ClientServicesCredential which should be NAVUserPassword if you are using UserName/Password. In my case everything was set properly except the DnsIdentity Property value which is blank.

Once I updated the DnsIdentity Value with proper subject name which is the CN name , the debugger started without any issues.

For more information about DnsIdentity and Certificates please check the following link

https://docs.microsoft.com/en-us/dynamics-nav/how-to--configure-authentication-of-microsoft-dynamics-nav-web-client-users

Share:

Tuesday, April 3, 2018

Dynamics 365 Business Central Trial and How to Reset SandBox Environment

If you want to try the new Dynamics 365 Business Central please login into https://trials.dynamics.com/, and you just need to provide your work email address and Phone No.

If you already have signed up previously then, on login it will redirect you to the Finance and Operations Business Edition and to reset to Business Central you need to follow the below steps

Once you login, Go to your Apps and Select the Financials App for the production instance, Sandbox Environment Setup


Choose the Search for Page or Report icon, enter Sandbox Environment, and then choose the related link.

In the above screen you need to Reset the Sandbox Environment.

It will take a minute or two to complete the process and might show up an error screen at the end but don’t worry, you just need to logout and re-login which will reset your environment to the new Business Central Edition as shown below

image

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Monday, April 2, 2018

Dynamics 365 Business Central is now live!

A modern solution for modern businesses

With 160,000+ customers, more than 2.7 million users, and 3500 partners worldwide, Dynamics NAV has sold in 195 countries – that’s pretty much every country in the world. Today we are proud to announce that we are furthering this success story with Dynamics 365 Business Central by making it generally available as a cloud service starting today.

Dynamics 365 Business Central brings the full power of Dynamics NAV to the cloud. As such, Business Central has at its foundation a set of trusted, proven technologies in a single, end-to-end application. As such, Business Central offers:

  • Business without silos. Unify your business, and boost efficiency with automated tasks and workflows—all integrated within familiar Office tools like Outlook, Word, and Excel.
  • Actionable insights. Achieve greater outcomes and gain a complete view of your business with connected data, business analytics, and guidance delivered by Microsoft’s leading intelligent technologies.
  • Solutions built to evolve. Start quickly, grow at your own pace and adapt in real time with a flexible platform that makes it easy to extend Business Central based on your changing business needs.

For an intro to Dynamics 365 Business Central, view the announcement made by Alysa Taylor here:

Announcing Dynamics 365 Business Central

If you would like to go deeper, enjoy this video:

Dynamics 365 Business Central Deep Dive

Finally, Business Central would not be possible without the amazing team that is behind this great product. I cannot express enough how proud I am of them and what they have accomplished. To hear from some of the team members about what their favorite features are, see this:

Our favourite capabilities in Dynamics 365 Business Central

Because Dynamics 365 Business Central and Dynamics NAV run the same application code base, this empowers us to smoothly transition all our Dynamics NAV partners and customers into Dynamics 365 Business Central. Dynamics 365 Business Central is a cloud first solution, designed for the age of digital transformation powered by the cloud. But it will not be a cloud only solution. In the fall it will be available for self-deployment on premise and in the intelligent edge for customers that prefer that option. For the existing partners and customers, this will be just another upgrade, like they would do for Dynamics NAV, with a name change. For customers interested in the cloud, starting today, Dynamics 365 Business Central offers unprecedented opportunities to drive transformation of the customers’ businesses, increasing their business performance through the power of Microsoft cloud technologies and services.

For more information on coming updates, please keep an eye on the roadmap site.

Dynamics 365 Business Central will be generally available on April 2, 2018 in 14 countries – United States, Canada, United Kingdom, Denmark, Netherlands, Germany, Spain, Italy, France, Austria, Switzerland, Belgium, Sweden, and Finland, and will be sold through our Cloud Solution Provider (CSP) partners. Australia and New Zealand will be generally available beginning July 1, 2018. Our network of global partners has the expertise to help you create and deploy a solution that meets your industry-specific needs. Do even more with Dynamics 365 Business Central using pre-built applications, available through the AppSource marketplace, to easily and cost effectively extend your solution.


You can try Dynamics 365 Business Central today by browsing to our homepage and starting the free trial. Looking forward to hear your questions, feedback, and thoughts on our community forum, ideas site. You can also follow news and discussions on Twitter, using the #MSDyn365BC hashtag.


source: https://blogs.msdn.microsoft.com/nav/2018/04/02/dynamics-365-business-central-is-now-live/

Share:

Wednesday, January 31, 2018

New PowerShell Cmdlets in NAV 2018

bash-148836

Following are the new PowerShell cmdlets introduced in NAV 2018


Cmdlet

Description

Restart-NAVServerInstance

Restarts a Dynamics NAV Server instance.

Start-NAVServerInstance

Starts a Dynamics NAV Server instance.

Stop-NAVServerInstance

Stops a Dynamics NAV Server instance.

Set-NAVApplication

Sets the application version or application family fields in the application database connected to the specified Dynamics NAV Server instance.

Set-NAVTenant

Specifies settings for a tenant that is mounted on a Dynamics NAV Server instance.

Start-NAVAppDataUpgrade

Upgrades a NAV App to a specified tenant.

Sync-NAVApp

Synchronizes an app to the specified tenant's database.

Share:

Job Queue Entry is Missing/Deleted

computer-644457

Last week one of the issues i have received is the Job Queue entry which was scheduled is missing or getting deleted after it is run, if you are one of those who is having this issue then below is the reason for the issue.

T he Job Queue Entry gets deleted is because of the way we setup the job queue to run, when we setup the Job Queue it has options to setup as Recurrence which we basically telling the system to run this Job on a specific day at a specific time


image


If we don’t setup this tab and then it is more like one time job you want to run and in that case once the Job is ran it will delete the entry.

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Tuesday, January 16, 2018

Cumulative Update 01 for Microsoft Dynamics NAV 2018 has been released

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

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:

Where to find Cumulative Update 01

You can download the cumulative update from KB4058601  – Cumulative Update 01 for Microsoft Dynamics NAV 2018.

You can press one of the countries in list above for a direct download or you can download the cumulative update from the Microsoft Download Center.

Microsoft Dynamics NAV 2018 is also available from containers. Containers are a way to wrap up an application into its own isolated box, you can pull the cumulative update container from the Docker Hub.

To learn more about other Cumulative Updates already released for Microsoft Dynamics NAV 2018 please see KB  4072483.

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.
  3. This Cumulative Update can require a database upgrade.

Additional Information

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

Source: https://blogs.msdn.microsoft.com/nav/2018/01/08/cumulative-update-01-for-microsoft-dynamics-nav-2018-has-been-released/

Share:

Sunday, January 14, 2018

Print the document to a specific printer

printer-2178754_1920

In one of my previous posts, I have discussed how to download and print a remote file. Here is the blog link

http://www.navisionworld.com/2017/09/how-to-print-remote-file-from-nav.html

The solution in the above post will print the file to the default printer and recently I was working on a modification where I have to print the file to a specific printer instead of the default printer and couple of readers of my blog post also asked how to do this, so I would like to share today the solution for it.

I was checking online to modify my old solution to print to a specific printer and few suggested to me to use the arguments property of the ProcessStartInfo and also the below MSDN example suggests the same, but unfortunately, I was not successful using that property.

https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.verbs(v=vs.110).aspx

image

To solve this issue I have found another solution which is to use the Print Document and in fact, I think this is an easy solution when compared to the other solution in my previous post.

Below is the function for it.

PROCEDURE PrintFile@1000000018(FilePath@1000000002 : Text[250]);

VAR

PrinterName@1240060002 : Text;

PrintDocument@1240060003 : DotNet "'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.System.Drawing.Printing.PrintDocument";

PrinterSettings@1240060004 : DotNet "'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.System.Drawing.Printing.PrinterSettings";

BEGIN

PrinterName := 'MF8200C Series';

PrintDocument := PrintDocument.PrintDocument;

PrintDocument.DocumentName := FilePath;

PrinterSettings := PrinterSettings.PrinterSettings;

PrinterSettings.PrinterName := PrinterName;

PrintDocument.PrinterSettings := PrinterSettings;

PrintDocument.Print;

MESSAGE('Complete');

END;

If you have any other tips or suggestions, please do share them in the comments below.
Share:

Friday, January 5, 2018

January 2018 Cumulative Updates for NAV 2013, 2013 R2, 2015, 2016 and 2017

Here are links to the release notes and download link for the CU's released.

NAV 2013 – Cumulative Update 58

You can download the cumulative update from KB4058596

NAV 2013 R2 – Cumulative Update 51

You can download the cumulative update from KB4058597

NAV 2015 – Cumulative Update 39

You can download the cumulative update from KB4058598

NAV 2016 – Cumulative Update 27

You can download the cumulative update from KB4058599

NAV 2017 – Cumulative Update 14

You can download the cumulative update from KB4058600

Share:

Thursday, January 4, 2018

Could not Load file or Assembly error after applying Cumulative Update

road-sign-1274312_1920

Last week I have applied the Cumulative Update 50 for NAV 2013 R2 on my local machine.  After I have applied the Cumulative Update I have tried to open NAV Administration Tool to restart the NAV Services but I have encountered the below error

image

The tool was not able to open the management dll , so I have browse to the service folder and reviewed the properties of Microsoft.Dynamics.Nav.Management.dll and found that it was blocked.

To unblock the dll I have clicked the Unblock check mark as shown in the below fig. and then tried to open the NAV Administration tool which then opened without any issues

If you get could not load file or assembly, be sure to check the properties of the file.


image

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Wednesday, December 13, 2017

Batch Name disappears after you customize the Journal Page

clip_image001

Batch name drop-down disappearing on the journal pages in NAV 2013 and NAV 2013 R2 is an old issue but this issue resurfaced again this week couple of times for a client, so I have decided to write a blog on it.

This is a known bug in NAV 2013  & NAV 2013 R2 and can be fixed easily by applying the latest platform hotfix but if you are not planning to apply the hotfix then below solution will fix the issue for you

In this example, let’s look at the whse. physical inventory journal page

After I have customized the page, the page will look like in the below fig, and there is no way to add the batch name back to the page and this issue is user specific.

clip_image002

In order to resolve this issue, you need to open the development environment and find the table 2000000075 (User Metadata) and 2000000080 (Page Data Personalization), and run those tables and filter for the page no. . In this case I have filtered the Page ID column  (Whse. Phys. Inventory Journal Page is) to 7326 and the User ID column to my user ID.

Once you find that record, please delete that record from the table and perform the same steps in Page Data Personalization table and use the Object ID column instead of Page ID.

clip_image003

Compile the page and the batch name should appear on the journal page.

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Tuesday, December 12, 2017

New COMPANYPROPERTY function in NAV 2018

notebook-2173630_1920

One of the new functions which were introduced in NAV2018 is COMPANYPROPERTY which has two properties

DISPLAYNAME: Which will return the display name from the company record

URLNAME: Which will return the name in the URL Format.

You can setup the Display Name on the company page as shown in the below figure:

clip_image002

As per Microsoft documentation, the change of display name now has immediate effect on reports as well as displaying the company name in the UI of the client

I have tried to the change the Display Name for testing but the change is not reflected on the RTC client, it did reflect in reports and in the web client. It would be nice if the same change is reflected in the RTC client when the System Indicator Company is used.

clip_image004

clip_image006

The URLNAME function returns the following output

clip_image008

One issue I have noticed is if we go to the company information card and make any change to the system indicator the display name is reverted to the original company name.

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Sunday, December 10, 2017

Using Placeholders in NAV Reports

financial-2860753_1920

Placeholders provide a method to customize the formatting and insert as an expression inside the textbox.

To add a placeholder, click inside the textbox, then right-click and select Create Placeholder as shown in the figure.

image

image

Modifying or removing a field in a standard report like Sales Order (10075) is a pain because all the textboxes show their expressions as <<Expr>>, as shown below. Trying to identify which textbox contains the field that you want to modify or remove could be tiring.

image


If we have used Placeholders inside the textbox then it will be much easier to identify them as Placeholders not only allows you to add expressions but also gives you the option to add Labels to it. The labels will appear on the report layout as shown below.

image

Microsoft does a good job in naming the textboxes so it is easy to identify them using the name, for example if I look at the same report in Document Outline you can see how they named

The advantage with placeholder labels is you can view that in design mode.

image

Placeholders also have the ability to format the text differently. You can add more than one Placeholder in a textbox. Similar to Textboxes, Placeholders also have many tabs as shown in the figure below, which will allow you to format and customize text accordingly.

You can add more than one placeholder in a single text box and format each placeholder differently.


One other advantage of Placeholder is, it has the option to Interpret HTML tags. You can add configure your expression to render using HTML formatting. This allows us to add HTML tags directly into the expression, such as line break, font, bolding, underline….

For example, we can use the following expression in the Value field, and select the HTML option for Markup type in the above figure.

<font face="Arial"><b>T </b></font> ' + “Phone No." + '<br>'

If you have any other tips or suggestions, please do share them in the comments below.

Share:

Tuesday, December 5, 2017

December 2017 Cumulative Updates for NAV 2013, 2013 R2, 2015, 2016 and 2017

Here are links to the release notes and download link for the CU's released.

NAV 2013 – Cumulative Update 57

You can download the cumulative update from KB 4055888

NAV 2013 R2 – Cumulative Update 50

You can download the cumulative update from KB 4055889

NAV 2015 – Cumulative Update 38

You can download the cumulative update from KB 4055890

NAV 2016 – Cumulative Update 26

You can download the cumulative update from KB4055891

NAV 2017 – Cumulative Update 11

You can download the cumulative update from KB4055892

Share:

Connection refused error on NAV when connecting to web services

stamp-1726352_1920

When you try to access Navision Web services you may encounter the following error

This Site can’t be reached, xxxx refused to connect”

The most common reason for this error is the NAV Service is not enabled for SOAP/OData.

To enable these services, open the Microsoft Dynamics NAV Server Administration tool and select the SOAP Services Tab/ OData Services Tab  and make sure the property is set to true

Enable SOAP Services and Enable OData Services to true, if you are using SOAP you just need to enable SOAP and vice versa.

clip_image001

You can also use the Powershell Cmdlet

Set-NAVServerConfiugration to enable the services for example to enable OData you use the following cmdlet

Set-NAVServerConfiguration -ServerInstance <ServerInstance> -keyname ODataServicesEnabled -keyvalue true

Replace <ServerInstance> with the name of the Microsoft Dynamics NAV Server instance on which to set up OData services.

Check the following link for more examples

https://msdn.microsoft.com/en-us/library/dn135246(v=nav.70).aspx

One other reason for this error is because the port is blocked and you need to create an inbound rule to allow it.

Please check this below the article you need to do the same for the web services port

https://docs.microsoft.com/en-us/dynamics-nav/how-to--create-an-inbound-rule-in-windows-firewall-for-the-port-of-microsoft-dynamics-nav-web-client

If you have any other tips or suggestions, please do share them in the comments below.

Share:

New System and Hidden Tables in NAV 2018

window-1231894_1920

The following new system tables are added in NAV 2018

image

Two new hidden tables are added in NAV 2018

image

The new hidden table and new feature in NAV 2018 is API’s and when i run this table it listed the following API, in my next post I will see how can we can enable API on NAV 2018 and access one of those using the endpoint



image

If you have any other tips or suggestions , please do share them in the comments below.

Share:

Friday, December 1, 2017

Dynamics NAV 2018 is available to download

The much waited NAV version is now available to download, with lot of new features. Please download the software from the below link

https://mbs.microsoft.com/partnersource/global/deployment/downloads/product-releases/msdnav2018download

You can check what is new in NAV 2018 in this document

https://mbs.microsoft.com/Files/partner/NAV/Readiness_Training/ReadinessTrainingNews/WhatsNewDynamicsNAV2018.pdf

Some of the new features in this release are

Image Analyzer

Power BI reporting Control

Better OCR Integration

Preconfigured Excel Reports

Bulk Posting of orders, invoices and credit memos.

You can also change some servers settings in the new version without restarting the service.

You can have a different Company Name and Display name 

And Lots more

License Information

In order to run Microsoft Dynamics NAV 2018, you must have a valid Microsoft Dynamics NAV 2018 license file.  You will find more information about how to correctly license Microsoft Dynamics NAV 2018 in the license guide (partner-only).

Share: