<?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>Navision Archives - Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</title>
	<atom:link href="https://navsupports.com/tag/navision/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Microsoft Dynamics NAV &#124; Business Central</description>
	<lastBuildDate>Tue, 24 Jan 2017 17:19:13 +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>Navision Archives - Shan Abeywickrama | Dynamics NAV &amp; Business Central Insights</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<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 fetchpriority="high" 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="(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 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="(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 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>
		<item>
		<title>How to take month in text from a date in Dynamics NAV</title>
		<link>https://navsupports.com/take-month-text-date-dynamics-nav/</link>
					<comments>https://navsupports.com/take-month-text-date-dynamics-nav/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Wed, 30 Nov 2016 11:25:46 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Dynamics NAV Technical]]></category>
		<category><![CDATA[FORMAT]]></category>
		<category><![CDATA[Microsoft Dynamics NAV]]></category>
		<category><![CDATA[Microsoft Dynamics NAV 2016]]></category>
		<category><![CDATA[Month to text]]></category>
		<category><![CDATA[Navision]]></category>
		<category><![CDATA[Navision ERP 2016]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=46</guid>

					<description><![CDATA[<p>Hello Guys, Today I am going to show you , How to take month in text from a date in</p>
<p>The post <a href="https://navsupports.com/take-month-text-date-dynamics-nav/">How to take month in text from a date 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,</p>
<p>Today I am going to show you , How to take month in text from a date in Dynamics NAV. It is so simple you have two ways to do it.</p>
<p>First way is use the FORMAT function and the second way is use the Date table which is virtual table in Dynamics NAV.</p>
<p>Let&#8217;s move for the first way, This is very simple what you need to do, use FORMAT and send the proper parameters.</p>
<p>FORMAT(&#8220;Posting Date&#8221;,0,'&lt;Month Text&gt;&#8217;);</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://navsupports.com/take-month-text-date-dynamics-nav/">How to take month in text from a date 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/take-month-text-date-dynamics-nav/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dynamics NAV  2013R2 Report Execution Level</title>
		<link>https://navsupports.com/dynamics-nav-2013r2-report-execution-order/</link>
					<comments>https://navsupports.com/dynamics-nav-2013r2-report-execution-order/#respond</comments>
		
		<dc:creator><![CDATA[Shan Abeywickrema]]></dc:creator>
		<pubDate>Wed, 28 Sep 2016 17:13:41 +0000</pubDate>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[Dynamcis NAV SSRS]]></category>
		<category><![CDATA[Dynamics NAV]]></category>
		<category><![CDATA[Dynamics NAV 2013R2]]></category>
		<category><![CDATA[Execuation]]></category>
		<category><![CDATA[Navision]]></category>
		<category><![CDATA[On Init Report]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[SSRS]]></category>
		<guid isPermaLink="false">http://navsupports.com/?p=30</guid>

					<description><![CDATA[<p>Hello guys, Today I am going to share very interesting topics  and this will help to freshers and who ever</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-2013r2-report-execution-order/">Dynamics NAV  2013R2 Report Execution Level</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, Today I am going to share very interesting topics  and this will help to freshers and who ever wants to know what is the sequence of Dynamics NAV report execution .</p>
<p>First of all please have a look of bellow diagram. Which is showing structure of the report.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-31" src="http://navsupports.com/wp-content/uploads/2016/09/Trigger-Execution-Order-300x174.png" alt="trigger-execution-order" width="300" height="174" srcset="https://navsupports.com/wp-content/uploads/2016/09/Trigger-Execution-Order-300x174.png 300w, https://navsupports.com/wp-content/uploads/2016/09/Trigger-Execution-Order-768x445.png 768w, https://navsupports.com/wp-content/uploads/2016/09/Trigger-Execution-Order.png 855w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>When you run the report, It will execute On Init Report trigger first. So what ever things that you want to execute when the report begin ,you can use this trigger.</p>
<p>Second is Page triggers, what are these page triggers, suppose if you have request page, then it has several triggers,so those triggers will execute secondly.</p>
<p>Then will come to next trigger which is On Pre Report Trigger , What ever suitable code you can place here.</p>
<p>Next is important phase, On Pre Data Item trigger, which is belong to data item that you keep in the report. After this it will execute On After Get Record trigger. This trigger just like a loop. If you keep Item table as data item,so as per the given filters this on after trigger will execute until finish the items.  then it will go to On  Post Dataitem trigger.</p>
<p>After all, On PostReport trigger will execute. So if you have any code that you want to execute at the end, you can place here.</p>
<p>Hope you all get clear idea.</p>
<p>The post <a href="https://navsupports.com/dynamics-nav-2013r2-report-execution-order/">Dynamics NAV  2013R2 Report Execution Level</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-2013r2-report-execution-order/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
