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

NAV 2013 R2 - How to Backup Selected companies With Multi-Tenancy - Powershell (Using Direct Database & Service Tier)

$
0
0
Hi all,

In this post we will list down the steps to take backup using power shell Using Direct Database & Service Instance For a MultiTenant Database.

If you haven't read the Previous post, please refer to Index of Posts.

Below is the Details of my MultiTenant Service -





And Below is the List of Companies in Each Tenant -



As we all alreday Know that below listed option are avilable in Export-NAVData Command-let -

1. UseDatabase_AllCompanies
2. UseDatabase_SomeCompanies
3. UseNST_AllCompanies
4. UseNST_SomeCompanies

1 & 2 can be used either the server instance is stopped or not available. [Direct Database]
3 & 4 will only be used if the server instance is running. [Navision Service Tier]

In the Post we will See 2 & 4 as (1 & 3 are similar to SQL Backup).

2. UseDatabase_SomeCompanies

Below are parameters of the command-lets 2 -

1.  Database Name - The Database name from which you want to backup.
2.  File Name - The File Path and name where you want to store the backup (ends with Extension => .navdata).
3.  ApplicationDatabaseName - The Name of Database which Contain Only Application Objects.
4.  ApplicationDatabaseServer - The Name of Database Server Where the Application Database Exist.
5.  CompanyName - Name of Company you want to backup (if multiple put them as comma separated).
    * Multi Character Name should be in ''.
6.  Database Server - Server Name where the database is placed.
7.  Description - Description to file that you want to give.
8.  Include Application - Want application objects or not.
9.  Include Application Data - Want  data that defines the application in the database.
10. Include Global Data - Want Data conman to all companies or not.

As shown below is the parameters set for the backup.



Below is the command generated for the all comapnies backup.
-------------------------------------------------------------------------
Export-NAVData -DatabaseName MyTenant1 -FileName C:\Tenant1_CompanyA_B_Backup.navadata -ApplicationDatabaseName MultiTenant_Application_Database -ApplicationDatabaseServer INDEL-SXD6995NB -CompanyName A,B -DatabaseServer INDEL-SXD6995NB -Description "Two Companies backup Using Direct DB Connection." -Force
-------------------------------------------------------------------------
Run the command and backup will be placed as shown below.


4. UseNST_SomeCompanies

* Remember the Service Instance Should be Running and Available.
* In this script we skip the application objects and global data.

Below are parameters of the command-lets 4 -

1.  File Name - The File Path and name where you want to store the backup (ends with Extension => .navdata).
2.  ServerInstance - Service Name which is connected to Database which we want to backup.
3.  CompanyName - Name of Company you want to backup (if multiple put them as comma separated).
    * Multi Character Name should be in ''.
4.  Description - Description to file that you want to give.
5.  Include Application - Want application objects or not.
6.  Include Application Data - Want  data that defines the application in the database.
7.  Include Global Data - Want Data common to all companies or not.
8.  Tenant - The Name of Tenant on which Company Listed Above Resides.

As shown below is the parameters set for the backup.



Below is the command generated for the all companies backup.
-------------------------------------------------------------------------
Export-NAVData -FileName C:\Tenant1_Company_C_Backup.navadata -ServerInstance MultiTenantBackup -CompanyName C -Description "Backup From Service Instance of Tenant." -Force -Tenant MyTenant1
-------------------------------------------------------------------------
Run the command and backup will be placed as shown below.



I hope you are able to understand the concept discussed above. In Next post we will see how to Restore these Backups in a MultiTenant Environment.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 R2 - How to Restore Selected companies With Multi Tenancy - Powershell (Using Direct Database & Service Tier).

$
0
0
Hi all,

In this post we will list down the steps to restore backup taken in Previous Post using power shell Using Direct Database & Service Instance For a MultiTenant Database.

If you haven't read the Previous post, please refer to Index of Posts.

Below is the Details of my Companies in Each Tenant -





From the Task Performed in Earlier Posts Backup From Powershell, i have below files as shown Below -



Let's check the Content of Backup Taken Via Emport-NavData.

Microsoft have provided a Commandlet for the same i.e  Get-NAVDataFile.
This Commandlet takes file Location and Name as parameter and returns the details of Content of the backup File.

Open Powershell and Let's check the two file content using Get-NAVDataFile =
--------------------------------------------------------------
Get-NAVDataFile -FileName "c:\Tenant1_Company_C_Backup.navadata"
---------------------------------------------------------------



--------------------------------------------------------------
Get-NAVDataFile -FileName "C:\Tenant1_CompanyA_B_Backup.navadata"
--------------------------------------------------------------



In Today's post we will restore -

 * Company A to My Tenant 2
 * Company B to My Tenant 3
 * Company C to My Tenant 5

Let's try to Restore the backups.

Steps -

1.Search for Import-NAVData Commandlet in Command Addin.

2. If you see there are multiple options in Import-NAVData as listed below (For Database Options)-

