<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>suvidha</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/suvidha/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/suvidha/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:28:44 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Creating Companies in Dynamics 365 for Financials</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/creating-companies-in-dynamics-365-for-financials</link>
      <pubDate>Sun, 05 Feb 2017 08:49:18 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=275</guid>
      <description><![CDATA[When we sign up for Dynamics 365 for Financials, we get access to a demonstration company (called...]]></description>
      <content:encoded><![CDATA[When we sign up for Dynamics 365 for Financials, we get access to a demonstration company (called Cronus). The demonstration company contains sample data like sample orders, invoices, ledger entries etc., which lets us explore the application, view charts and reports with sample data.

We will be able to create additional companies with demonstration data or we can create companies to work with our own data. Assisted setup in Dynamics 365 for Financials guides us with creating these companies easily. I would like to list the options available to create new companies through assisted setup.

<!--more-->

Sign in to Dynamics 365 for Financials and click on <em>Settings</em> icon and <em>My Settings. </em>

<a href="https://suvidhablogpost.files.wordpress.com/2017/02/cap1.jpg"><img width="253" height="102" class="alignnone wp-image-765" alt="cap1" src="https://suvidhablogpost.files.wordpress.com/2017/02/cap1.jpg?w=380&amp;h=153" /></a>

In <em>My Settings </em>window, click on the<em> lookup</em> option in <em>Company</em> field.

<a href="https://suvidhablogpost.files.wordpress.com/2017/02/cap2.jpg"><img width="448" height="359" class="alignnone wp-image-766" alt="cap2" src="https://suvidhablogpost.files.wordpress.com/2017/02/cap2.jpg?w=672&amp;h=539" /></a>

In the <em>Allowed</em> <em>Companies</em> window, click on <em>Create New Company. </em>This opens up the assisted setup for creating a company. Click on <em>Next </em>in this window to get started.

<a href="https://suvidhablogpost.files.wordpress.com/2017/02/cap3.jpg"><img width="475" height="435" class="alignnone wp-image-767" alt="cap3" src="https://suvidhablogpost.files.wordpress.com/2017/02/cap3.jpg?w=713&amp;h=653" /></a>

Type in a <em>Name</em> for the company and select the<em> data and setup option</em> from the drop down.

<a href="https://suvidhablogpost.files.wordpress.com/2017/02/cap4.png"><img width="529" height="495" class="alignnone wp-image-768" alt="cap4" src="https://suvidhablogpost.files.wordpress.com/2017/02/cap4.png?w=794&amp;h=495" /></a>

Data and Setup options are:

<strong>1. Evaluation Data (Includes Cronus Company Sample Data):</strong> We can choose this option if we’re planning to try/evaluate the application. when we create a company with this option, the company will have sample data like customers, vendors, items, orders, invoices, ledger entries and much more. We can explore the application by creating more records, posting transactions, printing reports etc.,

We will be able to use this company to try out the product for as long as we wish.

<strong>2. Standard Data (Recommended): </strong>We can use this option when we want to create a company with our own data but would like some initial setup to be kept ready. This option sets up the basic requirements like number series, chart of accounts and payment methods ready for use. you’ll have to setup your company information, customers, items etc., to start using the application.

This option lets us use the company for a 30-day trial period, after which we need to subscribe to continue using the company.

<strong>3. None (For Advanced Users Only)</strong>: We can use this option when we want to create a company with our own data. However, the company created with this option will not contain any data. All the setup like Number series, chart of accounts etc., will have to be setup manually.

This option lets us use the company for a 30-day trial period, after which we need to subscribe to continue using the company.

Choose a relevant option under <em>data and setup,</em> click on <em>Next </em>and then click on <em>Finish</em> to create a new company!

More details at: <a href="https://madeira.microsoft.com/en-us/documentation/madeira-get-started/" rel="nofollow"><span style="color: #10759c">https://madeira.microsoft.com/en-us/documentation/madeira-get-started/</span></a>]]></content:encoded>
    </item>
    <item>
      <title>PowerApps with SQL server on-premises – Using the Gateway</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/powerapps-with-sql-server-on-premises-using-the-gateway</link>
      <pubDate>Tue, 03 Jan 2017 08:22:23 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=265</guid>
      <description><![CDATA[On-premises data gateway allows you to access on-premises data with PowerApps!





The...]]></description>
      <content:encoded><![CDATA[On-premises data gateway allows you to access on-premises data with PowerApps!
<div class="hfeed site" id="page">
<div class="site-content" id="content">
<div class="content-area" id="primary"><article class="post-664 post type-post status-publish format-standard hentry category-microsoft-powerapps category-sql-server tag-microsoft-powerapps tag-sql-server" id="post-664">
<div class="entry-content">

The gateway is a bridge from your app to the on-premises or virtual machine where your data is stored. On-premises means that your data is stored on a server physically located within your organization, not in the cloud. A virtual machine acts as a private cloud-based server. The gateway can be deployed centrally and you can connect to your on-premises data and manage it securely from PowerApps.

In this blog, I’ll demonstrate how we can create a simple App in PowerApps which can connect to on-premises SQL database.  The App is created to capture Leads information from the user’s phone and the submitted data is saved to SQL database which is on-premises.

<strong>Creating Demo SQL database: </strong>Create a new database in on-premises SQL server called <em><strong>PowerApps Test </strong></em>and create a new table within the database called <em><strong>New_Leads.</strong></em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture1.png"><img width="275" height="261" class="alignnone wp-image-665" alt="capture1" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture1.png?w=550&amp;h=522" /></a>

The <strong><em>New_Leads</em></strong> table should have the following columns with <em><strong>ID</strong> field </em>as an auto-incremental primary key:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture10.png"><img width="420" height="279" class="alignnone wp-image-679" alt="capture10" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture10.png?w=840&amp;h=558" /></a>

<strong>Installing the Gateway: </strong>Sign into <strong><em>PowerApps</em></strong> (<a href="https://powerapps.microsoft.com/en-us/" rel="nofollow">https://powerapps.microsoft.com/en-us/</a>) and under settings, click on <em><strong>Gateways </strong></em>to download and install the on-premises gateway:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture5.png"><img width="312" height="224" class="alignnone wp-image-671" alt="capture5" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture5.png?w=624&amp;h=448" /></a>

Steps to Install and sign into the gateway is available at: <a href="https://powerapps.microsoft.com/en-us/tutorials/gateway-reference/" rel="nofollow">https://powerapps.microsoft.com/en-us/tutorials/gateway-reference/</a>

Install and setup a gateway with name <strong><em>PowerApps Gateway </em></strong>in the same machine where the SQL Server is located<strong><em>.</em></strong>

<strong>Creating the connection to SQL server on-premises: </strong>When logged into <strong><em>PowerApps</em></strong> click on <em><strong>Connections:</strong></em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture2.png"><img width="197" height="254" class="alignnone wp-image-666" alt="capture2" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture2.png?w=394&amp;h=508" /></a>

Next, click on <strong><em>New Connections: </em></strong>

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture3.png"><img width="187" height="75" class="alignnone wp-image-667" alt="capture3" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture3.png?w=374&amp;h=150" /></a>

Search for <em><strong>SQL </strong></em>from the list of services and click on <strong><em>SQL Server</em></strong>:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture4.png"><img width="452" height="225" class="alignnone wp-image-669" alt="capture4" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture4.png?w=904&amp;h=450" /></a>

In the window that opens, select the right options and fill up the parameters required for the connection.
<ul>
 	<li>Select the option <strong><em>Connect using on-premises data gateway</em></strong></li>
 	<li>Type in the<em> SQL server name</em>, <em>Database name</em>, <em>Authentication type</em>,  <em>Username</em> &amp; <em>Password</em></li>
 	<li>Under <strong><em>Choose a gateway </em></strong>option, select the gateway that is setup in the previous step</li>
 	<li>Click on <strong><em>create</em> </strong>to create the connection to on-premises SQL database</li>
</ul>
&nbsp;

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture8.png"><img width="423" height="669" class="alignnone wp-image-677" alt="capture8" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture8.png?w=846&amp;h=1338" /></a>

<strong>Create an App: </strong>You can choose to use <em>PowerApps studio for Windows </em>(requires installation)<em> </em><strong>or</strong> <em>PowerApps studio for Web </em>for creating an App.

Let’s consider using <strong><em>PowerApps studio for windows</em></strong>. Open the application, click on <em><strong>New</strong> </em>and choose the <em><strong>Phone Layout</strong> </em>under Start with blank canvas or template:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/capture9.png"><img width="614" height="398" class="alignnone wp-image-680" alt="capture9" src="https://suvidhablogpost.files.wordpress.com/2016/12/capture9.png?w=1228&amp;h=796" /></a>

This opens up a designer screen with a blank App screen at the center.

Add a Textbox and place it at the top of the screen. Set the following properties of the textbox: <em><strong>Color =</strong></em> <em>RGBA(255, 255, 255, 1), <strong>Fill =</strong></em> <em>RGBA(0, 119, 255, 1), <strong>FontWeight = </strong></em><em>FontWeight.Semibold</em>, <em><strong>Text =</strong></em> <em>“New Lead”</em>

Add an Editable Form (Under Insert tab &gt; Forms &gt; Edit) to the screen and place it below the Textbox covering the rest of the area:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled2.png"><img width="273" height="363" class="alignnone wp-image-685" alt="untitled2" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled2.png?w=546&amp;h=726" /></a>

The Form part in the screen will have an option to connect to data. click on <em><strong>Connect your form to data. </strong></em>On the right hand side, under data sources tab, select the SQL server connection created in the previous step, select <em><strong>default</strong> </em>and then choose the table <em><strong>New_Leads</strong></em> and click on <em><strong>Connect.</strong></em><a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled3.png"><img width="676" height="400" class="alignnone size-full wp-image-686" alt="untitled3" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled3.png?w=1352&amp;h=800" /></a>

After the connection, set the Form’s <em><strong>Item</strong> </em>property to <em><strong>Defaults(‘[dbo].[New_Leads]’).</strong></em>

Form customization part will be open in the right pane where you’ll be able to add the required fields in the App.

Select the required fields from the fields list. The selected fields gets added in your App’s screen.

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled4.png"><img width="501" height="443" class="alignnone wp-image-687" alt="untitled4" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled4.png?w=1002&amp;h=886" /></a>

you’ll be able to re-size the text boxes or input controls if required.

Add another screen to the App (Under <em><strong>Home</strong> </em>tab click on <strong><em>New Screen). </em></strong>Select the newly created screen from the left pane and add a <em><strong>Text box </strong></em>control. Set the <strong><em>Text</em> </strong>Property to <strong><em>The lead information was submitted successfully! </em></strong>and <em><strong>Align</strong> </em>property to <em><strong>Align.Center.</strong></em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled5.png"><img width="272" height="426" class="alignnone wp-image-688" alt="untitled5" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled5.png?w=544&amp;h=852" /></a>

Now we have 2 screens in the App. You can see the names of the screens in the Left pane.

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled6.png"><img width="257" height="492" class="alignnone wp-image-689" alt="untitled6" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled6.png?w=514&amp;h=984" /></a>

Select Screen1, click on <em><strong>Add a custom card </strong></em>option at the bottom within the screen.

Add a <em><strong>Text box</strong> </em>control in the new card. Set the <em><strong>Auto Height</strong></em> property of the new text box control to <em><strong>true</strong></em>, and set its <em><strong>Text</strong> </em>property to this formula: <em><strong>Form1.Error (</strong></em>The text box will show any errors from the form. This also requires the form name to be <em><strong>Form1</strong></em>)

Add a <em><strong>Button </strong></em>control in the card. set the button’s <em><strong>Text</strong> </em>property to <em><strong>Submit </strong></em>and set the button’s <em><strong>OnSelect </strong></em>property to <strong><em>SubmitForm(Form1); If(Form1.ErrorKind = ErrorKind.None, Navigate(Screen2, ScreenTransition.None)) </em></strong>(This formula tries to insert the data entered to SQL table. If there is any error while writing to SQL, the Error message will be displayed on the app otherwise the screen 2 of the app will be displayed informing the user that write to SQL was successful)

The App is now complete and is able to accept user input and save it in SQL table.

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled7.png"><img width="259" height="439" class="alignnone wp-image-690" alt="untitled7" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled7.png?w=518&amp;h=878" /></a>

<strong>Testing:</strong>

In SQL server, run the following simple query <em><strong>Select * From [PowerApps Test].[dbo].[New_Leads] </strong></em>and no rows will be returned.

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled8.png"><img width="676" height="301" class="alignnone size-full wp-image-691" alt="untitled8" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled8.png?w=1352&amp;h=602" /></a>

Run the App created in PowerApps, enter all the information within the App and click on Submit.

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled10.png"><img width="676" height="550" class="alignnone size-full wp-image-694" alt="untitled10" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled10.png?w=1352&amp;h=1100" /></a>

In SQL server, run the same select query (<em><strong>Select * From [PowerApps Test].[dbo].[New_Leads]) </strong></em>again and you’ll find the newly inserted row in SQL:

<a href="https://suvidhablogpost.files.wordpress.com/2016/12/untitled11.png"><img width="676" height="296" class="alignnone size-full wp-image-695" alt="untitled11" src="https://suvidhablogpost.files.wordpress.com/2016/12/untitled11.png?w=1352&amp;h=592" /></a>

Microsoft continues to enhance the features and capabilities of PowerApps! You can learn more at <a href="https://powerapps.microsoft.com/en-us/blog/" rel="nofollow">https://powerapps.microsoft.com/en-us/blog/</a>

Have fun building Apps with PowerApps!

</div>
</article></div>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Create an App for Dynamics 365 for Financials in just a few minutes!</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/create-an-app-for-dynamics-365-for-financials-in-just-a-few-minutes</link>
      <pubDate>Tue, 03 Jan 2017 08:20:50 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=245</guid>
      <description><![CDATA[PowerApps is a great new product from Microsoft which lets you quickly create Apps on web and mobile...]]></description>
      <content:encoded><![CDATA[PowerApps is a great new product from Microsoft which lets you quickly create Apps on web and mobile without writing code!
<div class="hfeed site" id="page">
<div class="site-content" id="content">
<div class="content-area" id="primary"><article class="post-642 post type-post status-publish format-standard hentry category-microsoft-powerapps category-powerapps tag-dynamics-365 tag-dynamics-nav tag-powerapps" id="post-642">
<div class="entry-content">

Learn more at: <a href="https://powerapps.microsoft.com/en-us/" rel="nofollow">https://powerapps.microsoft.com/en-us/</a>

In this blog, we take a look at how we can create a simple App using PowerApps. The App lists all the items in our Dynamics 365 for Financials showing item inventory, price and other info.

<a href="https://suvidhablogpost.files.wordpress.com/2016/11/ezgif-com-gif-maker.gif"><img width="332" height="560" class="alignnone size-full wp-image-644" alt="PowerApp" src="https://suvidhablogpost.files.wordpress.com/2016/11/ezgif-com-gif-maker.gif?w=676" /></a>

<strong>Setup in Dynamics 365 for Financials:</strong>

In <em>web services</em> page, make sure the Page <em>31 (Item List)</em> is published. Copy the OData URL.

<a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture3.png"><img width="676" height="230" class="alignnone size-full wp-image-649" alt="capture3" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture3.png?w=1352&amp;h=460" /></a>

From <em>User Card</em> page, copy the <em>Web Service Access key</em> of an admin user. If this key is not already generated, generate one in the same page.

<a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture4.png"><img width="676" height="423" class="alignnone size-full wp-image-650" alt="capture4" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture4.png?w=1352&amp;h=846" /></a>

<strong>Connecting to Data and creating the App with PowerApps:</strong>
<ol>
 	<li>Sign up for PowerApps at <a href="https://powerapps.microsoft.com/en-us/" rel="nofollow">https://powerapps.microsoft.com/en-us/</a><a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture1.png"><img width="676" height="326" class="alignnone size-full wp-image-647" alt="capture1" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture1.png?w=1244&amp;h=436" /></a></li>
 	<li>Click on <em>New app</em> (Left bottom of the screen) and choose <em>PowerApps Studio for web</em> (PowerApps Studio for Windows is an application which you can install and use to build the Apps)<a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture2.png"><img width="676" height="597" class="alignnone size-full wp-image-648" alt="capture2" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture2.png?w=1244&amp;h=1100" /></a></li>
 	<li>In the next window, under start with your data, select <em>Dynamics 365 for Financials</em>. Click on the <em>Right Allow (–&gt;) </em> and click on <em>New connection</em> to find <em>Dynamics 365 for Financials. </em>Enter the details from Dynamics 365 for Financials as shown below and click on <em>Connect</em><a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture6.png"><img width="676" height="489" class="alignnone size-full wp-image-652" alt="capture6" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture6.png?w=1244&amp;h=900" /></a></li>
 	<li>Once the connection is successful, choose the default dataset.</li>
 	<li>The PowerApps will identify all the Odata web services that are published in Dynamics 365 for Financials. Choose the <em>Items </em>from the list and click on<em> connect.</em></li>
 	<li>Once we connect to our data, PowerApps opens the App designer window and also automatically creates a sample App using your Item list in Dynamics 365 for Financials. <a href="https://suvidhablogpost.files.wordpress.com/2016/11/capture7.png"><img width="664" height="282" class="alignnone wp-image-653" alt="capture7" src="https://suvidhablogpost.files.wordpress.com/2016/11/capture7.png?w=1244&amp;h=528" /></a></li>
 	<li>Next, we’ll have to modify/design this app to: Select a more suitable layout, Select relevant fields, Change the font style, size, color etc, use a good theme etc.. The below video shows the rest of the process of designing this App:</li>
</ol>
<div class="jetpack-video-wrapper"><span class="embed-youtube"><iframe width="300" height="150" class="youtube-player" src="https://www.youtube.com/embed/JtDkJQ7P9fE?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" allowfullscreen="allowfullscreen"></iframe></span></div>
This is an illustration of creating a very simple App using PowerApps. There is much more that we can do! Learn more about designing an App at: <a href="https://powerapps.microsoft.com/en-us/tutorials/getting-started/" rel="nofollow">https://powerapps.microsoft.com/en-us/tutorials/getting-started/</a>

To Access your App on phone, Install PowerApps application and sign in with your PowerApps credentials.

</div>
</article></div>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>My First Microsoft Flow with Dynamics 365 for Financials</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/my-first-microsoft-flow-with-dynamics-365-for-financials</link>
      <pubDate>Tue, 03 Jan 2017 08:19:01 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=236</guid>
      <description><![CDATA[What is Microsoft Flow?





Microsoft Flow lets you create automated workflows between your...]]></description>
      <content:encoded><![CDATA[<strong>What is Microsoft Flow?</strong>
<div class="hfeed site" id="page">
<div class="site-content" id="content">
<div class="content-area" id="primary"><article class="post-614 post type-post status-publish format-standard hentry category-powerapps tag-dynamics-365-with-microsoft-flow tag-dynamics-nav tag-microsoft-flow" id="post-614">
<div class="entry-content">

Microsoft Flow lets you create automated workflows between your favorite apps and services to get notifications, synchronize files, collect data, and more! Learn more about Flow at <strong><a href="https://flow.microsoft.com/en-us/" rel="nofollow">https://flow.microsoft.com/en-us/</a></strong>

<strong>How can we use Flow with Dynamics 365 for Financials or Dynamics NAV?</strong>

With Microsoft Flow, your Dynamics ERP can communicate with other Apps like Outlook, Yammer, SharePoint, Common Data Service, OneDrive and many more. Complete list at: <a href="https://flow.microsoft.com/en-us/services/" rel="nofollow">https://flow.microsoft.com/en-us/services/</a>

Some example scenarios:
<ul>
 	<li>When a new Item is created in Dynamics ERP, post an update in Yammer.</li>
 	<li>When the credit limit of a customer is updated, send an email notification to the customer</li>
 	<li>Update the Common data service when relevant records are created or updated in ERP</li>
 	<li>Get an email notification when your requests are approved</li>
</ul>
In this blog, I would like to explain how I created my First simple Flow with Dynamics 365 for Financials.

<strong>Scenario:</strong> When a Sales Order is shipped and not invoiced in Dynamics 365 for financials, email is triggered to the customer. we’ll make use of <strong><em>Status</em></strong> field which will be updated to <em><strong>Released</strong></em> in this case. Note that when the order is completely invoiced, the record gets deleted.

<strong>Setup required in Dynamics 365 for Financials:</strong>

In <em>web services</em> page, make sure the Page <em>42 (Sales Order)</em> is published. Copy the OData URL.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture11.png"><img width="676" height="227" class="alignnone size-full wp-image-619" alt="web services page" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture11.png?w=1352&amp;h=454" /></a>

From <em>User Card</em> page, copy the <em>Web Service Access key</em> of an admin user. If this key is not already generated, you can generate one in the same page.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture21.png"><img width="676" height="423" class="alignnone size-full wp-image-620" alt="User Card" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture21.png?w=1352&amp;h=846" /></a>

<strong>Create a Flow – Connection:</strong>

&gt; Login to <a href="https://flow.microsoft.com/" rel="nofollow">https://flow.microsoft.com/</a> (Sign up for an account if not already done)

&gt; Click on <strong><em>My Flows</em> </strong>–&gt; <em><strong>Create from blank</strong></em>

&gt; Search for <strong><em>Dynamics 365 for Financials – when a record is modified</em></strong> trigger

&gt; Enter a relevant <strong><em>Connection Name</em></strong> (ex: Dynamics 365 – Order)

&gt; Enter the <strong><em>ODATA Feed URL </em></strong>which is available in Dynamics 365’s <strong><em>Web Services</em> </strong>page

&gt; Enter the <strong><em>User Name</em> </strong>and <strong><em>Password</em> </strong>(Web Service Access Key) from Dynamics 365’s User Card

&gt; Enter the <em><strong>Company</strong> </em>which is available in Dynamics 365 for Financials under <em><strong>Settings</strong> –&gt; <strong>My Settings</strong></em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture-3.png"><img width="676" height="497" class="alignnone size-full wp-image-622" alt="capture-3" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture-3.png?w=1352&amp;h=994" /></a>

Click on <strong><em>Create</em></strong>!

The connection recognizes all the published OData web services from Dynamics 365 for financials. Under <em><strong>Table</strong> </em>name, select <em><strong>SalesOrder</strong></em>.

<strong>Create a Flow – Condition:</strong>

Click on <strong>+<em> New Step </em></strong>–&gt; <em><strong>Add a Condition</strong>. </em>

Under <strong><em>Condition</em> </strong>step, select the <em><strong>Object Name </strong></em>as <em><strong>Status</strong> (Status </em>is a field name in Sales Header table which is open when a sales order is created and released when a sales order is shipped). You can use <em>Add dynamic content</em> option to choose fields easily. Choose <em>Relationship </em>as<em> <strong>is equal to</strong> </em>and <em>Value</em> as <em><strong>Released</strong>.</em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture51.png"><img width="676" height="385" class="alignnone size-full wp-image-626" alt="capture5" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture51.png?w=1352&amp;h=770" /></a>

<strong>Create a Flow – Action</strong>

Next step is to specify what needs to happen when the condition is met or otherwise.

In our case, when the condition is met we want an email to be triggered to the customer or any other specific email address. Under <strong><em>IF YES</em> </strong>option, click on <strong><em>Add an Action</em> </strong>and select <strong><em>Office 365 Outlook – Send an email</em></strong>.

Enter the email address in <strong><em>To</em></strong> field or you can select the email address field from<em> Add dynamic content </em>if available (In my case, I’ve manually entered the email address as I do not have an email address in my Sales Order page).

Specify a relevant <em><strong>Subject</strong> </em>and <strong><em>Body</em> </strong>for the email. You can choose to write the content and also add fields from your web services (using Add dynamic content option) where required.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture61.png"><img width="676" height="372" class="alignnone size-full wp-image-628" alt="capture6" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture61.png?w=1352&amp;h=744" /></a>

Click on <em><strong>Create Flow</strong> –&gt; <strong>Done</strong></em> to complete the flow creation.

We can click on <em><strong>My Flows</strong> </em>to view all your flows. You can switch them on/off here, Edit it if any modification is required and see the Flow runs history.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture-7.png"><img width="676" height="202" class="alignnone size-full wp-image-631" alt="capture-7" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture-7.png?w=1352&amp;h=404" /></a>

<strong>Testing:</strong>

Now we can create an order in Dynamics 365 for financials and post the shipment (Do not post the invoice). This changes the status of the order to Released. You can check <em><strong>Flow runs</strong></em> to see the runs.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture82.png"><img width="676" height="280" class="alignnone size-full wp-image-630" alt="capture8" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture82.png?w=1352&amp;h=560" /></a>And here is the triggered email:

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture92.png"><img width="613" height="409" class="alignnone size-full wp-image-638" alt="capture9" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture92.png?w=676" /></a>

It’s fun creating flows! There is so much more we can do. Happy automating workflows between apps.

</div>
</article></div>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Personalized Reports to Customers &amp; Vendors with Dynamics 365 for Financials</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/personalized-reports-to-customers-vendors-with-dynamics-365-for-financials</link>
      <pubDate>Wed, 26 Oct 2016 05:01:02 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=235</guid>
      <description><![CDATA[I’ve previously written about how a report can have multiple layouts/templates in Dynamics 365 for...]]></description>
      <content:encoded><![CDATA[I’ve previously written about how a report can have multiple layouts/templates in Dynamics 365 for Financials. You can find that blog <a href="https://blogs.msdn.microsoft.com/suvidha/2016/06/30/microsoft-word-document-reports-in-dynamics-nav-and-project-madeira/">here</a>. With multiple templates per report, we can assign different templates to customers/vendors which enables us to provide a personalized experience!
<div class="hfeed site" id="page">
<div class="site-content" id="content">
<div class="content-area" id="primary"><article class="post-589 post type-post status-publish format-standard hentry category-dynamics-nav" id="post-589">
<div class="entry-content">

Let’s consider a scenario where, for some of the customers we want the <strong><em>Sales Invoice</em></strong> to include some special instructions, customer’s logo or any other information. For such cases, we can use the <em>Document Layouts</em> option that is available in <em>Customer card </em>and <em>Vendor card</em> pages to personalize the reports.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture7.png"><img width="409" height="331" class="alignnone wp-image-599" alt="capture7" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture7.png?w=818&amp;h=331" /></a>

<em>Document Layouts</em> option enables us to select report templates for the recipients.

For example, report 1306 (Sales – Invoice) has 6 templates/report layouts out of the box. We can view the different templates by going to page <em>Custom Report Layouts</em><em>. </em>Select any of the template and <em>click </em>on<em> Run Report </em>to view the Template.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture1.png"><img width="676" height="326" class="alignnone size-full wp-image-591" alt="Custom Report layouts" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture1.png?w=1352&amp;h=652" /></a>

Let’s consider customer <strong><em>Coho Winery </em></strong><em>in the demo database</em><strong><em> </em></strong><em>and they</em> would like to receive an invoice from our company which includes all the shipment details like<em> Shipment Method, Shipping Agent Code, Package Tracking No. </em>etc.. Hence, For<em> Coho Winery, we can assign the <strong>US Sales Invoice – Red </strong></em>template as it includes all the requirements of the customer.

In <em>Customers</em> page, find the relevant customer (Coho Winery) and <em>click</em> on E<em>dit</em> to open the card. Under Navigate tab, <em>click</em> on <em>Document Layouts </em>option.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture2.png"><img width="639" height="378" class="alignnone wp-image-592" alt="Customer Card" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture2.png?w=1278&amp;h=756" /></a>

In the <em>Document Layouts</em> window, select the values as shown below:

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture3.png"><img width="676" height="178" class="alignnone size-full wp-image-593" alt="capture3" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture3.png?w=1352&amp;h=356" /></a>

<strong>Usage:</strong> Specifies the report kind. The options are Quote, Confirmation Order, Invoice, Credit Memo, Customer Statement, Job Queue.

<strong>Report ID and Report Caption:</strong> Specifies the report that has to be printed.

<strong>Custom Layout Description:</strong> Specifies the custom layout that applies for this customer/vendor when the report is run or printed.

<strong>Use for Email Body:</strong> Selecting Y<em>es</em> specifies that we want to include the custom layout in the email body, when the email is sent from within the product to the customer/vendor.

<strong>Email Body Layout Description:</strong> Specifies the custom layout that is used in the email body for this customer/vendor when we send the email from within product.

With the above setup, we’re telling the system to use sales invoice template <strong><em>US Sales Invoice – Red </em></strong>for customer <em><strong>Coho Winery </strong></em>when the report is run and when a user tries to send the invoice to the customer through email from within the system.<em> </em>

To test this, let’s open the <strong><em>Posted Sales Invoices:</em></strong>

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture4.png"><img width="676" height="372" class="alignnone size-full wp-image-595" alt="capture4" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture4.png?w=1352&amp;h=744" /></a>

Select any invoice related to <em><strong>Coho Winery </strong></em>and <em>click</em> on <em>Send </em>Action<em>. </em>In the <em>Send Document to</em> window, select the <em>Printer</em> option as shown below and click on <em>OK.</em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture5.png"><img width="398" height="319" class="alignnone wp-image-596" alt="capture5" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture5.png?w=796&amp;h=638" /></a>

This opens the Sales – Invoice report with the template that we’ve assigned for Coho Winery:

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture6.png"><img width="562" height="545" class="alignnone wp-image-597" alt="capture6" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture6.png?w=1124&amp;h=545" /></a>

If we select any other customer’s posted invoice document and print the report, the report will have a different layout all together (unless of course same template has been assigned to that customer as well :)).

We’ve also selected a custom layout for the email body when emails are being sent from within the product. Let’s select the invoice related to <em><strong>Coho Winery </strong>again </em>and <em>click</em> on <em>Send </em>Action. This time, choose the Email option as shown below and click on OK.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture8.png"><img width="365" height="293" class="alignnone wp-image-602" alt="capture8" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture8.png?w=730&amp;h=586" /></a>

This opens up the <strong><em>Send Email</em> </strong>window with the entire report in the body of the report and a copy of the report as an attachment. We can click on <em>OK</em> to send the email directly from within Dynamics 365 for Financials.

<a href="https://suvidhablogpost.files.wordpress.com/2016/10/capture9.png"><img width="629" height="780" class="alignnone size-full wp-image-604" alt="capture9" src="https://suvidhablogpost.files.wordpress.com/2016/10/capture9.png?w=676" /></a>

Hence, Dynamics 365 for Financials enables you to create and manage multiple templates per report and use different templates for customers/vendors.

</div>
</article></div>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Word Document Reports in Dynamics NAV and Dynamics 365 for Financials (Project Madeira)</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/microsoft-word-document-reports-in-dynamics-nav-and-project-madeira</link>
      <pubDate>Thu, 30 Jun 2016 10:10:06 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/?p=225</guid>
      <description><![CDATA[In Microsoft Dynamics NAV and Project Madeira, it is possible to use Microsoft Word 2013 or later to...]]></description>
      <content:encoded><![CDATA[In Microsoft Dynamics NAV and <a href="https://madeira.microsoft.com/en-us/"><span style="color: #e7cf9c">Project Madeira</span></a>, it is possible to use Microsoft Word 2013 or later to modify the report layout to some extent . Customers can edit/modify the report layout in Microsoft word document and this editing experience is WYSIWYG. This feature makes it easy for customers to modify their reports and save them without touching the underlying report objects.

This feature becomes all the more important in Project Madeira! Which is why, I decided to write about this feature. I will be using screenshots from Project Madeira in this blog. However, it matches pretty much with Dynamics NAV as well<img class="wp-smiley emoji" src="https://s1.wp.com/wp-content/mu-plugins/wpcom-smileys/simple-smile.svg" alt=":)" width="16" height="16" />

Its important to know that reports in NAV and Madeira can have RDLC layout or Word Layout and some reports have both layouts.

In Project Madeira, search for page <em>Report Layout Selection </em>and open the related page from the list

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture-1.png"><img class="alignnone wp-image-536 size-full" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture-1.png?w=676" alt="Search Report Layout Selection" /></a>

This page lists all the printable reports available in the product and the layout which is being used for a report.

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture-2.png"><img class="alignnone size-full wp-image-537" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture-2.png?w=676&amp;h=422" alt="List of Reports in Report Layout Selection page" width="676" height="422" /></a>

In the <em>Report Layout Selection</em> page, you can select the required layout for a report. You have the option of choosing the layout by clicking on <em>Selected layout</em> option for a report.

The available options for layout are:
<ul>
 	<li><strong>RDLC (built in)</strong> – Available for all the printable reports.</li>
 	<li><strong>Word (built in)</strong> (if available) – Available by default with few reports like 1304 (Sales – Quote), 1305 (Sales – Confirmation), 1306 (Sales – Invoice), 1307 (Sales – Credit Memo)</li>
 	<li> <strong>Custom Layout</strong> (if available)  – Custom layouts are modified version of built in layouts or it can be a new layout built from scratch by the users.</li>
</ul>
The <em>Report Layout Selection</em> page also lets the user choose the layout that they prefer<strong> per company</strong>. Meaning, if there are 3 companies, all three companies can have different layout selected for the same report. For example: A sales invoice report in Company A, Company B and Company C can all have different layouts/formats from each other even though the underlying report object is the same.

Let’s explore <strong>1306 (Sales – Invoice)</strong> report: In <em>Report layout selection</em> page, search for <em>1306</em> or <em>Sales – Invoice</em>, choose selected layout as <em>RDLC (built in)</em> and click on <em>Run Report</em> action on top.

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture3.jpg"><img class="alignnone size-full wp-image-541" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture3.jpg?w=676&amp;h=341" alt="Capture3" width="676" height="341" /></a>

In the request page window, select an <em>Invoice No.</em> and click on <em>Preview</em> to view the Report output with RDLC layout.

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture4.png"><img class="alignnone size-full wp-image-542" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture4.png?w=676&amp;h=420" alt="Capture4" width="676" height="420" /></a>

Similarly, in <em>Report Layout Selection</em> page, Change the  Selected Layout to <em>Word (built in)/ Custom Layout</em> (In case of Custom layout choose one of the available custom layouts from the list) and <em>preview</em> the reports in respective formats.

Below is the comparison of 3 layouts of the same report:

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture5.png"><img class="alignnone wp-image-543" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture5.png?w=950&amp;h=333" alt="Capture5" width="950" height="333" /></a>

In Madeira/NAV, you can have multiple custom layouts for the same report and users can modify these custom layouts or create new custom layouts for a report.

In the <em>Report Layout Selection</em> Page, Select the <em>1306 (Sales – Invoice)</em> Report and click on <em>Custom Layouts</em> action to view/edit/create custom layouts for this report. The <em>Customer Report layouts</em> page lists all the custom layouts for Report <em>1306 (Sales – Invoice).</em>

<strong>Editing an existing custom layout:</strong>

Select the one of the custom layout which needs to be modified and click on <em>Export Layout.</em>

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture7.png"><img class="alignnone size-full wp-image-546" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture7.png?w=676&amp;h=384" alt="Capture7" width="676" height="384" /></a>

This exports/opens a word document which is nothing but report layout designer in word document. you will be able to edit this document (Change the colour, font, remove fields, add fields etc..) and import it back into the system by using the <em>Import Layout</em> option in <em>Custom Report Layouts</em> page.

<strong>Creating a new custom layout:</strong>

You can create a new custom layout by using <em>New/Copy</em> options in <em>Custom Report Layouts</em> page. Click on <em>New</em> and it opens the below window. Select the <em>Insert Word Layout</em> option if you would like to copy the Word (built in) layout as a base for your new layout (If you do not select Insert Word Layout option, you will have to build the whole layout from scratch). Click on <em>ok</em> to create a new custom layout.

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture8.jpg"><img class="alignnone size-full wp-image-547" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture8.jpg?w=676" alt="Capture8" /></a>

The New custom layout will be available with Description <em>Copy of Built-in layout. </em>You can modify the description to something better of course.

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture9.jpg"><img class="alignnone size-full wp-image-549" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture9.jpg?w=676&amp;h=288" alt="Capture9" width="676" height="288" /></a>

To make changes to the new layout, export the layout and edit the layout in word document and import it back.

<strong>Editing the exported word layout document file:</strong>

The below picture shows an example of the exported word layout file:

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture10.jpg"><img class="alignnone size-full wp-image-551" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture10.jpg?w=676" alt="Capture10" /></a>

In Microsoft word, we can edit this file. For example:
<ol>
 	<li>Change the customer address font to Blue and bold.</li>
 	<li>Insert a new Table style for the line items</li>
 	<li>Add company phone number below the company address and make the phone number bold</li>
</ol>
The above changes can be done in Word document and below picture shows the word layout file after the modification:

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture11.png"><img class="alignnone size-full wp-image-552" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture11.png?w=676" alt="Capture11" /></a>

Note: In the word layout, you can add fields from NAV/Madeira into the report if the required field(s) exists in the report dataset. (To find the dataset, click on the <em>Developer</em> <em>tab</em> –&gt;<em> XML Mapping Pane</em> –&gt; Choose the right <em>Custom XML part</em> from the drop down). In the word layout, select/click where you want to add the new field (place the cursor in the right place), select the field from the dataset under <em>XML Mapping</em> (Right click on the required <em>field</em> –&gt; <em>Insert Content Control</em> –&gt; <em>Plain text</em>).

After the changes are completed in word layout file, save the file and import it into NAV/Madeira using <em>Import Layout</em> option in <em>Custom Report Layouts</em> Page. After importing, you can run the report to view the changes:

<a href="https://suvidhablogpost.files.wordpress.com/2016/06/capture12.jpg"><img class="alignnone size-full wp-image-553" src="https://suvidhablogpost.files.wordpress.com/2016/06/capture12.jpg?w=676" alt="Capture12" /></a>

Similarly, to create a completely new custom layout, In <em>Custom Report Layouts </em>page, Click on <em>New–&gt; Insert Word Layout=No –&gt; OK. </em>This opens a blank word document. Click on <em>Developer</em> tab –&gt; <em>XML Mapping Pane </em>to access the fields in the report dataset. With this, you will be able to create a new layout and place the fields where you need it.

More details on <strong>Adding Fields to a Word Report Layout </strong>at: <a href="https://msdn.microsoft.com/en-us/library/dn757229(v=nav.90)" rel="nofollow"><span style="color: #e7cf9c">https://msdn.microsoft.com/en-us/library/dn757229(v=nav.90)</span></a>.aspx

Thank you.]]></content:encoded>
    </item>
    <item>
      <title>Connecting Dynamics NAV 2013/2015 to the NAV content pack in PowerBI.com</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/connecting-dynamics-nav-20132015-to-the-nav-content-pack-in-powerbi-com</link>
      <pubDate>Sun, 21 Feb 2016 21:11:03 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/2016/02/21/connecting-dynamics-nav-20132015-to-the-nav-content-pack-in-powerbi-com/</guid>
      <description><![CDATA[PowerBI.com has a Dynamics NAV content pack which connects to Dynamics NAV 2016 out of the box....]]></description>
      <content:encoded><![CDATA[<p>PowerBI.com has a Dynamics NAV content pack which connects to Dynamics NAV 2016 out of the box. I&rsquo;ve discussed about it <a href="https://suvidhablogpost.wordpress.com/2015/10/13/microsoft-dynamics-nav-with-powerbi-com/">here</a>.</p>
<p>Customers using NAV 2013 or NAV 2015 can also connect to this NAV Content pack in <a href="https://www.powerbi.com/">powerbi.com</a>.</p>
<p>Power BI expects NAV to expose certain web services, irrespective of the NAV version. The required web services are shown in the following picture (NAV 2016 Web Services Page).</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2016/02/capture1.png" rel="attachment wp-att-515"><img class="alignnone size-full wp-image-515" src="https://suvidhablogpost.files.wordpress.com/2016/02/capture1.png?w=676" alt="Capture1" /></a></p>
<p>Let&rsquo;s consider NAV 2013 installed on premise where authentication is based on windows logins. we&rsquo;ll connect NAV 2013 to Power BI content pack.</p>
<p><strong>Step 1:</strong> In NAV 2013 version, we have to make sure all of the required objects are available.</p>
<ul>
<li>The required Page objects&nbsp;(Page: 197 &ndash; Account Schedule KPI Web Service and 42 &ndash; Sales Order) are available in NAV 2013 out of the box.</li>
<li>We require 6 Query objects (numbered 100 to 105 in NAV 2016).&nbsp;You can create these queries manually or import the query objects&nbsp;that I&rsquo;ve uploaded&nbsp;<a href="https://1drv.ms/1SuOVEt"><strong>here</strong></a>. The newly created/imported queries are now with ID: 50000 to 50005.</li>
</ul>
<p><strong>Step 2:</strong> Expose these objects as OData web services in NAV 2013. Open the Web services page and publish these objects as web services. It is <strong>very important</strong> here to provide the service name exactly like in NAV 2016 (refer to the service name in the above picture. <strong>Even the case has to match exactly</strong>!).</p>
<p><strong>Step 3:</strong> Make sure the OData web service is enabled in the NAV 2013 Admin console.</p>
<p><strong>Step 4:</strong> Sign in to <a href="https://www.powerbi.com/" rel="nofollow">https://www.powerbi.com</a></p>
<p><strong>Step 5:</strong> [This step is required when NAV is using windows authentication]</p>
<ul>
<li>In Powerbi.com, click on download button which is available on right top. Download and install the Power BI Gateway on NAV server.</li>
<li><a href="https://suvidhablogpost.files.wordpress.com/2016/02/capture2.png" rel="attachment wp-att-521"><img class="alignnone size-full wp-image-521" src="https://suvidhablogpost.files.wordpress.com/2016/02/capture2.png?w=676&amp;h=326" alt="Capture2" width="676" height="326" /></a></li>
<li>Run/launch the Power BI gateway and&nbsp;sign in&nbsp;to powerbi.com when prompted. Next, Enter your Windows user name and password and click on Next. This should start the gateway.</li>
<li><a href="https://suvidhablogpost.files.wordpress.com/2016/02/capture3.png" rel="attachment wp-att-522"><img class="alignnone size-full wp-image-522" src="https://suvidhablogpost.files.wordpress.com/2016/02/capture3.png?w=676" alt="Capture3" /></a></li>
<li>Click on finish to close the gateway window.</li>
</ul>
<p><strong>Step 6:</strong> In Powerbi.com, click on <strong><em>Get Data</em> </strong>at left bottom &ndash;&gt;&nbsp;Click on <em><strong>Get</strong></em> button under <em><strong>Services&nbsp;</strong></em>&ndash;&gt; choose <em><strong>Microsoft Dynamics NAV</strong> </em>from the list of services &ndash;&gt; Click on <em><strong>Connect</strong></em></p>
<p><strong>Step 7:</strong> Enter the OData URL (http[s]://navserver:Odataport/instance/OData/(&lsquo;company&rsquo;)), Select the authentication method&nbsp;(Select windows if NAV is using windows authentication)&nbsp;and click on Sign in.</p>
<p>Your Dataset, Reports and Dashboard is&nbsp;now ready!</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2016/02/capture5.png" rel="attachment wp-att-523"><img class="alignnone size-full wp-image-523" src="https://suvidhablogpost.files.wordpress.com/2016/02/capture5.png?w=676&amp;h=357" alt="Capture5" width="676" height="357" /></a></p>
<p>Thank you <span class="wp-smiley wp-emoji wp-emoji-smile" title=":)">:)</span></p>]]></content:encoded>
    </item>
    <item>
      <title>NAV Perpetual Licensing – More Limited User Included Tables</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/nav-perpetual-licensing-more-limited-user-included-tables</link>
      <pubDate>Thu, 14 Jan 2016 22:55:38 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/2016/01/14/nav-perpetual-licensing-more-limited-user-included-tables/</guid>
      <description><![CDATA[With the release of Microsoft Dynamics NAV 2016, the limited users in NAV can now do more than...]]></description>
      <content:encoded><![CDATA[<p>With the release of Microsoft Dynamics NAV 2016, the limited users in NAV can now do more than before!</p>
<p>Download the Licensing guide for Microsoft Dynamics NAV 2016&nbsp;<a href="https://mbs.microsoft.com/files/partner/NAV/Deployment/Documentation/Userguides/NAV2016LicensingGuide.pdf">here</a>.</p>
<p>&nbsp;The Limited users&nbsp;have restricted access to the ERP Solution to complete only the following tasks: </p>
<ul>
<li>&ldquo;Read&rdquo; access to any data contained in the ERP solution; and </li>
<li>&ldquo;Write&rdquo; access to a maximum of 3 table objects with the following exceptions: 
<ul>
<li>Limited users are not authorized to write directly or indirectly to the following tables: General Ledger Entry (table number 17), Permission Set (table number 2000000004), Permission (table number 2000000005) or Access Control (table number 2000000053); and </li>
<li>Tables described in <strong>Appendix A: Limited User Included Tables</strong> do not count towards the 3 table objects.</li>
</ul>
</li>
</ul>
<p>However, with NAV 2016, more tables are added to the list of&nbsp;<strong>Limited User Included Tables</strong>! Please have a look at the <strong>Appendix A: Limited User Included Tables</strong>&nbsp;in the licensing guide to see the list of tables.</p>
<p>The <strong>good news</strong> is, these Limited user included tables are not version specific and hence, these tables are&nbsp;also valid for older versions &ndash; NAV 2013 and NAV 2015!</p>
<p>If you/your customer is using NAV 2013/2015, do refresh the license key (Download freshly)&nbsp;from <a href="https://businesscenter.mbs.microsoft.com/">PartnerSource Business Center</a> to enjoy the benefit :)</p>]]></content:encoded>
    </item>
    <item>
      <title>Integrating Dynamics NAV 2016 with CRM Online</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/integrating-dynamics-nav-2016-with-crm-online</link>
      <pubDate>Mon, 21 Dec 2015 01:15:00 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/2015/12/21/integrating-dynamics-nav-2016-with-crm-online/</guid>
      <description><![CDATA[In this post I would like to explain the initial setup required and steps for integrating Dynamics...]]></description>
      <content:encoded><![CDATA[<p>In this post I would like to explain the initial setup required and steps for integrating Dynamics NAV 2016 and CRM Online. This enables you to integrate and synchronize data in Microsoft Dynamics CRM entities such as accounts, contacts, and products, with equivalent record types in Microsoft Dynamics NAV such as customers, contacts, and items, respectively.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap14.png" rel="attachment wp-att-503"><img class="alignnone size-full wp-image-503" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap14.png?w=676" alt="NAV 2016 and CRM integration" /></a></p>
<p>Dynamics NAV 2016 has a default integration setup which can be used to enable this integration. NAV 2016 includes new objects to support this integration.</p>
<p><span style="text-decoration: underline;"><strong>Setup:</strong></span></p>
<p>To start with the integration, we&nbsp;need access to&nbsp;NAV 2016 and CRM online. I will be using the NAV 2016 W1 version with Cronus Database and CRM online with demo data.</p>
<p><strong>Step 1:</strong> This step is optional but, I would&nbsp;recommend this step as it adds more features to this integration ( and because this step is pretty&nbsp;simple :))</p>
<p>we need to&nbsp;import NAV solution into CRM online.&nbsp;Within CRM, click on <em>&nbsp;Settings&ndash;&gt; Solutions</em></p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap1.png" rel="attachment wp-att-467"><img class="alignnone size-full wp-image-467" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap1.png?w=676&amp;h=327" alt="solutions" width="676" height="327" /></a></p>
<p>Next,&nbsp;in the window that opens, click on <em>Import&ndash;&gt; Browse</em>. In the browse window, find the <em>DynamicsNAVIntegrationSolution</em> file. This is located in the <em>NAV DVD&ndash;&gt; CRMCustomization</em> folder. After this import is done, you will be able to see the solution as shown below:</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap2.png" rel="attachment wp-att-468"><img class="alignnone size-full wp-image-468" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap2.png?w=676&amp;h=187" alt="NAV Integration Solution" width="676" height="187" /></a></p>
<p><strong>Step 2:</strong> In CRM, create a user for this integration. (I have created user: <em>NavInt@navcrm001.onmicrosoft.com)</em> Assign System administrator role for this user in CRM. You can access users&nbsp;in CRM under <em>Settings&ndash;&gt;&nbsp;Security&ndash;&gt; Users </em>and you can assign roles to the users by clicking on <em>Manage Roles.</em></p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap3.png" rel="attachment wp-att-469"><img class="alignnone wp-image-469 size-full" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap3.png?w=676&amp;h=274" alt="users in CRM" width="676" height="274" /></a></p>
<p><strong>Step 3:</strong> Login to NAV 2016 with the user ID which we can use for this integration. In my case I login as <em>FAREAST\test</em>&nbsp;user and the authentication email of this user has to&nbsp;match the email address of&nbsp;the NAV integration user&nbsp;in CRM.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap4.png" rel="attachment wp-att-472"><img class="alignnone size-full wp-image-472" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap4.png?w=676&amp;h=573" alt="user in NAV" width="676" height="573" /></a></p>
<p><strong>Step 4: </strong>In NAV windows client, open <em>Microsoft Dynamics CRM Connection Setup</em> page and fill in the details for <em>Dynamics CRM URL, User Name and Password. </em>Next click on <em>Enabled</em> to enable the connection between NAV and CRM.</p>
<p>Additionally, enter or enable the remaining values as shown below:</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap5.png" rel="attachment wp-att-473"><img class="alignnone size-full wp-image-473" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap5.png?w=676&amp;h=356" alt="connection setup" width="676" height="356" /></a></p>
<p>Click on <em>Test Connection</em>&nbsp;to test this connection. This completes the connection setup.</p>
<p><span style="text-decoration: underline;"><strong>Tables Mapping:</strong></span></p>
<p>&nbsp;</p>
<p>Click on <em>Integration Table Mappings </em>to see the tables mapping available by default. Here the NAV tables are mapped to CRM entities.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap9.png" rel="attachment wp-att-481"><img class="alignnone size-full wp-image-481" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap9.png?w=676&amp;h=219" alt="Integration mappings" width="676" height="219" /></a></p>
<p>In the <em>Integration table mapping </em>page, <span style="text-decoration: underline;">you can specify if you want to synchronize the data for all the modified records or only coupled records. </span>You can do this using <em>Sync Only Coupled Records</em> field here. If the <em>Sync Only Coupled Records</em>&nbsp;<em>= TRUE</em> then, records have to be coupled before synchronizing. If <em>Sync Only Coupled Records</em>&nbsp;<em>= FALSE, </em>all the modified records will be automatically created and synched between these 2 products.</p>
<p>I&nbsp;my case&nbsp;<em>Sync Only Coupled Records</em>&nbsp; is set to<em>&nbsp;TRUE .</em></p>
<p><span style="text-decoration: underline;"><strong>Coupling the CRM users with NAV Sales People:</strong></span></p>
<p>It is important to&nbsp;map the <strong>NAV Salespeople</strong> with <strong>CRM Users</strong> first. Hence, all the sales people in NAV (at least the active ones) need to be users in CRM. They can also have Salesperson role assigned in CRM.</p>
<p>Hence, I have 2 salespeople in NAV who have sales documents in their name and for these 2 salespeople, I will create user logins for CRM and assign Salesperson role for both.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap6.png" rel="attachment wp-att-475"><img class="alignnone wp-image-475 size-large" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap6.png?w=676&amp;h=206" alt="salespople logins" width="676" height="206" /></a></p>
<p>These salespeople records have to be coupled. The coupling of records can be done in NAV.</p>
<p>Open the Salespeople page in NAV and you should be able to see <em>Dynamics CRM</em> section under <em>Navigate</em> Tab (If you don&rsquo;t see this, you can add it to the ribbon by customizing the page ribbon).</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap7.png" rel="attachment wp-att-476"><img class="alignnone size-full wp-image-476" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap7.png?w=676" alt="salespeople page" /></a></p>
<p>we need to couple the sales people with the users in CRM.</p>
<p>Select the line for John Roberts in NAV Salespeople page, click on <em>Coupling &ndash;&gt; Setup Coupling. </em>A small window opens where you can choose the user from CRM to couple with the current salesperson in NAV.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap8.png" rel="attachment wp-att-478"><img class="alignnone size-full wp-image-478" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap8.png?w=676&amp;h=321" alt="SP Coupling" width="676" height="321" /></a></p>
<p>Similarly, set up coupling for Peter Saddow as well. This completes coupling of salespeople.</p>
<p><span style="text-decoration: underline;"><strong>Mapping and Synchronizing Customer data:</strong></span></p>
<p>Next we&rsquo;ll look at&nbsp;NAV Customers and&nbsp; CRM Accounts mapping.</p>
<p>For example, Open a customer card for C<em>ustomer No. </em>10000 (The Cannon Group PLC) in NAV 2016. You can click on <em>Coupling &ndash;&gt;Set up Coupling. </em>If the&nbsp;same account&nbsp;already exists in CRM, you can couple it by selecting the Account dropdown. Otherwise, you can&nbsp;select&nbsp;<em>Create new Account </em>and click on<em> OK&nbsp;</em>which will create a new account in CRM&nbsp;using the&nbsp;details in NAV. Now, this customer record is coupled with an Account in CRM.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap10.png" rel="attachment wp-att-484"><img class="alignnone size-full wp-image-484" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap10.png?w=676&amp;h=408" alt="customer account coupling" width="676" height="408" /></a></p>
<p>Select the coupled customer record and click on <em>Account</em> to open the CRM account:</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap12.png" rel="attachment wp-att-486"><img class="alignnone size-full wp-image-486" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap12.png?w=676&amp;h=764" alt="cap12" width="676" height="764" /></a></p>
<p>This can be done vice versa as well. In CRM, you can find Dynamics NAV button as shown above to open the customer card&nbsp;in NAV. This opens the customer card in NAV web client.</p>
<p>With this, any changes made to this customer in NAV will also reflect in CRM when synchronized.</p>
<p>let&rsquo;s update the <em>Phone No. </em>of customer <em>Cannon Group </em>in NAV and click on <em>Synchronize Now. </em>You need to choose the option <em>Send Data Update to Dynamics CRM </em>and click on<em> OK. </em>With this, you should be able to see the Phone No. updated in CRM account as well.</p>
<p>Similarly all the other NAV tables and entities can be coupled and synchronized.</p>
<p><span style="text-decoration: underline;"><strong>Scheduling Synchronization of Data:</strong></span></p>
<p>The synchronization between CRM entities and NAV tables can be scheduled using Job Queues. In NAV, open <em>Microsoft Dynamics NAV Connection Setup </em>page and click on<em> Synch. Job Queue Entries. </em>Here, you can schedule the synch. jobs to run periodically.</p>
<p><a href="https://suvidhablogpost.files.wordpress.com/2015/12/cap13.png" rel="attachment wp-att-493"><img class="alignnone size-full wp-image-493" src="https://suvidhablogpost.files.wordpress.com/2015/12/cap13.png?w=676&amp;h=241" alt="Synch Jobs" width="676" height="241" /></a></p>
<p>There is much more to this integration and you can find&nbsp;more details at: <a href="https://msdn.microsoft.com/en-us/library/mt574380(v=nav.90)" rel="nofollow">https://msdn.microsoft.com/en-us/library/mt574380(v=nav.90)</a>.aspx</p>
<p>Hope this was helpful! Feel free to leave your comments. Thanks <span class="wp-smiley wp-emoji wp-emoji-smile" title=":)">:)</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Dynamics NAV – Application Code Upgrade</title>
      <link>https://docs.microsoft.com/archive/blogs/suvidha/dynamics-nav-application-code-upgrade</link>
      <pubDate>Wed, 20 May 2015 03:18:31 GMT</pubDate>
      <dc:creator><![CDATA[Suvidha Shashikumar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/suvidha/2015/05/20/dynamics-nav-application-code-upgrade/</guid>
      <description><![CDATA[Microsoft introduced a new feature called Application Merge Utilities (AMU) with Microsoft Dynamics...]]></description>
      <content:encoded><![CDATA[<p>Microsoft introduced a new feature called <strong>Application Merge Utilities (AMU) </strong>with Microsoft Dynamics NAV 2015, which help partners upgrade their custom solution (application code and metadata) from one version to another, or from one cumulative update to another.</p>
<p><strong>Why?</strong></p>
<p>Microsoft&nbsp;plans to&nbsp;release new versions of Microsoft Dynamics NAV&nbsp;every 12 months and in addition, Microsoft&nbsp;will be releasing cumulative updates&nbsp;every month. Applying these updates to your existing NAV database or upgrading&nbsp;to newer version&nbsp;often results&nbsp;in&nbsp;conflicts that can be difficult to manage!</p>
<p>&nbsp;</p>
<p><strong>Example:</strong></p>
<p>Lets consider&nbsp;that the&nbsp;base/original version of NAV 2013&nbsp; has a table&nbsp;(ID: 777) with fields: <em>ID, Name and&nbsp;Phone Number. </em>Assume the NAV customer requests for customization on this table to store the name as First name and last name separately.&nbsp;Hence, This base version table will be customized/modified as per the business requirement with following fields&nbsp;<em>ID, <span style="text-decoration: underline;">First Name, Last Name</span> and Phone Number. </em>Now,<em> i</em>f a cumulative update or newer version of Dynamics NAV is released with an additional field in this table: <em>ID, Name, Email ID&nbsp;and&nbsp;Phone Number</em>, there will be a conflict and a 3 way merge needs to be done.</p>
<p>&nbsp;</p>
<p><img src="https://suvidhablogpost.files.wordpress.com/2015/05/capture-1.png" alt="" /></p>
<p>&nbsp;</p>
<p><strong>Application Merge Utilities</strong> makes this merge process very simple!</p>
<p>In the following video, I have tried to show how to perform application code upgrade of&nbsp;lightly customized Microsoft Dynamics NAV 2013 database to Microsoft Dynamics NAV 2015 using Compare and Update PowerShell commands shipped with Microsoft Dynamics NAV 2015.</p>
<p><a href="https://www.youtube.com/watch?v=FOf6vs3exug">https://www.youtube.com/watch?v=FOf6vs3exug</a></p>
<p>&nbsp;</p>
<p>Some of the benefits of using this method includes:</p>
<ol>
<li>No dependencies on Dynamics NAV Servers or Databases. Operates on&nbsp;TXT files directly.</li>
<li>Can be used across versions, and is backwards compatible with C/SIDE</li>
<li>Additional capabilities availble&nbsp;to manage languages and captions, and to split/join TXT files</li>
</ol>
<p>&nbsp;</p>
<p>More detailed videos on this topic:</p>
<p><a id="LinkListSectionGroup_14141_105" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904576" target="_blank">How Do I: Get Started with Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_110" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904593" target="_blank">How Do I: Use the Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_45" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn889757" target="_blank">How Do I: Application Merge Utilities &ndash; Compare Application Objects</a></p>
<p><a id="LinkListSectionGroup_14141_44" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn889756" target="_blank">How Do I: Application Merge Utilities &ndash; Update Application Objects</a></p>
<p><a id="LinkListSectionGroup_14141_129" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn921909" target="_blank">How Do I: Compare and Merge Objects Using PowerShell in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_106" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904577" target="_blank">How Do I: Handle Captions and Translation Files Using Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_107" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904579" target="_blank">How Do I: Handle Documentation Trigger Conflicts Using Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_103" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904571" target="_blank">How Do I: Compare Microsoft Dynamics NAV Application Objects Using Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_108" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904584" target="_blank">How Do I: Merge Version Lists Using the Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p><a id="LinkListSectionGroup_14141_109" href="https://msdn.microsoft.com/en-us/dynamics/nav/dn904591" target="_blank">How Do I: Update Microsoft Dynamics NAV Application Objects Using Application Merge Utilities in Microsoft Dynamics NAV 2015</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>