<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-37898244</id><updated>2012-02-16T19:48:49.284+07:00</updated><title type='text'>FT Dynamics AX blog</title><subtitle type='html'>Supporting a DAX 4.0 at work. 
Like the idea of sharing knowledge and will put my 2 cents here whenever I could find them~! Cheers~</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-37898244.post-955056345533908259</id><published>2010-07-27T21:43:00.001+07:00</published><updated>2010-07-27T21:43:10.468+07:00</updated><title type='text'>Journal total debit / credit balances not correct (AX4.0 SP2)</title><content type='html'>&lt;p&gt;Some users complain about in Vendor Payment Journal form sometimes the journal total debit/credit become incorrect after editing the journal.&lt;/p&gt;  &lt;p&gt;The problem was that the journal balances are “remembered” by the journal table and by design when open the form it only retrieve the existing value. Some bugs probably make it such that certain updates are ignored and lead to incorrect journal balances. While this does not affect the final result, it’s very inconvenient for users to do spot check.   &lt;br /&gt;Well, since the issue does not affect actual posting, I guess fixing the debit credit display is enough. These journals uses the LedgerJournalEngine to display the balances. In the &lt;font color="#000080"&gt;linkActive&lt;/font&gt; method in the form datasource, there’s a line that initiate a ledgerJournalEngine:&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;ledgerJournalEngine.newJournalActive(ledgerJournalTable&lt;/font&gt;);&lt;/p&gt;  &lt;p&gt;simply change it to the following:&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;ledgerJournalEngine.newJournalActive(ledgerJournalTable,true);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;The “true” parameter instructs the engine to do a recal on the journal balance every time the journal is opened.&lt;/p&gt;  &lt;p&gt;It’s not the perfect solution. The next step might be add a button to recalculate as needed but I can live without it.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-955056345533908259?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/955056345533908259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2010/07/journal-total-debit-credit-balances-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/955056345533908259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/955056345533908259'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2010/07/journal-total-debit-credit-balances-not.html' title='Journal total debit / credit balances not correct (AX4.0 SP2)'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-1819972024787929879</id><published>2008-06-19T16:47:00.001+07:00</published><updated>2008-06-19T16:47:10.668+07:00</updated><title type='text'>AX 2009 Workflows: A Quick overview</title><content type='html'>&lt;p&gt;A great article written by Arijit Basu on DAX 2009 workflow.   &lt;br /&gt;&lt;a href="http://daxguy.blogspot.com/2008/06/ax-2009-workflows-quick-overview.html"&gt;Check it out&lt;/a&gt;!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-1819972024787929879?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/1819972024787929879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/06/ax-2009-workflows-quick-overview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/1819972024787929879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/1819972024787929879'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/06/ax-2009-workflows-quick-overview.html' title='AX 2009 Workflows: A Quick overview'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-3230818570521209082</id><published>2008-06-19T16:41:00.001+07:00</published><updated>2008-06-19T16:41:26.544+07:00</updated><title type='text'>Microsoft Dynamics AX 2009 SDK</title><content type='html'>&lt;p&gt;Please follow this &lt;a href="http://msdn.microsoft.com/en-us/library/aa496071.aspx#"&gt;link&lt;/a&gt;.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-3230818570521209082?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/3230818570521209082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/06/microsoft-dynamics-ax-2009-sdk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/3230818570521209082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/3230818570521209082'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/06/microsoft-dynamics-ax-2009-sdk.html' title='Microsoft Dynamics AX 2009 SDK'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-4425447966866197085</id><published>2008-06-12T16:45:00.001+07:00</published><updated>2008-06-12T16:45:28.342+07:00</updated><title type='text'>What the DAX executives have to say?</title><content type='html'>&lt;p&gt;Check this out: &lt;a href="http://dynamics-ax.blogspot.com/2008/05/interview-with-microsoft-dynamics.html"&gt;Interview with Microsoft Dynamics Executives&lt;/a&gt; to see what they have to say in the present and future of Dynamics AX.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-4425447966866197085?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/4425447966866197085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/06/what-dax-executives-have-to-say.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/4425447966866197085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/4425447966866197085'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/06/what-dax-executives-have-to-say.html' title='What the DAX executives have to say?'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-5724621406030189672</id><published>2008-05-23T15:49:00.001+07:00</published><updated>2008-05-23T15:49:14.579+07:00</updated><title type='text'>Dynamics AX 2009 RTM download</title><content type='html'>&lt;p&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={198FB7D3-A117-4968-829C-4B0EEA45C91C}&amp;amp;NRORIGINALURL=/partnersource/support/selfsupport/productreleases/DynamicsAX2009release.htm&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;&lt;/a&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={198FB7D3-A117-4968-829C-4B0EEA45C91C}&amp;amp;NRORIGINALURL=/partnersource/support/selfsupport/productreleases/DynamicsAX2009release.htm&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;&lt;/a&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={198FB7D3-A117-4968-829C-4B0EEA45C91C}&amp;amp;NRORIGINALURL=/partnersource/support/selfsupport/productreleases/DynamicsAX2009release.htm&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;&lt;/a&gt;Dynamics AX 2009 RTM has been released. Follow the link below for more information.&lt;/p&gt;  &lt;p&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={198FB7D3-A117-4968-829C-4B0EEA45C91C}&amp;amp;NRORIGINALURL=/partnersource/support/selfsupport/productreleases/DynamicsAX2009release.htm&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0" target="_blank"&gt;Download link (Partner source login required)&lt;/a&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={198FB7D3-A117-4968-829C-4B0EEA45C91C}&amp;amp;NRORIGINALURL=/partnersource/support/selfsupport/productreleases/DynamicsAX2009release.htm&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-5724621406030189672?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/5724621406030189672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/05/dynamics-ax-2009-rtm-download.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/5724621406030189672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/5724621406030189672'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/05/dynamics-ax-2009-rtm-download.html' title='Dynamics AX 2009 RTM download'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-337985038280421814</id><published>2008-05-13T13:52:00.001+07:00</published><updated>2008-05-13T13:54:32.040+07:00</updated><title type='text'>Dynamics AX - UTC time to local time</title><content type='html'>&lt;p&gt;A problem that I encountered when doing data conversion in AX is to grab a DateTime value in SQL and convert it to local time. &lt;/p&gt;  &lt;p&gt;I've figured out the following way, although it's probably not the smartest.&lt;/p&gt;  &lt;p&gt;1) Get the DateTime value from SQL as a string.   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; In the T-SQL statement write the following:&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; CAST(TableName.DateFieldName AS char(30)) &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; so that the dateTime values becomes a string.&lt;/p&gt;  &lt;p&gt;2) The result string has a fixed length for both the 'date' and the 'time' (Notice the 'time' part doesn't include seconds). By doing string manipulation we can eventually get the 'date' and 'time' seperately.&lt;/p&gt;  &lt;p&gt;e.g.   &lt;br /&gt;datePart&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = strLRTrim(subStr(dateStr,1,12));    &lt;br /&gt;datePart&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = this.trimDateStr(datePart);    &lt;br /&gt;timePart&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = strLRTrim(substr(DateStr,13,strlen(DateStr)));    &lt;br /&gt;timePart&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = subStr(timePart,1,strlen(timePart) - 2) +    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;quot;:00&amp;quot; +    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; substr(timePart,strlen(timePart) - 1,2);    &lt;br /&gt;tmpDate&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = str2date(datePart,213);    &lt;br /&gt;tmpTime&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = str2time(timePart);&lt;/p&gt;  &lt;p&gt;3) Now that you get the UTC 'date' and UTC 'time'. The way to transform it into local date time is make use of some WINAPI methods. (Only available in DAX 4.0. However, you can copy and paste these methods into DAX 3.0 and they'll work too)&lt;/p&gt;  &lt;p&gt;e.g.   &lt;br /&gt;static container dateTime2LocalTZDateTime(TransDate _date, TimeHour24 _time)    &lt;br /&gt;{    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Binary&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; systemTime;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; container&amp;#160;&amp;#160; c;    &lt;br /&gt;;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; systemTime&amp;#160; = WinAPI::dateTime2SystemTime(_date,_time);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; systemTime&amp;#160; = WinAPI::systemTimeToTzSpecificLocalTime(systemTime);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; c&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; = [WinAPI::systemTimeToDate(systemTime),    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WinAPI::systemTimeToTimeOfDay(systemTime)]; &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; return c;   &lt;br /&gt;}&lt;/p&gt;  &lt;p&gt;I am interest to know if there's a better way for getting the Date and Time from a dateTime field, for the way I do it here isn't ideal I'd say.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-337985038280421814?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/337985038280421814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/05/dynamics-ax-utc-time-to-local-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/337985038280421814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/337985038280421814'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/05/dynamics-ax-utc-time-to-local-time.html' title='Dynamics AX - UTC time to local time'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-1223461417850446448</id><published>2008-05-13T11:50:00.001+07:00</published><updated>2008-05-13T11:50:12.255+07:00</updated><title type='text'>OverwriteSystemFields(boolean)</title><content type='html'>&lt;p&gt;I need to do some sort of manual EDI and need to assign a specific value to the system CreatedDate field. I remember about this property method but always forgot the implementation. The trick is we can't do a simple system field assignment. So I'll put it here to remind myself.&lt;/p&gt;  &lt;p&gt;CustTable custTable;&lt;/p&gt;  &lt;p&gt;custTable.overwriteSystemFields(true);   &lt;br /&gt;custTable.(fieldNum(CustTable,createdDate)) = [custom date];&lt;/p&gt;  &lt;p&gt;custTable.insert();&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-1223461417850446448?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/1223461417850446448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/05/overwritesystemfieldsboolean.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/1223461417850446448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/1223461417850446448'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/05/overwritesystemfieldsboolean.html' title='OverwriteSystemFields(boolean)'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-6444815300475880242</id><published>2008-03-06T13:35:00.001+07:00</published><updated>2008-03-06T13:35:16.939+07:00</updated><title type='text'>What's new in Dynamics AX 2009 (a.k.a. 5.0)</title><content type='html'>&lt;p&gt;I haven't look at the contents there yet but look interesting.&lt;/p&gt;  &lt;p&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={BEBEF393-A5A6-452C-A81E-669E03C52B34}&amp;amp;NRORIGINALURL=/partnersource/training/news/whatsnewMSDAX2009&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;Check it out!&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Partnersource login required.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-6444815300475880242?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/6444815300475880242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2008/03/what-new-in-dynamics-ax-2009-aka-50.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6444815300475880242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6444815300475880242'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2008/03/what-new-in-dynamics-ax-2009-aka-50.html' title='What&amp;#39;s new in Dynamics AX 2009 (a.k.a. 5.0)'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-8867386266711345100</id><published>2007-08-27T10:53:00.000+07:00</published><updated>2007-08-27T11:18:20.367+07:00</updated><title type='text'>Caching and Indexes</title><content type='html'>Well, today I have to trouble shoot a weird problem for my customer (Ax30SP5). The problem is like this:&lt;br /&gt;&lt;br /&gt;A LedgerTable consists of 822 records. Using the following select statements (in a job) yield different results.&lt;br /&gt;&lt;br /&gt;a) While select ledgerTable&lt;br /&gt;   {&lt;br /&gt;       // work...&lt;br /&gt;   }&lt;br /&gt;   [This returns 822 records]&lt;br /&gt;&lt;br /&gt;b) While select ledgerTable&lt;br /&gt;       where ledgerTable.accountNum &gt;= [something] &amp;&amp;&lt;br /&gt;             ledgerTable.accountNum &lt;= [something]&lt;br /&gt;   {&lt;br /&gt;       // work...&lt;br /&gt;   }&lt;br /&gt;   [This would only returns 278 records]&lt;br /&gt;&lt;br /&gt;The interesting aspect of this problem is it only fails in a certain company. Yet the data in ledgerTable is the same as in other companies. Also, there's no problem if I use other fields in the where clause.&lt;br /&gt;&lt;br /&gt;After playing around with parameters and settings I've figured:&lt;br /&gt;i) If I change the caching from Entire Table cache to another type of cache, the problem's gone but this impact the performance of the system. [The problem comes back if I change it back to Entire Table cache]&lt;br /&gt;ii) I can change the "Primary index" to another index to solve the problem. [The problem actually disappear even after I change the primary index back to its original one]&lt;br /&gt;&lt;br /&gt;During the debug process I read through some articles and other resources. While I have no logical explanation on this, it seems that there's a slight chance the client side record caching would fail. Which in turn leads to problem in record selection related to primary key. [For record cache populates itself with primary key]&lt;br /&gt;&lt;br /&gt;P.S. Anyone who has a better idea of what's happening please kindly share it with me. Thanks in advance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-8867386266711345100?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/8867386266711345100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/08/caching-and-indexes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8867386266711345100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8867386266711345100'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/08/caching-and-indexes.html' title='Caching and Indexes'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-8377267983490161905</id><published>2007-06-22T10:11:00.000+07:00</published><updated>2007-06-22T10:13:28.446+07:00</updated><title type='text'>Known issues when upgrading to Dynamics AX 4.0</title><content type='html'>Last updated 6/6:&lt;br /&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;NRORIGINALURL=/partnersource/resources/support/selfsupport/hottopics/axapta/ax30to40upgrade.htm?printpage=false&amp;NRNODEGUID={863D51CC-3127-4E83-94A7-AE95CE9E660D}&amp;NRCACHEHINT=Guest&amp;printpage=false&amp;wa=wsignin1.0"&gt;Link&lt;/a&gt; (Require partner source access)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-8377267983490161905?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/8377267983490161905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/06/known-issues-when-upgrading-to-dynamics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8377267983490161905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8377267983490161905'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/06/known-issues-when-upgrading-to-dynamics.html' title='Known issues when upgrading to Dynamics AX 4.0'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-3164433668009403662</id><published>2007-05-23T11:02:00.000+07:00</published><updated>2007-05-23T11:04:52.816+07:00</updated><title type='text'>Tabax v0.3 is out</title><content type='html'>Finally, Tabax v0.3 is out. Thanks to Max Belugin and other contributors, now we can use this awesome tools in DAX 4.0!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://axcoder.blogspot.com/2007/05/tabax-v-03.html"&gt;Check it out.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-3164433668009403662?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/3164433668009403662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/05/tabax-v03-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/3164433668009403662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/3164433668009403662'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/05/tabax-v03-is-out.html' title='Tabax v0.3 is out'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-7744744924734108529</id><published>2007-04-13T10:35:00.000+07:00</published><updated>2007-04-13T10:39:33.899+07:00</updated><title type='text'>Hot Fixes released in March 2007 for Microsoft Dynamics AX</title><content type='html'>Check out the latest Hot fixes released by Dynamics AX team.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;NRNODEGUID={F80BC24D-7FF5-45EC-B473-282B6FCA3E19}&amp;amp;NRORIGINALURL=/partnersource/resources/support/selfsupport/hottopics/axapta/AXHotFixesMar2007.htm&amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0"&gt;Link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You will need partner source log in to access the page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-7744744924734108529?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/7744744924734108529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/04/hot-fixes-released-in-march-2007-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7744744924734108529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7744744924734108529'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/04/hot-fixes-released-in-march-2007-for.html' title='Hot Fixes released in March 2007 for Microsoft Dynamics AX'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-8807157648907230128</id><published>2007-04-12T15:12:00.000+07:00</published><updated>2007-04-12T15:41:59.540+07:00</updated><title type='text'>Exporting a table (or temp table buffer) to an excel file.</title><content type='html'>I've recently created a class to help export a temp table buffer to an excel file. I'd share it here for whoever interested. Cheers~&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.axaptapedia.com/Export_table_records_to_Excel"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Note: The code comes with no warrenty, use it at your own risk.&lt;/em&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-8807157648907230128?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/8807157648907230128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/04/exporting-table-or-temp-table-buffer-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8807157648907230128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/8807157648907230128'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/04/exporting-table-or-temp-table-buffer-to.html' title='Exporting a table (or temp table buffer) to an excel file.'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-6965840202518279847</id><published>2007-03-21T10:42:00.000+07:00</published><updated>2007-03-21T11:24:59.747+07:00</updated><title type='text'>Dynamics AX 4.0 Trace Parser (beta) tool</title><content type='html'>Just saw a post regarding a beta tracing tools for Dynamics AX 4.0 &lt;a href="http://dynamics-ax.blogspot.com/2007/03/trace-parser-beta-tool-for-microsoft.html"&gt;Here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Instead of writing similar introduction, please follow the above link to find the description and links for download. &lt;span style="color:#ff0000;"&gt;[Partner source log in required to download the tool]&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-6965840202518279847?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/6965840202518279847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/03/dynamics-ax-40-trace-parser-beta-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6965840202518279847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6965840202518279847'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/03/dynamics-ax-40-trace-parser-beta-tool.html' title='Dynamics AX 4.0 Trace Parser (beta) tool'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-7374036853340371353</id><published>2007-02-01T17:14:00.000+07:00</published><updated>2007-02-01T17:18:52.079+07:00</updated><title type='text'>Customizing Infolog through SysInfoAction (by Kamal)</title><content type='html'>Today I saw this very interesting article by Kamal on "Customizing Infolog through SysInfoAction":&lt;br /&gt;&lt;a href="http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry"&gt;http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Wooo....Enlightenment!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-7374036853340371353?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/7374036853340371353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/02/customizing-infolog-through.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7374036853340371353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7374036853340371353'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/02/customizing-infolog-through.html' title='Customizing Infolog through SysInfoAction (by Kamal)'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-4405570219748389230</id><published>2007-01-04T15:58:00.000+07:00</published><updated>2007-01-04T16:10:12.402+07:00</updated><title type='text'>Tabax for 4.0 follow up</title><content type='html'>After taking some time looking into it, I found those missing functions were due to tabax not able to find the correct image to load. The problem is the line of code that returns the path to the [DAX path]\application\share\include now returns [DAX path]\client\share\include instead. Fair enough, I just put the images into client folder instead and the functions are back.&lt;br /&gt;&lt;br /&gt;However, the other problem regarding tabpages switching not working properly is outta my league. Hope someone can figure it out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-4405570219748389230?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/4405570219748389230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/01/tabax-for-40-follow-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/4405570219748389230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/4405570219748389230'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/01/tabax-for-40-follow-up.html' title='Tabax for 4.0 follow up'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-7836433836269176289</id><published>2007-01-03T16:15:00.000+07:00</published><updated>2007-01-03T16:21:45.693+07:00</updated><title type='text'>Tabax for DAX 4.0</title><content type='html'>Yurii has post an &lt;a href="http://axaptabuilder.blogspot.com/2006/09/how-to-make-dynamics-ax-interface-more.html"&gt;article&lt;/a&gt; on getting tabax to work on DAX 4.0. I tried it on SP1 and I had to change the security reference within assertDevelopment method also.&lt;br /&gt;&lt;br /&gt;At this point some functions seems to be missing and the tab isn't 100% working (but close enough). It is functional but I missed many of the stuff I can do on 3.0.&lt;br /&gt;&lt;br /&gt;It'd be nice if it's fully compatible with 4.0 in the future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-7836433836269176289?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/7836433836269176289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2007/01/tabax-for-dax-40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7836433836269176289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/7836433836269176289'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2007/01/tabax-for-dax-40.html' title='Tabax for DAX 4.0'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-6412411779032605040</id><published>2006-12-07T16:45:00.000+07:00</published><updated>2006-12-07T17:19:45.520+07:00</updated><title type='text'>AxCreateNewProject</title><content type='html'>There's this nifty little tool that "creates a Shared/Private project with selected project nodes and opens it in a new window." I downloaded it and it runs well on DAX 3.0. However, it needed slight modification to run on 4.0.&lt;br /&gt;&lt;br /&gt;Now you can find the original and the modified version for 4.0 on: &lt;a href="http://www.axaptapedia.com/AxCreateNewProject#AxCreateNewProject"&gt;http://www.axaptapedia.com/AxCreateNewProject#AxCreateNewProject&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-6412411779032605040?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/6412411779032605040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2006/12/axcreateproject.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6412411779032605040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/6412411779032605040'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2006/12/axcreateproject.html' title='AxCreateNewProject'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37898244.post-116542285607201914</id><published>2006-12-06T23:31:00.000+07:00</published><updated>2006-12-06T23:34:16.083+07:00</updated><title type='text'>My new blog</title><content type='html'>Greetings~ This would be the place for me to place my 2cents. Mainly on Dynamics AX (for as long as I am associating with it)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/37898244-116542285607201914?l=domhk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://domhk.blogspot.com/feeds/116542285607201914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://domhk.blogspot.com/2006/12/my-new-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/116542285607201914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37898244/posts/default/116542285607201914'/><link rel='alternate' type='text/html' href='http://domhk.blogspot.com/2006/12/my-new-blog.html' title='My new blog'/><author><name>Dom</name><uri>http://www.blogger.com/profile/02556227973766369145</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