1. UseDatabase_AllCompanies
2. UseDatabase_SomeCompanies
3. UseNST_AllCompanies
4. UseNST_SomeCompanies

1 & 2 can be used even if the server instance is stopped or not available.
3 & 4 can only be used if the server instance is running.

We will be demonstrating 2 & 4 as 1 & 3 are like SQL Restore.

2. UseDatabase_SomeCompanies

I am using the Backup taken From Direct Database Connection as per earlier Post.
File Name - Tenant1_CompanyA_B_Backup.navadata

Below are parameters of the command-lets 2 -

1.  Database Name - The Database name in which you want to Restore. (In Multitenancy this will be the Tenant Database Name)
2.  File Name - The File Path and name where backup is placed (ends with Extension => .navdata).
3.  ApplicationDatabaseName - The Name of Database which Contain Only Application Objects.
4.  ApplicationDatabaseServer - The Name of Database Server Where the Application Database Exist.
5.  Company Name - Name of the Company You want to Restore from Backup.
    * IF Company Name contain multiple Words put it in ''.
6.  Database Server - Server Name where the database is placed.
7.  Include Application - Want application objects or not.
8.  Include Application Data - Want  data that defines the application in the database.
9.  Include Global Data - Want Data common to all companies or not.

As shown below is the parameters set for the restore.



Below is the command generated for the two selected companies restore.
-------------------------------------------------------------------------
Import-NAVData -DatabaseName MyTenant2 -FileName C:\Tenant1_CompanyA_B_Backup.navadata -ApplicationDatabaseName MultiTenant_Application_Database -ApplicationDatabaseServer INDEL-SXD6995NB -CompanyName A -Confirm -DatabaseServer INDEL-SXD6995NB
-------------------------------------------------------------------------
** As i only need data specific to Company A & B, i will not select IncludeApplication, IncludeApplicationData & IncludeGlobalData.

In the Similar way the Command to Restore Company B on Tenant MyTenant 3 below is the command -
-------------------------------------------------------------------------
Import-NAVData -DatabaseName MyTenant3 -FileName C:\Tenant1_CompanyA_B_Backup.navadata -ApplicationDatabaseName MultiTenant_Application_Database -ApplicationDatabaseServer INDEL-SXD6995NB -CompanyName B -Confirm -DatabaseServer INDEL-SXD6995NB
-------------------------------------------------------------------------

Run the command and backup will be restored in the database.



4. UseNST_SomeCompanies

I am using the Backup taken From Direct Database Connection as per earlier Post.
File Name - Two_Comapniesbackup_Service.navdata

Below are parameters of the command-lets 4 -

1.  FileName - The File Path and name where backup is placed (ends with Extension => .navdata).
2.  ServerInstance - Name of Service on Which database is connected in which you want to restore.
3.  CompanyName - Name of the Company You want to Restore from Backup.
    * IF Company Name contain multiple Words put it in ''.
4.  IncludeApplicationData - Want  data that defines the application in the database.
5.  Include Global Data - Want Data common to all companies or not.
6.  Tenant - Name of the Tenant on which you want to restore the Company.

As shown below is the parameters set for the restore.



Below is the command generated for the two selected companies restore.
-------------------------------------------------------------------------
Import-NAVData -FileName c:\Tenant1_Company_C_Backup.navadata -ServerInstance MultiTenantBackup -CompanyName C -Confirm -Tenant MyTenant5
-------------------------------------------------------------------------
** As i only need data specific to Company C, i will not select IncludeApplication, IncludeApplicationData & IncludeGlobalData.

Run the command and backup will be restored in the database.


Hope you find the information useful.

With this post the series related to Backup and Restore selected companies in NAV 2013 R2 have been finished.

Stay tuned for more.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

How Do I - Series for NAV 2013 R2 Updated...

$
0
0
Hi all,

Microsoft have updated new videos on HOW DO I Series for NAV 2013 R2. Below are the link for new videos available on MSDN.

Thanks Microsoft MVP's for the HDI Series.

IF you are looking for Previously Released HDI Series Videos Please Refer Below Links.

>> From 01 To 26 Videos.     

>> From 27 To  42 Videos.

Below are the Links for New Videos.

































Let's go through the videos and learn new things in NAV 2013 R2.

Regards,
Saurav Dhyani

NAV 2013 & NAV 2013 R2 - How to - Use OData to Return OR Obtain a JSON Document.

$
0
0
Hi all,

In Previous post related to ODATA we saw how to publish and consume a Odata Web Services from NAV 2013 & 2013 R2.

Below are some link Related to Old Articles Published for Odata -
NAV RTC - Introduction to Web Services.
Introduction of ODATA Services In NAV 2013.
What is the ODATA?
Max. Page Size in ODATA Parameter
Consuming Output of ODATA - Part 1
How to Use OData to Return OR Obtain a Service Metadata (EDMX) Document

Today we will see how to Return / Obtain a JSON Document.

What is JSON?



