<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>knowledge Archives - Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</title>
	<atom:link href="https://navsupports.com/category/knowledge/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Microsoft Dynamics NAV &#124; Business Central</description>
	<lastBuildDate>Wed, 21 Nov 2018 07:53:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>

<image>
	<url>https://navsupports.com/wp-content/uploads/2018/11/cropped-fav-1-32x32.png</url>
	<title>knowledge Archives - Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PageNumber &#038; TotalPages in Dynamics NAV Report Layout</title>
		<link>https://navsupports.com/pagenumber-totalpages-dynamics-nav-report-layout/</link>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Sun, 11 Nov 2018 19:33:55 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=185</guid>

					<description><![CDATA[<p>Have you ever struggled how to get page number &#38; total pages in body section ? Here is the solution</p>
<p>The post <a href="https://navsupports.com/pagenumber-totalpages-dynamics-nav-report-layout/">PageNumber &#038; TotalPages in Dynamics NAV Report Layout</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>Have you ever struggled how to get page number &amp; total pages in body section ?</h3>
<p>Here is the solution that  might help for you. We can implement this by introducing new two functions in RDLC. Then you need to call these functions in the body area.</p>
<p>See the screen-shot bellow to get an idea.</p>
<figure id="attachment_186" aria-describedby="caption-attachment-186" style="width: 300px" class="wp-caption alignnone"><img fetchpriority="high" decoding="async" class="wp-image-186 size-medium" src="http://navsupports.com/wp-content/uploads/2018/11/RDLC-Functions-300x236.png" alt="page number in body of the report in navision" width="300" height="236" srcset="https://navsupports.com/wp-content/uploads/2018/11/RDLC-Functions-300x236.png 300w, https://navsupports.com/wp-content/uploads/2018/11/RDLC-Functions.png 666w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-186" class="wp-caption-text">Snap.01</figcaption></figure>
<p>Use bellow functions for PageNumber &amp; TotalPages. You can call these functions in body section (Code.PageNumber() or Code.TotalPages()).</p>
<blockquote><p>Public Function PageNumber() as String<br />
Return Me.Report.Globals!PageNumber.ToString()<br />
End Function</p>
<p>Public Function TotalPages() as String<br />
Dim str as String<br />
str = Me.Report.Globals!TotalPages.ToString()<br />
Return str<br />
End Function</p>
<p>&nbsp;</p></blockquote>
<p>The post <a href="https://navsupports.com/pagenumber-totalpages-dynamics-nav-report-layout/">PageNumber &#038; TotalPages in Dynamics NAV Report Layout</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>IncludeInDataSet Property Dynamics NAV</title>
		<link>https://navsupports.com/includeindataset-property-dynamics-nav/</link>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Mon, 08 May 2017 17:47:51 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=170</guid>

					<description><![CDATA[<p>Most of the time when you do the developments you need to set boolean variables to properties on selected controls</p>
<p>The post <a href="https://navsupports.com/includeindataset-property-dynamics-nav/">IncludeInDataSet Property Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Most of the time when you do the developments you need to set boolean variables to properties on selected controls in a page. Those controls such as  Editable Property, Enabled Property, Visible Property, or StyleExpr. IncludeInDataSet Property Dynamics NAV will allow you to do your customizations without any runtime errors.</p>
<p>Let&#8217;s take an example and see. I need to enable true / false when page load or when do validation in a field. Suppose, when I enter Customer Name in Customer Card in Dynamics NAV, I need to enable few selected fields. So you can simply create few boolean variables as globule variables, Then you can assign it to Visible / Enable property in selected control (Page Level). But when you run the page you will get runtime error.</p>
<p>Microsoft Dynamics NAV<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>The identifier &#8216;ShowVisibleBool&#8217; could not be found.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
OK<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Anyway you might get this error or not as per the version that you are working. But keep in your mind if you get this kind of error what would be the solution. Solution is go to your boolean type variable, Then select Properties, You will find IncludeInDataSet property. By default it is &lt;No&gt; , But you have to turn it &#8216;Yes&#8217;.</p>
<p>Below guidelines as per the Microsoft MSDN</p>
<p>Sets whether the C/AL variable&#8217;s value is included in the dataset of the RoleTailored client.</p>
<div><strong><a class="LW_CollapsibleArea_TitleAhref" title=""><span class="LW_CollapsibleArea_Title">Applies To </span></a></strong>C/AL variables of Boolean Data Type or Integer Data Type on pages.</div>
<div>
<div><a class="LW_CollapsibleArea_TitleAhref" title=""><span class="LW_CollapsibleArea_Title">Property Value </span></a><strong>Yes</strong> to include the variable&#8217;s value in the dataset; otherwise, <strong>No</strong>. The default is <strong>No</strong>.</div>
</div>
<div>
<div id="Anchor_2" class="LW_CollapsibleArea_Anchor_Div">You must set this property to <strong>Yes</strong> if the variable is used as the value of the Editable Property, Enabled Property, Visible Property, or StyleExpr Property.</div>
</div>
<p>Bellow picture shows you guide for the property.</p>
<p><img decoding="async" class="alignnone" src="https://community.dynamics.com/cfs-file/__key/communityserver-discussions-components-files/34/6644.Capture.JPG" alt="IncludeInDataSet property dynamics nav" width="737" height="519" /></p>
<p>The post <a href="https://navsupports.com/includeindataset-property-dynamics-nav/">IncludeInDataSet Property Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google I/O Extended Sri Lanka Open for Registration 2017</title>
		<link>https://navsupports.com/google-io-extended-sri-lanka-open-registration-2017/</link>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Mon, 17 Apr 2017 19:10:46 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=164</guid>

					<description><![CDATA[<p>&#8220;Google I/O Extended Sri Lanka Open for Registration 2017&#8221;. Google I/O is the search giant’s annual developer conference. Every year,</p>
<p>The post <a href="https://navsupports.com/google-io-extended-sri-lanka-open-registration-2017/">Google I/O Extended Sri Lanka Open for Registration 2017</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="size-medium wp-image-165 alignleft" src="http://navsupports.com/wp-content/uploads/2017/04/GoogleIO_1-730x485-300x199.jpg" alt="" width="300" height="199" srcset="https://navsupports.com/wp-content/uploads/2017/04/GoogleIO_1-730x485-300x199.jpg 300w, https://navsupports.com/wp-content/uploads/2017/04/GoogleIO_1-730x485.jpg 730w" sizes="(max-width: 300px) 100vw, 300px" /> <img loading="lazy" decoding="async" class="size-medium wp-image-166 aligncenter" src="http://navsupports.com/wp-content/uploads/2017/04/GoogleIO_9-730x486-300x200.jpg" alt="" width="300" height="200" srcset="https://navsupports.com/wp-content/uploads/2017/04/GoogleIO_9-730x486-300x200.jpg 300w, https://navsupports.com/wp-content/uploads/2017/04/GoogleIO_9-730x486.jpg 730w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>&#8220;Google I/O Extended Sri Lanka Open for Registration 2017&#8221;. Google I/O is the search giant’s annual developer conference. Every year, Google organizes this event to release their tech advancements to the world. Google encourages everyone around the world to live stream this event to their home neighborhoods. Last year, the live stream done by Dialog and GDG Sri Lanka was highlighted by Google CEO during his keynote speech for being the largest event outside the US. This year as well, GDG Sri Lanka has joined hands with Sri Lanka’s premier telecommunications operator Dialog Axiata with partners SLASSCOM, Derana media and RSVP.LK to deliver you a unique tech experience. Register with us and await your invitations.</p>
<p>For the registration : http://io.rsvp.lk/gdgsrilanka/google-io-2017-sri-lanka/</p>
<p>Or Click  <a href="http://io.rsvp.lk/gdgsrilanka/google-io-2017-sri-lanka/"> here</a></p>
<p>The post <a href="https://navsupports.com/google-io-extended-sri-lanka-open-registration-2017/">Google I/O Extended Sri Lanka Open for Registration 2017</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Dynamics NAV Error Handling using Try Function</title>
		<link>https://navsupports.com/dynamics-nav-error-handling-using-try-function/</link>
					<comments>https://navsupports.com/dynamics-nav-error-handling-using-try-function/#comments</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Tue, 24 Jan 2017 16:40:35 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Dynamics NAV 2016]]></category>
		<category><![CDATA[Dynamics NAV Try Function]]></category>
		<category><![CDATA[Error Handling]]></category>
		<category><![CDATA[NAV Try Catch]]></category>
		<category><![CDATA[Try Catch]]></category>
		<category><![CDATA[Try Function]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=138</guid>

					<description><![CDATA[<p>Try Function Dynamics NAV 2016 Today I am going to share very interesting topics on Dynamics NAV 2016. Since year 2012</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-error-handling-using-try-function/">Dynamics NAV Error Handling using Try Function</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="heading" style="text-align: left;">Try Function Dynamics NAV 2016</h2>
<p>Today I am going to share very interesting topics on Dynamics NAV 2016. Since year 2012 I am looking try catch function in Dynamics NAV, I am sure all of Dynamics NAV developers are seeking same function in Dynamics NAV. I notice in Navision 2016 has introduced Try Function to handle errors. Let&#8217;s discuss Dynamics NAV error handling using Try Function.</p>
<p>Try functions in C/AL let you to handle errors that occur in the application during code execution. For instance, with try functions, you can provide user-friendly error messages to the end user than the ugly system messages. You can use try functions to catch exceptions that are thrown by  Dynamics NAV</p>
<p>Important thing you need to be remembered. It does requires that write transactions are committed to the database.</p>
<h2 class="heading">Try Function Behavior and Usage</h2>
<p>Before start you should read NAV Design Patterns Try Function article in MSDN.</p>
<p>To explain this Try Function I will create new codeunit. Create a function called AddCustomer. Parameters should be CustomerNo and CustomerName. CustomerCode should be Code type variable and CustomerName should be Text type variable. Also you need to enable <strong>TryFucntion</strong> <strong>Yes. </strong> Using simple steps you can enable it. Go to properties of <strong>AddCustomer</strong> function then you will find the <strong>TryFunction</strong> property.</p>
<p>After that you need to write few code inside the AddCustomer function and On Run trigger. Let&#8217;s have a look.</p>
<p>LOCAL [TryFunction] AddCustomer(CustomerNo : Code[30];CustomerName : Text[50])<br />
Customer.INIT;<br />
Customer.&#8221;No.&#8221; := CustomerNo;<br />
Customer.Name := CustomerName;<br />
Customer.INSERT;</p>
<p>On Run trigger you can call the AddCustomer function.</p>
<p>OnRun()<br />
//Call AddCustomer Function<br />
CLEARLASTERROR;<br />
IF AddCustomer(&#8216;C02511&#8242;,&#8217;Try Customer Name&#8217;) THEN<br />
MESSAGE(&#8216;Submitted&#8217;)<br />
ELSE<br />
MESSAGE(&#8216;AddCustomer Function has return&#8217; + GETLASTERRORCODE,GETLASTERRORTEXT);</p>
<p>When you run your codeunit. You will get your first message which is Submitted. All fine. When you run it again you will get proper message. Which is AddCustomer Function has return ERROR The Customer already exists. Identification fields and values: No.=&#8217;C02511&#8242; &#8211; DB:RecordExists</p>
<p>Obiously you will get some confusions and you might get some questions. Hope you will post your queries and comments.</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-error-handling-using-try-function/">Dynamics NAV Error Handling using Try Function</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/dynamics-nav-error-handling-using-try-function/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Access Text box value in (Report Builder and SSRS) using ReportItems</title>
		<link>https://navsupports.com/access-text-box-value-report-builder-ssrs-using-reportitems/</link>
					<comments>https://navsupports.com/access-text-box-value-report-builder-ssrs-using-reportitems/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Mon, 23 Jan 2017 15:38:24 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Access Text box value in (Report Builder and SSRS) using ReportItems]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Dynamics NAV 2013R2]]></category>
		<category><![CDATA[Dynamics NAV 2016]]></category>
		<category><![CDATA[IIF]]></category>
		<category><![CDATA[ReportItems]]></category>
		<category><![CDATA[SSRS]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=134</guid>

					<description><![CDATA[<p>Today I am going to share little bit important lesson. But I will hope you have already know this. Most</p>
<p>The post <a href="https://navsupports.com/access-text-box-value-report-builder-ssrs-using-reportitems/">Access Text box value in (Report Builder and SSRS) using ReportItems</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today I am going to share little bit important lesson. But I will hope you have already know this. Most of the times you might be required to access another text box value in Dynamics NAV report layout. For instance, Some times, developers want to show total on the top of the report, Like Total Invoice Value. Also in the body you have calculated the line wise value and you have the total with you. But you cannot show it at the beginning. Now you might be seeking a solution.</p>
<p>You may wondering there is a in built function called ReportItems. Simple and  straightforward. The <strong>ReportItems</strong>  includes text boxes that are in the current scope of a page header, footer, or body. This will identify at run time by the report processor/report render.</p>
<p>You may find good example in Microsoft (MSDN) website. So same example I will show here.</p>
<ul>
<li>
<p style="text-align: left;">This expression, placed in a text box, displays the value of a <strong>ReportItem</strong> text box named <code>Textbox1</code>:</p>
<p style="text-align: left;"><code>=ReportItems!Textbox1.Value</code></p>
</li>
<li style="text-align: left;">This expression, placed in a <strong>ReportItem</strong> text box Color property, displays the text in black when the value is &gt; 0; otherwise, the value is displayed in red:<code>=IIF(Me.Value &gt; 0,"Black","Red")</code></li>
<li>
<p style="text-align: left;">This expression, placed in a text box in the page header or page footer, displays the first value per page of the rendered report, for a text box named <code>LastName</code>:</p>
<p style="text-align: left;"><code>=First(ReportItems("LastName").Value)</code></p>
<p>Simply use ReportItems then use the textbox value.</li>
</ul>
<p>The post <a href="https://navsupports.com/access-text-box-value-report-builder-ssrs-using-reportitems/">Access Text box value in (Report Builder and SSRS) using ReportItems</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/access-text-box-value-report-builder-ssrs-using-reportitems/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Download Dynamics NAV  Android Apps on Google Play</title>
		<link>https://navsupports.com/download-dynamics-nav-android-apps-on-google-play/</link>
					<comments>https://navsupports.com/download-dynamics-nav-android-apps-on-google-play/#comments</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Mon, 16 Jan 2017 15:29:57 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Android App on Google play]]></category>
		<category><![CDATA[Dynamics ERP]]></category>
		<category><![CDATA[Dynamics NAV 2016]]></category>
		<category><![CDATA[Global ERP Solution]]></category>
		<category><![CDATA[Microsoft Dynamics NAV 2016]]></category>
		<category><![CDATA[Navision 2016]]></category>
		<category><![CDATA[Navision ERP 2016]]></category>
		<category><![CDATA[Universal app]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=122</guid>

					<description><![CDATA[<p>With Microsoft Dynamics NAV 2016 you will get your favorite Role Tailor Dynamics NAV feature on Android tablets and Android</p>
<p>The post <a href="https://navsupports.com/download-dynamics-nav-android-apps-on-google-play/">Download Dynamics NAV  Android Apps on Google Play</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-124 size-medium" src="http://navsupports.com/wp-content/uploads/2017/01/VAPp-300x251.jpg" alt="download dynamics nav android apps on google play" width="300" height="251" srcset="https://navsupports.com/wp-content/uploads/2017/01/VAPp-300x251.jpg 300w, https://navsupports.com/wp-content/uploads/2017/01/VAPp.jpg 657w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>With <strong>Microsoft Dynamics NAV 2016</strong> you will get your favorite Role Tailor Dynamics NAV feature on <strong>Android tablets and Android phones</strong>.It is fresh and modern interface designed for mobile devices</p>
<p><strong>Navision 2016</strong>  is a global business solution that simplify their supply chain, manufacturing, and operations. It is quick to implement and easy to use. Please refer my previous article for<strong> <a href="http://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/">Microsoft Dynamics NAV 2016 feature</a>.</strong></p>
<p>Make your decision anywhere , anytime with latest technology. Microsoft Dynamics NAV 2016 Android application will increase your productivity, efficiency and employees will motivate.</p>
<p>for  tablets, it requires access to Microsoft Dynamics NAV 2015 or later version. For phones, it requires access to Microsoft Dynamics NAV 2016 or later. Noted it Requires Android 4.4.3 or later.<br />
Dynamics NAV has announced  with the release of Android 7, they will be discontinuing support for Android 4 in an upcoming update during early 2017.</p>
<p>Features<br />
• Android App manage your finances, customers, vendors, inventory.<br />
• Anywhere , Anytime you can approve or send documents for approval.<br />
• You can get an overview of your business in the Home screen within few seconds.<br />
• you can use your device camera to upload pictures. Example : Item picture</p>
<p>For your understanding please watch bellow video.</p>
<div><iframe loading="lazy" src="https://www.youtube.com/embed/1E00J-VVFL4" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
<div>Just a simple click you can explore your whole business withing few seconds. It is simple and flexible.</div>
<div></div>
<div>
<h1>So Let&#8217;s get started</h1>
<p>Download and install Dynamics NAV. I will share more information how to install and configure Dynamics NAV with your own database in my next post.</p>
<p>Sign in using your credentials. App will connect to your Dynamics NAV 2016 server.</p>
<p>Navigate as you wish, you may found your business real time data , notifications, approvals</p>
<p>You can download the Android app from Google app store. It is free and easy to use.</p>
<p>Please comment and send your questions. I will reply and help you on Dynamics NAV 2016 Android app installation and configuration with you own Dynamics NAV database.</p>
</div>
<p>The post <a href="https://navsupports.com/download-dynamics-nav-android-apps-on-google-play/">Download Dynamics NAV  Android Apps on Google Play</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/download-dynamics-nav-android-apps-on-google-play/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>What&#8217;s New &#8211; Application Changes for Microsoft Dynamics NAV 2016</title>
		<link>https://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/</link>
					<comments>https://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Sun, 15 Jan 2017 16:58:15 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Azure SQL]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Dynamics NAV 2016 Overview]]></category>
		<category><![CDATA[Microsoft Dynamics NAV 2016]]></category>
		<category><![CDATA[Navision 2016]]></category>
		<category><![CDATA[Navision 2016 new features]]></category>
		<category><![CDATA[Navision ERP 2016]]></category>
		<category><![CDATA[Power BI]]></category>
		<category><![CDATA[What's New - Application Changes for Microsoft Dynamics NAV 2016]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=109</guid>

					<description><![CDATA[<p>What&#8217;s new on Microsoft Dynamics NAV 2016 Compare to Navision 2015, Microsoft Dynamics NAV 2016 has good features both in</p>
<p>The post <a href="https://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/">What&#8217;s New &#8211; Application Changes for Microsoft Dynamics NAV 2016</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: center;"><strong>What&#8217;s new on Microsoft Dynamics NAV 2016</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-110 size-medium" title="What's New - Application Changes for Microsoft Dynamics NAV 2016" src="http://navsupports.com/wp-content/uploads/2017/01/NAV2016-300x166.png" alt="What's New - Application Changes for Microsoft Dynamics NAV 2016" width="300" height="166" srcset="https://navsupports.com/wp-content/uploads/2017/01/NAV2016-300x166.png 300w, https://navsupports.com/wp-content/uploads/2017/01/NAV2016-768x425.png 768w, https://navsupports.com/wp-content/uploads/2017/01/NAV2016-672x372.png 672w, https://navsupports.com/wp-content/uploads/2017/01/NAV2016.png 937w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Compare to Navision 2015, Microsoft Dynamics NAV 2016 has good features both in Functionality wise and development wise. Navision ERP is business management solution which can be used in middle level organizations to automate their business process. Features wise it is more rich and adaptable. NAV 2016 let companies to manage their business smoothly. Navision 2016 includes Finance, Manufacturing, Sales, Shipping, Project Management, Services and more modules.  Regional wise companies can add related functionalities easily. Let&#8217;s talk <strong>whats new application changes Microsoft dynamics nav 2016</strong>.</p>
<p>Role Tailored interface which is feature of Microsoft Dynamics NAV 2016. It allows easy access to the Business roles. Navision 2016, as a business solution from Microsoft Corporation that is easy to implement, easy to use. Navision 2016 works</p>
<p>With CRM like natively also with Azure SQL. Some good feature has been introduced in to Dynamics NAV 2016 which is Workflow. Power BI, Document Management will be huge turning point of Navision 2016.</p>
<p>Introduced CRM connectivity enable an optimal experience for customers why because it is direct Microsoft Dynamics CRM connection.</p>
<p>Microsoft Dynamics NAV 2016 can be worked natively with Azure SQL.  Navision 2016 can be configured to use Azure SQL as a relational database. It will reduce the cost and reduce the maintenance.</p>
<p>Dynamics NAV 2016 has introduced Universal app for your all devices. Amazing feature which you can use Universal app on your mobile to manipulate your business process anytime, anywhere. Navision 2016 Universal App delivers a familiar role tailored experience.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-111 size-medium" title="What's New - Application Changes for Microsoft Dynamics NAV 2016" src="http://navsupports.com/wp-content/uploads/2017/01/NAVOverwive2016-300x278.jpg" alt="What's New - Application Changes for Microsoft Dynamics NAV 2016" width="300" height="278" srcset="https://navsupports.com/wp-content/uploads/2017/01/NAVOverwive2016-300x278.jpg 300w, https://navsupports.com/wp-content/uploads/2017/01/NAVOverwive2016.jpg 584w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Navision 2016 has significant enhancements of Web Client. As per the Microsoft, Microsoft Dynamics NAV includes over 60 enhancements to the web client.</p>
<p>Some popular features such as cross-column search, collapsible fast tabs, freeze pane, Language selection, Change Company and much more.</p>
<p>Microsoft Dynamics NAV 2016 has Document Management feature which will enable you to manage your incoming documents. You can capture, store and search</p>
<p>&nbsp;</p>
<p>Incoming documents. You can use document capture or an optical character recognition service which available at Lexmark.  Most impressive new feature is work flow. Approvals, Notification services, process automation to execute a process routine and automatically send email will be available with Dynamics NAV 2016 as work-flows.</p>
<div><iframe loading="lazy" src="https://www.youtube.com/embed/4nxUvpPyntY" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
<p>Another worth feature available which is E-Everything.  As an instance, you can get currency exchange rates automatically from an exchange rate service.</p>
<p>Hope you would gained some information about Application Changes for Microsoft Dynamics NAV 2016.</p>
<p>Please refer MSDN for more information</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/">What&#8217;s New &#8211; Application Changes for Microsoft Dynamics NAV 2016</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/whats-new-application-changes-microsoft-dynamics-nav-2016/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Automation Data Type and usage in  Dynamics NAV</title>
		<link>https://navsupports.com/automation-data-type-usage-dynamics-nav/</link>
					<comments>https://navsupports.com/automation-data-type-usage-dynamics-nav/#comments</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Mon, 09 Jan 2017 19:19:14 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=103</guid>

					<description><![CDATA[<p>Hello guys, nowadays we have so many integration with other third party applications. Sometimes you might use your own classes</p>
<p>The post <a href="https://navsupports.com/automation-data-type-usage-dynamics-nav/">Automation Data Type and usage in  Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello guys, nowadays we have so many integration with other third party applications. Sometimes you might use your own classes to get some work done. Here are some important article regarding Automation Data type and its usage in Dynamics NAV.</p>
<p>Let&#8217;e begin with basics, What is Automation data type ? Of course, it is complex data type in dynamics NAV, Also it  uses the Automation data type to reference an automation server. In order to use an automation server in C/SIDE. This kind of things falls under COM technologies. C/SIDE supports COM and it has two ways: using custom controls (OCXs) and as an automation controller.</p>
<p>Please note that we have some limitation when we use COM.</p>
<ul>
<li>Only non-visual controls are supported.A control cannot be used to add graphical elements to a C/SIDE object. For example, you cannot add a third-party control to a form. The control can, however, display information and interact with the user in a window of its own.</li>
</ul>
<p>Let&#8217;s go bit deeper now. Let me create simple C# class to demonstrate how to create automation type object and register it and call inside Dynamics NAV.</p>
<p>I am assuming you are good at C# Programming.</p>
<ul>
<li>Create New Class Library Project (File -&gt; New -&gt;Project-&gt;Class Library)</li>
<li>Name it as AutomationObj</li>
<li>First of all we need to setup some properties</li>
<li>Select Project-&gt;AutomationObj Properties</li>
<li>Application Tab you will find Assemble Information option. Click on it.</li>
<li>You will get new window at the bottom there is check box, <strong>Make assembly  COM- Visible</strong>. <strong>Tick</strong> that</li>
<li>Select Build tab , at the bottom you will see check box called <strong>Register for COM interop. Tick</strong> that</li>
<li>Select Signing Tab, there is a check box called, <strong>Sign the assemble. Tick</strong> that</li>
<li>Also chose strong name key file by giving &lt;New&gt;</li>
<li>All are done and you may close the setup window by saving all.</li>
<li>You may need to add  the namespace for InteropServices. You can do it <em><strong>using System.Runtime.InteropServices;</strong></em></li>
<li>Now its time to declare the interfaces</li>
<li>You need to declare [ComVisible(true)] , [Guid(“41E646B3-F65C-4d8e-8539-499FA56C7076″)] , [ProgId(“AutomationObj”)] ,[ClassInterface(ClassInterfaceType.AutoDual)]</li>
<li>So now your code similar to following,</li>
</ul>
<p style="text-align: left;">using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using System.Threading.Tasks;<br />
using System.Runtime.InteropServices;<br />
namespace AutomationObj<br />
{<br />
[ComVisible(true)]<br />
[Guid(&#8220;41E646B3-F65C-4d8e-8539-499FA56C7076&#8221;)]<br />
[ClassInterface(ClassInterfaceType.AutoDual)]<br />
[ProgId(&#8220;AutomationObj&#8221;)]<br />
public class AutomationObj<br />
{</p>
<p style="text-align: left;">        }<br />
}</p>
<ul>
<li style="text-align: left;">Now I will add simple function and with return type, Here how it looks like,</li>
</ul>
<p>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using System.Threading.Tasks;<br />
using System.Runtime.InteropServices;<br />
namespace AutomationObj<br />
{<br />
[ComVisible(true)]<br />
[Guid(&#8220;41E646B3-F65C-4d8e-8539-499FA56C7076&#8221;)]<br />
[ClassInterface(ClassInterfaceType.AutoDual)]<br />
[ProgId(&#8220;AutomationObj&#8221;)]<br />
public class AutomationObj<br />
{<br />
//New function this will return String and use inside               Dynamics NAV<br />
public String MyFunc(){<br />
return &#8220;This is Return&#8221;;<br />
}</p>
<p>}<br />
}</p>
<p>We almost finish the C# program. Now we need to build the code, you can select Build then Build Solution.</p>
<p>Now we need to register AutomationObj.dll to use inside Dynamics NAV. You can use Developer Command Prompt to register .dll, Run the program as administrator and type the command as follows,</p>
<p>C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /codebase C:\Data\AutomationObj.dll</p>
<figure id="attachment_104" aria-describedby="caption-attachment-104" style="width: 300px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-medium wp-image-104" src="http://navsupports.com/wp-content/uploads/2017/01/Administrator-Developer-300x110.png" alt="Admin Developer" width="300" height="110" srcset="https://navsupports.com/wp-content/uploads/2017/01/Administrator-Developer-300x110.png 300w, https://navsupports.com/wp-content/uploads/2017/01/Administrator-Developer-768x282.png 768w, https://navsupports.com/wp-content/uploads/2017/01/Administrator-Developer.png 905w" sizes="auto, (max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-104" class="wp-caption-text">Admin Developer</figcaption></figure>
<p>Let&#8217;s move to Dynamics NAV, Create new Codeunit and name it as Test-AutomationObj</p>
<p>Add new global variable named AutomationObj and Data Type is Automation, drill down and chose AutomationObj as Sub Type.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-105" src="http://navsupports.com/wp-content/uploads/2017/01/GlblVariable-300x169.png" alt="glblvariable" width="300" height="169" srcset="https://navsupports.com/wp-content/uploads/2017/01/GlblVariable-300x169.png 300w, https://navsupports.com/wp-content/uploads/2017/01/GlblVariable-768x432.png 768w, https://navsupports.com/wp-content/uploads/2017/01/GlblVariable-1024x576.png 1024w, https://navsupports.com/wp-content/uploads/2017/01/GlblVariable.png 1366w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Inside On Run trigger you can write code as follows,</p>
<p>CREATE(AutomationObj);<br />
MESSAGE(AutomationObj.MyFunc); // Call the function which we created</p>
<p>I would hope you have learned some new thing here, Please post your queries and suggestions.</p>
<p>&nbsp;</p>
<p>The post <a href="https://navsupports.com/automation-data-type-usage-dynamics-nav/">Automation Data Type and usage in  Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/automation-data-type-usage-dynamics-nav/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Better error handling using IF Condition in Dynamics NAV</title>
		<link>https://navsupports.com/better-error-handling-using-condition-dynamics-nav/</link>
					<comments>https://navsupports.com/better-error-handling-using-condition-dynamics-nav/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Sun, 08 Jan 2017 18:12:12 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Error Handling]]></category>
		<category><![CDATA[IF Condition]]></category>
		<category><![CDATA[Navision]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=101</guid>

					<description><![CDATA[<p>Hello guys, I would like to share some important tips with you and sometime you might known these tips also</p>
<p>The post <a href="https://navsupports.com/better-error-handling-using-condition-dynamics-nav/">Better error handling using IF Condition in Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello guys, I would like to share some important tips with you and sometime you might known these tips also you love C/AL coding and you would hate this area, which is error handling. So Let&#8217;s have a look of better error handling in Dynamics NAV</p>
<p>So may be you love if we have <strong>Try Catch</strong> statement to capture the errors. But we can have simple way to handle some error,</p>
<p>Mostly we are facing run time errors. For instance , you will have a calculation like  <em><strong>AvgAmt := LineAmt / TotalValue  </strong></em>,What happens if TotalValue is zero ? Yes of course you will get an error which may you mostly familiar <em><strong>Divided by zero</strong></em> error.</p>
<p>So how we are going to handle these type of run time errors, Let me tell you some interesting thing, You can use IF condition to handle this type of errors, For instance, simply you can check if the Totavalue is 0 or not. If it is not 0 you can allow the calculation else you can  assign default value to the TotalValue. Here is the example,</p>
<p>IF TotalValue &lt;&gt; 0 THEN<br />
<em><strong>    AvgAmt := LineAmt / TotalValue</strong></em><br />
ELSE<br />
AvgAmt := 0;</p>
<p>Sometimes you may have used GET Function to retrieve values. You already know how to use  GET Function, But sometime you will get error, for instance, <em><strong>Customer &#8220;&#8221; does not exist  </strong></em>something smiler to this, So what we have to do is we need to keep the get function with IF condition.</p>
<p>IF NOT (Customer.GET(&#8220;C001&#8221;)) THEN CLEAR(Customer);</p>
<p>So now you know, using simple IF condition we can handle run time errors  in some area in Dynamics NAV.</p>
<p>&nbsp;</p>
<p>The post <a href="https://navsupports.com/better-error-handling-using-condition-dynamics-nav/">Better error handling using IF Condition in Dynamics NAV</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/better-error-handling-using-condition-dynamics-nav/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dynamics NAV Job Queue</title>
		<link>https://navsupports.com/dynamics-nav-job-queue/</link>
					<comments>https://navsupports.com/dynamics-nav-job-queue/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Thu, 05 Jan 2017 08:03:56 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Dynamics NAV2009]]></category>
		<category><![CDATA[HKEY_LOCAL_MACHINE]]></category>
		<category><![CDATA[How to: Set Up Job Queues]]></category>
		<category><![CDATA[Job Queue]]></category>
		<category><![CDATA[JOBQUEUE]]></category>
		<category><![CDATA[Microsoft Dynamics NAV]]></category>
		<category><![CDATA[NAS Setup]]></category>
		<category><![CDATA[Navision]]></category>
		<category><![CDATA[regedit]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Use Job Queues]]></category>
		<category><![CDATA[Use Job Queues to Schedule Tasks]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=84</guid>

					<description><![CDATA[<p>Dynamics nav Job Queue allow users to schedule and run specific reports and codeunits. You can set up jobs to run</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-job-queue/">Dynamics NAV Job Queue</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Dynamics nav Job Queue</strong> allow users to schedule and run specific reports and <strong>codeunits</strong>. You can set up jobs to run one time or recurring. For instance , user wants to run customer statement report weekly then email to the customers, to obtain this you can use job queues.</p>
<p>In the <strong>Dynamics Nav Job Queue Entries</strong> window, you need to add information about the job queue entry that you want to schedule, such as a report or codeunit for the object type, the name and object ID of the object that you want to run, recurrence, priority, and status. You can also add parameters to specify the behavior of the job queue entry.</p>
<p>Let&#8217;s setup NAS Server first , you can find NAS Server setup inside the dynamics nav setup cd. After installation completed, application server comes as windows service. But when you try to start the service, you cannot start it,it gives an error. So simple solution can be provided to resolve it.</p>
<p>Right click on <strong>Application Server for Microsoft Dynamics NAV Classic NAVISION-SQL</strong> and select properties then <strong>Select windows user and set password.</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-85 size-medium" title="Dynamics Nav Job Queue" src="http://navsupports.com/wp-content/uploads/2017/01/img-300x168.jpg" alt="Dynamics Nav Job Queue" width="300" height="168" srcset="https://navsupports.com/wp-content/uploads/2017/01/img-300x168.jpg 300w, https://navsupports.com/wp-content/uploads/2017/01/img.jpg 479w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Then go to  <strong>regedit </strong>Select <em><strong>HKEY_LOCAL_MACH</strong><strong>INE then </strong><strong> SYSTEM then </strong><strong>Services then NAVISION-CLASSIC</strong> </em>(this depends if you install default settings only)</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-86" src="http://navsupports.com/wp-content/uploads/2017/01/i22mg-300x169.jpg" alt="i22mg" width="300" height="169" srcset="https://navsupports.com/wp-content/uploads/2017/01/i22mg-300x169.jpg 300w, https://navsupports.com/wp-content/uploads/2017/01/i22mg.jpg 502w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Set the company,Databse,Servername,servertype (0 to 64000),Setupparamerter(set as <em><strong>JOBQUEUE</strong></em>) .After all completed you ready to start the service.</p>
<p>Now we will create simple report to insert date and time to the table to test <strong>Dynamics Nav Job Queue</strong>. First of all create new table and it should include Enrty No, Date, Time as fields and save it as Job Queue Test</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-87 size-full" title="Dynamics Nav Job Queue" src="http://navsupports.com/wp-content/uploads/2017/01/123.png" alt="Dynamics Nav Job Queue" width="255" height="76" /></p>
<p>Now we will create the report as follows</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-88" src="http://navsupports.com/wp-content/uploads/2017/01/456.png" alt="456" width="238" height="140" /></p>
<p>you have almost completed ,now go to Job Queue Entries and fill the suitable details . I will share my details.</p>
<figure id="attachment_89" aria-describedby="caption-attachment-89" style="width: 300px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="wp-image-89 size-medium" title="Job Queue Setup" src="http://navsupports.com/wp-content/uploads/2017/01/1500-300x169.png" alt="1500" width="300" height="169" srcset="https://navsupports.com/wp-content/uploads/2017/01/1500-300x169.png 300w, https://navsupports.com/wp-content/uploads/2017/01/1500.png 663w" sizes="auto, (max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-89" class="wp-caption-text">Job Queue Setup</figcaption></figure>
<figure id="attachment_90" aria-describedby="caption-attachment-90" style="width: 300px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="wp-image-90 size-medium" title="Job Queue Setup" src="http://navsupports.com/wp-content/uploads/2017/01/1504850-300x169.png" alt="1504850" width="300" height="169" srcset="https://navsupports.com/wp-content/uploads/2017/01/1504850-300x169.png 300w, https://navsupports.com/wp-content/uploads/2017/01/1504850.png 663w" sizes="auto, (max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-90" class="wp-caption-text">Job Queue Setup</figcaption></figure>
<p><strong>Set the job queue to Reset Status</strong></p>
<p><strong> </strong><strong>Go to job queue setup and tick the Job activate. </strong><strong>In 2009 you have to run codeunit 448 manually. It is only for 1<sup>st</sup> time. </strong></p>
<p>Hope you have gained knowledge and please comment for questions.</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-job-queue/">Dynamics NAV Job Queue</a> appeared first on <a href="https://navsupports.com">Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://navsupports.com/dynamics-nav-job-queue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
