<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Small Square Services</title>
	
	<link>http://smallsquareservices.com</link>
	<description>Every Small Detail, Squared Away</description>
	<lastBuildDate>Wed, 05 Oct 2011 12:53:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SmallSquareServices" /><feedburner:info uri="smallsquareservices" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Cultured Differences</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/JPmLtyrmgOM/</link>
		<comments>http://smallsquareservices.com/2011/10/cultured-differences/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 21:44:42 +0000</pubDate>
		<dc:creator>Andrew Smith</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Development]]></category>
		<category><![CDATA[Newbie]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/?p=436</guid>
		<description><![CDATA[Last week we discussed how to apply standard formatting codes for currencies and dates to Microsoft Dynamics NAV 2009 RTC reports. As I mentioned in that blog post, there are...]]></description>
			<content:encoded><![CDATA[<p>Last week we discussed <a href="http://smallsquareservices.com/2011/09/the-formatted-numbers-game/">how to apply standard formatting codes for currencies and dates</a> to Microsoft Dynamics NAV 2009 RTC reports.  As I mentioned in that blog post, there are some hoops we have to jump through in order to show more than one culture&#8217;s formats on the same report.  In the typical report the localization information is contained in the report header and it will only include a single localization.  Fortunately Microsoft includes its globalization standards as a .NET DLL that we can add as an assembly to a report.</p>
<h1>The Setup</h1>
<p>For this example we are going to use the standard report &#8220;Customer Account Details&#8221; as a base report (renumbered so we don&#8217;t overwrite anybody&#8217;s default report).  This report already has the option to show customer account details in the customer&#8217;s own currency, however it does not include the region specific currency formatting except for the number of decimal places.  For kicks, and because it provides a better example, we are also going to take the dates and format those to the localized short date format.  Note that this latter customization is one that might cause confusion if used in an actual client environment, especially if you have a particularly diverse set of customer regions being reported on with a single report.</p>
<p>It is worth mentioning that this example does not make any changes to the behavior of the classic version of this report except to add some hidden data fields for the RTC to use.  To the best of my (admittedly newbie) knowledge, formatting of this type is not possible using the classic version without creating a complex function to apply the formatting prior to outputting the data to the report.</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif11.png" alt="" /></p>
<h1>The Hoops</h1>
<h2>First Hoop – Letting your report use external assemblies</h2>
<p>If you look at the <a href="http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx">MSDN page regarding currency formatting codes</a> you will see that references are made to a <a href="http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx">&#8220;CultureInfo&#8221;</a> object.  Yet if you try to define such an object or make use of one per the VB examples shown, you will get an error.  This is because we have to add the assembly for it.  Before we can do that though, we need to edit the report properties to tell the report to allow external assemblies.  Load up the report in classic, put the cursor on a blank line and hit ALT+F4 to bring up the report properties.  Once you have that up, set the &#8220;EnableExternalAssemblies&#8221; option to &#8220;Yes&#8221;.</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif21.png" alt="" /></p>
<p>If you forget this step then later on you will see an error about &#8216;not a trusted assembly&#8217; that looks a lot like this:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif31.png" alt="When you don't enable external assemblies:  An error occurred during local processing.  The report references the code module [code] which is not a trusted assembly." width="869" height="146" /></p>
<h2>Second Hoop – Adding the assembly to the RTC version of the report</h2>
<p>Once you have external assemblies enabled, the next step is to actually add that assembly to the report so that we can call upon the CultureInfo object within in.</p>
<p>To do this you have to load up the report designer (using the &#8220;View | Layout&#8221; menu option) and right click on the top left corner of the report in the report designer and select properties:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif41.png" alt="" /></p>
<p>In the properties dialog, click on the &#8220;References&#8221; tab.  Click on the ellipses to bring up the list of modules, click on the &#8220;.NET&#8221; tab and locate &#8220;sysglobl&#8221;:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif51.png" alt="" /></p>
<p><em>Note: If you&#8217;ve not used sysglobl before, you may have to use the Browse tab the first time.  Browse to your local Microsoft.NET folder and locate a &#8220;sysglobl.dll&#8221; in the relevant Framework folder.</em></p>
<p>Once you have added the globalization assembly, it should appear in the list as shown below:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif61.png" alt="" /></p>
<p>Next we have to add in some code to let us make use of the CultureInfo object.</p>
<h2>Third Hoop – Creating functions to use the format codes with the globalization object</h2>
<p>In a future blog post we will discuss some of the interesting ways to use the ability to add code to the report.  For now though, we just want to create two custom functions that will let us format dates and currencies to a specific localization.  As we did in Fig 4., above, we are going to right click the top left corner of the report and select properties.  This time, instead of going to the &#8220;References&#8221; tab we are going to go to the &#8220;Code&#8221; tab.</p>
<p>Inside the code tab, we will define two functions:</p>
<p style="margin-left: 36pt;"><strong>FormatCurr (ByVal Amount as Decimal, ByVal Precision as Integer, ByVal Region as Integer, ByVal BlankNegZero as Boolean)<br />
</strong></p>
<p style="margin-left: 36pt;"><strong>FormatDate (ByVal TransDate as Date, ByVal Region as Integer)</strong></p>
<p>The first function will take the decimal amount to be formatted, the number of digits of precision (which we will pass in from the Currency.&#8221;Amount Decimal Places&#8221; setting), the Windows integer region code (taken from Language.&#8221;Windows Language ID&#8221;), and whether or not to return blanks for zero or negative values.  For the second function we do not need to worry about rounding precision on a date so we just pass in the date in question and the Windows integer region code.</p>
<p>The code itself is very simple VB .NET code:</p>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">Public Function FormatCurr(ByVal Amount As Decimal, ByVal Precision as Integer, ByVal Region as Integer,
</span></pre>
<pre style="margin-left: 108pt;"><span style="font-family: Courier New; font-size: 8pt;"> ByVal BlankNegZero as Boolean)
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   Dim TempString as String
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   if (Amount &lt;= 0 and BlankNegZero) then
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">     return ""
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   end if
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   TempString = "C" + Precision.ToString
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   Return Amount.ToString(TempString, New Globalization.CultureInfo(Region, False))
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">End Function
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">Public Function FormatDate(ByVal TransDate As Date, ByVal Region as Integer)
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">   Return TransDate.ToString("d", New Globalization.CultureInfo(Region, False))
</span></pre>
<pre style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">End Function
</span></pre>
<p>Now all we have to do is add some data to the classic version of the report and adjust some of the RTC fields and we will be done.</p>
<h1>Making the customization</h1>
<p>In the classic version of the report, we now have to add decimal precision and the Windows language ID as hidden fields.  The decimal precision we can look up and pass from the Currency table (ID 4), the Windows language ID we will first have to do a lookup on the customer&#8217;s language in the Customer table (ID 18) and use that language code to make a lookup into the Language table (ID 8 ) for the Windows language ID.</p>
<p>Both of these lookups make the most sense to do in the Customer – OnAfterGetRecord of the classic report (the .fob of the report is included at the bottom of this post, search on &#8220;<em>SSS ABS</em>&#8221; in that module to find the relevant modifications).</p>
<p>We will add the data in hidden text boxes in the section designer in the Customer, Body (8) section.</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif71.png" alt="" /></p>
<p>Once we have those fields added we can then go to Visual Studio and make changes to the expression for the currency fields.  It is worth mentioning that I have left most of the original function intact, such that the report will print with the existing default formatting if the &#8220;Print Amounts in Customer&#8217;s Currency&#8221; option is left unchecked.  Some of the expressions are thus greatly expanded.</p>
<p>For example, the original expression for a debit amount is as follows:</p>
<p style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">=Code.BlankNegAndZero(Fields!AmountToPrint.Value)<br />
</span></p>
<p>And the modified version is shown below (with spacing added for readability):</p>
<p style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">=iif(<span style="color: blue;">NOT</span> Fields!PrintAmountsInLocal.Value,<br />
</span></p>
<p style="margin-left: 62pt;"><span style="font-family: Courier New; font-size: 8pt;">Code.BlankNegAndZero(Fields!AmountToPrint.Value), </span></p>
<p style="margin-left: 62pt;"><span style="font-family: Courier New; font-size: 8pt;">Code.FormatCurr(Fields!AmountToPrint.Value,Fields!CurrPrecision.Value, Fields!LanguageID.Value,<span style="color: blue;">TRUE</span>))<br />
</span></p>
<p>The last step before we are ready to roll is to look at the formatting of the table cells.  While the classic version of the data is likely going to follow currency conventions, it will not include any special currency symbols that can help make it obvious what currency we are looking at.  If the user selects not to show local currency we should retain the original formatting, but if they do use the culture specific formatting, then our FormatCurr and FormatDate functions will handle that instead of the Format property.  For the same cell as used in the above sample for the expression of the debit amount, the &#8220;Format&#8221; field of the cell that originally reads:</p>
<p style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">=Fields!AmountToPrintFormat.Value<br />
</span></p>
<p>Will be modified to this:</p>
<p style="margin-left: 36pt;"><span style="font-family: Courier New; font-size: 8pt;">=iif(Fields!PrintAmountsInLocal.Value, nothing, Fields!AmountToPrintFormat.Value)<br />
</span></p>
<h2>Results</h2>
<p>We can now look at the output and see what looks different when we show amounts in local date and currency and not in local date and currency and compare that with the base version of the report.</p>
<p>I am running the standard USA Cronus database filtering only on customers 01445544 (USD), 32656565 (Euro) and 42147258 (Czech koruna).  The base version of the report will display as follows with the option to show amounts in customer currency:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif81.png" alt="" /></p>
<p>The modified version now displays with region specific date and currency formatting:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/10/100411_2144_CulturedDif9.png" alt="" /></p>
<h1>Conclusion</h1>
<p>If you have an international client that does want some multiple region-specific formatting on the same report or even formatting for a single region that is not the client&#8217;s installed region, this method will do the trick.  The code functions are also easy enough to copy and paste into a new report, which means that once you jump through the hoops of letting the report use the <em>sysglobl</em> assembly, it is pretty easy to do again on another report.</p>
<p><a href="http://smallsquareservices.com/wp-content/uploads/2011/10/CustAcctDetailMCF1.zip">Download Modified Customer Account Detail Report</a></p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/JPmLtyrmgOM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/10/cultured-differences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/10/cultured-differences/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cultured-differences</feedburner:origLink></item>
		<item>
		<title>The (Formatted) Numbers Game</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/sv3HEsIiWAU/</link>
		<comments>http://smallsquareservices.com/2011/09/the-formatted-numbers-game/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 02:25:27 +0000</pubDate>
		<dc:creator>Andrew Smith</dc:creator>
				<category><![CDATA[NAV Development]]></category>
		<category><![CDATA[Newbie]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/?p=421</guid>
		<description><![CDATA[Microsoft Dynamics NAV 2009 RTC report design using RDLC has a lot of flexibility when formatting dates, times, and numbers. While you can create custom number formatting (which we will...]]></description>
			<content:encoded><![CDATA[<p>Microsoft Dynamics NAV 2009 RTC report design using RDLC has a lot of flexibility when formatting dates, times, and numbers.  While you can create custom number formatting (which we will cover in a future blog post) many of the standard formatting options will often do the trick far more easily and without requiring the developer to worry about localization differences.</p>
<p>For a full list of the formatting options, the MSDN site has a handy reference page for both <a href="http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx">numbers</a> and <a href="http://msdn.microsoft.com/en-us/library/az4se3k1.aspx">dates/datetimes/times</a>.   I will not be covering all of the various formatting options in my example due to the fact that there are so many of them, but the most commonly used ones are represented.</p>
<h2>Cautions</h2>
<p>The RDLC formatting options typically will use your default localization info for formatting.  If you are a USA developer working for a French client you may need to change your current locale in order to see the formatting options as your client will see them.  One of the nice things about the standard formatting options vs. the custom formatting strings is that they will take care of this change for you without you having to write a lick of code and without you having to define multiple formatting strings for each locale you service.</p>
<p>It bears mentioning that if you need to include multiple different locale formats in a single report there are some hoops to jump through to get that to work properly.  We will cover that subject in a blog post very soon.  Suffice it to say that it will not work to do multiple locales with just the standard formatting options.</p>
<h2>How To</h2>
<p>Create your report data items in classic as you normally would.  Our example report skips some of the good design steps for localization and multi-language in favor of simplicity.  The entire report is just several different type data items in a single section:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/092311_0225_TheFormatte1.png" alt="" /></p>
<p>Once you fire up RDLC and place your data item in the desired location you will want to look at the properties, specifically the &#8220;Format&#8221; property:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/092311_0225_TheFormatte2.png" alt="" /></p>
<p>In the example above, I am formatting a decimal value to the locale default currency format (denoted by the &#8220;C&#8221;).  Since I have my locale set to the USA, it will print in $#,###.00 format:  Leading USD dollar sign, comma group separator, period decimal place designator and two decimal place precision.  As I mentioned previously, if I send this report off to a French client I will not have to redo the report to print properly in Franc or Euro, the localized default format for currency will automatically handle that for me (Note: This does not convert the amount, only changes the format).</p>
<p>If, for some reason, I have to call a <span style="font-family: Courier New; font-size: 10pt;">Code.SomeFunction</span> to do some special processing and want to return the formatted text from that function it is worth noting that you can use these standard formatting codes in the VB.Net <span style="font-family: Courier New; font-size: 10pt;">Format</span> function call like so:</p>
<p style="padding-left: 30px;"><span style="font-family: Courier New; font-size: 10pt;">Public Function SomeFunction(ByVal Value As Decimal)<br />
</span></p>
<p style="padding-left: 30px;"><span style="font-family: Courier New; font-size: 10pt;"> &#8230;processing code here&#8230;<br />
</span></p>
<p style="padding-left: 30px;"><span style="font-family: Courier New; font-size: 10pt;"> Return Format(Value,&#8221;C&#8221;)<br />
</span></p>
<p style="padding-left: 30px;"><span style="font-family: Courier New; font-size: 10pt;">End Function<br />
</span></p>
<p>&nbsp;</p>
<p>See the <a href="http://smallsquareservices.com/wp-content/uploads/2011/09/formatsample.zip">attached sample report</a> and <a href="http://smallsquareservices.com/wp-content/uploads/2011/09/FormatSample.pdf">PDF printout</a> of the report that shows the most commonly used codes for more information.</p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/sv3HEsIiWAU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/the-formatted-numbers-game/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/the-formatted-numbers-game/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-formatted-numbers-game</feedburner:origLink></item>
		<item>
		<title>NAV 2009 Role Tailored Client (RTC) – Introduction Part 1</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/y41ySdZ8TKs/</link>
		<comments>http://smallsquareservices.com/2011/09/nav-2009-role-tailored-client-rtc-%e2%80%93-introduction-part-1/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 20:52:18 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Usage]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/?p=416</guid>
		<description><![CDATA[Here at Small Square Services, we spend a great deal of time talking about Microsoft Dynamics NAV 2009 Role Tailored Client. However, many NAV users are still using what is...]]></description>
			<content:encoded><![CDATA[<p>Here at Small Square Services, we spend a great deal of time talking about Microsoft Dynamics NAV 2009 Role Tailored Client. However, many NAV users are still using what is now called the Classic Client and may not know what this RTC product is all about. In this post, we&#8217;re going to give a basic overview of the Role Tailored Client and the parts that it contains.</p>
<p>&nbsp;</p>
<h1>A Tale of Two Start Screens</h1>
<p>Most of the visual elements of the Classic client have been the same for the past several years:</p>
<ol>
<li>Toolbars</li>
<li>MenuSuite</li>
<li>Working Area</li>
<li>Status Bar</li>
</ol>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091311_2053_NAV2009Role1.png" alt="" /></p>
<p>&nbsp;</p>
<p>The Role Tailored Client, however, is an entirely new interface:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091311_2053_NAV2009Role2.png" alt="" /></p>
<p>There&#8217;s a lot to take in:</p>
<ol>
<li>The History buttons and the Address Bar (also known as the Breadcrumb Bar).</li>
<li>The Search functionality (Searching for <em>functionality</em>, not data)</li>
<li>The Menu Bar, including the <strong>Microsoft Dynamics NAV</strong> menu, the <strong>Actions</strong> Menu, the <strong>Reports</strong> Menu, the Customize Button, and the Help button.</li>
<li>The Navigation Pane, which is now more along the lines of a catalog of lists (and <a href="http://smallsquareservices.com/2011/04/quick-tip-save-filters/">Saved Filters</a>).</li>
<li>The Departments section, which allows you to go beyond the readily accessible parts of the system to any you need to get to (security still applies)</li>
<li>The Activities panel for a given Role &#8211; more on this shortly.</li>
<li>The My Customers / My Vendors / My Items panels</li>
<li>The Outlook panel (covered <a href="http://smallsquareservices.com/2011/05/rtc-outlook-panel/" target="_blank">RTC Outlook Panel</a>).</li>
<li>The Notifications panel (covered in <a href="http://smallsquareservices.com/2011/09/the-power-of-notes-and-notifications/">The Power of Notes and Notifications</a>).</li>
<li>(Unmarked) The Status Bar.  Company Name and Workdate are not only displayed, but you can click on them to change company or date now.</li>
</ol>
<p>&nbsp;</p>
<p>Let&#8217;s take a closer look at the Activities panel:</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091311_2053_NAV2009Role3.png" alt="" /></p>
<ol>
<li>Each Activities panel has one or more <strong>Cue Groups</strong>.  In this snippet, we can see a <strong>For Release</strong> Cue Group and a <strong>Sales Orders Released Not Shipped</strong> Cue Group</li>
<li>As one might expect, within a Cue Group, you find one or more <strong>Cues</strong>.  Each Cue has a visual component (the varying stack size) for an easy glance indicator, as well as a quantity indicator and a description.</li>
<li>Each Cue Group also can have related <strong>Actions</strong>.  In this Cue Group, we can jump straight to making a <strong>New Sales Quote</strong> or <strong>New Sales Order</strong>.</li>
</ol>
<p>&nbsp;</p>
<p>In Part 2, we&#8217;ll talk about how Lists and Cards have changed for the better.</p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/y41ySdZ8TKs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/nav-2009-role-tailored-client-rtc-%e2%80%93-introduction-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/nav-2009-role-tailored-client-rtc-%e2%80%93-introduction-part-1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=nav-2009-role-tailored-client-rtc-%25e2%2580%2593-introduction-part-1</feedburner:origLink></item>
		<item>
		<title>When to take the blue pill – Matrix for newbies</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/v_2PowyFqi4/</link>
		<comments>http://smallsquareservices.com/2011/09/when-to-take-the-blue-pill-%e2%80%93-matrix-for-newbies/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 14:36:52 +0000</pubDate>
		<dc:creator>Andrew Smith</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Development]]></category>
		<category><![CDATA[Newbie]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/?p=388</guid>
		<description><![CDATA[When not to use a Matrix control In Microsoft Dynamics NAV 2009 RTC Report Design, matrixes can provide a lot of easy functionality for a newbie report writer who wants...]]></description>
			<content:encoded><![CDATA[<h1>When not to use a Matrix control</h1>
<p><span style="font-family: Times New Roman;font-size: 12pt">In Microsoft Dynamics NAV 2009 RTC Report Design, matrixes can provide a lot of easy functionality for a newbie report writer who wants to collate a lot of data without doing a lot of work. With that in mind, there are some significant drawbacks to using a matrix if your report has certain hoops to jump through that often mean that it may be easier to use a table. Note that while advanced NAV report designers can likely get around some of these obstacles by employing some of the less intuitive tricks available, this article is intended for novice users looking at whether or not a matrix control would be faster and easier to implement than the more traditional table control.</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<h2>The what and how of building a matrix report</h2>
<p><span style="font-family: Times New Roman;font-size: 12pt"> If you are not already familiar with what a matrix control is, the easiest explanation is that it is a way to bring the versatility of a spreadsheet <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Pivot_table">pivot table</a> to a report. The joy of working with pivot tables is that you can essentially take a mass dump of data and then organize it however you like and the pivot table logic takes care of the collating and summation without you having to write a lick of code. It bears mentioning that if you&#8217;re doing a onetime-only report that requires this sort of processing, you may actually be better off creating a dummy report that simply outputs all your uncollated data and then use the &#8220;About this report&#8221; feature to <a href="http://smallsquareservices.com/2011/09/viewing-report-data/">dump it into Excel and use an Excel PivotTable to have your way with it</a>. Excel in that particular case is, in my opinion, far more versatile and flexible for the neophyte than trying to figure out a matrix.<br />
</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt">For the novice, I do strongly recommend reading up on Small Square Services&#8217; own <a href="http://smallsquareservices.com/2011/05/matrix-intro/">introductory &#8220;how to&#8221; for setting up a matrix</a>. If you are like me and you like to have points of comparison so that you can see how multiple authors approach matrixes I can also recommend <a href="https://blogs.msdn.com/b/nav-reporting/archive/2009/08/28/building-a-matrix-report-in-microsoft-dynamics-nav-2009-sp1.aspx">Claus Lundstrøm&#8217;s tutorial</a> on the MSDN blog.</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<h2>Why use a matrix?</h2>
<p><span style="font-family: Times New Roman;font-size: 12pt">While the focus of this post is to show when not to use a matrix, it&#8217;s important to understand why you would want to use one in the first place. Simply put, matrixes are easy to make. You don&#8217;t have to process, sort or collate data &#8211; all you have to do is create a simple classic report layout that contains all the data you need and then put a matrix control with the proper groups on a page. For many folks that don&#8217;t favor writing a lot of processing code, this is certainly an appealing notion, especially as you can define much of the look, feel, and content through the visual designer interface. If you want fancy processing but do not want to spend a lot of time on it, a matrix can be a &#8220;dream come true&#8221; control in the Visual Studio Report Designer.<br />
</span></p>
<h2>So why the blue pill?</h2>
<p><span style="font-family: Times New Roman;font-size: 12pt">If a matrix is so powerful, why not use one all the time? What are some of the features of a report that would cause a newbie report designer to bang their head against the nearest solid object?<br />
</span></p>
<h3>Non-uniform output</h3>
<p><span style="font-family: Times New Roman;font-size: 12pt">One of the great things about matrixes is that they collate data and create <strong>dynamic</strong> rows and columns to display that output. When something is created at run time, it greatly limits our ability to modify how that data is shown, if some of the data is to be singled out for special treatment. You can do some very useful things with the expression based attributes of matrix cells but if you have anything in a matrix that needs to have different data (as opposed to different appearance) in certain columns, then a matrix is going to likely not be the best solution. An example would be if you want to provide monthly totals with quarterly totals and averages. Trying to add those averages into a mix of totals is possible to do, but you&#8217;ll have to employ some more advanced tricks. If that&#8217;s what you want to do, tables are probably going to be easier in the long run than trying to squeeze this square peg into a round hole. It is worth mentioning that the very snazzy looking <a href="https://blogs.msdn.com/b/robertbruckner/archive/2009/03/05/tablix-the-matrix-revolution.aspx">Tablix</a>* control will eventually remove this concern, allowing us to mix matrixes with tables with impunity.<br />
</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt">This reason is likely the most important one of the three I list here. It is possible to spend a lot of time wrestling with the matrix control to try to get it to insert an &#8220;average&#8221; column after the main body but before the totals. Or if you have three columns per reporting item but your totals only make sense for two of those columns and you want to eliminate or hide the third.<br />
</span></p>
<h3>Summation columns that are not simple totals</h3>
<p><span style="font-family: Times New Roman;font-size: 12pt">Matrixes provide very handy &#8220;subtotal&#8221; columns that you can add for any column or row grouping. If all you want are subtotals across a data slice, then this is just another marvelous feature of matrixes. If, however, you want totals for some of the data and averages for some of the data, then you&#8217;ve essentially got to provide code to the InScope function that will dynamically do one or the other, which likely exceeds the newbie threshold.<br />
</span></p>
<h3>Your data is not repetitive or does not need to be collated</h3>
<p><span style="font-family: Times New Roman;font-size: 12pt">Matrixes are primarily a tool for collating repetitive data. If your data is relatively flat and/or doesn&#8217;t feature repeating categories, then a table with groups is probably going to offer more flexibility with less hassle than a matrix.<br />
</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Times New Roman;font-size: 12pt">Matrix is a very powerful control, and learning how to use it will be key for great Report Design in Microsoft Dynamics NAV 2009, but always make sure to think if it&#8217;s the <em>right</em> powerful tool for the job.</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Times New Roman;font-size: 12pt"><em>*RDL 2005 is used in Microsoft Dynamics NAV 2009 for the RTC Report Designer. RDL 2008 has more powerful options for controls (such as the Tablix control), grouping, and various other improvements.  Hopefully the next major release of Microsoft Dynamics NAV will feature the RDL 2008 improvements.</em></span></p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/v_2PowyFqi4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/when-to-take-the-blue-pill-%e2%80%93-matrix-for-newbies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/when-to-take-the-blue-pill-%e2%80%93-matrix-for-newbies/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=when-to-take-the-blue-pill-%25e2%2580%2593-matrix-for-newbies</feedburner:origLink></item>
		<item>
		<title>The Power of Notes and Notifications</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/imlP9TP0IX8/</link>
		<comments>http://smallsquareservices.com/2011/09/the-power-of-notes-and-notifications/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 18:48:56 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Usage]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/09/the-power-of-notes-and-notifications/</guid>
		<description><![CDATA[In Microsoft Dynamics NAV 2009, one of the most popular new features is the Notes FactBox. Let&#8217;s take a look at the basics of how it works. In our example...]]></description>
			<content:encoded><![CDATA[<p>In Microsoft Dynamics NAV 2009, one of the most popular new features is the Notes FactBox.  Let&#8217;s take a look at the basics of how it works.
</p>
<p>In our example today, we have a Customer who is pretty behind on their payments and we&#8217;re going to block them, note why, and ask our collections person to call them.
</p>
<p>Depending on the size of your Customer Card, you may not be able to see the <strong>Notes</strong> FactBox, like so:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN1.png" alt=""/>
	</p>
<p>The farthest right scrollbar is for the FactBox area, so you can scroll down to find the <strong>Notes</strong> FactBox:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN2.png" alt=""/>
	</p>
<p>As the panel suggests, you can click on the <strong>Click here to create a new note</strong>, which will give you a tiny little panel to enter info into:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN3.png" alt=""/><em><br />
		</em></p>
<p style="margin-left: 36pt"><span style="font-size:9pt"><em>This note area may be small, but it can hold a massive amount of text,<br/>so if you want, you can paste whole emails into the space.<br />
</em></span></p>
<p>In our example, we&#8217;ll just note that we&#8217;re blocking this customer.   We don&#8217;t need to say either the date or who is writing this note.  (Skip the To: and Notify options for now)  When we press <strong>Save</strong>, we&#8217;ll see our new note:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN4.png" alt=""/>
	</p>
<p>It provided the author information and the date for us.  It&#8217;s saved with the Customer, so it&#8217;ll be present everywhere NAV users are looking at the Customer record (<em>Note: Not available in Classic!</em>).
</p>
<p>
 </p>
<p>Now let&#8217;s notify our Collections agent, T. User, that they need to follow-up.  Click to create a new note, enter some notice info for Ms. User to see, and then take a look under the <strong>To:</strong> option:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN5.png" alt=""/>
	</p>
<p>Other users of the NAV system will be available to select from.  We&#8217;ll select TestUser, check the <strong>Notify</strong> box, and select save.  Now when Ms. User next opens her Role Center, she&#8217;ll see an entry on her <strong>My Notifications</strong> panel:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN6.png" alt=""/>
	</p>
<p>By simply double-clicking on this Notification, the Customer Card for customer 30000 will open up.  (This applies to Sales and Purchase documents, such as Orders or Credit Memos, as well.)
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN7.png" alt=""/>
	</p>
<p>The note clearly shows who the note was from and to on which date.
</p>
<p>When Ms. User is done resolving the issue, oh her <strong>My Notifications</strong> panel, she can right-click on the Notification and choose to remove the <em>Notification</em> part of the note.  The note remains on the Customer Card, but it no longer will show on the Notifications list.
</p>
<p>
 </p>
<p>One other great feature mentioned above is that the Note space is very small on the screen, but it can hold a lot of information if needed.  For example, Miss Doyle from John Haddock emailed us back with a written agreement for paying down the open balance.  It would make sense to store that in a Note as well.  So, Ms. User adds a note and pastes it into the new note.
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN8.png" alt=""/>
	</p>
<p>How do we view the whole note?  Simply double-click on it to see this great view:
</p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/091211_1850_ThePowerofN9.png" alt=""/>
	</p>
<p>
 </p>
<p>Hopefully this article will help folks see new ways they can move information out of Inboxes (where it can be forgotten, deleted, need someone to forward, etc.) or out of binders and folders into their powerful Microsoft Dynamics NAV system.</p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/imlP9TP0IX8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/the-power-of-notes-and-notifications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/the-power-of-notes-and-notifications/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-power-of-notes-and-notifications</feedburner:origLink></item>
		<item>
		<title>Viewing Report Data</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/xyKIxsYBKfQ/</link>
		<comments>http://smallsquareservices.com/2011/09/viewing-report-data/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 19:02:08 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Usage]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/09/viewing-report-data/</guid>
		<description><![CDATA[One of the great features about RTC Reporting is that, if you want to slice and dice the numbers, you can easily Save As Excel. But, you can go even...]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Times New Roman; font-size:12pt">One of the great features about RTC Reporting is that, if you want to slice and dice the numbers, you can easily Save As Excel. But, you can go even further beyond that if you want!<br />
</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">We&#8217;ve talked before about the data structure behind reports from a technical point of view, but let&#8217;s look at the possible use.<br />
</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Take this Customer and Item Statistics report:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1903_ViewingRepo1.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Per Customer, it&#8217;s pretty solid information. If we send it to Excel, it&#8217;s still pretty nice:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1903_ViewingRepo2.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">But, it&#8217;s very formatted, which can be tricky to work with if doing calculations or filtering.<br />
</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Run a report in the RTC. Under the <strong>Help</strong> button, select <strong>About This Report</strong>, like so:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/050911_2059_Understandi3.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">You will get a message:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/050911_2059_Understandi4.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Do as it instructs. When you head to <strong>About This Report</strong> again, you&#8217;ll see something akin to:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/050911_2059_Understandi5.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">That&#8217;s a giant List of all the data the report is using to produce the results. You&#8217;ll see all sorts of things in there you may not realize would be, such as Captions, Formats, Header info.<br />
</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Most importantly, under the <strong>Actions</strong> menu, you can <strong>Send To -&gt; Excel</strong> all the raw data. When you do that, Excel will instead look like:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1903_ViewingRepo3.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">There will be many columns you don&#8217;t need, but this way, you can build some great PivotTables to analyze the data as you need, like so:<br />
</span></p>
<p style="margin-left: 36pt"><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1903_ViewingRepo4.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Using some of the great PivotTable and Conditional Formatting allows me to quickly analyze what Customer/Item combinations are underperforming. I can see at a glance that we need to review Customer 30000, as it&#8217;s dragging us below our target margin.<em><br />
			</em><br />
		</span></p>
<p><span style="font-family:Times New Roman; font-size:12pt">Save As Excel brings some great power to the table (pun no intended), but being able to build off the raw data can bring your existing analysis tools to the next level.</span></p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/xyKIxsYBKfQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/viewing-report-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/viewing-report-data/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=viewing-report-data</feedburner:origLink></item>
		<item>
		<title>Recurring Journal Document Numbers</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/CUjh--MVTHE/</link>
		<comments>http://smallsquareservices.com/2011/09/recurring-journal-document-numbers/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:10:37 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[NAV Usage]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/09/recurring-journal-document-numbers/</guid>
		<description><![CDATA[A very dry title about a very handy tip for users (or potential users) of Recurring Journals. This works in Microsoft Dynamics NAV 2009 and Serenic Navigator, for all versions...]]></description>
			<content:encoded><![CDATA[<p>A very dry title about a very handy tip for users (or potential users) of Recurring Journals.  This works in Microsoft Dynamics NAV 2009 and Serenic Navigator, for all versions going back for the last 10 years, so you don&#8217;t have to be running the latest and greatest to make use of this.
</p>
<p>When using Recurring Journals, there are some ways you can have the document number or description be automatically updated.  Let&#8217;s look at this example:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1412_RecurringJo1.png" alt=""/>
	</p>
<p>In the <strong>Document No.</strong> field, we have the odd looking setting <strong>2011-%3-COMM</strong>.   In the <strong>Description</strong> field, we have normal looking descriptions, but with an odd <strong>%4</strong>.  (To see more about the Recurring Frequency formula shown in this example, please see our post <a href="http://smallsquareservices.com/2011/04/dateformula-part-1-closing-tricks/">DateFormula Part 1: Closing Tricks</a>.)
</p>
<p>When posted, that&#8217;ll look like:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/09/090111_1412_RecurringJo2.png" alt=""/>
	</p>
<p><strong>%X</strong> options in those fields are substituted with Posting Date based information.  Here&#8217;s the list of options:
</p>
<div>
<table style="border-collapse:collapse" border="0">
<colgroup>
<col style="width:64px"/>
<col style="width:352px"/></colgroup>
<tbody valign="top">
<tr style="height: 20px">
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #4f81bd 1.0pt; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p style="text-align: center"><span style="color:black"><strong>Code</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #4f81bd 1.0pt; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p><span style="color:black"><strong>Result:</strong></span></p>
</td>
</tr>
<tr style="height: 20px; background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p style="text-align: center"><span style="color:black"><strong>%1</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:black">Current day (for example, Monday)</span></p>
</td>
</tr>
<tr style="height: 20px">
<td style="padding-left: 7px; padding-right: 7px">
<p style="text-align: center"><span style="color:black"><strong>%2</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:black">Current week (for example, 52)</span></p>
</td>
</tr>
<tr style="height: 20px; background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p style="text-align: center"><span style="color:black"><strong>%3</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:black">Current month number (for example, 1)</span></p>
</td>
</tr>
<tr style="height: 20px">
<td style="padding-left: 7px; padding-right: 7px">
<p style="text-align: center"><span style="color:black"><strong>%4</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:black">Current month name (for example, January)</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p style="text-align: center"><span style="color:black"><strong>%5</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p><span style="color:black">Current accounting period name (for example, January)</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>
 </p>
<p>The only small downside to the options is that you can&#8217;t do &#8217;01&#8242; instead of &#8217;1&#8242; for the month, or padding on other numerical options.  All in all, though, it&#8217;s a nice little extra touch to making your recurring entries crystal clear.
</p>
<p>
 </p>
<p><em>Please note this is a simple example and depending on your accounting practices, commissions may have to be handled with Accrual/Reversing Entries.<br />
</em></p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/CUjh--MVTHE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/09/recurring-journal-document-numbers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/09/recurring-journal-document-numbers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=recurring-journal-document-numbers</feedburner:origLink></item>
		<item>
		<title>Quickly Create Role Shortcuts</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/e4nzw9kW7jg/</link>
		<comments>http://smallsquareservices.com/2011/08/quickly-create-role-shortcuts/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 20:09:02 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[Featured Posts]]></category>
		<category><![CDATA[NAV Configuration]]></category>
		<category><![CDATA[NAV Usage]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/08/quickly-create-role-shortcuts/</guid>
		<description><![CDATA[In an ideal world, you&#8217;ve helped your customer build Role Centers specific to each of the organization&#8217;s roles. But, when you need to help someone with their role, sometimes getting...]]></description>
			<content:encoded><![CDATA[<p>In an ideal world, you&#8217;ve helped your customer build Role Centers specific to each of the organization&#8217;s roles.  But, when you need to help someone with their role, sometimes getting to it from your own role can be tricky.
</p>
<p>Thankfully, Microsoft gave us a way in the Shortcut to the RTC that allows us to override our default Role Center with a specific one.  NAV Consultants often have folders that look like this lying about for easy use:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/08/082911_2009_QuicklyCrea1.png" alt=""/>
	</p>
<p>If your organization also makes use of the Profile Customization level, you might have twice that number of shortcuts.   Obviously, making all of these can be fairly time consuming.
</p>
<p>To streamline this process, we created a NAV Classic Form that will generate shortcuts for any or all Profiles.  (Note: There are also options that let people <a href="http://dynamicsuser.net/blogs/waldo/archive/2010/12/02/select-role-when-logging-into-nav-2009-rtc-v2.aspx">choose their role</a> during the RTC opening process with some customization.)
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/08/082911_2009_QuicklyCrea2.png" alt=""/>
	</p>
<p>Make sure the Locations are set up top (they default to common locations in Windows 7 64 bit environments, you may need to adjust them), select which Profiles (Roles) you&#8217;d like shortcuts for, and click <strong>Generate</strong>.  You can also set the shortcuts to be created in Configure mode if needed.  The resulting shortcuts tend to be fairly portable, as long as they&#8217;re moving between similar environments.  This tool also handles custom profiles as easily as built-in ones.
</p>
<p>This allows you to give IT staff, department heads, or anyone the ability to access the specific roles that are needed via easy to use (and easy to create) shortcuts.</p>
<p>Download it here: <a href='http://smallsquareservices.com/wp-content/uploads/2011/08/RTCShortcutMaker.zip'>RTC Shortcut Maker Object</a></p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/e4nzw9kW7jg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/08/quickly-create-role-shortcuts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/08/quickly-create-role-shortcuts/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quickly-create-role-shortcuts</feedburner:origLink></item>
		<item>
		<title>NAV Concept: Closing Date vs Normal Date</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/8owoHE5tyDI/</link>
		<comments>http://smallsquareservices.com/2011/05/nav-concept-closing-date-vs-normal-date/#comments</comments>
		<pubDate>Fri, 13 May 2011 14:39:56 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[Knowledge]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/05/nav-concept-closing-date-vs-normal-date/</guid>
		<description><![CDATA[In Microsoft Dynamics NAV, every Date has a corresponding &#8220;Closing Date&#8221;. What are they and what are they used for? Let&#8217;s take a look. You may see entries in your...]]></description>
			<content:encoded><![CDATA[<p>In Microsoft Dynamics NAV, every Date has a corresponding &#8220;Closing Date&#8221;.  What are they and what are they used for?  Let&#8217;s take a look.
</p>
<p>You may see entries in your system like this:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051311_1440_NAVConceptC1.png" alt=""/>
	</p>
<p>Notice the peculiar <strong>Posting Date</strong>?  <strong>C12/31/2009</strong>?  That&#8217;s a Closing Date.  NAV handles them as a special date that is <strong>after 12/31/2009</strong> but <strong>before 1/1/2010</strong>.
</p>
<p>Why?
</p>
<p>Simple:  By having Closing Entries be on a special date, you can run reports on a whole year, such as 1/1/2009..12/31/2009, and automatically exclude Closing Entries.  This makes it very simple to re-create reports for prior periods after a Closing Process has been completed.
</p>
<p>
 </p>
<p><strong>Technical Note</strong>
	</p>
<p>Since NAV runs (primarily) on SQL Server, and SQL Server obviously doesn&#8217;t support virtual dates snuck in between normal dates, how does that data look on the SQL side?
</p>
<p>Easy answer again:  Dates in NAV are stored as DateTime fields in SQL, but typically with a time portion of 0:00:00.000.  Closing Dates are set instead to 23:59:59.999.</p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/8owoHE5tyDI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/05/nav-concept-closing-date-vs-normal-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/05/nav-concept-closing-date-vs-normal-date/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=nav-concept-closing-date-vs-normal-date</feedburner:origLink></item>
		<item>
		<title>Quick Tip: Efficiency Through Importance</title>
		<link>http://feedproxy.google.com/~r/SmallSquareServices/~3/fDVAASHunLs/</link>
		<comments>http://smallsquareservices.com/2011/05/quick-tip-efficiency-through-importance/#comments</comments>
		<pubDate>Wed, 11 May 2011 21:02:57 +0000</pubDate>
		<dc:creator>Jeremy Vyska</dc:creator>
				<category><![CDATA[NAV Configuration]]></category>
		<category><![CDATA[FastTab]]></category>
		<category><![CDATA[UserCustomization]]></category>

		<guid isPermaLink="false">http://smallsquareservices.com/2011/05/quick-tip-efficiency-through-importance/</guid>
		<description><![CDATA[One of the biggest changes in day-to-day system use is the FastTab. In this post, we&#8217;ll go over how to control Field Importance to help you make Microsoft Dynamics NAV...]]></description>
			<content:encoded><![CDATA[<p>One of the biggest changes in day-to-day system use is the FastTab.   In this post, we&#8217;ll go over how to control Field Importance to help you make Microsoft Dynamics NAV Role Tailored Client more helpful every day.
</p>
<p>In our post, <a href="http://smallsquareservices.com/2011/05/the-anatomy-of-a-fasttab/">The Anatomy of a FastTab</a>, we outlined how fields can be different <strong>Importance</strong>.   To recap:  Importance Promoted are shown in the FastTab bar when collapsed, Importance Additional are hidden behind the <strong>Show More Fields</strong> button.
</p>
<p>In our example today, we&#8217;re going to make the Purchase Order page more tailored to our client.  They have asked:
</p>
<ul>
<li>To hide the Buy-from Contact field
</li>
<li>To hide the Buy-from City field
</li>
<li>To hide the Buy-from State / Zip field
</li>
<li>To show their <strong>Department</strong> and <strong>Project</strong> dimensions on the Invoicing FastTab &#8220;like the Payment Terms Code&#8221; so they can make sure those are always right
</li>
<li>Remove the No. of Archived Versions field entirely, even from Show More
</li>
</ul>
<p>To get started, we want to open up the Purchase Order page, and then locate the <strong>Customize This Page </strong>option:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff1.png" alt=""/><strong><br />
		</strong></p>
<p>The<strong> Customize Purchase Order</strong> window will open.  Select the <strong>FastTabs</strong> option on the far-left, then press the <strong>Customize FastTab…</strong> button on the far-right (the General FastTab is selected by default, as it is first, so we&#8217;re Customizing the General FastTab):
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff2.png" alt=""/>
	</p>
<p>You&#8217;ll now see the <strong>Customize General</strong> window:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff3.png" alt=""/>
	</p>
<p><em>You may need to resize the window a little larger to see everything.</em>
	</p>
<p>Select the <strong>Buy-From Contact No.</strong> field.   On the DropDown for <strong>Importance</strong>, select Additional:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff4.png" alt=""/>
	</p>
<p class="notetext"><em>Note: You can also click the Importance button multiple times to cycle through the options.</em>
	</p>
<p>Repeat this demotion to Additional for Buy-From City and Buy-From State/ZIP.
</p>
<p>As we mentioned, folks wanted the <strong>No. of Archived Versions</strong> field removed entirely, so we&#8217;ll do that here.  Select the field in the list, then press the <strong>Remove</strong> button.  That should move it to the left column:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff5.png" alt=""/>
	</p>
<p>Click OK (once) to head back to the <strong>Customize Purchase Order</strong> window.  We&#8217;ll want to select the <strong>Invoicing</strong> FastTab and press <strong>Customize FastTab…</strong> again.
</p>
<p>In this case, we&#8217;ll want to set the <strong>Department Code</strong> and <strong>Project Code</strong> to Importance <strong>Promoted</strong>:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff6.png" alt=""/>
	</p>
<p>Click OK (once) to head back to the <strong>Customize Purchase Order</strong> window.  Click OK (once more) to head back to the <strong>Purchase Order</strong>, which will close and re-open now, with all of our changes:
</p>
<p><img src="http://smallsquareservices.com/wp-content/uploads/2011/05/051111_2103_QuickTipEff7.png" alt=""/>
	</p>
<p>
 </p>
<p>Hopefully, this will help you and your team make the RTC a really great fit for the exact way you do business – removing unneeded fields makes the key ones stand out.
</p>
<p>The best part about these changes is that they&#8217;re per-user or per-profile and will not be affected by most object changes, but that&#8217;s for another post.</p>
<img src="http://feeds.feedburner.com/~r/SmallSquareServices/~4/fDVAASHunLs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://smallsquareservices.com/2011/05/quick-tip-efficiency-through-importance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://smallsquareservices.com/2011/05/quick-tip-efficiency-through-importance/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quick-tip-efficiency-through-importance</feedburner:origLink></item>
	</channel>
</rss>