JSON (JavaScript Object Notation) is a lightweight format that is used for data interchanging. It is also a subset of JavaScript's Object Notation (the way objects are built in JavaScript)

Think of it as an alternative to using XML for transferring data between software components.

JSON is built on two structures:

A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.

An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.

JSON Structure -


Example of JSON Format -

{
     "firstName": "Saurav",
     "lastName": "Dhyani",
     "address": {
         "streetAddress": "C-175, Block C",
         "city": "Noida",
         "state": "UP",
         "postalCode": 201301
     },
     "phoneNumbers": [
         "000 111-2222",
         "111 222-3333"
     ]
 }

Now we have a basic idea what is JSON Format, so let's see how my Odata Web Service can Return me data in this format.

The Example shown below is from NAV 2013 R2 and using a Page web Service. The Steps remain same for Query Web Services and in NAV 2013.

Create a Page Web Services for say Customer Card Page 21. 

*How to Create a Page Web Service.

For Getting data in JSON Format, Open Internet Explorer and type in URL in Below Format -

http://<Server>:<WebServicePort>/<ServerInstance>/OData/<web service>?$format=json

If Standard Installation, single company & with ODATA Web Service Name as NAVCustomers use -

http://localhost:7048/DynamicsNAV71/OData/NAVCustomers?$format=json

This generates a text file that contains metadata and data from the web service. You can open the file from the browser, or you can save it to disk as shown below.



If we open the Text file, the format will be like as we discussed above.



Remember -
The value of the format attribute must be lowercase: ?$format=json.

If you want to consume the web service as JSON-P, you can add the ?$callback=<callback function name> parameter.

I needed it and thought of sharing so that anyone else can use it, if required.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 & NAV 2013 R2 - How to - Using Filter Expressions in OData URIs.

$
0
0
Hi all,

In Previous post related to ODATA we saw how to publish and consume a Odata Web Services from NAV 2013 & 2013 R2.

Below are some link Related to Old Articles Published for Odata -
NAV RTC - Introduction to Web Services.
Introduction of ODATA Services In NAV 2013.
What is the ODATA?
Max. Page Size in ODATA Parameter.
Consuming Output of ODATA - Part 1
How to Use OData to Return OR Obtain a Service Metadata (EDMX) Document
How to - Use OData to Return OR Obtain a JSON Document

Today we will see how to Using Filter Expressions in OData URIs.

To add a filter to an OData URI, add $filter= to the end of the name of the published web service.



Rules for Filter Expressions

1. String values must be delimited by single quotation marks.
2. Numeric values require no delimiters.
3. DateTime values must be delimited by single quotation marks and preceded by the word datetime, such as datetime'2010-01-25T02:13:40.1374695Z'.

Below are sample Filter Expression Commanly used. The Examples are based on Customer Page (Published as NAVCustomers) & General Ledger Entry (published as GLEntry).



Filter Type - Select a range of values
URL Addition on Base - $filter=Entry_No gt 610 and Entry_No lt 615
Expression Result - Query on GLEntry service. Returns entry numbers 611 through 614.

Filter Type - And
URL Addition on Base - $filter=Country_Region_Code eq 'ES' and Payment_Terms_Code eq '14 DAYS'
Expression Result - Query on NAVCustomers service. Returns customers in Spain where Payment_Terms_Code=14 DAYS.

Filter Type - OR
URL Addition on Base - $filter= Country_Region_Code eq 'ES' or Country_Region_Code eq 'US'
Expression Result - Query on Customer service. Returns customers in Spain and the United States.

Filter Type - Less Than
URL Addition on Base - $filter=Entry_No lt 610
Expression Result - Query on GLEntry service. Returns entry numbers that are less than 610.

Filter Type - Greater Than
URL Addition on Base - $filter= Entry_No gt 610
Expression Result - Query on GLEntry service. Returns entry numbers 611 and higher.

Filter Type - Greater than or equal to
URL Addition on Base - $filter=Entry_No ge 610
Expression Result - Query on GLEntry service. Returns entry numbers 610 and higher.

Filter Type - Less than or equal to
URL Addition on Base - $filter=Entry_No le 610
Expression Result - Query on GLEntry service. Returns entry numbers up to and including 610.

Filter Type - Different from (not equal)
URL Addition on Base - $filter=VAT_Bus_Posting_Group ne 'EXPORT'
Expression Result - Query on Customer service. Returns all customers with VAT_Bus_Posting_Group not equal to EXPORT.

Filter Type - endswith
URL Addition on Base - $filter=endswith(VAT_Bus_Posting_Group,'RT')
Expression Result - Query on Customer service. Returns all customers with VAT_Bus_Posting_Group values that end in RT.

Filter Type - startswith
URL Addition on Base - $filter=startswith(Name, 'S')
Expression Result - Query on Customer service. Returns all customers names beginning with “S”.

Filter Type - substringof
URL Addition on Base - $filter=substringof(‘urn’, Name)
Expression Result - Query on Customer service. Returns customer records for customers with names containing the string “urn”.

