<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Microsoft Dynamics NAV Team Blog</title><link>http://blogs.msdn.com/b/nav/</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.20496 (Build: 5.6.583.20496)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MicrosoftDynamicsNavTeamBlog" /><feedburner:info uri="microsoftdynamicsnavteamblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Table Information including Index information (Usage, Blocks and Reads) - Again</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/r-hMPm37Pu4/table-information-including-index-information-usage-blocks-and-reads-again.aspx</link><pubDate>Wed, 08 Feb 2012 11:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10265352</guid><dc:creator>Lars Lohndorf-Larsen</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10265352</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/02/08/table-information-including-index-information-usage-blocks-and-reads-again.aspx#comments</comments><description>&lt;p&gt;This is only the same query which is already here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/nav/archive/2009/08/25/table-information-including-index-information-usage-blocks-and-reads.aspx" target="_blank"&gt;Table Information including Index information (Usage, Blocks and Reads)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I noticed that the query somehow got mal-formed to a point where it could not run. So here is a cleaned-up version.&lt;/p&gt;
&lt;p&gt;In summary: This query shows a list of all tables and indexes in a SQL database to help identifying in which tables the most blocks happen, and to give a starting point for index tuning. For further details, refer to the original blog post.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p sizcache="6" sizset="0"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p sizcache="6" sizset="0"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p sizcache="6" sizset="0"&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--use NAVDatabase&lt;/p&gt;
&lt;p&gt;IF OBJECT_ID ('z_IUQ2_Temp_Index_Keys', 'U') IS NOT NULL&lt;br /&gt;DROP TABLE z_IUQ2_Temp_Index_Keys;&lt;/p&gt;
&lt;p&gt;-- Generate list of indexes with key list&lt;br /&gt;create table z_IUQ2_Temp_Index_Keys &lt;br /&gt;([l1] [bigint] NOT NULL,&lt;br /&gt;[F_Obj_ID] [bigint] NOT NULL,&lt;br /&gt;[F_Schema_Name] [nvarchar] (128) NULL,&lt;br /&gt;[F_Table_Name] [nvarchar] (128) NOT NULL,&lt;br /&gt;[F_Row_Count] [bigint] NULL,&lt;br /&gt;[F_Reserved] [bigint] NULL,&lt;br /&gt;[F_Data] [bigint] NULL,&lt;br /&gt;[F_Index_Size] [bigint] NULL,&lt;br /&gt;[F_UnUsed] [bigint] NULL,&lt;br /&gt;[F_Index_Name] [nvarchar] (128) NULL,&lt;br /&gt;[F_Index_ID] [bigint] NOT NULL,&lt;br /&gt;[F_Column_Name] [nvarchar] (128) NULL,&lt;br /&gt;[F_User_Updates] [bigint] NULL,&lt;br /&gt;[F_User_Reads] [bigint] NULL,&lt;br /&gt;[F_Locks] [bigint] NULL,&lt;br /&gt;[F_Blocks] [bigint] NULL,&lt;br /&gt;[F_Block_Wait_Time] [bigint] NULL,&lt;br /&gt;[F_Last_Used] [datetime] NULL,&lt;br /&gt;[F_Index_Type] [nvarchar] (128) NOT NULL,&lt;br /&gt;[F_Index_Column_ID] [bigint] NOT NULL,&lt;br /&gt;[F_Last_Seek] [datetime] NULL,&lt;br /&gt;[F_Last_Scan] [datetime] NULL,&lt;br /&gt;[F_Last_Lookup] [datetime] NULL,&lt;br /&gt;[Index_Key_List] [nvarchar] (MAX) NULL &lt;br /&gt;)&lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;CREATE NONCLUSTERED INDEX [Object_ID_Index] ON [dbo]. &lt;br /&gt;[z_IUQ2_Temp_Index_Keys]&lt;br /&gt;(&lt;br /&gt;[F_Obj_ID] &lt;br /&gt;ASC&lt;br /&gt;)&lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;CREATE NONCLUSTERED INDEX [Index_ID_Index] ON [dbo].&lt;br /&gt;[z_IUQ2_Temp_Index_Keys]&lt;br /&gt;(&lt;br /&gt;[F_Index_ID] &lt;br /&gt;ASC&lt;br /&gt;)&lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;CREATE NONCLUSTERED INDEX [RowCount_ID_Index] ON [dbo]. &lt;br /&gt;[z_IUQ2_Temp_Index_Keys]&lt;br /&gt;(&lt;br /&gt;[F_Row_Count] &lt;br /&gt;ASC&lt;br /&gt;)&lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;INSERT INTO z_IUQ2_Temp_Index_Keys&lt;br /&gt;SELECT&lt;br /&gt;(&lt;br /&gt;row_number() over(order by a3.name, a2.name))%2 as l1,&lt;br /&gt;a1.object_id,&lt;br /&gt;a3.name AS [schemaname],&lt;br /&gt;a2.name AS [tablename],&lt;br /&gt;a1.rows as row_count, &lt;br /&gt;(&lt;br /&gt;a1.reserved + ISNULL(a4.reserved,0))* 8 AS reserved, &lt;br /&gt;a1.data * 8 AS data, &lt;br /&gt;(&lt;br /&gt;CASE WHEN (a1.used + ISNULL(a4.used,0)) &amp;gt; a1.data THEN (a1.used + ISNULL(a4.used,0)) - a1.data ELSE 0 END) * 8 AS index_size, &lt;br /&gt;(&lt;br /&gt;CASE WHEN (a1.reserved + ISNULL(a4.reserved,0)) &amp;gt; a1.used THEN (a1.reserved + ISNULL(a4.reserved,0)) - a1.used ELSE 0 END) * 8 AS unused,&lt;/p&gt;
&lt;p&gt;-- Index Description&lt;br /&gt;SI.name,&lt;br /&gt;SI.Index_ID,&lt;br /&gt;index_col(object_name(SIC.object_id),SIC.index_id,SIC.Index_Column_ID),&lt;/p&gt;
&lt;p&gt;-- Index Stats&lt;br /&gt;US.user_updates,&lt;br /&gt;US.user_seeks + US.user_scans + US.user_lookups User_Reads,&lt;/p&gt;
&lt;p&gt;-- Index blocks&lt;br /&gt;IStats.row_lock_count + IStats.page_lock_count,&lt;br /&gt;IStats.row_lock_wait_count + IStats.page_lock_wait_count,&lt;br /&gt;IStats.row_lock_wait_in_ms + IStats.page_lock_wait_in_ms,&lt;/p&gt;
&lt;p&gt;-- Dates&lt;br /&gt;CASE &lt;br /&gt;WHEN&lt;br /&gt;&amp;nbsp; (ISNULL(US.last_user_seek,'00:00:00.000') &amp;gt;= ISNULL(US.last_user_scan,'00:00:00.000')) and &lt;br /&gt;&amp;nbsp; (ISNULL(US.last_user_seek,'00:00:00.000') &amp;gt;= ISNULL(US.last_user_lookup,'00:00:00.000')) &lt;br /&gt;THEN &lt;br /&gt;&amp;nbsp; US.last_user_seek&lt;br /&gt;WHEN &lt;br /&gt;&amp;nbsp; (ISNULL(US.last_user_scan,'00:00:00.000') &amp;gt;= ISNULL(US.last_user_seek,'00:00:00.000')) and &lt;br /&gt;&amp;nbsp; (ISNULL(US.last_user_scan,'00:00:00.000') &amp;gt;= ISNULL(US.last_user_lookup,'00:00:00.000')) &lt;br /&gt;THEN &lt;br /&gt;&amp;nbsp; US.last_user_scan &lt;br /&gt;ELSE &lt;br /&gt;&amp;nbsp; US.last_user_lookup&lt;br /&gt;END AS Last_Used_For_Reads,&lt;br /&gt;SI.type_desc,&lt;br /&gt;SIC.index_column_id,&lt;br /&gt;US.last_user_seek,&lt;br /&gt;US.last_user_scan,&lt;br /&gt;US.last_user_lookup,&lt;br /&gt;''&lt;/p&gt;
&lt;p&gt;FROM&lt;br /&gt;(&lt;br /&gt;SELECT &lt;br /&gt;ps.object_id,&lt;br /&gt;SUM&lt;br /&gt;(&lt;br /&gt;CASE&lt;br /&gt;WHEN&lt;br /&gt;&amp;nbsp; (ps.index_id &amp;lt; 2) &lt;br /&gt;THEN &lt;br /&gt;&amp;nbsp; row_count&lt;br /&gt;ELSE&lt;br /&gt;&amp;nbsp; 0&lt;br /&gt;END&lt;br /&gt;)&lt;br /&gt;AS [rows],&lt;br /&gt;SUM(ps.reserved_page_count) AS reserved,&lt;br /&gt;SUM&lt;br /&gt;(&lt;br /&gt;CASE&lt;br /&gt;WHEN&lt;br /&gt;&amp;nbsp; (ps.index_id &amp;lt; 2) &lt;br /&gt;THEN &lt;br /&gt;&amp;nbsp; (ps.in_row_data_page_count + ps.lob_used_page_count + ps.row_overflow_used_page_count)&lt;br /&gt;ELSE&lt;br /&gt;&amp;nbsp; (ps.lob_used_page_count + ps.row_overflow_used_page_count)&lt;br /&gt;END&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;AS data,&lt;br /&gt;SUM (ps.used_page_count) AS used&lt;br /&gt;FROM &lt;br /&gt;sys.dm_db_partition_stats ps&lt;br /&gt;GROUP BY ps.object_id) AS a1&lt;/p&gt;
&lt;p&gt;LEFT OUTER JOIN&lt;br /&gt;( &lt;br /&gt;SELECT &lt;br /&gt;it.parent_id,&lt;br /&gt;SUM (ps.reserved_page_count) AS reserved,&lt;br /&gt;SUM (ps.used_page_count) AS used&lt;br /&gt;FROM sys.dm_db_partition_stats ps&lt;/p&gt;
&lt;p&gt;INNER JOIN sys.internal_tables it ON (it.object_id = ps.object_id)&lt;br /&gt;WHERE it.internal_type IN (202,204)&lt;br /&gt;GROUP BY it.parent_id) AS a4 ON (a4.parent_id = a1.object_id)&lt;/p&gt;
&lt;p&gt;INNER JOIN sys.all_objects a2 ON ( a1.object_id = a2.object_id ) &lt;br /&gt;INNER JOIN sys.schemas a3 ON (a2.schema_id = a3.schema_id) &lt;br /&gt;INNER JOIN sys.indexes SI ON (SI.object_id = a1."object_id") &lt;br /&gt;INNER JOIN sys.index_columns SIC ON (SIC.object_id = SI.object_id and SIC.index_id = SI.index_id) &lt;br /&gt;LEFT OUTER JOIN sys.dm_db_index_usage_stats US ON (US.object_id = SI.object_id and US.index_id = SI.index_id and US.database_id = db_id())&lt;br /&gt;LEFT OUTER JOIN sys.dm_db_index_operational_stats(NULL,NULL,NULL,NULL) IStats ON (IStats.object_id = SI.object_id and IStats.index_id = SI.index_id and IStats.database_id = db_id())&lt;/p&gt;
&lt;p&gt;WHERE a2.type &amp;lt;&amp;gt; N'S' and a2.type &amp;lt;&amp;gt; N'IT'&lt;br /&gt;ORDER BY row_count DESC&lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;-- Populate key string&lt;br /&gt;DECLARE IndexCursor CURSOR FOR SELECT&lt;br /&gt;F_Obj_ID, &lt;br /&gt;F_Index_ID &lt;br /&gt;FROM&lt;br /&gt;z_IUQ2_Temp_Index_Keys&lt;br /&gt;FOR UPDATE OF&lt;br /&gt;Index_Key_List&lt;/p&gt;
&lt;p&gt;DECLARE @objID int &lt;br /&gt;DECLARE @IndID int &lt;br /&gt;DECLARE @KeyString VARCHAR(MAX)&lt;/p&gt;
&lt;p&gt;SET @KeyString = NULL&lt;br /&gt;OPEN IndexCursor&lt;br /&gt;SET NOCOUNT ON&lt;br /&gt;FETCH NEXT FROM IndexCursor INTO @ObjID, @IndID&lt;/p&gt;
&lt;p&gt;WHILE @@fetch_status = 0 BEGIN&lt;br /&gt;&amp;nbsp; SET @KeyString = ''&lt;br /&gt;&amp;nbsp; SELECT @KeyString = COALESCE(@KeyString,'') + F_Column_Name + ', '&lt;br /&gt;&amp;nbsp; FROM z_IUQ2_Temp_Index_Keys&lt;br /&gt;&amp;nbsp; WHERE F_Obj_ID = @ObjID and F_Index_ID = @IndID&lt;br /&gt;&amp;nbsp; ORDER BY F_Index_ID, F_Index_Column_ID&lt;br /&gt;&amp;nbsp; SET @KeyString = LEFT(@KeyString,LEN(@KeyString) -2)&lt;br /&gt;&amp;nbsp; UPDATE z_IUQ2_Temp_Index_Keys&lt;br /&gt;&amp;nbsp; SET Index_Key_List = @KeyString&lt;br /&gt;&amp;nbsp; WHERE CURRENT OF IndexCursor&lt;br /&gt;&amp;nbsp; FETCH NEXT FROM IndexCursor INTO @ObjID, @IndID&lt;br /&gt;END;&lt;br /&gt;CLOSE IndexCursor&lt;br /&gt;DEALLOCATE IndexCursor &lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;-- clean up table to one line per index&lt;br /&gt;DELETE FROM&amp;nbsp; z_IUQ2_Temp_Index_Keys&lt;br /&gt;WHERE [F_Index_Column_ID] &amp;gt; 1 &lt;br /&gt;GO&lt;/p&gt;
&lt;p&gt;-- Select results&lt;br /&gt;SELECT&lt;br /&gt;[F_Table_Name] TableName,&lt;br /&gt;[F_Row_Count] No_Of_Records,&lt;br /&gt;[F_Data] Data_Size,&lt;br /&gt;[F_Index_Size] Index_Size,&lt;br /&gt;[F_Index_Name] Index_Name,&lt;br /&gt;[F_User_Updates] Index_Updates,&lt;br /&gt;[F_User_Reads] Index_Reads,&lt;br /&gt;CASE WHEN&lt;br /&gt;F_User_Reads = 0 THEN F_User_Updates&lt;br /&gt;ELSE&lt;br /&gt;F_User_Updates / F_User_Reads&lt;br /&gt;END AS Updates_Per_Read,&lt;br /&gt;[F_Locks] Locks,&lt;br /&gt;[F_Blocks] Blocks,&lt;br /&gt;[F_Block_Wait_Time] Block_Wait_Time,&lt;br /&gt;[F_Last_Used] Index_Last_Used,&lt;br /&gt;[F_Index_Type] Index_Type,&lt;br /&gt;[Index_Key_List] Index_Fields&lt;br /&gt;FROM z_IUQ2_Temp_Index_Keys&lt;/p&gt;
&lt;p&gt;--order by F_Row_Count desc, F_Table_Name, [F_Index_ID]&lt;br /&gt;--order by F_User_Updates desc&lt;br /&gt;--order by Blocks desc&lt;br /&gt;--order by Block_Wait_Time desc&lt;br /&gt;--order by Updates_Per_Read desc&lt;br /&gt;ORDER BY F_Table_Name&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10265352" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/r-hMPm37Pu4" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Lohndorf/">Lohndorf</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Performance/">Performance</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/02/08/table-information-including-index-information-usage-blocks-and-reads-again.aspx</feedburner:origLink></item><item><title>WS on a multilanguage environment</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/fleiN-DJ6-4/ws-on-a-multilanguage-environment.aspx</link><pubDate>Mon, 06 Feb 2012 09:05:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10264316</guid><dc:creator>Diego Garcia Alvarez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10264316</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/02/06/ws-on-a-multilanguage-environment.aspx#comments</comments><description>&lt;p&gt;After collecting Partner's and Customer's feedback about the changes introduced on build 32558 regarding Web Services (&lt;a href="http://blogs.msdn.com/b/nav/archive/2011/10/03/en-us-as-web-services-default-language.aspx"&gt;remember)&lt;/a&gt;, DEV team has decided to introduce a way of avoiding them if desired.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In order to do so a new feature has been introduced on build 300759 (KB Article 2667345), this new feature allows you to add a new key to CustomSettings.Config file that will revert changes performed on build 32558 and therefore language used or WS will be the one that is logged for the calling user identity in the User Personalization Table, if any.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is the key that has to be &lt;b&gt;&lt;span style="text-decoration: underline;"&gt;manually added &lt;/span&gt;&lt;/b&gt;(Meaning is not present on the Config File)to the NAV Server configuration file:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;!--&lt;/p&gt;
&lt;p&gt;The default Culture in which SOAP Web Service calls are run.&lt;/p&gt;
&lt;p&gt;Supported values&lt;/p&gt;
&lt;p&gt;"false" (the default)&lt;br /&gt;ensuring Web Services are running on a fixed culture,&lt;/p&gt;
&lt;p&gt;"true" use the Culture&lt;br /&gt;that is logged for the calling user identity in the User Personalization Table,&lt;br /&gt;if any --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;add&lt;br /&gt;key="ServicesCultureDefaultUserPersonalization"&lt;br /&gt;value="false"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If we select &lt;i&gt;false&lt;/i&gt; then everything keeps the same and what was applied on build 32558 remains, thus you will see all error messages in English and culture (Decimals, dates, etc.) will work with EN-US values.&lt;/p&gt;
&lt;p&gt;However if we set the key to &lt;i&gt;true&lt;/i&gt; then the Culture that is logged for the calling user identity in the User Personalization Table (if any) will apply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;KB article for this Hotfix is placed on the next link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2667345"&gt;https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2667345&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please be aware that this change (32558 build one) was introduced to break the dependency of WS language to RTC one so applying this HF and setting this key to true will enable that dependency back again which could be buggy on&amp;nbsp; mltilanguage environments where different languages are present for different NAV clients (RTC, WS, Classic Client).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What was introduced on build 32558 guaranteed that WS will always take EN-US as default language building a more predictable scenario.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyhow and following your feedback we have asked DEV for a way to let NAV administrators to make this decision and this is the answer to this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I hope you find this helpful.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Diego Garc&amp;iacute;a &amp;Aacute;lvarez&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Dynamics NAV Senior&lt;br /&gt;Support&amp;nbsp; &lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10264316" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/fleiN-DJ6-4" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/MULTILANGUAGE/">MULTILANGUAGE</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/WS/">WS</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/02/06/ws-on-a-multilanguage-environment.aspx</feedburner:origLink></item><item><title>How calendars are considered when calculating lead times</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/DTbXP4aAvUM/how-calendars-are-considered-when-calculating-lead-times.aspx</link><pubDate>Wed, 01 Feb 2012 09:25:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10262639</guid><dc:creator>Sigfredo Beerman</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10262639</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/02/01/how-calendars-are-considered-when-calculating-lead-times.aspx#comments</comments><description>&lt;p&gt;Lead time calculation is the calculation that takes place to calculate "Expected Receipt Date" from the "Order Date" or the other way around. Similarly, sales have the calculation to calculate "Planned Delivery Date" from "Shipment Date" or the other way around as well. Here, we will be focusing on the Purchase side but this will have same explanation for the Sales.&lt;/p&gt;
&lt;p&gt;In any case, the interesting piece I would like to cover is how determines what calendar to consider when calculating lead times. As you know, there are many different calendars in NAV:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Company calendar&lt;/li&gt;
&lt;li&gt;Location calendar&lt;/li&gt;
&lt;li&gt;Vendor calendar&lt;/li&gt;
&lt;li&gt;Shipping Agent calendar&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But, how all those relate when this calculation takes place? First of all, we need to have the following NAV premise in mind: if we don't have vendor calendar defined, NAV considers location calendar. Thus, if for whatever reason you have a location calendar while vendor does not have any (7 days per week), NAV will calculate the expected receipt date based on the location calendar. Here, most of the times, we wouldn't like this since we don't want the vendor lead time to be impacted by our location/warehouse calendar. If you are aware of this premise, you will understand better the design and you will have to setup a workaround: to create a vendor calendar with all days as working days (7 days per week). Having this in mind, NAV will find the vendor calendar (all working days) and will use this together with the vendor lead time.&lt;/p&gt;
&lt;p&gt;Now, what are the different calculations that NAV is doing with lead times and calendars? a backward calculation and a forward calculation. Lets try to explain this a bit:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Forward. Here, we are calculating the expected receipt date (when do we have this in our company's premises?). This calculation is being done from the "Order Date". In other words, we now the purchase "Order Date" and we need to calculate the purchase "Expected Receipt Date" together with lead times and calendars. As mentioned above, if we don't have vendor calendar, it will use the location calendar. If we have vendor calendar (workaround: 7 days/week working days), it will use this vendor calendar together with the lead time and, once this final date is found, it will round to the next working day as per the location calendar (so, we won't set the "Expected Receipt Date" to a non-working date based on our location calendar but to the next working).&lt;/li&gt;
&lt;li&gt;Backward. Here, we know the "Expected Receipt Date" (for instance, this is a requisite from our planning) and we need to calculate the "Order Date". The logic is similar to the above while we are calculation this backward (we know when do we&amp;nbsp;want to have this available "Expected ..." and we would like to determine the date when we need to place this purchase "Order Date").&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here, the main thing is the fact about location calendar being used when vendor calendar is not set. As long as you are aware of this, you will anticipate issues by setting a 7 d/week calendar for the vendor to ensure this will be considered.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10262639" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/DTbXP4aAvUM" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/SCM/">SCM</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/02/01/how-calendars-are-considered-when-calculating-lead-times.aspx</feedburner:origLink></item><item><title>New Report Design Guidelines</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/uqoH6y2iQWY/new-report-ux-guidelines.aspx</link><pubDate>Tue, 31 Jan 2012 09:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10262143</guid><dc:creator>clausl</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10262143</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/31/new-report-ux-guidelines.aspx#comments</comments><description>&lt;p&gt;[This post has been updated for accuracy since the first publication.]&lt;/p&gt;
&lt;p&gt;For NAV RDLC reports, we have drafted Report Design Guidelines.&lt;/p&gt;
&lt;p&gt;I see report developers as artists because they start with a&amp;nbsp;blank piece of paper, just like an artist. As artists, only your imagination stops you from what you draw and add to this piece of paper. If you have worked with our new RDLC reports in NAV 2009 you have probably realized the many possibilities and options in Visual Studio. So not to limit the creativity of report developers but to help you, we have decided to leverage new Report Design Guidelines for many of our reports in the standard application in our next version. The intention with these guidelines is not to create extra work for the report developers but actually to help. Also this gives consistency so that when designing several reports, it is very easy for report developers to know how the reports should look and you do not need to spend time inventing a new look and feel for each report. In essence, the Report Design Guidelines should save you time when designing reports.&lt;/p&gt;
&lt;p&gt;Although the Report Design Guidelines are not final and published yet, there is nothing stopping you from leveraging the new guidelines for your RDLC reports in NAV 2009.&lt;/p&gt;
&lt;p&gt;Attached you will find the draft of the Report Design Guidelines.&lt;/p&gt;
&lt;p&gt;At the moment, the draft of the&amp;nbsp;Report Design Guidelines comprises a checklist, which you can go through one by one. For example, it is a good practice to define the Page Width, Page Height, and margins in the Report Properties before starting to design your report. Please note that all checks do not necessarily apply to all report types and that the guidelines are currently in a draft state. We would very much like to hear your feedback about the guidelines!&lt;/p&gt;
&lt;p&gt;To help you understand how to use the new Report Design Guidelines in NAV 2009 we have done several &amp;ldquo;How to videos&amp;rdquo;. You can find the videos here at YouTube: &lt;a href="http://www.youtube.com/playlist?list=PL5C8332C783CEA7A0"&gt;http://www.youtube.com/playlist?list=PL5C8332C783CEA7A0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the new Report Design Guidelines you will also find several examples on how reports will look when the guidelines have been followed. Also I have applied the new Report Design Guidelines to couple of attached standard reports. Please find these in attached zip file.&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Claus Lundstr&amp;oslash;m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10262143" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/uqoH6y2iQWY" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-26-21-43/Report-UX-Guidelines.zip" length="1402907" type="application/octet-stream" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/Reporting/">Reporting</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Clausl/">Clausl</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/UX+Guidelines/">UX Guidelines</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/31/new-report-ux-guidelines.aspx</feedburner:origLink></item><item><title>QR Codes for Microsoft Dynamics NAV</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/uzs0rLPW1ao/qr-codes-for-microsoft-dynamics-nav.aspx</link><pubDate>Thu, 19 Jan 2012 19:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10258598</guid><dc:creator>navteam</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10258598</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/19/qr-codes-for-microsoft-dynamics-nav.aspx#comments</comments><description>&lt;p&gt;QR codes (abbreviated from Quick Response code) are appearing in many different places today, and they are found to be quick and efficient when it comes to working with mobile phones and other devices which can read them. QR Code is a multipurpose instrument and it can hold all sorts of different types of valuable information like your company&amp;rsquo;s or your salesperson&amp;rsquo;s contact details, sales invoice information, promotional codes, location information, checksums, amounts, web links etc., which you can read using a QR code reader to automate some of the routine manual processes, like typing in things manually.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The QR code is a two-dimensional data-matrix which can be decoded very fast. The format is clearly defined and published as an ISO standard.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5327.qrcode.png"&gt;&lt;img style="border: 0px;" alt="QR code" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5327.qrcode.png" width="202" height="200" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As the Windows Phone 7.5 update, code name &amp;ldquo;Mango&amp;rdquo;, rolls out to customers, it makes it even more relevant to use the QR codes, as you can now use your Windows phone camera to scan QR codes by bringing them into camera view. Bing will recognize QR codes and will help you save and use the information encoded in it.&lt;/p&gt;
&lt;p&gt;In some countries, popularity of QR codes has grown so much, that their usage is now considered a national standard. Our team has recently released an update for the Mexican market, where we added QR codes to several major Microsoft Dynamics NAV documents. And we thought &amp;ndash; why don&amp;rsquo;t we let everyone else enjoy this new cool feature?&lt;/p&gt;
&lt;p&gt;The update is available for NAV 5.0 SP1, NAV 2009 SP1 and NAV 2009 R2 versions of the product.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;URLs for Microsoft Dynamics NAV 2009 SP1 and R2&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mbs.microsoft.com/customersource/downloads/taxupdates/MSDNAV2009SP1ElectronicInvoice_Mexico"&gt;https://mbs.microsoft.com/customersource/downloads/taxupdates/MSDNAV2009SP1ElectronicInvoice_Mexico&lt;/a&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;URLs for Microsoft Dynamics NAV 5.0 SP1 &lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mbs.microsoft.com/customersource/downloads/taxupdates/MSDNAV5SP1ElectronicInvoice_Mexico"&gt;https://mbs.microsoft.com/customersource/downloads/taxupdates/MSDNAV5SP1ElectronicInvoice_Mexico&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, the only part you need from it is the &lt;b&gt;MXElectronicInvoice.msi&lt;/b&gt; file included in the package. Note that the .msi file is exactly the same for both versions of NAV.&lt;/p&gt;
&lt;p&gt;Here is what you have to do to get your data encoded into a QR code:&lt;/p&gt;
&lt;p&gt;1. Run the installer to deploy the dll we shipped for this update. Among other things, the dll includes &lt;b&gt;QRCodeProvider&lt;/b&gt;&amp;nbsp; and &lt;b&gt;IBarCodeProvider&lt;/b&gt; classes which we can use.&lt;/p&gt;
&lt;p&gt;2. Add a BLOB field which will be storing the QR Code image into the Sales Invoice Header table for example:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8420.qrcode02.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8420.qrcode02.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Remember to set the SubType property to Bitmap if you would like to use the QR code on pages:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0336.qrcode03.png"&gt;&lt;img style="border: 0px;" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0336.qrcode03.png" width="388" height="300" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. You can now use the following code to generate a QR code image, which for demo purposes will be saved into a first found posted sales invoice (needless to say, you should be doing it on a test database ;) ) In this example we will encode a contact card with some predefined details.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;OBJECT Codeunit 50001 QR Code Mgt.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; OBJECT-PROPERTIES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date=;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time=;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified=Yes;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version List=QR Code;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; PROPERTIES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnRun=VAR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyInfo@1170000004 : Record 2000000006;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesInvoiceHeader@1170000003 : Record 112;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempBlob@1170000002 : Record 99008535;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeInput@1170000000 : Text[1024];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeFileName@1170000001 : Text[1024];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Save a QR code image into a file in a temporary folder&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeInput := CreateQRCodeInput('John,Doe','+555 1231231','john@doe.zzz','www.johndoe.zzz');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeFileName := GetQRCode(QRCodeInput);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeFileName := MoveToMagicPath(QRCodeFileName); // To avoid confirmation dialogue on RTC&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Load the image from file into the BLOB field&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR(TempBlob);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeTierMgt.BLOBImport(TempBlob,QRCodeFileName,FALSE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF SalesInvoiceHeader.FINDFIRST THEN BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesInvoiceHeader."QR Code" := TempBlob.Blob;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesInvoiceHeader.MODIFY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Erase the temporary file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF NOT ISSERVICETIER THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF EXISTS(QRCodeFileName) THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERASE(QRCodeFileName);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE('Done!');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; CODE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeTierMgt@1170000001 : Codeunit 419;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCAL PROCEDURE CreateQRCodeInput@1020046(Name@1020000 : Text[80];PhoneNo@1020002 : Text[80];EMail@1020003 : Text[80];URL@1170000000 : Text[80]) QRCodeInput : Text[1024];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeInput :=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MECARD:' +&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'N:' + Name + ';' +&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'TEL:' + PhoneNo + ';' +&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'EMAIL:' + EMail + ';' +&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'URL:' + URL + ';';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCAL PROCEDURE GetQRCode@1020038(QRCodeInput@1020001 : Text[1024]) QRCodeFileName : Text[1024];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBarCodeProvider@1020000 : Automation "{89F54BC4-E6C9-44BA-8574-86568625BFF8} 1.0:{9FE38730-1A3C-4B84-A8C2-AFAC6A90E641}:'Microsoft Dynamics Nav MX Services'.IBarCodeProvider";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetBarCodeProvider(IBarCodeProvider);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeFileName := IBarCodeProvider.GetBarCode(QRCodeInput);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCEDURE GetBarCodeProvider@1020001(VAR IBarCodeProvider@1020000 : Automation "{89F54BC4-E6C9-44BA-8574-86568625BFF8} 1.0:{9FE38730-1A3C-4B84-A8C2-AFAC6A90E641}:'Microsoft Dynamics Nav MX Services'.IBarCodeProvider");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QRCodeProvider@1020002 : Automation "{89F54BC4-E6C9-44BA-8574-86568625BFF8} 1.0:{69FEA5E6-0A76-4555-B74B-F170956B0098}:'Microsoft Dynamics Nav MX Services'.QRCodeProvider";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ISCLEAR(QRCodeProvider) THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE(QRCodeProvider,TRUE,TRUE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBarCodeProvider := QRCodeProvider;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCEDURE MoveToMagicPath@1170000000(SourceFileName@1170000000 : Text[1024]) DestinationFileName : Text[1024];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileSystemObject@1170000001 : Automation "{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} 1.0:{0D43FE01-F093-11CF-8940-00A0C9054228}:'Windows Script Host Object Model'.FileSystemObject";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DestinationFileName := ThreeTierMgt.ClientTempFileName('','');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ISCLEAR(FileSystemObject) THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE(FileSystemObject,TRUE,TRUE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileSystemObject.MoveFile(SourceFileName,DestinationFileName);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;5. With the image saved in the BLOB field, it is now &amp;ldquo;business as usual&amp;rdquo; to add it to a report. You can see, for example, how company logo is added to the standard NAV document reports. NB. Don&amp;rsquo;t forget to run CALCFIELDS on the "QR Code" field before you display its content. :-)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6648.qrcode04.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6648.qrcode04.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;6. And finally &amp;ndash; run the report to see the QR code which you or your customers can scan, for example, with your favorite &amp;nbsp;Windows 7.5 mobile phone:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0160.qrcode05.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0160.qrcode05.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Microsoft Dynamics NAV ERM Team&lt;/p&gt;
&lt;p&gt;Dmitry Chadayev, Program Manager&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10258598" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/uzs0rLPW1ao" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Development/">Development</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Reporting/">Reporting</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/19/qr-codes-for-microsoft-dynamics-nav.aspx</feedburner:origLink></item><item><title>Simulation of Average Cost Calculation</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/antccTA07QI/simulation-of-average-cost-calculation.aspx</link><pubDate>Fri, 13 Jan 2012 12:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10252138</guid><dc:creator>navteam</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10252138</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/13/simulation-of-average-cost-calculation.aspx#comments</comments><description>&lt;p&gt;When using Average Costing method it&amp;rsquo;s sometimes difficult to interpret the assigned costs of an outbound entry.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the scenario below there is process description for simulating the average cost calculation. This is often used when investigating costing issues related to the average costing method. It has been helpful in verifying the recognized COGS, to describe the average cost calculation or using it as identification that somewhere in time the average cost is unexpected. It helps to identify the area for deeper research of the records demonstrating unexpected values.&lt;/p&gt;
&lt;p&gt;This blog post describes the process for how the average cost calculation can be simulated only and does not describe possible causes or possible correction processes.&lt;/p&gt;
&lt;p&gt;The following scenario is carried out to create the basic data set. The data set is then used as base for processing and analyzing the average cost calculation when having the setup Average Cost Period as Day and Month respectively.&lt;/p&gt;
&lt;p&gt;The scenario is carried out in a W1 Cronus database.&lt;/p&gt;
&lt;p&gt;The first two steps create the basic data set which later on is used in respective simulation of average cost calculation.&lt;/p&gt;
&lt;p&gt;1. Create Item: TEST&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Average Costing method&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Unit Cost: 10&lt;/p&gt;
&lt;p&gt;2. Create and post the following documents.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1030.avgcost01.png"&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0310.avgcost01b.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0310.avgcost01b.png" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are aiming for creating the full scenario and working through the respective simulations of Average cost calculation for Day and Month, it&amp;rsquo;s a good thing to create a backup now.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-large;"&gt;Inventory setup, Average Cost Calc Period =&amp;nbsp;Day&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Run the&amp;nbsp;&lt;strong&gt;Adjust Cost - Item Entries&lt;/strong&gt; batch job.&lt;/p&gt;
&lt;p&gt;4. Filter the Item Ledger Entry table on Item TEST and review the fields specified below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8836.avgcost02.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8836.avgcost02.png" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1754.avgcost02.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;5. Open Revaluation Journal&lt;/p&gt;
&lt;p&gt;6. Run Function Calculate Inventory Value:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Filter Item: TEST&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Posting Date: September 15, 2011&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Per Item&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3513.avgcost03.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3513.avgcost03.png" width="771" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;7. Change Unit Cost (Revalued) to 12 as above.&lt;/p&gt;
&lt;p&gt;8. Post Line.&lt;/p&gt;
&lt;p&gt;9. Run &lt;strong&gt;Adjust Cost - Item Entries&lt;/strong&gt; batch job.&lt;/p&gt;
&lt;p&gt;10. Filtering the Value Entries table on&amp;nbsp;Item TEST, the following records are available:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8802.avgcost04.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8802.avgcost04.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;Simulation of Average Cost Calculation with Average Cost period = Day&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now we are moving into the process of simulating the Average cost Calculation when Average cost period is Day, using the data for item TEST created in the scenario above.&lt;/p&gt;
&lt;p&gt;When you have identified the Item that you need to further analyze the following process can be used. Below the described process, there is a screenshot showing the results of the simulation of the Average Cost calculation of item TEST.&lt;br /&gt;In addition there is an Excel sheet attached where the full data set is available where used formulas, etc. can be reviewed more closely.&lt;/p&gt;
&lt;p&gt;1. In the Value Entries table, filter on the particular Item that is to be analyzed.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;If Average Cost Calc. Type is per Item&amp;amp;Location&amp;amp;Variant the filter has to cover also these fields with particular values in scope for the analysis.&lt;/p&gt;
&lt;p&gt;2. Paster filtered Value entries into Excel.&lt;/p&gt;
&lt;p&gt;3. Do a Custom Sorting using the fields as below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0753.avgcost05.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0753.avgcost05.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Comments to respective field being a part of the sorting:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Valuation Date:&lt;/b&gt; is the date for when the entry shall be part of the Average cost calculation.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Partial&lt;/b&gt; &lt;b&gt;Revaluation:&lt;/b&gt; a field that states Yes on Value entries with Type Revaluation. Revaluations affect the valuation of the following period&amp;rsquo;s outbound entries, not the outbound entries of the same period.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Valued quantity:&lt;/b&gt; is populated on every Value entry, corresponds to Item ledger entry quantity, Invoiced Quantity or Revalued quantity. Largest to smallest brings the inbound entries to come before the outbound entries of the period and thereby create the base for calculating the average cost of the period.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Item Ledger entry No.:&lt;/b&gt; Is to group the value entries attached to same Item ledger entry no.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Insert Summary lines where you want to establish the periods Average Cost (grey lines below). A summary line shall be inserted above the first outbound entry of a period. To identify the breakpoint for inserting the summary line follow these steps:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;a. Establish the Valuation Date to be in scope for the investigation and locate these entries in the sorted Value entry list.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;b. Then follow the stated quantities in field Valued Quantity for the chosen Valuation date. Identify the first line with negative quantity and you have the first outbound entry of the period.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;c. Insert a line for calculation, above the first outbound entry of the period (example in the screenshot below and in attached spreadsheet; column M row 3 and 5, row 3 positive Valued Quantity, row 5 negative Valued Quantity, Summary line is inserted, row 4.&lt;/p&gt;
&lt;p&gt;5. Make a Sum of the columns; Cost Amount (Actual), Cost Amount (Expected) and Item Ledger Entry Quantity. Calculate the Average Unit Cost of the period (column R) with the following formula:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6116.avgcost06.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6116.avgcost06.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you have several Summary lines inserted, make sure to include the previous summary line into the calculation of respective column for the next period.&lt;br /&gt;&lt;br /&gt;6. Choose an outbound entry, usually the first outbound entry of the period and then a couple of others, randomly selected in the period or those that for some reasons is of particular interest, and calculate the average cost per unit with the formula above (green, purple and blue sections in screenshot below).&lt;br /&gt;&lt;br /&gt;- Does it correspond to the average unit cost of the period?&lt;br /&gt;&lt;br /&gt;If not, ensure it is not fixed applied to an inbound entry: If field Valued By Average Cost is False, it is fixed applied to an inbound entry. &lt;br /&gt;To which entry?; Follow up on the parent Item Ledger entry, field Applies-to Entry shall carry the entry no. of the supplying Item Ledger Entry.&lt;br /&gt;If not fixed applied; establish the Amount Rounding precision and investigate if that has an effect on the Calculated Average cost.&lt;/p&gt;
&lt;p&gt;These are the Value entries for item TEST when they have been sorted as described in step 3, where Summary lines has been inserted to establish Average cost for a certain period (step 4, 5) and where the&amp;nbsp; first outbound entry of the period is calculated (step 6).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2211.avgcost07.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2211.avgcost07.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In attached spreadsheet used formulas can be checked by clicking in respective field.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-large;"&gt;Inventory setup, Average Cost Calc Period = Month&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another Average Cost Calc Period to use is Month, so let&amp;rsquo;s work with the basic scenario, create some additional data and see the effects having Month as Average Cost Calc Period and finally look into the simulation of the Average Cost calculation and its specifics.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The scenario continues using the basic data set created until step 2. If you did a backup after step 2 and have been working with the Average Cost Calc Period of Day you now have the opportunity to restore the backup and you will be able to start with step 3 below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Change Inventory setup; Average Cost Calc Period to Month.&lt;/p&gt;
&lt;p&gt;4. Run Adjust Cost - Item entries batch job.&lt;/p&gt;
&lt;p&gt;5. Filter the Item Ledger Entry table, Item TEST, and review the fields specified below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8524.avgcost08.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8524.avgcost08.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;6. Open Revaluation Journal&lt;/p&gt;
&lt;p&gt;7. Run Function Calculate Inventory Value:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Filter Item: TEST&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Posting Date: September 30, 2011&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;Per Item&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8865.avgcost09.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8865.avgcost09.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;8. Change Unit Cost (Revalued) to 12 as above.&lt;/p&gt;
&lt;p&gt;9. Post Line.&lt;/p&gt;
&lt;p&gt;10. Run Adjust Cost - Item Entries batch job.&lt;/p&gt;
&lt;p&gt;11. Filtering the Value Entries table, Item TEST, the following records are available:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2772.avgcost10.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2772.avgcost10.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;Simulation of Average Cost Calculation with Average Cost period = Month&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now we are moving into the process of simulating the Average cost Calculation when Average Cost period is Month, using the data for item TEST created in the scenario.&lt;/p&gt;
&lt;p&gt;When you have identified the Item that you need to further analyze the following process can be used. Below the described process, there is a screenshot showing the result of the simulation of the Average Cost calculation of item TEST using the Value entries created in the scenario. In addition there is an Excel sheet attached where the full data set is available where used formulas etc can be reviewed more closely.&lt;/p&gt;
&lt;p&gt;1. In the Value Entries table filter on the particular Item that is to be analyzed.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;If Average Cost Calc. Type is per Item&amp;amp;Location&amp;amp;Variant the filter has to cover also these fields with particular values in scope for the analysis.&lt;/p&gt;
&lt;p&gt;2. Paste filtered Value entries into Excel.&lt;/p&gt;
&lt;p&gt;3. Conversion of Valuation Date into Period:&amp;nbsp;&amp;nbsp; &lt;br /&gt;Having another Average Cost Calc Period than Day requires the Valuation date to be translated into the chosen Average Cost Calc Period. In this case it&amp;rsquo;s Month.&lt;br /&gt;In the screenshot below and in the attached Excel sheet the mentioned columns can be found.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;a. Column F is added: The Valuation Date column is copied into column F. Thereafter column F is selected and the Format is changed to Number, no decimals. The Valuation Date is now converted to a number in column F.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;b. Column G is added and is intended to carry the Year of the Valuation Date: &lt;br /&gt;Select column G and change Format to Number, no decimals.&lt;br /&gt;Add formula: =YEAR(F2) in cell G2, then double click on the plus sign in the right corner of the cell and the Year is generated for the rest of the lines.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;c. Column H is added and is intended to carry the Period No. of the Valuation Date:&lt;br /&gt;Select column H and change Format to Number, no decimals.&lt;br /&gt;Add formula: =MONTH(F2) in cell H2, then double click on the plus in the right corner of the cell and the Month is generated for the rest of the lines.&lt;/p&gt;
&lt;p&gt;4. Do a Custom Sorting using the fields as below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2063.avgcost11.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2063.avgcost11.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Comments to respective field being a part of the sorting:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Year and Period No.:&lt;/b&gt; is the time for when the entry shall be part of the Average cost calculation.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Partial&lt;/b&gt; &lt;b&gt;Revaluation:&lt;/b&gt; a field that states Yes on Value entries with Type Revaluation. Revaluations affect the valuation of the following period&amp;rsquo;s outbound entries, not the outbound entries of the same period&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Valued quantity:&lt;/b&gt; is populated on every Value entry, corresponds to Item ledger entry quantity, Invoiced Quantity or Revalued quantity. Largest to smallest brings the inbound entries to come before the outbound entries of the period and thereby create the base for calculating the average cost of the period.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Item Ledger entry No.:&lt;/b&gt; Is to group the value entries attached to same Item ledger entry no.&lt;/p&gt;
&lt;p&gt;5. Insert Summary lines where you want to establish the periods Average Cost (grey lines below). A summary line shall be inserted above the first outbound entry of a period. To identify the breakpoint for inserting the summary line follow these steps:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;a. Establish the time period to be in scope for the investigation and locate these entries in the sorted Value entry list.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;b. Then follow the stated quantities in field Valued Quantity for the chosen time period.&lt;br /&gt;Identify the first line with negative quantity and you have the first outbound entry of the period.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;c. Insert a line for calculations. (Column P, row 4 and 6, row 4 positive Valued Quantity, row 6 negative Valued Quantity, Summary line is inserted as row 4).&lt;/p&gt;
&lt;p&gt;6. Make a Sum of the columns; Cost Amount (Actual), Cost Amount (Expected) and Item Ledger Entry Quantity.&amp;nbsp;Calculate the Average Unit Cost of the period (column U) with the following formula:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2110.avgcost12.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2110.avgcost12.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you have several Summary lines inserted, make sure to include the previous summary line into the calculation of respective column for the next period.&lt;/p&gt;
&lt;p&gt;7. Choose an outbound entry, usually the first outbound entry of the period and then a couple of others, randomly selected in the period or those that for some reasons is of particular interest, and calculate the average cost per unit with the formula above (green, purple and blue sections in screenshot below).&lt;br /&gt;&lt;br /&gt;- Does it correspond to the average unit cost of the period?&lt;br /&gt;&lt;br /&gt;If not, ensure it is not fixed applied to an inbound entry: If field Valued By Average Cost is False, it is fixed applied to an inbound entry. &lt;br /&gt;To which entry?; Follow up on the parent Item Ledger entry, field Applies-to Entry shall carry the entry no. of the supplying Item Ledger Entry.&lt;br /&gt;If not fixed applied; establish the Amount Rounding precision and if that has an effect on the Calculated Average cost.&lt;/p&gt;
&lt;p&gt;These are the Value entries for item TEST when they have been sorted as described in step 4, where Summary lines has been inserted to establish Average cost for a certain period (step 5,6) and where the&amp;nbsp; first outbound entry of the period (+ the 2&lt;sup&gt;nd&lt;/sup&gt; in period 10) is calculated (step 7).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2620.avgcost13.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2620.avgcost13.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that all inbound entries in September (Period No. 9) is sorted at the top and demonstrate the effect on all outbound entries in September regardless of the specific valuation date.&lt;/p&gt;
&lt;p&gt;To follow the process and be able to review used formulas etc., an Excel sheet is attached and contains the following tabs:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Basic Data&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;---------------&lt;/p&gt;
&lt;p&gt;Contains the scenario and what data it creates. Thereafter the basic scenario moves into two paths, one for using Day as Average Cost period and the other for using Month as Average Cost Period. The respective set of Value entries are thereafter pasted into the next tabs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Average Cost simulation - Day&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;----------------------------------------&lt;/p&gt;
&lt;p&gt;At the top the Value entries are pasted from the Basic Data scenario addressing the Average cost period of Day.&lt;/p&gt;
&lt;p&gt;The Value entries are processed; sorted and calculated as described beneath the section of value entries.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Average Cost simulation - Month&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-------------------------------------------&lt;/p&gt;
&lt;p&gt;At the top the Value entries are pasted from the Basic Data scenario addressing the Average cost period of Month.&lt;/p&gt;
&lt;p&gt;The Value entries are processed; sorted and calculated as described beneath the section of value entries.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any feedback to how this process and documentation can be further developed to provide more insight in the average cost calculation is very welcome.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/nav/archive/2011/09/26/bio-helene-holmin.aspx"&gt;Helene Holmin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Escalation Engineer NAV Costing EMEA&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:hholmin@microsoft.com"&gt;hholmin@microsoft.com&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10252138" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/antccTA07QI" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-25-21-38/Average-Cost-Calc-Analysis_5F00_process.xlsx" length="124202" type="application/octet-stream" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/costing/">costing</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/13/simulation-of-average-cost-calculation.aspx</feedburner:origLink></item><item><title>Costing Error Detection and Data Correction White Paper for Microsoft Dynamics NAV</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/aAB0FKtzzbg/costing-error-detection-and-data-correction-white-paper-for-microsoft-dynamics-nav.aspx</link><pubDate>Thu, 12 Jan 2012 20:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10256071</guid><dc:creator>Susanne Priess</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10256071</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/12/costing-error-detection-and-data-correction-white-paper-for-microsoft-dynamics-nav.aspx#comments</comments><description>&lt;p&gt;A new Costing Error and Data Correction white paper and a Costing Error Detection report have been released on PartnerSource and CustomerSource.&lt;/p&gt;
&lt;p&gt;The Costing Error Detection and Data Correction white paper discusses common inventory costing issues and how you can correct erroneous data after inventory costing issues have been identified. The white paper focuses on the data and the fields that typically cause problems in the cost adjustment process.&lt;/p&gt;
&lt;p&gt;The Costing Error Detection report can help you find common costing data problems. If the report shows that there are errors in your database, you can use the suggestions in the white paper to correct the data. The report can also be used to validate inventory data after an upgrade.&lt;/p&gt;
&lt;p&gt;To review the white paper and download the report, go to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;CustomerSource&lt;/strong&gt; (logon required): &lt;a href="https://mbs.microsoft.com/customersource/documentation/whitepapers/navcostingerrordetectionwp.htm" target="_blank"&gt;Costing Error Detection and Data Correction White Paper for Microsoft Dynamics NAV&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartnerSource&lt;/strong&gt; (logon required): &lt;a href="https://mbs.microsoft.com/partnersource/deployment/documentation/whitepapers/navcostingerrordetectionwp.htm" target="_blank"&gt;Costing Error Detection and Data Correction White Paper for Microsoft Dynamics NAV&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10256071" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/aAB0FKtzzbg" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Announcement/">Announcement</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+5-0/">NAV 5.0</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+SP1/">NAV 2009 SP1</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/costing/">costing</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/white+paper/">white paper</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/12/costing-error-detection-and-data-correction-white-paper-for-microsoft-dynamics-nav.aspx</feedburner:origLink></item><item><title>Jet Reports Express for Microsoft Dynamics NAV Now Available for Swedish and Norwegian Languages</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/TCrk5dMQUR0/jet-reports-express-for-microsoft-dynamics-nav-now-available-for-swedish-and-norwegian-languages.aspx</link><pubDate>Wed, 04 Jan 2012 23:43:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10253265</guid><dc:creator>navteam</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10253265</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/05/jet-reports-express-for-microsoft-dynamics-nav-now-available-for-swedish-and-norwegian-languages.aspx#comments</comments><description>&lt;p&gt;As of December 28, 2011, Jet Reports Express for Microsoft Dynamics NAV has been updated to include Swedish and Norwegian languages.&amp;nbsp;This easy to use and very popular&amp;nbsp;Microsoft Excel add-in for ad-hoc reporting is available as a download on &lt;a href="http://www2.jetreports.com/e/3692/nu03E/8HER2/341747128" target="_self"&gt;Customer Source&lt;/a&gt; and &lt;a href="http://www2.jetreports.com/e/3692/49wM8/8HERC/341747128" target="_self"&gt;Partner Source&lt;/a&gt;&amp;nbsp;for no additional costs for customers on an active Business Ready Enhancement Plan.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10253265" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/TCrk5dMQUR0" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Announcement/">Announcement</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Reporting/">Reporting</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/05/jet-reports-express-for-microsoft-dynamics-nav-now-available-for-swedish-and-norwegian-languages.aspx</feedburner:origLink></item><item><title>Post – Apply – From Item Entry Application Across Locations</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/K0RU4h_11PY/post-apply-from-item-entry-application-across-locations.aspx</link><pubDate>Wed, 04 Jan 2012 16:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10253090</guid><dc:creator>navteam</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10253090</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2012/01/04/post-apply-from-item-entry-application-across-locations.aspx#comments</comments><description>&lt;p&gt;The following blog post is to provide guidance for users of the Inventory costing functionality within Microsoft Dynamics NAV. The specific article is designed for providing guidance that you are able to use Appl. &amp;ndash; from Item Entry to create an Item Entry Application across locations. This feature is not permitted using the Appl. &amp;ndash; To Item Entry when you try to make an Quantity Item Entry Application across Locations.&lt;/p&gt;
&lt;p&gt;Appl. &amp;ndash; from Item Entry is intended when you want to make an Item Fixed Cost Application overwriting the default Costing Method. It means that the inventory increase, for example a sales credit memo line is linked to the inventory decrease in the item ledger entry that you indicate in this field.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Initial scenario to illustrate&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This scenario is carried out in W1 Cronus.&lt;/p&gt;
&lt;p&gt;1. Create new item 70061, Unit of Measure PCS, any posting groups and select costing method FIFO.&lt;/p&gt;
&lt;p&gt;2. Create Purchase Order against vendor 60000, Item 70061 Location BLUE, Quantity 1, Direct Unit Cost Excl. VAT 10. Specify vendor invoice number and posted as Received + Invoiced.&lt;/p&gt;
&lt;p&gt;3. Sell item 70061 using Sales Order against customer 60000, Location BLUE, Quantity 1. Post as Shipped + Invoiced.&lt;/p&gt;
&lt;p&gt;4. Create Sales Credit Memo against customer 60000, using Get Posted Document Lines to Reverse to retrieve the Posted Sales Order processed at step 3.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;Notice:&lt;/b&gt; Appl. &amp;ndash; From Item Entry is populated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;5. Change location from default BLUE to RED.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;Notice:&lt;/b&gt; Appl. &amp;ndash; From Item Entry has not been changed.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;b&gt;Notice:&lt;/b&gt; Return Reason Code field on the Sales Credit Memo line will enable to set a Default Location Code.&lt;/p&gt;
&lt;p&gt;6. Post the Sales Credit Memo as Invoiced.&lt;/p&gt;
&lt;p&gt;7. Purchase Order for Item Charge Freight against vendor 61000, Location BLUE, Quantity 1, Direct Unit cost Excl. VAT 2.50.&lt;/p&gt;
&lt;p&gt;8. Assign the Item Charge against the Purchase Order that been processed at step 2. Specify vendor invoice number and posted as Invoiced.&lt;/p&gt;
&lt;p&gt;9. Run Adjust Cost Item Entries batch job. Lookup Item Ledger Entries and notice 2.50 been forwarded from Sales Order to the Sales Credit Memo we processed at step 4.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7674.PostApply01.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7674.PostApply01.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;By applying a positive entry in this case Sales Credit Memo to a negative through Appl. -From Item Entry, we make a cost application between them and hence turn this positive into a &amp;ldquo;Return / Correction&amp;rdquo;, that has to receive its cost from the applied outbound. Since the positive entry is now effectively a &amp;ldquo;return&amp;rdquo;, the entry application is allowed across locations. This is essentially a feature of the Returns Order Management that was introduced since 3.01. In recognition of the fact that&lt;br /&gt;customers may want to return products to a location different from the one where they originally sold.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Additional scenario&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Create new item 70062, Unit of Measure PCS, any posting groups and select costing method FIFO.&lt;/p&gt;
&lt;p&gt;2. Open Item Journal, Entry type Negative Adjustment, item 70062, Location BLUE, Unit Cost 10, Quantity 1. Post.&lt;/p&gt;
&lt;p&gt;3. Open Item Journal, Entry type Positive Adjustment, item 70062, Location RED, specify Appl.-From Item Entry against Negative Adjustment.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;Notice:&lt;/b&gt; When you drill down into Appl. &amp;ndash; From Entry, there are no Item Ledger Entries. You need to remove the (location) filter and then you can select the Negative Adjustment.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;Notice: &lt;/b&gt;Lookup item ledger entries of item 70062 and both item ledger entries are left open. This is intended design.&lt;/p&gt;
&lt;p&gt;4. Post the Positive Adjustment created at step 3.&lt;/p&gt;
&lt;p&gt;5. Open Item Journal, Entry type Positive Adjustment, item 70062, Location BLUE, Unit Cost 13, Quantity 1, Post.&lt;/p&gt;
&lt;p&gt;6. Run Adjust Cost Item Entries batch job.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;Notice: &lt;/b&gt;Outbound (step 2) and Inbound (step 4) are now closed on the Item ledger entries.&lt;/p&gt;
&lt;p&gt;7. Adjustment of LCY 3 is now forwarded according to the chain: Positive Adjmt., step 5&amp;nbsp;-&amp;gt; Negative Adjmt., step 2 -&amp;gt; Positive Adjmt., step 3.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1323.PostApply02.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1323.PostApply02.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, the Item Entry Application is possible between locations when and only when we have a &lt;b&gt;Cost Application &lt;/b&gt;between the outbound and inbound entries.&lt;/p&gt;
&lt;p&gt;The same logic cannot be applied to Transfer Orders as they generate a quantity application between entries. One reason you cannot create Transfer Order when you do not have the Quantity on Hand.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&lt;a href="http://blogs.msdn.com/b/nav/archive/2012/01/04/bio-christiaan-osborne.aspx"&gt;Christiaan Osborne&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Product Support Escalation Engineer&lt;/p&gt;
&lt;p&gt;APGC Customer Support &amp;amp; Services&amp;nbsp; SMS&amp;amp;P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10253090" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/K0RU4h_11PY" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/SCM/">SCM</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/costing/">costing</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2012/01/04/post-apply-from-item-entry-application-across-locations.aspx</feedburner:origLink></item><item><title>Managing network files in RTC</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/3KPfnCHJybw/managing-network-files-in-rtc.aspx</link><pubDate>Thu, 22 Dec 2011 10:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10250281</guid><dc:creator>Arvind kum</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10250281</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/12/22/managing-network-files-in-rtc.aspx#comments</comments><description>In Dynamics NAV 2009 in RTC client if you are accessing files located on network machines, these files can be accessed when each service is running on single machine, when SQL and NST are on same machine (2 tier) or each service is running on separate...(&lt;a href="http://blogs.msdn.com/b/nav/archive/2011/12/22/managing-network-files-in-rtc.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10250281" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/3KPfnCHJybw" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/RTC/">RTC</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Tips/">Tips</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+SP1/">NAV 2009 SP1</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Configuration/">Configuration</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/akuma/">akuma</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/12/22/managing-network-files-in-rtc.aspx</feedburner:origLink></item><item><title>Mainstream Support for Microsoft Dynamics NAV 5.0 Ends April 2012 </title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/8Hx_41KjMAw/mainstream-support-for-microsoft-dynamics-nav-5-0-ends-april-2012.aspx</link><pubDate>Mon, 19 Dec 2011 01:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10248355</guid><dc:creator>Susanne Priess</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10248355</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/12/19/mainstream-support-for-microsoft-dynamics-nav-5-0-ends-april-2012.aspx#comments</comments><description>&lt;p&gt;Mainstream support for Microsoft Dynamics NAV 5.0, including 5.0 SP1, ends April 2012 per the Microsoft Support Lifecycle Policy. Customers who are current on a service plan can continue to access the following benefits through CustomerSource:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Previously released Upgrades, Updates, Service Packs, Fixes and Regulatory/Tax Updates&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Self-Help Support through Knowledge Base articles and online content&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Unlimited Online Training&amp;nbsp;&lt;/li&gt;
&lt;li&gt;CustomerSource Community and Tools&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information related to Microsoft Support Lifecycle policies and&amp;nbsp;product dates for all Microsoft Dynamics NAV products, see the &lt;a title="Support Lifecycle Page" href="http://support.microsoft.com/lifecycle" target="_blank"&gt;Support Lifecycle Page&lt;/a&gt;. For support lifecycle information for&amp;nbsp;Microsoft Dynamics NAV in particular, see &lt;a href="http://support.microsoft.com/lifecycle/?c2=642" target="_blank"&gt;Microsoft Dynamics NAV Support Lifecycle Information&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10248355" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/8Hx_41KjMAw" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+5-0/">NAV 5.0</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Support/">Support</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/12/19/mainstream-support-for-microsoft-dynamics-nav-5-0-ends-april-2012.aspx</feedburner:origLink></item><item><title>Microsoft Dynamics Diagnostics</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/bnhmFR-eNw4/microsoft-dynamics-diagnostics.aspx</link><pubDate>Wed, 14 Dec 2011 02:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10247430</guid><dc:creator>Susanne Priess</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10247430</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/12/14/microsoft-dynamics-diagnostics.aspx#comments</comments><description>&lt;p&gt;The Microsoft Dynamics business is using Diagnostics to help automate Data Collection and Data Analysis when troubleshooting support incidents. Diagnostics allow our support teams to capture certain pieces of data about an environment to more efficiently resolve a customer case.&amp;nbsp; Diagnostics can do basic data collection to gather information about product version, system configurations and settings, as well as do a deeper analysis of this and other data collected to determine the root cause of an issue.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Microsoft Dynamics business has been working with Diagnostics for the past 2-3 years, but just recently made changes to the online incident submission process. Steps on how to run a Diagnostic will now be presented after submitting most cases on CustomerSource/PartnerSource.&amp;nbsp; If you have recently logged a support incident via CustomerSource/PartnerSource you may have noticed this new information after submitting the support incident.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6354.Diag2.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/6354.Diag2.png" width="701" height="517" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0677.Diag1.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When presented with this information, please follow the steps provided to run the Diagnostic and upload the results to the Microsoft Dynamics Support team.&amp;nbsp; Diagnostics allow us to capture necessary product versions, system configuration, log files and other information to allow our support teams to more effectively and efficiently troubleshoot and solve support cases.&amp;nbsp; Running Diagnostics and uploading these results will reduce the number of questions support engineers will need to ask you, reduce the amount of information you need to manually gather and send us, and ultimately allow us to resolve cases quicker. The Diagnostics will automatically capture and upload the information to our support teams.&amp;nbsp; You do have the ability to view the information that is being collected prior to uploading it to Microsoft.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10247430" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/bnhmFR-eNw4" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+5-0/">NAV 5.0</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Support/">Support</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/12/14/microsoft-dynamics-diagnostics.aspx</feedburner:origLink></item><item><title>How to Add Shortcuts Menu in the RoleTailored Client</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/E1MvWPGLq2w/how-to-add-shortcuts-menu-in-the-roletailored-client.aspx</link><pubDate>Tue, 06 Dec 2011 16:43:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10244683</guid><dc:creator>navteam</dc:creator><slash:comments>6</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10244683</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/12/06/how-to-add-shortcuts-menu-in-the-roletailored-client.aspx#comments</comments><description>&lt;p&gt;In the Microsoft Dynamics NAV 2009 R2 RoleTailored client environment the Shortcuts Menu feature, which was present in earlier versions of Dynamics NAV for Classic client, has not been added.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7888.shortcuts1.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7888.shortcuts1.png" width="433" height="57" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In Classic client it is actually possible to Create and Open Shortcut from this Menu.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3225.shortcuts2.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3225.shortcuts2.png" width="407" height="142" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have then tried, in this blog, to mimic what Classic client does and developed a couple of pages and one table to let users achieve a similar functionality for RoleTailored client. The text object in this blog contains:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Table 50300 &amp;ldquo;Shortcut&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Page 50300 &amp;ldquo;Shortcut List&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Page 50301 &amp;ldquo;Create Shortcut Worksheet&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The first task is to add Page 50300 &amp;ldquo;Shortcut List&amp;rdquo; to a Department MenuSuite like in the below example:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5076.shortcuts3.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5076.shortcuts3.png" width="391" height="123" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Secondarily it is needed to customize Navigation Pane using RoleTailored client in order to add a new Menu called, for example, &amp;ldquo;Shortcuts&amp;rdquo; with Page 50300 &amp;ldquo;Shortcut List&amp;rdquo; added to it.&lt;/p&gt;
&lt;p&gt;This could be done manually&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/nav/archive/2011/03/30/nav-2009-tips-and-tricks-personalize-the-departments-menu.aspx"&gt;http://blogs.msdn.com/b/nav/archive/2011/03/30/nav-2009-tips-and-tricks-personalize-the-departments-menu.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or configuring that for a profile&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd301231.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd301231.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3146.shortcuts4.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3146.shortcuts4.png" width="270" height="88" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you have fulfilled those 2 steps then your users may be good to go to Create and Open shortcuts in a similar way as it was and as it is actually for Classic client.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5722.shortcuts5.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5722.shortcuts5.png" width="436" height="160" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5226.shortcuts6.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5226.shortcuts6.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background: white; line-height: 13.5pt;"&gt;&lt;em&gt;&lt;b&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial; mso-ansi-language: EN;" lang="EN"&gt;These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial; mso-ansi-language: EN;" lang="EN"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background: white; line-height: 13.5pt;"&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial;"&gt;Duilio Tacconi (&lt;/span&gt;&lt;a href="http://blogs.msdn.com/user/Profile.aspx?UserID=205909"&gt;&lt;span style="color: #4c6d7e; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial;"&gt;dtacconi&lt;/span&gt;&lt;/a&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial;"&gt;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background: white; line-height: 13.5pt;"&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial;"&gt;Microsoft&lt;br /&gt;Dynamics Italy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background: white; line-height: 13.5pt;"&gt;&lt;span style="color: #525051; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-bidi-font-family: Arial; mso-ansi-language: EN;" lang="EN"&gt;Microsoft Customer Service and Support (CSS) EMEA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10244683" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/E1MvWPGLq2w" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-24-46-83/SHORTCUTS.txt" length="6678" type="text/plain" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/Development/">Development</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/dtacconi/">dtacconi</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/12/06/how-to-add-shortcuts-menu-in-the-roletailored-client.aspx</feedburner:origLink></item><item><title>Few tips about filters usage in latest Dynamics NAV RTC builds</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/GMzEu7g2tdo/few-tips-about-filters-usage-in-latest-dynamics-nav-rtc-builds.aspx</link><pubDate>Fri, 25 Nov 2011 12:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241509</guid><dc:creator>Gedas B</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10241509</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/25/few-tips-about-filters-usage-in-latest-dynamics-nav-rtc-builds.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;I want to describe few tips about filters usage in Dynamics NAV RTC. This can be useful for users who worked with classic client and came to RTC.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;In Dynamics NAV Classic Client we can construct filters in filters window using following operators:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;..&amp;nbsp;&amp;nbsp; Range&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;amp;&amp;nbsp;&amp;nbsp; And&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;|&amp;nbsp;&amp;nbsp; Or&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;lt;&amp;nbsp;&amp;nbsp; Less than&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;lt;=&amp;nbsp;&amp;nbsp; Less than or equal to&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;gt;&amp;nbsp;&amp;nbsp; Greater than&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;gt;=&amp;nbsp;&amp;nbsp; Greater than or equal to&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;&amp;lt;&amp;gt;&amp;nbsp;&amp;nbsp; Different from&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;*&amp;nbsp;&amp;nbsp; Forms a part of value&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;@&amp;nbsp;&amp;nbsp; Case-insensitive&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Let&amp;rsquo;s say for example we want to find item in item list ending with &amp;ldquo;Front&amp;rdquo; then can construct filter on description: *front&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0385.1.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/0385.1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;And we have results&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1067.2.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1067.2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Now try the same in RTC. &lt;br /&gt;In RTC we have &amp;ldquo;Filter Pane&amp;rdquo; and we don&amp;rsquo;t need to call filter window. So here we just change filter field to description and ad the same filter value:*front&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2134.3.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/2134.3.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;But wow, result is different:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/4201.4.png"&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3404.55.png"&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8204.2.png"&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3426.4.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/3426.4.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;It also includes items which starts with &amp;lsquo;front&amp;rsquo; and even has &amp;lsquo;front&amp;rsquo; in the middle of description.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;What is wrong? Nothing, this is feature of RTC filters: whatever we add to this filter, it will be translated to string by adding &amp;lsquo;@&amp;rsquo; in front and &amp;lsquo;*&amp;rsquo; in end. So our filter string &amp;lsquo;*front&amp;rsquo; becomes &amp;lsquo;@*front*&amp;rsquo; and RTC filters for any description includes &amp;lsquo;front&amp;rsquo; in upper or lower case. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;We can see this transformation if open &amp;ldquo;About this page&amp;rdquo; filter section:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1411.5.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1411.5.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;If we know this feature, then we can use it very smart: if we know how description starts, we just type begin of it without any filter operators and we have all description, which begins with this string, filtered. Fast work, is it?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;But what to do if we really want to filter only descriptions which end with &amp;lsquo;front&amp;rsquo;. Then we have 2 options:&lt;br /&gt;1. Use apostrophes for filter string for example enter &amp;ldquo; &amp;lsquo;*front&amp;rsquo; &amp;rdquo; instead of &amp;ldquo; *front &amp;rdquo;, then RTC filter exactly on this string:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8666.55.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/8666.55.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;or&lt;br /&gt;1. Expand Filter Pane and filter on exactly what we want:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/4174.6.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/4174.6.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;That&amp;rsquo;s all what I want to say.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Ps. If you have question &amp;ldquo;why I filter on &amp;lsquo;front&amp;rsquo;, but results always includes &amp;lsquo;Front&amp;rsquo;&amp;rdquo;, then answer is: my db SQL collation is not cases sensitive, so SQL doesn&amp;rsquo;t see difference here and shows upper and lower case values.&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: xx-small;"&gt;These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: xx-small;"&gt;Gedas Busniauskas&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: xx-small;"&gt;Microsoft Lithuania&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;Microsoft Customer Service and Support (CSS) EMEA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241509" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/GMzEu7g2tdo" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Pages/">Pages</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/RTC/">RTC</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Tips/">Tips</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+SP1/">NAV 2009 SP1</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Dynamics+Online/">Dynamics Online</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/25/few-tips-about-filters-usage-in-latest-dynamics-nav-rtc-builds.aspx</feedburner:origLink></item><item><title>Manage Max No. of XML Records to Send Option from RoleTailored Client (with .NET Interop)</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/G7Q4nSVGUD8/manage-max-no-of-xml-records-to-send-option-from-role-tailored-client-with-net-interop.aspx</link><pubDate>Tue, 22 Nov 2011 00:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10239384</guid><dc:creator>navteam</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10239384</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/22/manage-max-no-of-xml-records-to-send-option-from-role-tailored-client-with-net-interop.aspx#comments</comments><description>&lt;p&gt;With NAV 2009 R2 it is now possible to set how many XML records to send to RoleTailored Client (RTC), bypassing the previous hardcoded limitation of 5000 records.&lt;/p&gt;
&lt;p&gt;This could be done by installing platform hotfix KB 2492490 Build no. 32146 or higher.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb$EN-US$2492490&amp;amp;wa=wsignin1.0"&gt;https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb$EN-US$2492490&amp;amp;wa=wsignin1.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just would like to explain how this Hotfix works in short.&lt;/p&gt;
&lt;p&gt;In order to bypass the previous hardcoded limit of 5000 Max no. of xml records to send, after installing the aforementioned platform hotfix or higher, you have to set a key like that on every RTC Client machine in the ClientUsersSettings.config file&lt;/p&gt;
&lt;p&gt;&amp;lt;add key="MaxNoOfXMLRecordsToSend" value="integerValue" /&amp;gt;&lt;/p&gt;
&lt;p&gt;(where integerValue is an integer value that represents the max number of xml records to send when using the Export to Microsoft Office feature)&lt;/p&gt;
&lt;p&gt;Since the Classic Client handles this value directly from the IDE changing &amp;ldquo;Max. no. of XML records to send&amp;rdquo; property from Tools &amp;gt; Options, I have been requested if there is a more flexible way to manage this key in the ClientUsersSettings.config file.&lt;/p&gt;
&lt;p&gt;I have then tried, in this blog, to mimic what Classic Client does and developed a simple page and codeunit to let the user change dynamically the value for this key and if the key is not present, by adding it directly to the ClientUsersSettings.config file with the desired value (this would also make the Hotfix deployment&amp;nbsp;faster).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7723.maxnoxml.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/7723.maxnoxml.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code in the attached .txt file is quite simple and is based on .NET interoperability using&amp;nbsp;the following:&lt;/p&gt;
&lt;p&gt;System.Environment&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.environment(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.environment(v=VS.90).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;System.IO&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.io(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.io(v=VS.90).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;System.XML&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/y3y47afh(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/y3y47afh(v=VS.90).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;b&gt;These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Duilio Tacconi (&lt;a href="http://blogs.msdn.com/user/Profile.aspx?UserID=205909"&gt;dtacconi&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Microsoft Dynamics Italy&lt;/p&gt;
&lt;p&gt;Microsoft Customer Service and Support (CSS) EMEA&lt;/p&gt;
&lt;p&gt;A special thanks to Jorge Alberto Torres - DK-MBS NAV Development&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10239384" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/G7Q4nSVGUD8" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-23-93-84/MaxXmlNo.txt" length="8927" type="text/plain" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/Development/">Development</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/dtacconi/">dtacconi</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Hotfix/">Hotfix</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/22/manage-max-no-of-xml-records-to-send-option-from-role-tailored-client-with-net-interop.aspx</feedburner:origLink></item><item><title>Directions EMEA Registration Now Open – Follow News from Microsoft on the Event Blog!</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/J7Nlp9SQHCo/directions-emea-registration-now-open-follow-news-from-microsoft-on-the-event-blog.aspx</link><pubDate>Fri, 18 Nov 2011 16:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10238582</guid><dc:creator>navteam</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10238582</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/18/directions-emea-registration-now-open-follow-news-from-microsoft-on-the-event-blog.aspx#comments</comments><description>&lt;p&gt;Visit the new Microsoft Blog on the Directions EMEA web site. Hear the latest Microsoft Dynamics NAV news, comments, and opinions from Dan Brown and Paul White &amp;ndash; together &amp;ldquo;The Beige Blog&amp;rdquo;; &lt;a href="http://www.directionsemea.com/Blogs/The_Beige_Blog.htm"&gt;ww.directionsemea.com/Blogs/The_Beige_Blog.htm&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The registration for Directions EMEA is open now at &lt;a href="http://www.directionsemea.com"&gt;www.directionsemea.com&lt;/a&gt;. The conference takes place April 25-27 in Rome and is the largest Microsoft Dynamics NAV conference for partners organized by partners! Early Bird discounts are&amp;nbsp;available. Read more about the event in Paul White&amp;rsquo;s introduction on &amp;ldquo;The Beige Blog&amp;rdquo; here: &lt;a href="http://www.directionsemea.com/Blogs/The_Beige_Blog/2011/11/Microsoft_Dynamics_NAV__7__pre-release.htm" target="_blank"&gt;http://www.directionsemea.com/Blogs/The_Beige_Blog/2011/11/Microsoft_Dynamics_NAV__7__pre-release.htm&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10238582" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/J7Nlp9SQHCo" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Announcement/">Announcement</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV7/">NAV7</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/18/directions-emea-registration-now-open-follow-news-from-microsoft-on-the-event-blog.aspx</feedburner:origLink></item><item><title>Introducing…. Metadata version in NAV 2009 SP1/R2 hotfixes</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/jHf1inypl-I/introducing-metadata-version-in-nav-2009-sp1-r2-hotfixes.aspx</link><pubDate>Thu, 17 Nov 2011 11:17:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10238098</guid><dc:creator>Jorge Alberto Torres NAV</dc:creator><slash:comments>9</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10238098</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/17/introducing-metadata-version-in-nav-2009-sp1-r2-hotfixes.aspx#comments</comments><description>&lt;p&gt;As a follow up to my &lt;a href="http://blogs.msdn.com/b/nav/archive/2011/11/01/objects-need-recompilation-after-applying-certain-hotfixes.aspx"&gt;previous post&lt;/a&gt;, we are happy to announce that, from build 32942, the hotfix releases will detect if objects need to be recompiled and prompt you to recompile accordingly. This will happen when importing incompatible fobs files or when applying new platform hotfixes.&lt;/p&gt;
&lt;p&gt;If you try to import fob files from previous (or possibly also newer versions), or if you export them from newer builds (32942 and newer) and back to NAV 2009 R2 or newer versions (up to build 32942), the system will detect that the metadata is incompatible and force a recompilation when imported. The same detection will happen if you apply a hotfix to your system, and your objects need to be recompiled.&lt;/p&gt;
&lt;p&gt;In the future, the metadata version (which is now in the Object Metadata table in field 27) will be updated if a compilation will be needed after applying a hotfix, not making it necessary always to re-compile the objects every time you apply a new hotfix (and preventing the RTC client from losing the connection to the server). The current metadata version is 60300, whereas the R2 runtime metadata version is 60200.&lt;/p&gt;
&lt;p&gt;Since we are changing a system table (table 2000000071), we need to do a database conversion. Moreover, since the objects are not recompiled with a database upgrade, you also need to recompile the objects that you need. The nice feature now, is that the RTC will prompt you on demand to recompile the objects that need recompilation (basically, the ones you use).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10238098" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/jHf1inypl-I" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Upgrade/">Upgrade</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Jtorres/">Jtorres</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+SP1/">NAV 2009 SP1</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Error/">Error</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/17/introducing-metadata-version-in-nav-2009-sp1-r2-hotfixes.aspx</feedburner:origLink></item><item><title>Order modifiers are not being considered with planning exceptions or emergencies</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/XeUHtWsOHFE/order-modifiers-and-exceptions.aspx</link><pubDate>Tue, 15 Nov 2011 14:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10237301</guid><dc:creator>Sigfredo Beerman</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10237301</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/15/order-modifiers-and-exceptions.aspx#comments</comments><description>&lt;p&gt;This is related with &lt;a href="http://blogs.msdn.com/b/nav/archive/2011/10/11/how-to-work-with-quot-warning-icons-quot-in-planning-worksheet.aspx"&gt;How to work with "Warning icons" in Planning Worksheet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here, we&amp;nbsp;have an scenario where NAV does not respect order modifiers (maximum/multiple/minimum order quantity) when there are exceptions. As we mentioned in&amp;nbsp;earlier post, exceptions are ... exceptions!!! Yeah, I know you might have an issue but, isn't this a situation that should&amp;nbsp;occur&amp;nbsp;exceptionally in your customer? If for whatever reason, these are not exceptions, you might have an issue with your planning parameters. When NAV flags the Warning Icon, it means there are exceptional situations like negative inventory, stock below safety stock, &amp;nbsp;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;...&lt;/p&gt;
&lt;p&gt;The issue here is that customers treat all these scenarios differently. If we have the inventory level below safety stock, one customer might wait for the next planned replenishment to increase the ordered quantity. Other customers might create an urgent replenishment for the required quantity regardless of order modifiers since safety stock should not be rounded with order modifiers (it increases safety level in fact) ... Or ... whatever. Exceptions are treated differently. We mentioned this on that previous blog. What we also mentioned is that NAV design does not activate the "Accept Action Message" flag when this is an exception. What this means is that NAV is not suggesting a replenishment. It just warns the user of this exceptional situation for the user to take decission on how to address this. Thus, it should only be understood as NAV warning you that an exceptional situation exists.&lt;/p&gt;
&lt;p&gt;And, that is why NAV does not respect order modifiers. It only warns the user about an exception situation (ie. inventory level is 20 pcs below safety stock). It does not suggest the user to replenish (ie. it does not suggest to replenish 20 pcs). Thus, user need to decide what is the best to address this exception ... and to consider order modifiers if required.&lt;/p&gt;
&lt;p&gt;As stated, different customers treat exceptions differently. From a standard code, it is true we are not taking into consideration the order modifiers ... but this is an exception and should not occur but in very rare times. Thus, we need to manage customer in the fact that this should not happen to them frequently and that we are not suggesting anything ... we are only flaging the exceptional scenario for the user to decide action to take.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10237301" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/XeUHtWsOHFE" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/SCM/">SCM</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/15/order-modifiers-and-exceptions.aspx</feedburner:origLink></item><item><title>Hotfix released for "Create PDF" functionality in the Role Tailored Client</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/Y6E8MJapuk4/hotfix-released-for-quot-create-pdf-quot-functionality-in-the-role-tailored-client.aspx</link><pubDate>Wed, 09 Nov 2011 18:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10235468</guid><dc:creator>Robert Miller NAV</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10235468</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/09/hotfix-released-for-quot-create-pdf-quot-functionality-in-the-role-tailored-client.aspx#comments</comments><description>&lt;p&gt;The new &lt;b&gt;Create PDF&lt;/b&gt;&amp;nbsp;functionality is available as an option on the Print button on any report request page that prints through the Role Tailored Client once the associated hotfix&amp;nbsp;(&lt;a href="https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb$en-us$2628466&amp;amp;wa=wsignin1.0"&gt;KB 2628466)&lt;/a&gt;&amp;nbsp;has been&amp;nbsp;installed.&amp;nbsp; Since this feature was added at the&amp;nbsp;executable level,&amp;nbsp;there is no code that needs to be added to each report to get this new functionality.&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/4834.CreatePDF.png"&gt;&lt;img style="float: left;" border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/4834.CreatePDF.png" width="372" height="393" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This functionality automatically enables the ability to have the report be printed as an Adobe&amp;nbsp;Portable Document Format (PDF) document on the Microsoft Dynamics NAV 2009 server and then be downloaded to the RoleTailored client (RTC).&amp;nbsp; The first time you execute this functionality you may be prompted with a dialog box asking you to Open/Save/Cancel the document with the option to "&lt;em&gt;Always ask before opening this type of file&lt;/em&gt;.".&amp;nbsp; If you uncheck the option then you will no longer be prompted to Open/Save/Cancel the&amp;nbsp;PDF file.&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5706.CreatePDF_2D00_FileHandling.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/5706.CreatePDF_2D00_FileHandling.png" width="240" height="145" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you open the PDF file and assuming that Adobe Acrobat has&amp;nbsp;previously been installed, then the&amp;nbsp;PDF document&amp;nbsp;will be automaticaly rendered.&amp;nbsp; From this point,&amp;nbsp;you can either save or print the document or print&amp;nbsp;to the desired printer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10235468" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/Y6E8MJapuk4" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Reporting/">Reporting</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Hotfix/">Hotfix</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/PDF/">PDF</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/09/hotfix-released-for-quot-create-pdf-quot-functionality-in-the-role-tailored-client.aspx</feedburner:origLink></item><item><title>NAS is consuming user sessions</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/Fg5O3vSitKc/nas-is-consuming-user-sessions.aspx</link><pubDate>Wed, 09 Nov 2011 17:37:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10235442</guid><dc:creator>Robert Miller NAV</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10235442</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/09/nas-is-consuming-user-sessions.aspx#comments</comments><description>&lt;p&gt;When the Microsoft Dynamics NAV 2009 Application Server (NAS) runs under the Network Service account, the NAS may to try to repeatedly restart. In this situation, the restarts of the NAS consume user sessions. Eventually, this will cause&amp;nbsp; the users&amp;nbsp;to receive the following error message when&amp;nbsp;they&amp;nbsp;log on to the system ...&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color: #ff0000; background-color: #ffffff;"&gt;"Your program license does not permit more users to work simultaneously. Wait until another user has stopped using the program. Contact your system administrator if you want to allow more simultaneous users on your system."&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This problem occurs in the following products:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Dynamics NAV 2009 R2&lt;/li&gt;
&lt;li&gt;Microsoft Dynamics NAV 2009 Service Pack 1 (SP1)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The issue is caused by a change in&amp;nbsp;the operating system&amp;nbsp;between Microsoft Windows Server 2003 and Microsoft Windows Server 2008 with regards to how&amp;nbsp;security accounts are viewed.&amp;nbsp; The easiest way to correct this issue is to change the NAS service login from NT Authority\NetworkService to a Domain Account.&amp;nbsp; Once the&amp;nbsp;service login account is changed and&amp;nbsp;the NAS is restarted the NAS will only consume one user session as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10235442" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/Fg5O3vSitKc" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009/">NAV 2009</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAS/">NAS</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/user+sessions/">user sessions</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/restart/">restart</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/09/nas-is-consuming-user-sessions.aspx</feedburner:origLink></item><item><title>Objects need recompilation after applying certain hotfixes</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/ZJQtRuwY4CY/objects-need-recompilation-after-applying-certain-hotfixes.aspx</link><pubDate>Tue, 01 Nov 2011 13:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10232052</guid><dc:creator>Jorge Alberto Torres NAV</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10232052</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/11/01/objects-need-recompilation-after-applying-certain-hotfixes.aspx#comments</comments><description>&lt;p&gt;If you have recently applied a new hotfix and start running the RTC right away, your RTC client might eventually get disconnected, and a new log on the service tier host machine can appear stating that a new Exception of type &amp;ldquo;System.ArgumentNullException&amp;rdquo; has been raised. This can usually happens if you were trying to run a report that was last compiled with the pre hotfix version, and you have not recompiled it after applying the new hotfix bits.&lt;/p&gt;
&lt;p&gt;This issue appears because the hotfix runtime has a different signature from what is expected from the previously compiled code and therefore, the .Net runtime will complain that it is not possible to execute the code (which is indeed true).&lt;/p&gt;
&lt;p&gt;To resolve this issue, simply recompile the objects in question. It is strongly recommended to re-compile all objects after applying a new hotfix to prevent this from happening (this is especially true if you are applying a hotfix with a build number bigger than 32657).&lt;/p&gt;
&lt;p&gt;The general issue will be resolved in an upcoming hotfix, so that the runtime itself will detect if a recompilation is needed, and a message will appear on the RTC stating which object type and number needs the recompilation (and obviously the client will not get disconnected), but until then, please recompile the objects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10232052" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/ZJQtRuwY4CY" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Jtorres/">Jtorres</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/RTC/">RTC</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+SP1/">NAV 2009 SP1</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Error/">Error</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/restart/">restart</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/11/01/objects-need-recompilation-after-applying-certain-hotfixes.aspx</feedburner:origLink></item><item><title>Document Management - Zetadocs Express for Microsoft Dynamics NAV is Now Available for Download!</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/Ye0iPEPIycI/document-management-zetadocs-express-for-microsoft-dynamics-nav-is-now-available-for-download.aspx</link><pubDate>Mon, 31 Oct 2011 05:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10228133</guid><dc:creator>navteam</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10228133</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/10/31/document-management-zetadocs-express-for-microsoft-dynamics-nav-is-now-available-for-download.aspx#comments</comments><description>&lt;ul&gt;
&lt;li&gt;Download now through PartnerSource: &lt;a href="https://mbs.microsoft.com/partnersource/newsevents/news/msdynav_zetadocsexpress.htm"&gt;Zetadocs Express for Microsoft Dynamics NAV&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download now through CustomerSource: &lt;a href="https://mbs.microsoft.com/customersource/newsevents/news/generalnews/msd_nav2009zetadocsexpress.htm"&gt;Zetadocs Express for Microsoft Dynamics NAV&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We are very happy to announce that now it is here - Zetadocs Express for Microsoft Dynamics NAV.&lt;/p&gt;
&lt;p&gt;Now customers on a Business Ready Enhancement Plan can get a document management solution integrated with SharePoint Online. With an subscription to Microsoft Office 365 customers are now able to drag &amp;amp; drop documents into Microsoft Dynamics NAV which then are stored on SharePoint Online. Additionally customers will also be able to send documents as PDF and store them automatically when sending.&lt;/p&gt;
&lt;p&gt;Partners can download Zetadocs Express now and include document management in their demonstrations of Microsoft Dynamics NAV. Customers on a Business Readiness Enhancement Plan should talk to their partners to get this installed in order to take advantage of document management capabilities integrated into Microsoft Dynamics NAV.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10228133" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/Ye0iPEPIycI" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Announcement/">Announcement</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/10/31/document-management-zetadocs-express-for-microsoft-dynamics-nav-is-now-available-for-download.aspx</feedburner:origLink></item><item><title>Useful Dialog Windows with .NET Interop and NAV 2009 R2</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/7tNO84paM-Y/useful-dialog-windows-with-net-interop-and-nav-2009-r2.aspx</link><pubDate>Sun, 30 Oct 2011 11:49:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10231415</guid><dc:creator>navteam</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10231415</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/10/30/useful-dialog-windows-with-net-interop-and-nav-2009-r2.aspx#comments</comments><description>&lt;p&gt;We have been asked recently how to display a Dialog window for the RoleTailored client that would collect a Directory path.&lt;/p&gt;
&lt;p&gt;The old (good) Codeunit 412 &amp;ldquo;Common Dialog Management&amp;rdquo; was not suitable for that purpose (and honestly I would love to go for something more RTC oriented).&lt;/p&gt;
&lt;p&gt;I thought myself, then, there may be a lot of useful Dialog windows based on System.Windows.Forms namespace.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;How to select a &lt;b&gt;DIRECTORY &lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.folderbrowserdialog(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.forms.folderbrowserdialog(v=VS.90).aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;How to select a &lt;b&gt;FILE&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog(v=VS.90).aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;How to select a &lt;b&gt;COLOR&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog(v=VS.90).aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;How to select a &lt;b&gt;PRINTER&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog(v=VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog(v=VS.90).aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1323.DialogBlog01a.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-84-65/1323.DialogBlog01a.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attached you will find 1 unbounded page object in TXT format.&lt;/p&gt;
&lt;p&gt;The code is fairly simple.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;b&gt;These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Duilio Tacconi (&lt;a href="http://blogs.msdn.com/user/Profile.aspx?UserID=205909"&gt;dtacconi&lt;/a&gt;) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Microsoft Dynamics Italy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Microsoft Customer Service and Support (CSS) EMEA&lt;/p&gt;
&lt;p&gt;- Thanks to Carsten Scholling from Microsoft Dynamics CSS Germany -&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10231415" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/7tNO84paM-Y" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-23-14-15/UsefulDialogs.txt" length="5961" type="text/plain" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/Development/">Development</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/dtacconi/">dtacconi</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/10/30/useful-dialog-windows-with-net-interop-and-nav-2009-r2.aspx</feedburner:origLink></item><item><title>Installing NAV 2009 R2 without Active Directory</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/_yNuwcNRYH0/installing-nav-2009-r2-without-active-directory.aspx</link><pubDate>Thu, 27 Oct 2011 13:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10230584</guid><dc:creator>peterwib</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10230584</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/10/27/installing-nav-2009-r2-without-active-directory.aspx#comments</comments><description>&lt;p&gt;Normally you need to have an Active directory server running to use multi-tier of NAV 2009 R2. But in some cases this is not possible or existing. In NAV 2009 R2 we got an new configuration option called &lt;strong&gt;ClientCredentialType&lt;/strong&gt; that is meant to be used over WAN. But I will in this blog post show one simple way to get this up and running for development and test purpose, in a LAN environment&lt;/p&gt;
&lt;p&gt;In a developer or test environment &lt;br /&gt;1.&amp;nbsp;Install Service, Database and Classic client on the server machine.&lt;br /&gt;2.&amp;nbsp;Create the needed windows users on the server machine&lt;br /&gt;3.&amp;nbsp;Add the newly created window users to NAV in classic client, under Tools-&amp;gt;Security-&amp;gt;Windows Logins&lt;br /&gt;4.&amp;nbsp;Now sync all&amp;nbsp;new logins in classic client, under Tools-&amp;gt;Security-&amp;gt;Synchronize All Logins&lt;br /&gt;5.&amp;nbsp;Install RTC on client machine&lt;br /&gt;6.&amp;nbsp;Update &lt;strong&gt;ClientCredentialType&lt;/strong&gt; in C:\ProgramData\Microsoft\Microsoft Dynamics NAV\ClientUserSettings.config (path is for Windows 7 and Windows 2008)&amp;nbsp;to "UserName" on client machine. Also update&amp;nbsp;the server key to server machine name. It&amp;rsquo;s important that you have never started RTC on this machine before to make this working.&lt;br /&gt;7.&amp;nbsp;If you have started RTC earlier on the client machine you also need to update &lt;strong&gt;ClientCredentialType&lt;/strong&gt; in C:\Users\[user name]\AppData\Local\Microsoft\Microsoft Dynamics NAV\ClientUserSettings.config to "UserName" on client machine. Replace [user name] with your user name. Also update&amp;nbsp;the server key to server machine name.&lt;br /&gt;8.&amp;nbsp;Start RTC and you will get a popup box asking for credential. For user name type "[server machine name]\[user name on server machine]".&lt;/p&gt;
&lt;p&gt;For an production environment I would recommend to use certificates to authorize the connection between RTC and server. Guides to setup certificates can be found under subject "Procedural Overview" on &lt;a href="http://msdn.microsoft.com/en-us/library/gg502476.aspx"&gt;http://msdn.microsoft.com/en-us/library/gg502476.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10230584" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/_yNuwcNRYH0" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/nav/archive/tags/Install/">Install</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/peterwib/">peterwib</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/NAV+2009+R2/">NAV 2009 R2</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Configuration/">Configuration</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/10/27/installing-nav-2009-r2-without-active-directory.aspx</feedburner:origLink></item><item><title>Embedding fonts into PDF</title><link>http://feedproxy.google.com/~r/MicrosoftDynamicsNavTeamBlog/~3/Q8hwTeWvgAE/embedding-fonts-into-pdf.aspx</link><pubDate>Tue, 25 Oct 2011 09:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10229733</guid><dc:creator>clausl</dc:creator><slash:comments>7</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/nav/rsscomments.aspx?WeblogPostID=10229733</wfw:commentRss><comments>http://blogs.msdn.com/b/nav/archive/2011/10/25/embedding-fonts-into-pdf.aspx#comments</comments><description>&lt;p&gt;Update: I stand corrected, embedding fonts into a PDF is not an option with the SAVEASPDF function in NAV 2009. &lt;/p&gt;  &lt;p&gt;But now you at least know that this is solved in our next version.&lt;/p&gt;  &lt;p&gt;/&lt;a href="http://blogs.msdn.com/b/nav/archive/2010/03/29/bio-claus-lundstr-m.aspx"&gt;Clausl&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;******&lt;/p&gt;  &lt;p&gt;I just want to share a small tip today. If you need to include a custom font into a RDLC report you need to first install the font, of course.&lt;/p&gt;  &lt;p&gt;The Font must be a True Type font. If your font is an Open Type font you will need to convert this first for it to visible in Visual Studio.&lt;/p&gt;  &lt;p&gt;Then you will need to restart the computer for the font to be embedded into the report when saving as PDF.&lt;/p&gt;  &lt;p&gt;The restart issue took me some time to figure out, so with this small tip, you hopefully will not loose as much hair as I did, when you include a custom font into a RDLC report.&lt;/p&gt;  &lt;p&gt;I have attached a sample RDLC report with a custom barcode font.&lt;/p&gt;  &lt;p&gt;/&lt;a href="http://blogs.msdn.com/b/nav/archive/2010/03/29/bio-claus-lundstr-m.aspx"&gt;Clausl&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10229733" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/MicrosoftDynamicsNavTeamBlog/~4/Q8hwTeWvgAE" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-22-97-33/Report-with-embedded-font.pdf" length="18997" type="application/pdf" /><category domain="http://blogs.msdn.com/b/nav/archive/tags/Reporting/">Reporting</category><category domain="http://blogs.msdn.com/b/nav/archive/tags/Clausl/">Clausl</category><feedburner:origLink>http://blogs.msdn.com/b/nav/archive/2011/10/25/embedding-fonts-into-pdf.aspx</feedburner:origLink></item></channel></rss>