Filter Type - length
URL Addition on Base - $filter=length(Name) gt 20
Expression Result - Query on Customer service. Returns customer records for customers with names longer than 20 characters.

Filter Type - indexof
URL Addition on Base - $filter=indexof(Location_Code, ‘BLUE’) eq 0
Expression Result - Query on Customer service. Returns customer records for customers having a location code beginning with the string BLUE.

Date & Time Related -

Filter Type - day
URL Addition on Base - $filter=day(FDateTime) eq 12

Filter Type - month
URL Addition on Base - $filter=month(FDateTime) eq 12

Filter Type - year
URL Addition on Base - $filter=year(FDateTime) eq 2010

Filter Type - hour
URL Addition on Base - $filter=hour(FDateTime) eq 1

Filter Type - minute
URL Addition on Base - $filter=minute(FDateTime) eq 32

Filter Type - second
URL Addition on Base - $filter=second(FDateTime) eq 0

I needed it and thought of sharing so that anyone else can use it, if required.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 - cumulative update 16 Released.

$
0
0
Hi all,

Please find below the details of Cumulative Update 16 released for Microsoft Dynamics NAV 2013.

Title - Cumulative update 16 for Microsoft Dynamics NAV 2013 
Build No. - 37201
Release Date - July, 2014
Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK

Download Link






For information about previous Update Rollup / Cumulative update released for Microsoft Dynamics NAV 2013 below are the links -

Update Rollup 1 to 6                            Update Rollup 7                                       Update Rollup 8

Update Rollup 9                                   Update Rollup 10                                      Update Rollup 11

Update Rollup 12                              Cumulative Update 13              Cumulative Update 14

Cumulative Update 15

These links required valid Partner Source / Customer Source Login...

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 R2 - Cumulative update 9 Released

$
0
0
Hi all,

Please find below the details of  Cumulative Update 9 released for Microsoft Dynamics NAV 2013 R2.

Title - Cumulative Update 9 for Microsoft Dynamics NAV 2013 R2
Build No. - 37221
Release Date - July, 2014
Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU, CZ (NEW)

Download Link

With Cumulative Update 9 Microsoft have released a new feature i.e Merging Application Objects using Windows PowerShell. We will see the use of new feature in future post.



Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.

For information about previous Update Rollup released for Microsoft Dynamics NAV 2013 R2 below are the links -

   Update Rollup 1                             Update Rollup 2                                 Update Rollup 3                  

   Update Rollup 4                             Update Rollup 5                               Update Rollup 6

   Update Rollup 7           Cumulative update 8

These links required valid Partner Source / Customer Source Login...

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

CRETE - Microsoft Dynamics NAV 2015 is Around the Corner.

$
0
0
Hi all,

While reading through Waldo Blog i came to know that its official announced by Microsoft about the new version release of Microsoft Dynamics NAV. This all happened in Microsoft World Partner Conference.



New release will have - 
1. Devices.

2. Expressive Tiles.


3. Reports - An Additional way to create Reports "WORD TEMPLATE"


For More Details Please Refer the Original Post from Waldo..

Thanks Waldo for sharing the information...

Regards,
Saurav Dhyani


NAV 2013 & NAV 2013 R2 - Customize the Navision Startup Screen.

$
0
0
HI all,

While Reading a article on Mibuso i see a simple requirement i.e to change the Start UP Screen of Navision Role Tailored Client.

The Post below in not related to any Navision Feature or Functionality, but if you want to read it let's scroll Down.



What is the requirement?

My Customer want to change the Screen That Open Up During Load time of NAV 2013 R2, i.e Below Screen.



Is that Possible?

Yeah, Navision would be pulling this image from our system somewhere. Let's try to find where?

Oh here it is...

The Image is placed In C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Images.

Let's try to change the Splash Scrren in Paint and save it. Let's see what happens.

I have changed the image to something like this.



Saved the image in Desktop with Extension .png, Copied and Replaced in the Above Folder and let's start the Role Tailored Client.



Wohha, its done..

Thanks for Reading.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 & NAV 2013 R2 - NAV Application Profiler.

$
0
0
Hi all,

Below is a detailed post from one of the article listed in Microsoft Team blog about
"Introducing the Microsoft Dynamics NAV Application Pro filer".

With the tool, we can monitor how your application code performs at real time?

You can also consider it as advanced version of old Client Monitor.

Let's see how to install and configure the tool and use this tool to enable C/AL code tracing and determine application performance during code execution.

Download =

1. Download the Dynamics NAV Application Profiler From CodPlex



* Always Download the Latest Version.


2. Extract the zip file. Below are the content of zip File.



1. EtwPerformanceProfiler.dll
2. Microsoft.Diagnostics.Tracing.TraceEvent.dll
3. PAG50000 & TAB50000 (Navision Objects Related to Application Profiler).

3. If your system have security settings for downloaded files from internet, then you need to unlock the DLL File as shown below.

a) Go to Properties of both the DLL's and Under General Tab, Click Unblock as shown below.



** Step 3 is Important otherwise it will give an error message during execution from NAV.

4. If Required Renumber the Page & Table in the text File as shown below.
** I Have Re-numbered Objects to 60000.



INSTALL & CONFIGURE =

5. Now we need to register Addin in Service Tier and in Role Tailored Client.

6. Copy the Extracted folder to Service Tier and Client Tier.

   ** In the Single Machine & Default Installation paths are -
   ** Service -C:\Program Files\Microsoft Dynamics NAV\71\Service\Add-ins
   ** Client   - C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Add-ins



7. Import the Page and Table in the Navision Database using NAV Developer Environment.



8. Complie the Table and Page, In My Case they are placed at ID 60000.
* You can also Filter Objects using Version Tag "Performance Profiler".



9. To enable we need to Enable Full C/AL Function Tracking at Serivce Tier as Shown Below.



Restart the Service Tier after above changes.

USAGE (A Sample Example) = 

10 . Run the Page Performance Profiler as shown below.



Let's see what Page Have -

a) Configuration Panel - 
   * Target Session ID - IS the ID of the session which you want to Profile.
   * Threshold - Time in Millisecond To Lock the Event by Tool. If any Step in the Running Process Take more time then threshold value, it will be Locked as shown in Window Below.

b) Actions -
   * Start - To Start the Tool. (After this we run the process).
   * Stop  - To Stop the Tool & See Results. (After the Process is completed).

11. Let's Start the Tool and Post a Sales Order with a Th resold of 20 Ms.


12. Now Let's stop the Performance Profiler and see the results.



As we can see that during Posting of a Sales Order, the maximum time taken is via Codeunit 81.

This was just a sample example, you can use the tool for many other activities which may take time in case the system is behaving Slow.

Hope you find post usefull.

Thanks & Regards,
Saurav Dhyani
saurav-nav.blogspot.com

Top 25 Dynamics NAV BLOGS / SITES.

$
0
0
Hi all,

Yesterday I received a message on Facebook Page from Dynamics101, mentioning that  -

“After Careful Consideration we have decided to include your blog in our first annual list of Top 25 Dynamics NAV Sites.”


The Complete List of Top 25 Sites Available here http://www.dynamics101.com/2014/08/top-25-dynamics-nav-sites/

All my Blog Readers are actually the people who deserve the Batch..

I would like to take this opportunity to thanks all my Blog Readers. Thank you all.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

Upgrade NAV 2013 / R2 Error - System.Int32.get_HasRows failed with this message.

$
0
0
Hi All,

During a Upgrade Project from NAV 2009 SP1 to NAV 2013.

Step 1 was performed succesfully. But After Converting Database to NAV 2013 and Running Upgrade Step 2 i found an error message.

Below is the Screen Shot of the Error Message -



------------------------------------------------------
This message is for C/AL programmers: A call to System.Int32.get_HasRows failed with this message: The type of one or more arguments does not match the method's parameter type.
------------------------------------------------------

Searched on web and wasted so much time but no resolution was found.

Reason of Error -

When i started debugging the Upgrade Step 2 Process, I found out that the error is coming when a SQL Query which try to find the Dimension Entry Exist or Not in the database.

Object = Codeunit 104049 (Upgrade Dimension Entry - SQL).
Line of Code -
------------------------------------------------------
IF SQLReader.HasRows THEN
------------------------------------------------------

Resolution of Error Message -

After so much struggle i found out that System is getting timeout during execution of Query.

I know the parameter related to NAV 2013 R2 but was unware that it can be used with NAV 2013.

So Let's see the service tier of the Database that i want to upgrade -



I just changed the value of Parameter "SQL COMMAND TIMEOUT" to 24:00:00, as shown below -



After changing the Value when i run the Upgrade step 2, it worked fine.

Hope this help.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 - cumulative update 17 Released.

$
0
0
Hi all,

Please find below the details of Cumulative Update 17 released for Microsoft Dynamics NAV 2013.


Title - Cumulative update 17 for Microsoft Dynamics NAV 2013 

Build No. - 37532
Release Date - August, 2014
Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS,
IT, NA, NL, NO, NZ, SE, UK


Download Link





Platform Issues Resolved in the Cumulative Update are -

  • Bad performance when the lookup page contains a long text column and it is used as the default filter.
  • The Close button does not work when you try to close the Find in View - Posted Purchase Receipt Lines page.
  • The win client crashes if you use Filter as You Type and you have set the display size to 125% in the Control Panel.
  • Customizing the ribbon permanently hides an action.
  • Delete in tree view deletes non-selected records.
  • FlowFields with mixed SQL Data type work in an unexpected way.
  • A PLLP partner has an issue with language and the Excel add-in.

For information about previous Update Rollup / Cumulative update released for Microsoft Dynamics NAV 2013 Please Navigate to Hotfix Label or follow the Link.

All These links required valid Partner Source / Customer Source Login...

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

NAV 2013 R2 - Cumulative update 10 Released.

$
0
0
Hi all,

Please find below the details of  Cumulative Update 10 released for Microsoft Dynamics NAV 2013 R2.

Title - Cumulative Update 10 for Microsoft Dynamics NAV 2013 R2


Build No. - 37534
Release Date - August, 2014
Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU


Download Link



Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.



License Versioning -

Microsoft Dynamics NAV 2013 R2 Cumulative Update 10 introduces license key versioning to Microsoft Dynamics NAV. Observe the following specifications:

Microsoft Dynamics NAV 2013 R2 license keys will continue to be backward compatible with Microsoft Dynamics NAV 2013 instances.
Microsoft Dynamics NAV 2013 license keys cannot not be used with Microsoft Dynamics NAV 2013 R2 instances. Accordingly, newly issued Microsoft Dynamics NAV 2013 license keys will not work with Microsoft Dynamics NAV 2013 R2 CU10 (or later) instances.
Microsoft Dynamics NAV 2013 and Microsoft Dynamics NAV 2013 R2 license keys are not forward compatible with Microsoft Dynamics NAV 2015 instances.

Platform Issues Resolved in the Cumulative Update are -
------------------------------------------------------------------------------------------------------

  • The Show as Chart function crashes the client if you run it from the Job Ledger Entries page for a specific job.
  • Customizing the ribbon permanently hides an action.
  • The cursor jumps to a random record after validate error.
  • Delete in tree view deletes non-selected records.
  • System.IndexOutOfRangeException when running multiple NAV Servers.
  • The client crashes with a filter exception on a FactBox.
  • The web client shows error and cannot be closed.
  • If you try to add a record via OData using a page that does not include all of the primary key fields, you will encounter an error message referring to missing values.
  • Export to excel using an add-in fails.
  • If you drill down on a FlowField value, you may not see the expected underlying records.
  • Cannot export/import upgraded database.
  • When you use the FORMAT() function, the results can be different compared to previous release as it does not consider decimal places property correctly if these are defined at table level.
  • When you export to Excel using a PLLP language release, the language changes back to English on a client OS.
  • Cannot modify system tables by import objects from command prompt.
  • Cannot import objects.
  • When you import a fob file in builds > 7.1.36703, a list of errors is no longer shown.
  • Integration Management does not support multitenancy.
  • The web client crashes application pool when specifying a non-existing tenant ID.
  • QuickEntry does not work when a field is also in IndentationControls.
  • The license should check that it is compatible with NAV 2013 R2.
  • The program version for NAV 2013 R2 is incorrect.
  • TAB and ENTER give different results when running code from the OnValidate() trigger.
  • "Microsoft Dynamics NAV internal-only exception used to implement control statements Skip, Break, and Quit in Reports and XMLport." error message from NAS Services.
  • The win client crashes if you use Filter as You Type and you have set the display size to 125% in the Control Panel.
  • FlowFields with mixed SQL Data Type work in an unexpected way.
  • ISEMPTY leaks memory.
  • Problems using new database with imported application objects.
  • NAV crashes with server-side dotnet variables.
  • Bad performance when the lookup page contains a long text column and it is used as default filter.
  • Move disabled fields from About This Page to a separate FactBox.
  • SETSELECTIONFILTER does not work when only one line is marked.
  • The Delete function returns a wrong reference after a previous deletion was canceled, potentially causing the wrong entries to be deleted without notice.
  • Integer dataitem breaks security filter.
  • "Queries between data sources are not supported" error message from query object when used with Access Control and Permission tables (Data per Company = No).
  • If a security filter is applied to a permission set then all users experience strange permission errors even though the security filter was applied to their permission set.

-------------------------------------------------------------------------------------------------------

For information about previous Update Rollup / Cumulative update released for Microsoft Dynamics NAV 2013 Please Navigate to Hotfix Label or follow the Link.

All These links required valid Partner Source / Customer Source Login...

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

News From Microsoft Desk...

$
0
0
Hi All,

While Browsing Partner Source and Microsoft Team Blog i found out some interesting link and thought of sharing them.


Below are some updates from Microsoft on Team Blog -



1. Filter values specified on a request page for a report are not saved by the Web Client

This article says that its a limitation of web client that the values are not saved in Report Request Page as it happens in Role Tailored Client. The Link provides the Updated Limitation of Web Client in NAV 2013 R2.

Read Complete Article on Microsoft Team Blog.

2. Temporary Issue with Single Sign-On for Office 365

On August 13, the Single Sign-On (SSO) protocol that is used in Microsoft Azure Active Directory (Azure AD) was updated, which unfortunately caused the SSO implementation in Microsoft Dynamics NAV 2013 R2 to fail temporarily. As a result, users could not log into Microsoft Dynamics NAV using their Office 365 credentials.The problem was resolved. The new design will be part of the Cumulative Update 11 for Microsoft Dynamics NAV 2013 R2. 

Read Complete Article on Microsoft Team Blog.

3. Compatibility with SQL Server 2014

Microsoft Dynamics NAV 2013, Microsoft Dynamics NAV 2013 R2, and Microsoft Dynamics NAV 2009 R2 are compatible with SQL Server 2014!

Please note that this applies to the following editions of Microsoft SQL Server:
Standard Edition

Enterprise Edition

Read Complete Article on Microsoft Team Blog.

4. Announcement about Tax Updates Dependent on Cumulative Updates (CU) in Microsoft Dynamics NAV

Effective July 15, 2014, all Tax Updates (commonly referred to as Regulatory Features) will be developed based on the latest Cumulative Updates as their baseline instead of the current practice of basing the same on an RTM release.

Effective October 1, 2014, all Tax Updates for Microsoft Dynamics NAV will be developed on CU and will be released only through Cumulative Updates. Microsoft Dynamics NAV will no longer release individual .fob or text files for a Tax Update.

Read Complete Article on Microsoft Team Blog.

Hope you find the information useful.

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

NAV 2013 R2 - Cannot import the data because the database schema in the database is different from the schema for the data that you want to import.

$
0
0
Hi all,

Some time before we discussed about Import and Export Functionality with and without multitenacy in NAV 2013 R2. The Feature was released with Cumulative Update 8 for NAV 2013 R2.

The Process of Exporting and Importing data between databases was fast (i would say) from Legacy Backup of Classic Client, but still there are some flaws which i hope will be removed by Microsoft in New Cumulative Updates or in New Release.

For the Details of Steps how to Export and Import you can refer the blog article here.




Now Let's discuss the issue.

While Exporting and Importing Data between databases as per Microsoft the Database Schema should be same. Initially i thought it just about the Object in the database that they should be same and consistent between two database (Not only tables but all objects).

But While trying to do it in a customized database (Which was upgraded) export import functionality i ended up with an Issue in Database Schema.

After Reading the article about issue resolution What i understand is -

In Case of a Upgraded Database we also need to remove the Old Virtual Table Snapshots from the Database.

How to Do That?

This can be done with the Below Query in SQL. (Thanks Gunnar for same)

------------------------------------------------------------------------------------------------------------
#Author  - Gunnar Gestsson
#Replace - <<Source Database>> with Database Name from where we want to Export.

Delete from [<<Source Database>>].[dbo].[Object Metadata Snapshot] Where [Object ID] IN
(2000000007, 2000000026, 2000000049, 2000000101, 2000000102, 2000000103, 2000000020, 2000000055, 2000000009, 2000000029, 2000000038, 2000000058, 2000000041, 2000000028, 2000000063, 2000000022, 2000000048, 2000000040, 2000000043, 2000000044, 2000000039, 2000000045)
------------------------------------------------------------------------------------------------------------

Now Export the Data and Import the Data in New Database with Same Object Set. I should Work.

I would like to Thanks Gunnar Gestsson for the Nice Post.

Please Read the Gunnar Article Here.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

How Do I - Series for NAV 2013 R2 Updated.

$
0
0

NAV 2013 & NAV 2013 R2 - How to - Using FlowFilters in OData URIs.

$
0
0
Hi all,

In Previous post related to ODATA we saw how to publish and consume a Odata Web Services from NAV 2013 & 2013 R2.

For Articles Related to ODATA & web services posted before today please Refer Label Web Services.

Today we will see how to Using FlowFilters in OData URIs.



The Example shown below is from NAV 2013 R2 and using a Page web Service. The Steps remain same for Query Web Services and in NAV 2013.

In this procedure, we will create and publish a web service from the Item Card page in Microsoft Dynamics NAV and then query the data in that web service by using a FlowFilter.

How to Publish a Web Service?

The Service Should of Type Page with ID 30 and Web Service Name as MyItems.



Now Let's Check the Metdata of the Created Service (As discussed in earlier Post).

http://<Server>:<WebServicePort>/<ServerInstance>/OData/$metadata

In My Case the URL is -

http://INDEL-SXD6995NB.TecturaCorp.net:6514/PersonalDB/OData/Company('CRONUS%20International%20Ltd.')/MyItems

http://localhost:6514/PersonalDB/OData/$metadata

Below is the ScreenShot of My Page WebService Metadata.



Navigate to End of the Browser Page, you will find that end in the word Filter, as shown below.



Create a URI that returns information for a single item card. For example:

http://localhost:6514/PersonalDB/OData/Company('CRONUS%20International%20Ltd.')/MyItems('1906-S')

And Output is Something Like as shown below. Just Check Value of Qty_on_Sales_Order.



Apply a FlowFilter to that item and specify GREEN as the value for the Location_Filter:

http://localhost:6514/PersonalDB/OData/Company('CRONUS%20International%20Ltd.')/MyItems('1906-S')?$filter=Location_Filter eq 'GREEN'

And Output is Something Like as shown below. Just Check Value of Qty_on_Sales_Order.



For Just for Verification Purpose Let's Check same Item In Navision.



That Completes the task of this post. In Next Post we will see something more about ODATA.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

Changes to Microsoft Dynamics Exam Requirements - Certification Not Required !!

$
0
0
Hi all,

While Browsing Partner Source I found a article which is worth sharing with all my Blog Readers.

Announcement: Effective August 13, 2014  (Official Statement)

Microsoft is announcing the elimination of ​​certification/exam requirements for Microsoft Dynamics GP, Microsoft Dynamics NAV, Microsoft Dynamics SL, Microsoft Dynamics RMS and Microsoft Dynamics C5.

This includes pre-sales and sales assessments as well as implementation methodology and technical certifications and covers both SPA and MPN.





After Reading the Article i had Certain Questions?

 > Does that Mean we don't need to be Ready for the changes in NAV?
    * Most of us just go through all these changes during Preparation of Exams.

> What about customer who would like to implement Microsoft Dynamics NAV Solution with a set of certified professionals? Doesn't this decision will lose faith of such customers?

 > Why Microsoft Dynamics AX and Microsoft Dynamics CRM are not Considered for same?

I do agree that sometime a certified resource was not a expert in the domain area on which it certified, but it used to add a value to professional career of consultant as well as the Company.

What Microsoft Says about Why it was Done? (Official Statement) 

The biggest business imperative for our SMB-focused products (NAV, GP, SL, RMS and C5) and partners is the shift to the Cloud – "On Azure" and "In Office 365"

In a time of major transition to the cloud, we want to give partners the flexibility to use their readiness time and money on the investments in those areas most impactful to their individual businesses – this will often be Office 365 training, training on a new vertical product created by one of our ISVs, or non-technical sales, marketing and business transformation training that has been created by Microsoft.

The amount of money and resources dedicated to training and readiness for these product lines is at its highest level in years. Microsoft made the decision to redirect money and time previously spent on the creation of exams and assessments towards the creation of more training and readiness content.

Partners selling these products still have the ability to retain or achieve MPN Gold or Silver status by meeting the other requirements that remain in place and unchanged: minimum license revenue requirements, BREP revenue recapture rates, customer references and participation in the customer satisfaction survey.

Certifications & Assessments No Longer Required for MPN & SPA (NAV)

1. Exam MB7-700: Microsoft Dynamics NAV 2013 Installation and Configuration
2. Exam MB7-701: Microsoft Dynamics NAV 2013 Core Setup and Finance
3. Exam MB7-702: Microsoft Dynamics NAV 2013 C/Side Solution Development
4. Exam 70-462: Administering Microsoft SQL Server 2012 Databases
5. Exam MB5-705: Managing Microsoft Dynamics Implementations
6. Standard Sales/Sales Specialist Assessment for ERP

7. Presales Technical Specialist Assessment for ERP

Read the Complete Article From Microsoft Here.

Read Waldo Views on the Article Here.

I know most of you may or may not agree with what i Think but do Share your Views as Comments to the Post.

Regards,
Saurav Dhyani
saurav-nav.blogspot.com

How SQL Database / Table & Field Name Changed When we Use Some Special Character in NAV?

$
0
0
Hi All,

One of my NAV Friend while working on SSRS Reports asked a Question. Below is the Query is his words?

"Hey Saurav - When i trying to access table Sales Prepayment % or Field Prepayment % or using a database Named as Demo Database NAV (7-0) i get a different name is SQL instead of Navision. Why there is a change? Which all character get changed? Where i can find this change Character List?" 

So those who Know this, i guess what is below is nothing new for you, but those who still are curious about it should Read Ahead...



So lets see Which all Character Get Changed?

IN NAV 2009 ==> ."\/'
IN NAV 2013 & 2013 R2 ==> ."\/'%][

Can i Add more to This List?

YES

Where is can be seen in NAV?

1. Navigate to File - Database - Alter.
2. Open Integration Tab.
3. The Above Special Character List is Stored in Field called Convert Identifier Field as shown below.



In Which Table the character list is Stored & How can we get it?

You cannot access the List (Field Content) in Navision, but from SQL you can get it.
The Character list is stored in Table $ndo$dbproperty Which can be accessed by SQL Server Management Studio as Shown below.


** Do not change the content of this table until and unless you are sure what you are doing.

What Happens to the Special Character which are listed here?

This setting allows you to select the invalid characters in the names of all the SQL Server objects (tables, columns, constraints) in the database that you want to map to the underscore character.

Convert Identifier field contains a list of the characters that are converted to underscores. You can modify this list.

How can i Append ?

Append the any other Special Character in Field and Click OK. When the conversion is completed, the database must be closed and reopened before you can use the new identifiers.

Hope the information help to my readers. Do let me know your feedback as comments.

"These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use."

Regards,
Saurav Dhyani
saurav-nav.blogspot.com
Viewing all 1143 articles
Browse latest View live