<?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:blogger='http://schemas.google.com/blogger/2008' 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-8976022373386972059</id><updated>2026-04-27T12:11:54.083+05:30</updated><category term="Development"/><category term="Dynamics AX 2012"/><category term="Dynamics Ax 2009"/><category term="SSRS"/><category term="Reporting Extensions"/><category term="AX Interview Questions"/><category term="Workflow"/><category term="D365FO"/><category term="EP"/><category term="Installation and configuration"/><category term="Management Reporter"/><category term="X++"/><category term="AX 2012"/><category term="Analysis Extensions"/><category term="SQL Server"/><category term="AOT"/><category term="AX Database"/><category term="AX7"/><category term="Batch Jobs"/><category term="COC"/><category term="Certification"/><category term="ChainOfCommand"/><category term="Cross Reference"/><category term="D365FO_SSRS"/><category term="Demo Data"/><category term="Excel Report"/><category term="GST"/><category term="GSTR"/><category term="IIS Manager"/><category term="Labels"/><category term="MB6-890"/><category term="Management Reporter 2012"/><category term="Sharepoint"/><category term="Trial Balance"/><category term="Update balances"/><category term="Visual studio"/><category term="theme"/><category term="where used"/><title type='text'>D365FO/ AX Tips and Tricks</title><subtitle type='html'>Explore Microsoft Dynamics 365 FO/ AX</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>186</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-3418033022014166838</id><published>2022-02-14T15:38:00.007+05:30</published><updated>2022-02-14T15:38:49.798+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="D365FO"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation and configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Rename AxDB database in D365Fo</title><content type='html'>&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; font-stretch: normal; line-height: 1.33; margin: 0px 0px 30px; text-align: left; text-rendering: optimizelegibility;&quot;&gt;&lt;span style=&quot;background-color: white; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px;&quot;&gt;To rename the AxDB database in the tier-1 machine (Dev machine), stop following services.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; font-stretch: normal; line-height: 1.33; margin: 0px 0px 30px; text-align: left; text-rendering: optimizelegibility;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: white; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px;&quot;&gt;Management reporter 2012 process service&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Microsoft Dynamics 365 for Operations – Batch Management service&lt;/li&gt;&lt;li&gt;Microsoft Dynamics 365 for Operations – Data import/Export Framework service&lt;/li&gt;&lt;li&gt;World Wide Web Publishing Service&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/3418033022014166838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2022/02/rename-axdb-database-in-d365fo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/3418033022014166838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/3418033022014166838'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2022/02/rename-axdb-database-in-d365fo.html' title='Rename AxDB database in D365Fo'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-5554977699915922336</id><published>2021-12-15T21:53:00.005+05:30</published><updated>2021-12-15T21:53:59.735+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="D365FO"/><category scheme="http://www.blogger.com/atom/ns#" term="theme"/><title type='text'>Apply color theme to the D365F&amp;O environment</title><content type='html'>&lt;p&gt;&amp;nbsp;Hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;As per my requirement to apply a specific color to a particular environment, I found the below link which shows a quick solution to change the color theme of the environment.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://timsaxblog.wordpress.com/2018/02/23/set-the-user-colour-theme-in-dynamics-365-for-operations/&quot;&gt;https://timsaxblog.wordpress.com/2018/02/23/set-the-user-colour-theme-in-dynamics-365-for-operations/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am just copy-pasting the full details of timsaxblog here on my blog for your quick reference.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;We’re in the User acceptance test phase of our current project and now have users working in User acceptance test, Data migration, Training (and soon) Production environments.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;One of the user personalisation options in Dynamics 365 for Operations is setting the colour theme for the environment – I’d prefer to have the option of setting a company colour (&lt;a href=&quot;https://ideas.dynamics.com/ideas/dynamics-operations/ID0003297&quot; style=&quot;box-sizing: border-box; color: #1185d7; text-decoration-line: none; transition: all 0.3s ease-in-out 0s;&quot;&gt;https://ideas.dynamics.com/ideas/dynamics-operations/ID0003297&lt;/a&gt;&amp;nbsp;) but luckily in our current project we only have one company configured.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;What we’re going to do here is set the user colour theme the same for all users, so that the users (and support staff) can readily identify which environment they are working in. Later on we might do this as a modification – for instance make this a menu option that a systems administrator could run, or write a script which we can run after we’ve copied data from one environment to another – but for now here’s a quick and simple way of doing this&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;1. Log into an environment (e.g. UAT) as a systems administrator and navigate to your&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Settings &amp;gt; User options&lt;/em&gt;:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;132&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc1.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc1.png?w=643&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc1.png?w=643&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;643&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;The system displays:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;213&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc2.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc2.png?w=643&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc2.png?w=643&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;643&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;2. Click Microsoft office &amp;gt; User information (unfiltered), and download and open the Excel spreadsheet:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;321&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc3.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc3.png?w=643&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc3.png?w=643&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;643&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;You might need configure and or sign in to the Office Add-in. Configuring the office add-in is outside the scope of this blog (and a bit too technical for me).&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;3. Add the Theme column. Click&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Design:&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;446&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc4.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc4.png?w=643&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc4.png?w=643&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;643&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Click the Pen icon next to the SystemUser Table:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;602&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc5.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc5.png?w=404&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc5.png?w=404&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;404&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Add ‘Theme’ to the select fields (Double-click it, or Select it and click Add):&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;478&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc6.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc6.png?w=479&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc6.png?w=479&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;479&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Click&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Update&lt;/em&gt;:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;392&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc7.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc7.png?w=349&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc7.png?w=349&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;349&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Yes&lt;/em&gt;:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;405&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc8.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc8.png?w=409&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc8.png?w=409&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;409&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Done&lt;/em&gt;:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;400&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc9.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc9.png?w=423&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc9.png?w=423&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;423&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Refresh&lt;/em&gt;:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;257&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc10.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc10.png?w=327&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc10.png?w=327&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;327&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Click Yes, and note that the users’ existing Themes are now displayed.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;4. Update the Theme and click Publish:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;424&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc11.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc11.png?w=388&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc11.png?w=388&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;388&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Check for success:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;217&quot; scale=&quot;1.5&quot; src-orig=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc12.png?w=700&quot; src=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc12.png?w=435&quot; srcset=&quot;https://timsaxblog.files.wordpress.com/2018/02/022218_2034_settheuserc12.png?w=435&amp;amp;zoom=2 1.5x&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;435&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Gentium Basic&amp;quot;, Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 20px; margin: 1em 0px; overflow-wrap: break-word;&quot;&gt;Close the spreadsheet.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/5554977699915922336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2021/12/apply-color-theme-to-d365f-environment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5554977699915922336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5554977699915922336'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2021/12/apply-color-theme-to-d365f-environment.html' title='Apply color theme to the D365F&amp;O environment'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-8542273078099440572</id><published>2021-12-01T18:41:00.002+05:30</published><updated>2021-12-01T18:41:17.854+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ChainOfCommand"/><category scheme="http://www.blogger.com/atom/ns#" term="COC"/><category scheme="http://www.blogger.com/atom/ns#" term="D365FO"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="X++"/><title type='text'>How to call standard button Clicked method from customized button in D365FO</title><content type='html'>Hi Guy&#39;s,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Recently, I received one requirement where we need standard button clicked method logic to be called from customized button on the same form but in another Action Pane Tab and button group.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To achieve this requirement, I used COC of the form and retrieve the button control in variable. I easily able to call the method&#39;s define on the button.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please check below code.&lt;br /&gt;&lt;br /&gt; [ExtensionOf(formStr(WHSLoadTable))]&lt;br /&gt;final class WHSLoadTableForm_Extension&lt;br /&gt;{&lt;br /&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;br /&gt;[FormControlEventHandler(formControlStr(WHSLoadTable, PickList), FormControlEventType::Clicked)]&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;public static void PickList_OnClicked(FormControl sender, FormControlEventArgs e)&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;{&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;FormButtonControl       callerButton    = sender as FormButtonControl;&lt;/blockquote&gt;&lt;br /&gt;        &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;FormRun                 form            = callerButton.formRun();&lt;br /&gt;&lt;br /&gt;        &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;FormButtonControl       btnPickList = form.design(0).controlName(&quot;WHSPickListShipping&quot;) as &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;FormButtonControl;&lt;br /&gt;&lt;br /&gt;        &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;btnPickList.clicked();&lt;br /&gt;&lt;br /&gt;    &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;}&lt;br /&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Happy Learning !!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/8542273078099440572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2021/12/how-to-call-standard-button-clicked.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/8542273078099440572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/8542273078099440572'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2021/12/how-to-call-standard-button-clicked.html' title='How to call standard button Clicked method from customized button in D365FO'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-4775718290496115820</id><published>2021-09-03T19:29:00.000+05:30</published><updated>2021-09-03T19:29:00.459+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="D365FO_SSRS"/><title type='text'>Unable to find the report design reportName.DesignName in D365FO</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;D365FO - Report error -&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Unable to find the report design reportName.DesignName&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFkS1pSBsVWEwL7d6WCdHqsNFlyktYn6wp57gVU9QIPdmRkg4F8d6kLYF253OsupbwIS6L7KMJQrRhI-Nr6pYehIiedTbXp5q-2lSmIUglJkdLnxlMskag9aVb7oaXU_TseIdNAJOU3Q/s1463/D365FO+Report+error.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;487&quot; data-original-width=&quot;1463&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFkS1pSBsVWEwL7d6WCdHqsNFlyktYn6wp57gVU9QIPdmRkg4F8d6kLYF253OsupbwIS6L7KMJQrRhI-Nr6pYehIiedTbXp5q-2lSmIUglJkdLnxlMskag9aVb7oaXU_TseIdNAJOU3Q/w587-h196/D365FO+Report+error.png&quot; width=&quot;587&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;If the report is not deployed on the server and you try to run
the report from the front end then you will receive the error as ‘Unable to find
the report design reportName.DesignName.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Go to Visual Studio and deploy the report and recheck the report from the front end.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/4775718290496115820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2021/09/unable-to-find-report-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/4775718290496115820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/4775718290496115820'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2021/09/unable-to-find-report-design.html' title='Unable to find the report design reportName.DesignName in D365FO'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFkS1pSBsVWEwL7d6WCdHqsNFlyktYn6wp57gVU9QIPdmRkg4F8d6kLYF253OsupbwIS6L7KMJQrRhI-Nr6pYehIiedTbXp5q-2lSmIUglJkdLnxlMskag9aVb7oaXU_TseIdNAJOU3Q/s72-w587-h196-c/D365FO+Report+error.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Pune, Maharashtra, India</georss:featurename><georss:point>18.5204303 73.8567437</georss:point><georss:box>-9.7898035361788445 38.700493699999996 46.830664136178846 109.0129937</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-2094520467889347906</id><published>2019-12-20T14:39:00.000+05:30</published><updated>2019-12-20T14:39:02.502+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2012"/><title type='text'>AOS service not starting | SYSTIMEZONESVERSION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After installation of AOS, Service couldn&#39;t started due to systemtimezoneversion missmatch. Error is as below -&lt;br /&gt;
&lt;br /&gt;
Error message: &quot;The internal time zone version number stored in the database is higher than the version supported by the kernel (11/8). Use a newer Microsoft Dynamics AX kernel.&quot;&lt;br /&gt;
&lt;br /&gt;
Resolution :&lt;br /&gt;
SELECT * FROM SQLSYSTEMVARIABLES where parm =&#39;SYSTIMEZONESVERSION&#39;;&lt;br /&gt;
--Result is 11&lt;br /&gt;
Update SQLSYSTEMVARIABLES set value=7 where parm=&#39;SYSTIMEZONESVERSION&#39;;&lt;br /&gt;
--update it to 8&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/2094520467889347906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2019/12/aos-service-not-starting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/2094520467889347906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/2094520467889347906'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2019/12/aos-service-not-starting.html' title='AOS service not starting | SYSTIMEZONESVERSION'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-1416280865619675722</id><published>2019-09-26T20:30:00.002+05:30</published><updated>2019-09-26T20:30:56.307+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AOT"/><category scheme="http://www.blogger.com/atom/ns#" term="Batch Jobs"/><category scheme="http://www.blogger.com/atom/ns#" term="Cross Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="where used"/><title type='text'>Update cross reference in batch job - AX 2012 R2, R3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Below is the code snippets to update cross references of all AOT objects through batch job.&lt;br /&gt;
&lt;br /&gt;
static void UpdateCrossRefBatch(Args _args)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;xRefUpdate::truncateXrefTables();&lt;br /&gt;
&amp;nbsp; &amp;nbsp;xRefUpdateIL::updateAllXref(true, false, true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;info(&quot;Done, cross reference update batch job created.&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Batch job will get added with the description as &quot;Update xref for complete AOT&quot; .&lt;br /&gt;
&lt;br /&gt;
Happy Daxing !!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/1416280865619675722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2019/09/update-cross-reference-in-batch-job-ax.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1416280865619675722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1416280865619675722'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2019/09/update-cross-reference-in-batch-job-ax.html' title='Update cross reference in batch job - AX 2012 R2, R3'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-1000163723981546071</id><published>2018-05-31T16:36:00.001+05:30</published><updated>2019-01-22T16:21:28.932+05:30</updated><title type='text'>Add display method to List page (VendTableListPage)  AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi Experts,&lt;br /&gt;
&lt;br /&gt;
As per requirement of client, PAN number should be display on vendor list page. I have created a display method on VendTable and added to vendTableListPage design&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
display PANNumber_IN getVendPANNumber()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; TaxInformationVendTable_IN&amp;nbsp; &amp;nbsp; &amp;nbsp; taxInformationVendtable_IN;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; select firstOnly PANNumber from taxInformationVendtable_IN&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where taxInformationVendtable_IN.VendTable == this.AccountNum;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return taxInformationVendtable_IN.PANNumber;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6wN8ectHmboPOyHc90WS7NU9ode43r3fXl3b7S7AFWe5Ks_0m5_7TAr5cJINQtaCqjCNN7bUKDOC5V9nEngmX7Tzo6UkWki1onWvrhNz0fJgmr19iU_5szw__RCtWbziLcLGax9A0TFQ/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;433&quot; data-original-width=&quot;484&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6wN8ectHmboPOyHc90WS7NU9ode43r3fXl3b7S7AFWe5Ks_0m5_7TAr5cJINQtaCqjCNN7bUKDOC5V9nEngmX7Tzo6UkWki1onWvrhNz0fJgmr19iU_5szw__RCtWbziLcLGax9A0TFQ/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuuyJL-zVpgriGDXWYmxvBzZHbA69VFB8j89MXPukOMheJNKNVGlqS9ttTcsGF72vZ2cSsxUBhMko8dEZRlZwFDNcTiwbUjYk_W7MtwLGMQUJ9aVh0mwk1MeqmdZ9kMWZ_VxV69b4jd7w/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;512&quot; data-original-width=&quot;625&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuuyJL-zVpgriGDXWYmxvBzZHbA69VFB8j89MXPukOMheJNKNVGlqS9ttTcsGF72vZ2cSsxUBhMko8dEZRlZwFDNcTiwbUjYk_W7MtwLGMQUJ9aVh0mwk1MeqmdZ9kMWZ_VxV69b4jd7w/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After adding fields on Design, Save and compile the form.&lt;br /&gt;
**Most Important**&lt;br /&gt;
Go to the front end i.e. AX Client, Accounts Payable/ Vendors, the vendor list page form will open, Right click on form then Click on Reset button. After this you have to close the form and reopen again.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/1000163723981546071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2018/05/add-display-method-to-list-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1000163723981546071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1000163723981546071'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2018/05/add-display-method-to-list-page.html' title='Add display method to List page (VendTableListPage)  AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6wN8ectHmboPOyHc90WS7NU9ode43r3fXl3b7S7AFWe5Ks_0m5_7TAr5cJINQtaCqjCNN7bUKDOC5V9nEngmX7Tzo6UkWki1onWvrhNz0fJgmr19iU_5szw__RCtWbziLcLGax9A0TFQ/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-3458731500541182948</id><published>2018-03-15T15:33:00.002+05:30</published><updated>2018-03-19T18:43:03.160+05:30</updated><title type='text'>Test Data Transfer tool</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Download Test Data Transfer Tool&lt;br /&gt;
2. Install it on Database server&lt;br /&gt;
3. Import MetadataGenerator.XPO in Source AX application. (From where you want to export data)&lt;br /&gt;
4. Run job MetadataGenerator and find the&amp;nbsp; Metadata file&lt;br /&gt;
5. Paste Metadata file into [Lists] folder. ( check your installation path in DB server)&amp;nbsp; it will be like &quot;C:\Program Files (x86)\Microsoft Dynamics AX 2012 Test Data Transfer Tool (Beta)\[Lists]&quot;&lt;br /&gt;
6. To export data from specific company, open SQL Sever management studio and select your source database. Right click and new query. Copy paste below given code into query window. Replace your company name. (Company Name highlighted in bold font). Run the script and copy ouput.&lt;br /&gt;
7. Create new text file and paste query output. Save this file with name Filters.xml&lt;br /&gt;
8. Put Filters.xml file into [Lists] folder (Path given in step 5)&lt;br /&gt;
9. Open command prompt with Run as administrator.&lt;br /&gt;
10. Brows the path of DP.exe (&quot;C:\Program Files (x86)\Microsoft Dynamics AX 2012 Test Data Transfer Tool (Beta)&quot;)&lt;br /&gt;
11.&amp;nbsp; Enter below command and hit enter.&lt;br /&gt;
DP.exe&amp;nbsp; Export &quot;D:\Exported Data&quot;&amp;nbsp; MicrosoftDynamicsAX&amp;nbsp; AXDBServerName&lt;br /&gt;
&lt;br /&gt;
Filters.xml file content is as below.&lt;br /&gt;
&lt;br /&gt;
-- Declare the variables to store the values returned by FETCH.&lt;br /&gt;
DECLARE @tableName varchar(100);&lt;br /&gt;
DECLARE @fieldName varchar(100);&lt;br /&gt;
SET @fieldName = &#39;DataAreaID&#39;;&lt;br /&gt;
&lt;br /&gt;
DECLARE table_cursor CURSOR FOR&lt;br /&gt;
SELECT&amp;nbsp; Name FROM sys.tables ORDER BY Name;&lt;br /&gt;
&lt;br /&gt;
OPEN table_cursor;&lt;br /&gt;
&lt;br /&gt;
-- Perform the first fetch and store the values in variables.&amp;nbsp; &lt;br /&gt;
PRINT &#39;&amp;lt;tables&amp;gt;&#39;&lt;br /&gt;
FETCH NEXT FROM table_cursor&lt;br /&gt;
INTO @tableName;&lt;br /&gt;
&lt;br /&gt;
-- Check @@FETCH_STATUS to see if there are any more rows to fetch.&lt;br /&gt;
WHILE @@FETCH_STATUS = 0&lt;br /&gt;
BEGIN&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-- All tables don&#39;t have DataAreaId field, So check first that table is having dataareaid filed and then&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-- add tableName to xml&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;IF COL_LENGTH(@tableName, @fieldName) IS NOT NULL&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BEGIN&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;-- Concatenate and display the current values in the variables.&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;PRINT &#39;&amp;lt;table name=&quot;&#39; + @tableName +&#39;&quot;&amp;gt;&amp;lt;filter&amp;gt;&amp;lt;field&amp;gt;DataAreaID&amp;lt;/field&amp;gt;=&#39;&#39;&lt;b&gt;USMF&lt;/b&gt;&#39;&#39;&amp;lt;/filter&amp;gt;&amp;lt;/table&amp;gt;&#39;-- + @tableName --+ &#39; &#39; +&amp;nbsp; @LastName&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;END&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-- This is executed as long as the previous fetch succeeds.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;FETCH NEXT FROM table_cursor&lt;br /&gt;
&amp;nbsp; &amp;nbsp;INTO @tableName;&lt;br /&gt;
END&lt;br /&gt;
CLOSE table_cursor;&lt;br /&gt;
PRINT &#39;&amp;lt;/tables&amp;gt;&#39;&lt;br /&gt;
DEALLOCATE table_cursor;&lt;br /&gt;
GO&amp;nbsp;&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/3458731500541182948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2018/03/test-data-transfer-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/3458731500541182948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/3458731500541182948'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2018/03/test-data-transfer-tool.html' title='Test Data Transfer tool'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-760086054808442157</id><published>2017-10-11T18:24:00.000+05:30</published><updated>2017-10-11T18:24:29.367+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Trial Balance"/><category scheme="http://www.blogger.com/atom/ns#" term="Update balances"/><category scheme="http://www.blogger.com/atom/ns#" term="X++"/><title type='text'>Rebuild and Update balances through X++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Hi Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;If you are posting journals through X++ and facing issues in trial balance update you can use below code to rebuild and update balances.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;public void run()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; DimensionFocusProcessBalance&amp;nbsp; &amp;nbsp; dimFocusProcessBal = new DimensionFocusProcessBalance();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; DimensionFocusUpdateBalance&amp;nbsp; &amp;nbsp; &amp;nbsp;dimFocusUpdateBal = new DimensionFocusUpdateBalance();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; DimensionHierarchy focusDimensionHierarchy;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; while Select focusDimensionHierarchy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where focusDimensionHierarchy.FocusState == DimensionFocusBalanceInitializationState::Initialized&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dimFocusProcessBal = DimensionFocusProcessBalance::construct(NoYes::No, focusDimensionHierarchy);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dimFocusProcessBal.run();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dimFocusUpdateBal = DimensionFocusUpdateBalance::construct(focusDimensionHierarchy);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dimFocusUpdateBal.run();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; info(&quot;Balances Updated !&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/760086054808442157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2017/10/rebuild-and-update-balances-through-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/760086054808442157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/760086054808442157'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2017/10/rebuild-and-update-balances-through-x.html' title='Rebuild and Update balances through X++'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-1245689600606756851</id><published>2017-08-19T20:11:00.000+05:30</published><updated>2017-08-19T20:11:55.570+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel Report"/><category scheme="http://www.blogger.com/atom/ns#" term="GST"/><category scheme="http://www.blogger.com/atom/ns#" term="GSTR"/><category scheme="http://www.blogger.com/atom/ns#" term="X++"/><title type='text'>Export data to EXCEL | AX 2009 | AX 2012 | Excel Report </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Hi Techies,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Hope you are doing good. Recently due to INDIA GST Update in Microsoft dynamics AX most of the clients want to export data in excel to prepare GSTR excel files.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I designed a good excel worksheet with X++ and exported data as per requirement. I am sharing with you how can you design excel sheets with the help of X++ code. Please check below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 1. Create a Class. This is class declaration method.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public class MKS_ExportToExcel extends Runbase&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #AviFiles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; DialogField &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dlgFromDate,dlgToDate;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; TransDate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fromDate,toDate;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Excel file declaration&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelApplication &amp;nbsp;xlsApplication;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorkBooks &amp;nbsp; &amp;nbsp;xlsWorkBookCollection;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorkBook &amp;nbsp; &amp;nbsp; xlsWorkBook;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorkSheets &amp;nbsp; xlsWorkSheetCollection;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorkSheet &amp;nbsp; &amp;nbsp;xlsWorkSheet;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelRange &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xlsRange;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;row;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; str &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fileName;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; VendInvoiceJour &amp;nbsp; &amp;nbsp; vendInvoiceJour;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #DEFINE.CurrentVersion(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #LOCALMACRO.CurrentList&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fromDate,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; toDate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #ENDMACRO&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 2. Create Dialog method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;protected Object dialog()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; Dialog &amp;nbsp; &amp;nbsp; &amp;nbsp;dialog = super();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #resAppl&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Set a title for dialog&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; dialog.caption(&#39;Inward Supply Register Report&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; dialog.addTabPage(&#39;Selection Criteria&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; dialog.addGroup(&#39;Select date range&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Add a new field to Dialog&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; dlgFromDate = dialog.addFieldValue(typeid(TransDate), fromDate,&quot;From date&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; dlgToDate &amp;nbsp; = dialog.addFieldValue(typeid(TransDate), toDate, &#39;To date&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return dialog;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 3. Create&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;getFromDialog method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public boolean getFromDialog()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Retrieve values from Dialog&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; fromDate = dlgfromDate.value();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; toDate = dlgToDate.value();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return super();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 4. main Method&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public static void main(Args _args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MKS_ExportToExcel&amp;nbsp;reportClass = new&amp;nbsp;MKS_ExportToExcel();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Prompt the dialog, if user clicks in OK it returns true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if (reportClass.prompt())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reportClass.run();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 5. run method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public void run()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; this.setExcelInitialsAndHeader();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; this.fetchDataIntoExcel();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; this.endExcel();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 6.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;setExcelInitialsAndHeader - To setup Excel report heading section.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public void setExcelInitialsAndHeader()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; range;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; autoFit;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; merge;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WrapText;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ColumnWidth;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; COM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RowHeight;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelStyles &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;styles;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelStyle &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; style;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelFont &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelCells &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cells;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; FileNameFilter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;filter = [&quot;Excel file&quot;, &quot;*.xlsx&quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; row = 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; fileName = winapi::getSaveFileName(infolog.hWnd(), filter , @&quot;c:\...\desktop&quot;, &quot;Save as Excel file&quot;,&quot;xlsx&quot;,&quot;Report name&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //fileName =&quot;C:\\Windows\\Temp\\test.xlsx&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if(!fileName)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Check whether the document already exists&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if(WinApi::fileExists(fileName))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; WinApi::deleteFile(fileName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //throw error(&quot;File already exist&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Initialize Excel instance&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsApplication &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = SysExcelApplication::construct();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Open Excel document&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //xlsApplication.visible(true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Create Excel WorkBook and WorkSheet&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkBookCollection &amp;nbsp; &amp;nbsp;= xlsApplication.workbooks();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkBook &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= xlsWorkBookCollection.add();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheetCollection &amp;nbsp; = xlsWorkBook.worksheets();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = xlsWorkSheetCollection.itemFromNum(1);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; Styles = xlsWorkBook.styles();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Create new style&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; style = styles.add(&#39;Header&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Set font for this style to bold&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; font = style.font();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; font.bold(true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; font.color(51);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Excel Report Heading&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; range = xlsWorkSheet.range(&#39;A1:F1&#39;).comObject();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; range.merge();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; RowHeight = range.RowHeight(30);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.rows().item(1).style(&#39;Title&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; range = xlsWorkSheet.range(&#39;A2:BE2&#39;).comObject();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.rows().item(2).style(&#39;Output&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.rows().item(2).horizontalAlignment(-4108);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; wrapText = range.wraptext(true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ColumnWidth = range.ColumnWidth(14.71);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,1).value(&#39;GST Report&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; row++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Excel column caption&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,1).value(&#39;Sr. No.&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,2).value(&#39;Vendor Code&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,3).value(&#39;Vendor Name&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; row++;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 6.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;endExcel - &amp;nbsp;To Setup process while closing excel.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public void endExcel()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Set the column width to autoFit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkSheet.columns().autoFit();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Save Excel document&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkbook.saveAs(fileName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkbook.comObject().save();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsWorkbook.saved(true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; //Open Excel document&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; xlsApplication.visible(true);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 7. fetchDataIntoExcel - Used to put data into excel rows.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public void fetchDataIntoExcel()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; VendTable &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vendTable;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; CompanyInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; companyInfo = CompanyInfo::find();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; TaxWithholdTrans_IN &amp;nbsp; &amp;nbsp; tdsTable;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerJournalTrans &amp;nbsp; &amp;nbsp; &amp;nbsp;ledgerJournalTrans;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; progress = new RunbaseProgress();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; progress.setCaption(&quot;Export To Excel in progress...&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; progress.setAnimation(#AviTransfer);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; while select vendInvoiceJour&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; order by &amp;nbsp; &amp;nbsp;vendInvoiceJour.InvoiceDate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where vendInvoiceJour.InvoiceDate &amp;gt;= fromDate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; vendInvoiceJour.InvoiceDate &amp;lt;= toDate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vendTable = VendTable::find(vendInvoiceJour.InvoiceAccount);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; progress.setText(strfmt(&quot;Vendor %1&quot;, vendTable.Name));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,1).value(row-2);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,2).value(vendInvoiceJour.InvoiceAccount);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xlsWorkSheet.cells().item(row,3).value(vendTable.name);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;row++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 8. PACK and UnPack methods.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;container pack()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return [#CurrentVersion,#CurrentList];&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public boolean unpack(container _packedClass)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; int version = conPeek(_packedClass,1);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; switch (version)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case #CurrentVersion:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [version,#CurrentList] = _packedClass;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return true;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/1245689600606756851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2017/08/export-data-to-excel-ax-2009-ax-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1245689600606756851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1245689600606756851'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2017/08/export-data-to-excel-ax-2009-ax-2012.html' title='Export data to EXCEL | AX 2009 | AX 2012 | Excel Report '/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-5961925982392957698</id><published>2017-03-13T11:30:00.003+05:30</published><updated>2017-03-13T11:30:59.550+05:30</updated><title type='text'>Ledger Account Setup Dynamics AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: times, &amp;quot;times new roman&amp;quot;, serif;&quot;&gt;Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; The Ledger Account setup is the most important setup for Dynamics AX Implementation.&lt;br /&gt;
&lt;br /&gt;
Below are the Account Types and number sequence (Range), this will help you to arrange accounts in particular range.&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 272px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;mso-width-alt: 4059; mso-width-source: userset; width: 83pt;&quot; width=&quot;111&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;mso-width-alt: 2998; mso-width-source: userset; width: 62pt;&quot; width=&quot;82&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;mso-width-alt: 2889; mso-width-source: userset; width: 59pt;&quot; width=&quot;79&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl64&quot; height=&quot;20&quot; style=&quot;height: 15.0pt; width: 83pt;&quot; width=&quot;111&quot;&gt;Account   Type&lt;/td&gt;   &lt;td class=&quot;xl65&quot; style=&quot;border-left: none; width: 62pt;&quot; width=&quot;82&quot;&gt;From&lt;/td&gt;   &lt;td class=&quot;xl65&quot; style=&quot;border-left: none; width: 59pt;&quot; width=&quot;79&quot;&gt;To&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;border-top: none; height: 15.0pt;&quot;&gt;Assets&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;10000&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;19999&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;border-top: none; height: 15.0pt;&quot;&gt;Liabilities&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;20000&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;29999&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;border-top: none; height: 15.0pt;&quot;&gt;Equities/Funds&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;30000&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;39999&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;border-top: none; height: 15.0pt;&quot;&gt;Revenue&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;40000&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;49999&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;   &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;border-top: none; height: 15.0pt;&quot;&gt;Expense&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;50000&lt;/td&gt;   &lt;td align=&quot;right&quot; class=&quot;xl63&quot; style=&quot;border-left: none; border-top: none;&quot;&gt;59999&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Sample segment    &lt;br /&gt;
Private Sector    &lt;br /&gt;
Company--Department ---Cost Center ---Account --Project (maybe)&lt;br /&gt;
&lt;br /&gt;
Public Sector    &lt;br /&gt;
Appropriation Year --Cost Center --Account --Project (May be)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/5961925982392957698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2017/03/ledger-account-setup-dynamics-ax-2012.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5961925982392957698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5961925982392957698'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2017/03/ledger-account-setup-dynamics-ax-2012.html' title='Ledger Account Setup Dynamics AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-7112670709876291516</id><published>2016-04-07T21:52:00.002+05:30</published><updated>2016-04-07T21:57:30.497+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX7"/><category scheme="http://www.blogger.com/atom/ns#" term="Certification"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="MB6-890"/><title type='text'>MB6-890 Microsoft Development Introduction - AX7 (Rainer) - Exam Topics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 8.65pt 0in; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #0066cc; font-family: &amp;quot;inherit&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 15.0pt; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 18.0pt;&quot;&gt;Exam
Topics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 4.05pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Understand the
Architecture and Development Environment (20% - 25%)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Understand the Architecture and Development Environment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify
features of Microsoft Dynamics AX; describe the development environment;
describe the components in the application stack; identify cloud architecture
components; explain the server architecture; describe the layer architecture.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Use Microsoft Visual Studio to manage development with Microsoft
Dynamics AX&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify the
windows and basic navigation of Visual Studio; describe differences between and
uses for projects, models, solutions, and packages.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 4.05pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Use the
Application Explorer to Develop New Elements (25% - 30%)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Create and manage labels and resources&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: create new
label files; create and use labels; describe elements and uses for labels;
identify best practices for labels identify uses for resources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Create and manage data types&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: describe uses
for base enumerations; create new base enumerations; identify best practices
for base enumerations; describe primitive and extended data types; create new
extended data types; identify key properties for extended data types; implement
best practices for extended data types.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Create and manage tables&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify the
components of a table; describe various types of table relationships; describe various
types of table indexes; implement best practices for tables, relationships, and
indexes. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: &#39;Segoe UI&#39;, sans-serif;&quot;&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;&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;&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;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 4.05pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Read, Write
and Understand Basic X++ (30% - 35%) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Describe X++&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify the
characteristics of X++; use the code editor to write X++; describe the features
of IntelliSense; identify basic syntax for X++; describe the use of common key
words in X++; describe the features of the debugger; use the comparison tool;
use the best practice checker.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Work with X++ control statements&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: work with
variables, operators, conditional statements, and loops; use built-in
functions; use communication tools.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Work with classes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: create new
classes; describe scoping events and parameters; describe inheritance; identify
key best practices when writing X++.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Use X++ to manipulate data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify
techniques for data retrieval; explain uses for transaction integrity checking;
insert, update, and delete records using X++; identify best practices for
manipulating data with X++.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Manage exceptions in X++ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify
exception types; use try/catch statements; describe the features of optimistic
concurrency control; describe best practices for exception handling with X++ .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 4.05pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Manage the
User Interface and Security for Developers&amp;nbsp; (20% - 25%) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Manage the user interface&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify
components of various form patterns; identify common form patterns and sub
patterns; identify key properties for form elements; apply and validate form
patterns; describe uses for tiles; describe how to join data in forms;
implement best practices for form development.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Manage user navigation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: identify types
of menu items; create menu items and menus; identify key properties for menu
items; describe uses for menu items; implement best practices for menus and
menu items.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 8.65pt;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;Manage security in the development environment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 4.05pt;&quot;&gt;

































































&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 5.75pt 0in 4.05pt 0.5in;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: inherit, serif;&quot;&gt;This objective may include but is not limited to: describe the
security architecture; describe the components of role-based security; create
new privileges, duties, and roles in the application explorer; describe the
extensible data security framework.&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/7112670709876291516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2016/04/mb6-890-microsoft-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/7112670709876291516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/7112670709876291516'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2016/04/mb6-890-microsoft-development.html' title='MB6-890 Microsoft Development Introduction - AX7 (Rainer) - Exam Topics'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-7365692119543274113</id><published>2015-10-13T20:59:00.001+05:30</published><updated>2015-10-13T20:59:46.764+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation and configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="SSRS"/><title type='text'>AX DB Restore Scripts - Moving AX DB from one server to another server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Following SQL script is very useful while moving AX DB from one server to other server. Thanks to&amp;nbsp;http://www.exploreax.com.&lt;br /&gt;
&lt;br /&gt;
Declare @AOS varchar(30) = &#39;[AOSID]&#39; --must be in the format &#39;01@SEVERNAME&#39;&lt;br /&gt;
---Reporting Services---&lt;br /&gt;
Declare @REPORTINSTANCE varchar(50) = &#39;AX&#39;&lt;br /&gt;
Declare @REPORTMANAGERURL varchar(100) = &#39;http://[DESTINATIONSERVERNAME]/Reports_AX&#39;&lt;br /&gt;
Declare @REPORTSERVERURL varchar(100) = &#39;http://[DESTINATIONSERVERNAME]/ReportServer_AX&#39;&lt;br /&gt;
Declare @REPORTCONFIGURATIONID varchar(100) = &#39;[UNIQUECONFIGID]&#39;&lt;br /&gt;
Declare @REPORTSERVERID varchar(15) = &#39;[DESTINATIONSERVERNAME]&#39;&lt;br /&gt;
Declare @REPORTFOLDER varchar(20) = &#39;DynamicsAX&#39;&lt;br /&gt;
Declare @REPORTDESCRIPTION varchar(30) = &#39;Dev SSRS&#39;;&lt;br /&gt;
&lt;br /&gt;
---SSAS Services---&lt;br /&gt;
Declare @SSASSERVERNAME varchar(20) = &#39;[YOURSERVERNAME]\AX&#39;&lt;br /&gt;
Declare @SSASDESCRIPTION varchar(30) = &#39;Dev SSAS&#39;; -- Description of the server configuration&lt;br /&gt;
&lt;br /&gt;
---BC Proxy Details ---&lt;br /&gt;
Declare @BCPSID varchar(50) = &#39;[BCPROXY_SID]&#39;&lt;br /&gt;
Declare @BCPDOMAIN varchar(50) = &#39;[yourdomain]&#39;&lt;br /&gt;
Declare @BCPALIAS varchar(50) = &#39;[bcproxyalias]&#39;&lt;br /&gt;
---Service Accounts ---&lt;br /&gt;
Declare @WFEXECUTIONACCOUNT varchar(20) = &#39;wfexc&#39;&lt;br /&gt;
Declare @PROJSYNCACCOUNT varchar(20) = &#39;syncex&#39;&lt;br /&gt;
---Help Server URL---&lt;br /&gt;
Declare @helpserver varchar(200) = &#39;http://[YOURSERVER]/DynamicsAX6HelpServer/HelpService.svc&#39;&lt;br /&gt;
&lt;br /&gt;
---Outgoing Email Settings---&lt;br /&gt;
Declare @SMTP_SERVER varchar(100) = &#39;smtp.mydomain.com&#39; --Your SMTP Server&lt;br /&gt;
Declare @SMTP_PORT int = 25&lt;br /&gt;
---DMF Folder Settings ---&lt;br /&gt;
Declare @DMFFolder varchar(100) = &#39;\\[YOUR FILE SERVER]\AX import\ &#39;&lt;br /&gt;
&lt;br /&gt;
---Email Template Settings---&lt;br /&gt;
Declare @EMAIL_TEMPLATE_NAME varchar(50) = &#39;Dynamics AX Workflow QA - TESTING&#39;&lt;br /&gt;
Declare @EMAIL_TEMPLATE_ADDRESS varchar(50) = &#39;workflowqa@mydomain.com&#39;&lt;br /&gt;
---Email Address Clearing Settings---&lt;br /&gt;
DECLARE @ExclUserTable TABLE (id varchar(10))&lt;br /&gt;
insert into @ExclUserTable values (&#39;userid1&#39;), (&#39;userid2&#39;)&lt;br /&gt;
&lt;br /&gt;
--List of users separated by | to keep enabled, while disabling all others&lt;br /&gt;
Declare @ENABLE_USERS NVarchar(max) = &#39;|Admin|TIM|&#39;&lt;br /&gt;
--List of users separated by | to disable, while keeping all the rest enabled all others &lt;br /&gt;
--Declare @DISABLE_USERS NVarchar(max) = &#39;|BOB|JANE|&#39;&lt;br /&gt;
&lt;br /&gt;
--*****BEGIN UPDATES*******---&lt;br /&gt;
&lt;br /&gt;
---Update AOS Config---&lt;br /&gt;
delete from SYSSERVERCONFIG where RecId not in (select min(recId) from SYSSERVERCONFIG)&lt;br /&gt;
update SYSSERVERCONFIG set serverid=@AOS, ENABLEBATCH=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;where serverid != @AOS -- Optional if you want to see the &quot;affected row count&quot; after execution.&lt;br /&gt;
&lt;br /&gt;
---Update Batch Servers---&lt;br /&gt;
delete from BATCHSERVERGROUP where RecId not in (select min(recId) from BATCHSERVERGROUP group by GROUPID)&lt;br /&gt;
update BATCHSERVERGROUP set SERVERID=@AOS&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;where serverid != @AOS -- Optional to see &quot;affected row count&quot;&lt;br /&gt;
update batchjob set batchjob.status=4 where batchjob.CAPTION = &#39;[BATCHJOBNAME]&#39;&lt;br /&gt;
update batch set batch.STATUS=4 from batch inner join BATCHJOB on BATCHJOBID=BATCHJOB.RECID AND batchjob.CAPTION = &#39;[BATCHJOBNAME]&#39;&lt;br /&gt;
&lt;br /&gt;
---Update Reporting Services---&lt;br /&gt;
delete from SRSSERVERS where RecId not in (select min(recId) from SRSSERVERS)&lt;br /&gt;
update SRSSERVERS set&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SERVERID=@REPORTSERVERID,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SERVERURL=@REPORTSERVERURL,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; AXAPTAREPORTFOLDER=@REPORTFOLDER,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; REPORTMANAGERURL=@REPORTMANAGERURL,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SERVERINSTANCE=@REPORTINSTANCE,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; AOSID=@AOS,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CONFIGURATIONID=@REPORTCONFIGURATIONID,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; DESCRIPTION=@REPORTDESCRIPTION&lt;br /&gt;
where SERVERID != @REPORTSERVERID -- Optional if you want to see the &quot;affected row count&quot; after execution.&lt;br /&gt;
&lt;br /&gt;
---Update SSAS Services---&lt;br /&gt;
delete from BIAnalysisServer where RecId not in (select min(recId) from BIAnalysisServer)&lt;br /&gt;
update BIAnalysisServer set&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SERVERNAME=@SSASSERVERNAME,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; DESCRIPTION=@SSASDESCRIPTION,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ISDEFAULT = 1&lt;br /&gt;
WHERE SERVERNAME &amp;lt;&amp;gt; @SSASSERVERNAME -- Optional where clause if you want to see the &quot;affected rows&lt;br /&gt;
&lt;br /&gt;
---Set BCPRoxy Account---&lt;br /&gt;
update SYSBCPROXYUSERACCOUNT set SID=@BCPSID, NETWORKDOMAIN=@BCPDOMAIN, NETWORKALIAS= @BCPALIAS&lt;br /&gt;
where NETWORKALIAS != @BCPALIAS --optional to display affected rows.&lt;br /&gt;
---Set WF Execution Account---&lt;br /&gt;
update SYSWORKFLOWPARAMETERS set EXECUTIONUSERID=@WFEXECUTIONACCOUNT where EXECUTIONUSERID != @WFEXECUTIONACCOUNT&lt;br /&gt;
---Set Proj Sync Account---&lt;br /&gt;
update SYNCPARAMETERS set SYNCSERVICEUSER=@PROJSYNCACCOUNT where SyncServiceUser!= @PROJSYNCACCOUNT&lt;br /&gt;
---Set help server URL---&lt;br /&gt;
update SYSGLOBALCONFIGURATION set value=@helpserver where name=&#39;HelpServerLocation&#39; and value != @helpserver&lt;br /&gt;
&lt;br /&gt;
---Update Email Parameters---&lt;br /&gt;
Update SysEmailParameters set SMTPRELAYSERVERNAME = @SMTP_SERVER, @SMTP_PORT=@SMTP_PORT&lt;br /&gt;
---Update DMF Settings---&lt;br /&gt;
update DMFParameters set SHAREDFOLDERPATH = @DMFFolder&lt;br /&gt;
where SHAREDFOLDERPATH != @DMFFolder --Optional to see affected rows&lt;br /&gt;
&lt;br /&gt;
---Set BCPRoxy Account---&lt;br /&gt;
update SYSBCPROXYUSERACCOUNT set SID=@BCPSID, NETWORKDOMAIN=@BCPDOMAIN, NETWORKALIAS= @BCPALIAS&lt;br /&gt;
where NETWORKALIAS != @BCPALIAS --optional to display affected rows.&lt;br /&gt;
---Set WF Execution Account---&lt;br /&gt;
update SYSWORKFLOWPARAMETERS set EXECUTIONUSERID=@WFEXECUTIONACCOUNT where EXECUTIONUSERID != @WFEXECUTIONACCOUNT&lt;br /&gt;
---Set Proj Sync Account---&lt;br /&gt;
update SYNCPARAMETERS set SYNCSERVICEUSER=@PROJSYNCACCOUNT where SyncServiceUser!= @PROJSYNCACCOUNT&lt;br /&gt;
---Set help server URL---&lt;br /&gt;
update SYSGLOBALCONFIGURATION set value=@helpserver where name=&#39;HelpServerLocation&#39; and value != @helpserver&lt;br /&gt;
&lt;br /&gt;
---Update Email Templates---&lt;br /&gt;
update SYSEMAILTABLE set SENDERADDR = @EMAIL_TEMPLATE_ADDRESS, SENDERNAME = @EMAIL_TEMPLATE_NAME where SENDERADDR!=@EMAIL_TEMPLATE_ADDRESS OR &amp;nbsp;SENDERNAME!=@EMAIL_TEMPLATE_NAME;&lt;br /&gt;
update SYSEMAILSYSTEMTABLE set SENDERADDR = @EMAIL_TEMPLATE_ADDRESS, SENDERNAME = @EMAIL_TEMPLATE_NAME where SENDERADDR!=@EMAIL_TEMPLATE_ADDRESS OR &amp;nbsp;SENDERNAME!=@EMAIL_TEMPLATE_NAME;&lt;br /&gt;
---Update User Email Addresses---&lt;br /&gt;
update sysuserinfo set sysuserinfo.EMAIL = &#39;&#39; where sysuserInfo.ID not in (select id from @ExclUserTable)&lt;br /&gt;
&lt;br /&gt;
---Disable all users except for a specific set---&lt;br /&gt;
update userinfo set userinfo.enable=0 where &amp;nbsp;CharIndex(&#39;|&#39;+ cast(ID as varchar) + &#39;|&#39; , @ENABLE_USERS) = 0&lt;br /&gt;
---Disable specific users---&lt;br /&gt;
---update userinfo set userinfo.enable=0 where &amp;nbsp;CharIndex(&#39;|&#39;+ cast(ID as varchar) + &#39;|&#39; , @DISABLE_USERS) &amp;gt; 0&lt;br /&gt;
&lt;br /&gt;
--Clean up server sessions&lt;br /&gt;
delete from SYSSERVERSESSIONS&lt;br /&gt;
--Clean up client sessions.&lt;br /&gt;
delete from SYSCLIENTSESSIONS&lt;br /&gt;
&lt;br /&gt;
reference :&amp;nbsp;&lt;a href=&quot;http://www.exploreax.com/blog/blog/2015/10/13/ax-db-restore-scripts-full-script/&quot;&gt;http://www.exploreax.com/blog/blog/2015/10/13/ax-db-restore-scripts-full-script/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/7365692119543274113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/10/ax-db-restore-scripts-moving-ax-db-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/7365692119543274113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/7365692119543274113'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/10/ax-db-restore-scripts-moving-ax-db-from.html' title='AX DB Restore Scripts - Moving AX DB from one server to another server'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-6223589274921343638</id><published>2015-06-17T12:30:00.004+05:30</published><updated>2015-06-17T12:33:04.243+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>How to get Paper sizes in AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: darkblue; font-family: Consolas; font-size: 8.0pt;&quot;&gt;static&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt; &lt;b&gt;&lt;span style=&quot;color: darkblue;&quot;&gt;void&lt;/span&gt;&lt;/b&gt;
Job1(Args _args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
System.Drawing.Printing.PrinterSettings printSetting = &lt;b&gt;&lt;span style=&quot;color: darkblue;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;
System.Drawing.Printing.PrinterSettings();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Drawing.Printing.PaperSize&amp;nbsp;
size = &lt;b&gt;&lt;span style=&quot;color: darkblue;&quot;&gt;new&lt;/span&gt;&lt;/b&gt;
System.Drawing.Printing.PaperSize();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
System.Collections.ArrayList&amp;nbsp;&amp;nbsp;&amp;nbsp; paperSizes;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Collections.IEnumerator&amp;nbsp;
enumerator;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10.6666669845581px;&quot;&gt;paperSizes&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;=
printSetting.get_PaperSizes();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; enumerator =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10.6666669845581px;&quot;&gt;paperSizes&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;.GetEnumerator();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;span style=&quot;color: darkblue;&quot;&gt;while&lt;/span&gt;&lt;/b&gt;
(enumerator.MoveNext())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size =
enumerator.get_Current();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(size.get_PaperName());&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 8pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 8.0pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/6223589274921343638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/06/how-to-get-paper-sizes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6223589274921343638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6223589274921343638'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/06/how-to-get-paper-sizes.html' title='How to get Paper sizes in AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-4807630286818449719</id><published>2015-05-14T15:39:00.001+05:30</published><updated>2015-05-14T15:52:16.338+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Labels"/><title type='text'>How to delete Label Files from AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 19.2000007629395px;&quot;&gt;Here are the steps to delete Label Files from AX 2012:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 19.2000007629395px; margin-bottom: 0.5em; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Create a new model. You could call it &quot;Test&quot;.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Open the AOT and move the Label File(s) you want to get rid of to the new model.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Close AX and stop the AOS.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Use AXUtil to delete the new model.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Select the label files (name start with &#39;ax&#39; and followed with label id. select all files) and Delete from the server folder;&amp;nbsp;C:\Program Files\Microsoft Dynamics AX\60\Server\...\bin\Application\Appl\Standard&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Start the AOS.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Skip the upgrade wizard.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/4807630286818449719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/05/how-to-delete-label-files-from-ax-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/4807630286818449719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/4807630286818449719'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/05/how-to-delete-label-files-from-ax-2012.html' title='How to delete Label Files from AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-1418059113355808916</id><published>2015-02-06T11:51:00.002+05:30</published><updated>2015-02-06T11:52:02.894+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Read text file and SubStr to fetch fixed length columns - AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;static void readTextFile(Args _args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Container &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; con;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Filename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;filename, Filename2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; FileIOPermission &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;permission;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; TextIO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;textIO, textIO1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Str1260 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; #File&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Filename = @&quot;C:\Test\testFile.txt&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; permission = new fileIOpermission(filename,&quot;RW&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; permission.assert();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; textIO = new TextIO(filename,#io_read);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; //textIO.inFieldDelimiter(&#39;|&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; if(textIO)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while(textIO.status() == IO_Status::Ok)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; con = textIO.read();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(con)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line = Global::con2Str(con);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;text - %1&quot;,line));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;Company id - %1&quot;,subStr(line,1,4)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;code - %1&quot;,subStr(line,5,6)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;account num - %1&quot;,subStr(line,12,14)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;transdate - %1&quot;,subStr(line,26,6)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;Cheque num - %1&quot;,subStr(line,32,10)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strFmt(&quot;amount - %1&quot;,subStr(line,42,8)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/1418059113355808916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/02/read-text-file-and-substr-to-fetch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1418059113355808916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/1418059113355808916'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/02/read-text-file-and-substr-to-fetch.html' title='Read text file and SubStr to fetch fixed length columns - AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-5886105945960063865</id><published>2015-02-06T11:47:00.002+05:30</published><updated>2015-02-06T11:47:53.268+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Customer payment journal through X++ Code - AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;static void cust_GLPosting(Args _args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Ledgerjournalname &amp;nbsp; &amp;nbsp; &amp;nbsp; ledgerjournalname;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTable &amp;nbsp; &amp;nbsp; &amp;nbsp;LedgerjournalTable;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans &amp;nbsp; &amp;nbsp; &amp;nbsp;LedgerjournalTrans;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalCheckPost &amp;nbsp;LedgerjournalCheckPost;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; NumberSeq &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; numberSeq;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Container &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; con;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Filename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;filename, Filename2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; FileIOPermission &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;permission;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; TextIO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;textIO, textIO1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Dialog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dialog;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; DialogField &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dialogField;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; AccountNum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;customerAccount= &#39;BRMF-000001&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; AccountNum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;offsetAccNum = &#39;B01&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; #File&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; select ledgerjournalname where ledgerjournalname.JournalName == &quot;Test&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ttsBegin;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTable.JournalName = ledgerjournalname.JournalName;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTable.initFromLedgerJournalName();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTable.JournalNum &amp;nbsp;= JournalTableData::newTable(LedgerjournalTable).nextJournalId();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTable.insert();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ttsCommit;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ttsBegin;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; numberSeq &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; NumberSeq::newGetVoucherFromId((ledgerjournalname.NumberSequenceTable));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.Voucher &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; numberSeq.voucher();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.JournalNum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; LedgerjournalTable.JournalNum;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.CurrencyCode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; &quot;USD&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.ExchRate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;nbsp; Currency::exchRate(LedgerjournalTrans.CurrencyCode);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.AccountType &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; LedgerJournalACType::Cust;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.parmAccount(customerAccount,LedgerjournalTrans.AccountType);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.Txt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; &#39;Testing&#39;;//conPeek(con,1);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.AmountCurCredit &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; 200;//conPeek(con,3);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.TransDate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp; systemDateGet();//str2Date(conPeek(con,4),123);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.OffsetAccountType &amp;nbsp; &amp;nbsp;= &amp;nbsp; LedgerJournalACType::Bank;//LedgerjournalTable.OffsetAccountType;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; //LedgerJournalTrans.offsetacco&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.OffsetLedgerDimension = &amp;nbsp; 22565431567; //LedgerjournalTable.OffsetLedgerDimension;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.DefaultDimension &amp;nbsp; &amp;nbsp; = &amp;nbsp; CustTable::find(customerAccount).DefaultDimension;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.OffsetDefaultDimension= &amp;nbsp;CustTable::find(customerAccount).DefaultDimension;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalTrans.insert();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ttsCommit;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalCheckPost = LedgerjournalCheckPost::newLedgerJournalTable(LedgerjournalTable,NoYes::Yes);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; LedgerjournalCheckPost.run();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/5886105945960063865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/02/customer-payment-journal-through-x-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5886105945960063865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/5886105945960063865'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/02/customer-payment-journal-through-x-code.html' title='Customer payment journal through X++ Code - AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-280132088534563172</id><published>2015-01-20T17:58:00.000+05:30</published><updated>2015-01-20T17:58:02.137+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Installation and configuration"/><title type='text'>10 Steps - After changing domain of AX VM you need to follow</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hi Friends,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here are the 10 easy steps to follow after changing the domain name of the microsoft dynamics AX VM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;direction: ltr; font-family: Calibri; font-size: 11pt; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;1&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Create user (AXAdmin) (or you
     can use any dedicated user from the domain) and add this user
     administrator group.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Go to registry and path -
     HKLM\Software\Microsoft\WindowsNT\CurrentVersion\ProfileList. In this path
     you will find the SID for newly created user. Copy this SID for step 3&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhSIi8dM9MxiNpeYDU8i-8JiErabFXbSroJZGnc5k7tbf-0bFj5mU9OJoAwDKGa8h51jp8PKCQbWUu9hbNe1Ootm47kELNEaOfvhNj4HWnofs8048cmGqR-mwBF4YdRkkeLJFhGEEP6z0/s1600/1325.AX-Logon-Failure.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhSIi8dM9MxiNpeYDU8i-8JiErabFXbSroJZGnc5k7tbf-0bFj5mU9OJoAwDKGa8h51jp8PKCQbWUu9hbNe1Ootm47kELNEaOfvhNj4HWnofs8048cmGqR-mwBF4YdRkkeLJFhGEEP6z0/s1600/1325.AX-Logon-Failure.png&quot; height=&quot;231&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .375in; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin-left: .375in; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol style=&quot;direction: ltr; font-family: Calibri; font-size: 11pt; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;1&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;3&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Copy SID and goto path
     HKLM\Software\Microsoft\Dynamics\6.0\Setup\DynamicsServer. Here change the
     Account key value with new user id and SetupUser with the SID which we
     copied previously.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRkVcos1v-G2RXxNJrfMgX3GHG5Ib2QjJmGsg3Wd9yMZk24MOWhlGE5NcE5K0WZDIJYzLTZbr4A2g3bQ3sNAV-KMiGLPiL1KnOEFKO7W1cJiQJHFy3it_IXlWxtKyWojd8xvYsxjIPXQg/s1600/Untitled+picture.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRkVcos1v-G2RXxNJrfMgX3GHG5Ib2QjJmGsg3Wd9yMZk24MOWhlGE5NcE5K0WZDIJYzLTZbr4A2g3bQ3sNAV-KMiGLPiL1KnOEFKO7W1cJiQJHFy3it_IXlWxtKyWojd8xvYsxjIPXQg/s1600/Untitled+picture.png&quot; height=&quot;170&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: .375in; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol style=&quot;direction: ltr; font-family: Calibri; font-size: 11pt; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;1&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;4&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Login into the Sql server
     management studio and add newly created user id for all required
     databases. &lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;In MicrosoftDynamicsAX
     database open &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;UserInfo&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; table in editing mode and for &#39;Admin&#39; user update SID,
     NetworkDomain and NetworkAlis&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Open &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;SYSBCPROXYUSERACCOUNT&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; table in editing mode and
     update SID, NetworkDomain and NetworkAlis&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Open Reporting services
     configuration Manager and change the Service account and Execution account
     and check report manager url (browse this url and check whether it&#39;s
     showing DynamicsAX folder and reports). Sometimes report server url is
     throwing encryption key error. Go to reporting services configuration and
     in Encryption Keys select the option of Deleted encrypted content and
     select Delete button. Just verify again by browsing report url.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Go to services and locate
     microsoft dynamics AX service - change the log on property with the new
     userid&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Check the AX Server and
     client configuration for database connection details if your database
     server name is changed.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Start the Microsoft Dynamics
     AX service and Logon to AX.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/280132088534563172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2015/01/10-steps-after-changing-domain-of-ax-vm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/280132088534563172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/280132088534563172'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2015/01/10-steps-after-changing-domain-of-ax-vm.html' title='10 Steps - After changing domain of AX VM you need to follow'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhSIi8dM9MxiNpeYDU8i-8JiErabFXbSroJZGnc5k7tbf-0bFj5mU9OJoAwDKGa8h51jp8PKCQbWUu9hbNe1Ootm47kELNEaOfvhNj4HWnofs8048cmGqR-mwBF4YdRkkeLJFhGEEP6z0/s72-c/1325.AX-Logon-Failure.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-6704420026338794900</id><published>2014-12-23T08:29:00.000+05:30</published><updated>2014-12-23T08:29:17.455+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Demo Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>How to import Contoso Demo Data to Dynamics AX 2012 R3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
The setup contoso demo data for Dynamics Ax 2012 R3 is different from previous version. I remember, I used .dat file to load demo data into Dynamics Ax 2012 R2. Now DynamicsAX2012R3DemoData.exe available partner Resource.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/03-Demo-setup.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;03-Demo setup&quot; class=&quot;aligncenter size-full wp-image-1053&quot; height=&quot;397&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/03-Demo-setup.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;535&quot; /&gt;&lt;/a&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;DynamicsAX2012R3DemoData.exe extracted files round 15 GB. Extracted folder contains three types of files. According to MSDN&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 19.2000007629395px; margin-bottom: 0.5em; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Xml (A bcp data file that contains table data. Columns are separated by #|EOC|#. Rows are separated by #|EOR|#\n.)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;Out (A bcp data file that contains the table metadata (column descriptions).&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; line-height: 1.75em; margin-bottom: 0.5em;&quot;&gt;OutModel (This metadata includes all names and IDs of the table and its fields. This file also includes the elementType attribute, which stores the names and IDs of any Microsoft Dynamics AX tables, classes, or extended data types that are referenced by the table)&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Installation of Test Data Transfer Tool:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
The MSDN Described The Import export with Test Data Transfer Tool (beta) as follow.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/IC665318.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;IC665318&quot; class=&quot;aligncenter size-full wp-image-1054&quot; height=&quot;489&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/IC665318.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Test Data transfer Tool is available on partner resource.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Go on following link&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;https://informationsource.dynamics.com/RFPServicesOnline/Rfpservicesonline.aspx?ToolDocName=Microsoft+Dynamics+AX+2012+Test+Data+Transfer+Tool+(Beta)%7cQJ4JEM76642V-8-1465&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;https://informationsource.dynamics.com//RFPServicesOnline/Rfpservicesonline.aspx?ToolDocName=Microsoft+Dynamics+AX+2012+Test+Data+Transfer+Tool+(Beta)%7cQJ4JEM76642V-8-1465&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/04-InformationSource.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;04-InformationSource&quot; class=&quot;aligncenter size-full wp-image-1055&quot; height=&quot;423&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/04-InformationSource.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
On login I found download page&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/05-download.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;05-download&quot; class=&quot;aligncenter size-full wp-image-1056&quot; height=&quot;413&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/05-download.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
There will be zip file downloaded. &amp;nbsp;On running I found following installation wizard.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/11-Beta-Setup.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;11-Beta Setup&quot; class=&quot;aligncenter size-full wp-image-1057&quot; height=&quot;409&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/11-Beta-Setup.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;533&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/12-Beta-Setup-next.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;12-Beta Setup next&quot; class=&quot;aligncenter size-full wp-image-1058&quot; height=&quot;397&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/12-Beta-Setup-next.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;495&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Setup run will be generated as following&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/06-folderDetail.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;06-folderDetail&quot; class=&quot;aligncenter size-full wp-image-1059&quot; height=&quot;228&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/06-folderDetail.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;695&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Import Data Into Dynamics Ax 2012 R3 instance:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
And import MetaDataXMLGenerator.xpo in dynamics Ax.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/07-ImportGenerator.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;07-ImportGenerator&quot; class=&quot;aligncenter size-full wp-image-1060&quot; height=&quot;310&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/07-ImportGenerator.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
This xpo imports results a job inside job node under AOT.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/08-Job.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;08-Job&quot; class=&quot;aligncenter size-full wp-image-1061&quot; height=&quot;253&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/08-Job.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;383&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
This job will generate Metadata.xml. This Metadata.xml will be created in window temporary folder.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Path of file in metadata.xml can be get from infobox which will appear after successful run of job.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/13-metaFile.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;13-metaFile&quot; class=&quot;aligncenter size-full wp-image-1062&quot; height=&quot;293&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/13-metaFile.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;744&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
if you lost infobox,You can get temporary folder path with following command&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;echo %temp%. where you can get Metadata.xml&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Copied metadata.xml into [list] folder of test tool Data folder. If it already exists then overwrite it.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/15-copy-meta-data.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;15-copy meta data&quot; class=&quot;aligncenter size-full wp-image-1064&quot; height=&quot;358&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/15-copy-meta-data.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Now open command prompt. Go to directory where Test import tool is extracted.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Run the following command&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
DP.exe IMPORT “E:\Contoso_Demo_Data\DynamicsAXR3DemoData” MicrosoftDynamicsAx&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Please update path according to your installation.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/09-Command-Prompt.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;09-Command Prompt&quot; class=&quot;aligncenter size-full wp-image-1065&quot; height=&quot;340&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/09-Command-Prompt.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;673&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
After running the command, you will find following window which describe the process by remaining table to number data, and number of error occurs during import.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/10-Remaining.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;10-Remaining&quot; class=&quot;aligncenter size-full wp-image-1066&quot; height=&quot;336&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/10-Remaining.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;667&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
This process takes hours and hours with respect to your machine. After completion, I found demo data inside my dynamics Ax 2012 R3.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/14-DataAppear.jpg&quot; style=&quot;box-sizing: border-box; color: #0054a6; text-decoration: none;&quot;&gt;&lt;img alt=&quot;14-DataAppear&quot; class=&quot;aligncenter size-full wp-image-1067&quot; height=&quot;373&quot; src=&quot;http://tech.alirazazaidi.com/wp-content/uploads/2014/05/14-DataAppear.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Thanks to Ali&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.625em; margin-bottom: 0.5em;&quot;&gt;
Link :&amp;nbsp;&lt;a href=&quot;https://community.dynamics.com/ax/b/alirazatechblog/archive/2014/05/03/how-to-import-contoso-demo-data-to-dynamics-ax-2012-r3.aspx&quot; target=&quot;_blank&quot;&gt;how-to-import-contoso-demo-data-to-dynamics-ax-2012-r3&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/6704420026338794900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2014/12/how-to-import-contoso-demo-data-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6704420026338794900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6704420026338794900'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2014/12/how-to-import-contoso-demo-data-to.html' title='How to import Contoso Demo Data to Dynamics AX 2012 R3'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-6249647341339175286</id><published>2014-12-19T16:55:00.002+05:30</published><updated>2014-12-19T16:55:48.585+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>List all the objects from the project node in AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Hi MSDAX technical consultants,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;In Microsoft dynamics AX 2012 to find all the objects from the projects you can use following code.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;static void listAllObjectosFromProject(Args _args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #define.Shared(&quot;Shared&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ProjName &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;projName = &quot;Test&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ProjectListNode &amp;nbsp; &amp;nbsp; list = infolog.projectRootNode().AOTfindChild(#Shared);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; TreeNodeIterator &amp;nbsp; &amp;nbsp;ir = list.AOTiterator();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ProjectNode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pnProj;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ProjectNode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pn = list.AOTfindChild(projName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; void searchAllObj(projectNode rootNode)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #TreeNodeSysNodeType&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TreeNode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;childNode;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TreeNodeIterator &amp;nbsp;rootNodeIterator;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rootNode)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rootNodeIterator = rootNode.AOTiterator();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; childNode = rootNodeIterator.next();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (childnode)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (childNode.treeNodeType().id() == #NT_PROJECT_GROUP)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; searchAllObj(childNode);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //info(strfmt(&quot;Group :%1 - Object: %2&quot;, rootNode.AOTname(), childNode.AOTname()));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(strfmt(&quot;%1&quot;, childNode.AOTname()));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; childNode = rootNodeIterator.next();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if (pn)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //info(strFmt(&quot;Project %1:&quot;, projName));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pnProj = pn.loadForInspection();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; searchAllObj(pnProj);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pnproj.treeNodeRelease();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; info(&quot;Projet objects&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/6249647341339175286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2014/12/list-all-objects-from-project-node-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6249647341339175286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6249647341339175286'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2014/12/list-all-objects-from-project-node-in.html' title='List all the objects from the project node in AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-9215555708634541916</id><published>2014-11-11T13:04:00.000+05:30</published><updated>2014-11-11T13:04:04.780+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Batch Jobs debug in AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 class=&quot;title&quot; style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-stretch: normal; font-weight: normal; line-height: 1.167; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Debugging in Microsoft Dynamics AX 2012&lt;/span&gt;&lt;/h1&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-in/library/gg860898.aspx&quot;&gt;http://msdn.microsoft.com/en-in/library/gg860898.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class=&quot;title&quot; style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-stretch: normal; font-weight: normal; line-height: 1.167; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Debugging Batch Jobs in Microsoft Dynamics AX 2012&lt;/span&gt;&lt;/h1&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-in/library/gg860898.aspx#BatchJobs&quot;&gt;http://msdn.microsoft.com/en-in/library/gg860898.aspx#BatchJobs&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Demonstration of debugging batch jobs in AX 2012.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://daxmusings.codecrib.com/2011/08/x-in-net-clr-life-in-fast-lane.html&quot;&gt;http://daxmusings.codecrib.com/2011/08/x-in-net-clr-life-in-fast-lane.html&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/9215555708634541916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2014/11/batch-jobs-debug-in-ax-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/9215555708634541916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/9215555708634541916'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2014/11/batch-jobs-debug-in-ax-2012.html' title='Batch Jobs debug in AX 2012'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-6543009217060121778</id><published>2014-10-07T11:45:00.000+05:30</published><updated>2014-10-07T11:45:28.817+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Create Menuitem at runtime or through X++ and set properties</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Hi Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Here is the example of creating menuitem through X++ code.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;static void CreatingMenuItemRutime(Args _args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; TreeNode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;treeMenuItem;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; str &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;menuName = &quot;TestOutputMenuItem&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; str &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;properties;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; #AOT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; #Properties&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; treeMenuItem = TreeNode::findNode(#MenuItemsOutputPath);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; treeMenuItem.AOTadd(&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;menuName&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; treeMenuItem = treeMenuItem.AOTfindChild(&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;menuName&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; properties = treeMenuItem.AOTgetProperties();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; properties = setProperty( properties, #PropertyLabel,&#39;Sales Report&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; properties = setProperty( properties, #PropertyObjectType, &#39;Class&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; properties = setProperty( properties, #PropertyObject,&#39;SalesFormLetter&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; properties = setProperty( properties, #PropertyParameters, &#39;ReportX1\\Report&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; treeMenuItem.AOTsetProperties(properties);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; treeMenuItem.AOTsave();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; print &quot;New Menuitem is created under output menuitem&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; pause;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/6543009217060121778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2014/10/create-menuitem-at-runtime-or-through-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6543009217060121778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/6543009217060121778'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2014/10/create-menuitem-at-runtime-or-through-x.html' title='Create Menuitem at runtime or through X++ and set properties'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-8133393656489898262</id><published>2014-01-23T11:14:00.000+05:30</published><updated>2014-10-07T11:36:28.984+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>How to: Connect to an External Database from X++ Code [AX 2012] [AX 2009]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17.549999237060547px;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; margin-bottom: 19px; margin-top: 9px; padding: 0px;&quot;&gt;
&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;display: block; font-size: 1.769em; overflow: hidden; padding-left: 10px;&quot;&gt;Create a DSN&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 0px;&quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-style: none; color: #e5e5e5;&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot; style=&quot;padding-bottom: 20px; padding-left: 15px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=8976022373386972059&quot; id=&quot;sectionToggle0&quot; style=&quot;color: #1364c4;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
To create a Data Source Name (DSN) go to&amp;nbsp;&lt;span class=&quot;label&quot; style=&quot;font-weight: 700;&quot;&gt;Administrative Tools&lt;/span&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;span class=&quot;label&quot; style=&quot;font-weight: 700;&quot;&gt;Data Sources (ODBC)&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Create the DSN on the tier where the X++ code will call the DSN from. This will be either on the client computer or on the Application Object Server (AOS) computer.&lt;/div&gt;
&lt;div class=&quot;alert&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: 1px solid rgb(187, 187, 187); padding: 0px; width: 520px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; style=&quot;background-color: #ededed; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(187, 187, 187); color: #636363; margin: 10px; padding: 10px 11px 5px;&quot;&gt;&lt;img alt=&quot;Note&quot; class=&quot;cl_IC101471&quot; src=&quot;http://i.msdn.microsoft.com/areas/global/content/clear.gif&quot; id=&quot;alert_note&quot; style=&quot;background-attachment: scroll; background-image: url(http://i3.msdn.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-position: -1152px -3px; background-repeat: no-repeat no-repeat; border: 0px; height: 14px; overflow: hidden; padding-right: 5px; width: 16px;&quot; title=&quot;Note&quot; xmlns=&quot;&quot; /&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Ongoing maintenance is simpler if the DSN is created on the AOS tier.&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17.549999237060547px;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; margin-bottom: 19px; margin-top: 9px; padding: 0px;&quot;&gt;
&lt;span class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; style=&quot;background-attachment: scroll; background-image: url(http://i3.msdn.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-position: -421px -3px; background-repeat: no-repeat no-repeat; border-width: 0px; display: block; float: left; height: 12px; margin-bottom: 0px; margin-top: 12px; overflow: hidden; vertical-align: middle; width: 9px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;display: block; font-size: 1.769em; overflow: hidden; padding-left: 10px;&quot;&gt;X++ Code Example with ODBC&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 0px;&quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-style: none; color: #e5e5e5;&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot; style=&quot;padding-bottom: 20px; padding-left: 15px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=8976022373386972059&quot; id=&quot;sectionToggle1&quot; style=&quot;color: #1364c4;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
The following X++ code example uses ODBC to connect to an external database. The code example assumes that you have already created the DSN in Windows.&lt;/div&gt;
&lt;div class=&quot;codeSnippetContainer&quot; id=&quot;code-snippet-1&quot; style=&quot;clear: both; min-width: 260px;&quot; xmlns=&quot;&quot;&gt;
&lt;div class=&quot;codeSnippetContainerTabs&quot; style=&quot;height: 23px; position: relative; vertical-align: middle; z-index: 1;&quot;&gt;
&lt;div class=&quot;codeSnippetContainerTabSingle&quot; dir=&quot;ltr&quot; style=&quot;background-color: white; border-left-color: rgb(147, 147, 147); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(147, 147, 147); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(147, 147, 147); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-top-width: 1px; color: #707070; float: left; font-size: 1em; height: 22px; left: auto; padding: 0px 8px; position: relative; top: auto; vertical-align: baseline; width: auto;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=8976022373386972059&quot; style=&quot;color: black; font-weight: bold; position: relative; top: 2px;&quot;&gt;X++&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codeSnippetContainerCodeContainer&quot; style=&quot;border: 1px solid rgb(147, 147, 147); clear: both; margin-bottom: 12px; position: relative; top: -1px;&quot;&gt;
&lt;div class=&quot;codeSnippetToolBar&quot; style=&quot;height: auto; width: auto;&quot;&gt;
&lt;div class=&quot;codeSnippetToolBarText&quot; style=&quot;background-color: white; float: right; height: 0px; padding-left: 0px; padding-right: 0px; position: relative; top: -8px; vertical-align: top; width: auto;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codeSnippetContainerCode&quot; dir=&quot;ltr&quot; id=&quot;CodeSnippetContainerCode_7209736a-1bd2-4243-b7bb-6992af118b15&quot; style=&quot;margin: 0px; padding: 10px 21px; width: auto;&quot;&gt;
&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace !important; overflow: auto; padding: 5px; word-wrap: normal;&quot;&gt;// X++, Main method in a class.
static public void Main(Args _args)
{
    LoginProperty loginProperty;
    OdbcConnection odbcConnection;
    Statement statement;
    ResultSet resultSet;
    str sql, criteria;
    SqlStatementExecutePermission perm;
    ;

    // Set the information on the ODBC.
    loginProperty = new LoginProperty();
    loginProperty.setDSN(&quot;dsnName&quot;);
    loginProperty.setDatabase(&quot;databaseName&quot;);

    //Create a connection to external database.
    odbcConnection = new OdbcConnection(loginProperty);

    if (odbcConnection)
    {
        sql = &quot;SELECT * FROM MYTABLE WHERE FIELD = &quot;
            + criteria
            + &quot; ORDER BY FIELD1, FIELD2 ASC ;&quot;;

        //Assert permission for executing the sql string.
        perm = new SqlStatementExecutePermission(sql);
        perm.assert();

       &lt;b&gt; //Prepare the sql statement.
        statement = odbcConnection.createStatement();
        resultSet = statement.executeQuery(sql);
&lt;/b&gt;
        //Cause the sql statement to run,
        //then loop through each row in the result.
        while (resultSet.next())
        {
            //It is not possible to get field 3 and then 1.
            //Always get fields in numerical order, such as 1 then 2 the 3 etc.
            print resultSet.getString(1);
            print resultSet.getString(3);
        }

        //Close the connection.
        resultSet.close();
        statement.close();
    }
    else
    {
        error(&quot;Failed to log on to the database through ODBC.&quot;);
    }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 class=&quot;subHeading&quot; style=&quot;font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 1.231em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px;&quot;&gt;
32 Bit and 64 Bit Windows Operating System&lt;/h3&gt;
&lt;div class=&quot;subsection&quot;&gt;
&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
The preceding code example can run on either the client tier or the server tier. The following table shows how the operating system architecture affects the choice of tier.&lt;/div&gt;
&lt;div class=&quot;caption&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: 1px solid rgb(187, 187, 187); padding: 0px; width: 600px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
&lt;strong&gt;32 bit Windows&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
&lt;strong&gt;64 bit Windows&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
&lt;strong&gt;Client tier (MorphX)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Runnable.&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Not runnable.&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
&lt;strong&gt;Server tier (AOS)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Runnable.&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); color: #2a2a2a; margin: 10px; padding: 10px 8px; vertical-align: top;&quot;&gt;&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Runnable.&lt;/div&gt;
&lt;div style=&quot;line-height: 18px; padding-bottom: 0px;&quot;&gt;
Consider adding the&amp;nbsp;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;server&lt;/span&gt;&amp;nbsp;keyword to the declaration of the Main method.&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
If you want to do&lt;b&gt; Insert/Update &lt;/b&gt;operation through this code then you must use following code.&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
int &amp;nbsp; &amp;nbsp; &amp;nbsp;_returnId;&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
sql = &quot; Your insert / Update Query&quot;&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace !important; overflow: auto; padding: 5px; word-wrap: normal;&quot;&gt;&lt;b&gt; //Prepare the sql statement.
statement = odbcConnection.createStatement();
&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; white-space: normal;&quot;&gt;&lt;b&gt;_returnId&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;= statement.executeUpdate(sql);&lt;/b&gt;&lt;/pre&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;reference :1. Microsoft Documentation &lt;/b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ee677510.aspx&quot; target=&quot;_blank&quot;&gt;MSDN&lt;/a&gt;&amp;nbsp;2.&amp;nbsp;&lt;a href=&quot;http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/&quot; target=&quot;_blank&quot;&gt;ArtofCreation&lt;/a&gt;&amp;nbsp;3.&amp;nbsp;&lt;a href=&quot;http://galaxyofdynamics.blogspot.in/2012/11/static-void-updateemplatddbargs-args.html&quot; target=&quot;_blank&quot;&gt;GalaxyofDynamics&lt;/a&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/8133393656489898262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2014/01/how-to-connect-to-external-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/8133393656489898262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/8133393656489898262'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2014/01/how-to-connect-to-external-database.html' title='How to: Connect to an External Database from X++ Code [AX 2012] [AX 2009]'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-601281633794987619</id><published>2013-12-05T12:56:00.000+05:30</published><updated>2013-12-05T12:56:05.948+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Enable/Disable Fact boxes, Preview Panes in AX2012 UX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;In Microsoft Dynamics AX 2012, if you want to disable factboxes/preview panes across application&amp;nbsp;then you can do so.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;It&#39;s&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;b&gt;not recommended&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;to do this activity but this will help in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;b&gt;troubleshooting performance&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;issues assoicated with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;b&gt;opening forms&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;in ax2012 by controlling &#39;Timeout&#39; parameter as below.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Go to -&amp;gt;System Administration-&amp;gt;Setup-&amp;gt;Client performance options&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHvwyrboJj6m7Hf34xs_QN_2RQfVQgot832qa0CRxBcjDIpAPwv8kr4IqmdLrwjjK6db8QE-UJg2JUMfUjPxhV4Yd_tEB2p3NS7s_wyp3fsztl34HGHNpqcF8R_C8E6XEEm7r2AIi4Gsg/s1600/Client_perf.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #002042; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHvwyrboJj6m7Hf34xs_QN_2RQfVQgot832qa0CRxBcjDIpAPwv8kr4IqmdLrwjjK6db8QE-UJg2JUMfUjPxhV4Yd_tEB2p3NS7s_wyp3fsztl34HGHNpqcF8R_C8E6XEEm7r2AIi4Gsg/s1600/Client_perf.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(58, 80, 106); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Visit &amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://blogs.msdn.com/b/axperf/archive/2011/11/07/ax2012-client-performance-options.aspx&quot; style=&quot;background-color: white; color: #002042; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px; text-decoration: none;&quot;&gt;Ax2012-client-performance-options&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;for detailed explaination by Ax performance team.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Thanks axperf team :)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;reference from :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://learnax.blogspot.in/2012/02/enabledisable-fact-boxes-preview-panes.html&quot;&gt;http://learnax.blogspot.in/2012/02/enabledisable-fact-boxes-preview-panes.html&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/601281633794987619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2013/12/enabledisable-fact-boxes-preview-panes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/601281633794987619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/601281633794987619'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2013/12/enabledisable-fact-boxes-preview-panes.html' title='Enable/Disable Fact boxes, Preview Panes in AX2012 UX'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHvwyrboJj6m7Hf34xs_QN_2RQfVQgot832qa0CRxBcjDIpAPwv8kr4IqmdLrwjjK6db8QE-UJg2JUMfUjPxhV4Yd_tEB2p3NS7s_wyp3fsztl34HGHNpqcF8R_C8E6XEEm7r2AIi4Gsg/s72-c/Client_perf.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8976022373386972059.post-713514039060796022</id><published>2013-10-23T17:56:00.001+05:30</published><updated>2013-10-23T17:56:40.599+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Sequence of methods in form and table in AX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-7243710732960128355&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;u&gt;Form:&lt;/u&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Methods calls while opening the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — init ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — init ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — run ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — execute Query ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — active ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Methods calls while closing the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — canClose ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — close ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Methods calls while creating the record in the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — create ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — initValue ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — initValue ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — active ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Method calls while saving the record in the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — ValidateWrite ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — ValidateWrite ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — write ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — insert ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Method calls while deleting the record in the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — validatedelete ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — validatedelete ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — delete ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Form — Datasource — active ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Sequence of Methods calls while modifying the fields in the Form&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — validateField ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Table — modifiedField ()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Table:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #444444;&quot;&gt;When you press CTR+N&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;initValue()-&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #444444;&quot;&gt;When you change data in a field&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;validateField() -&amp;gt; validateFieldValue() -&amp;gt; ModifiedField() -&amp;gt; ModifiedFieldValue()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #444444;&quot;&gt;When you close the table after entering some data&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;validateWrite() – &amp;gt; Insert() -&amp;gt; aosValidateInsert()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;b&gt;When you Save the Record for the first time&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;validateWrite() -&amp;gt;Insert() – &amp;gt; aosValidateInsert()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;b&gt;When you modify the record and saving&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;validateWrite() -&amp;gt; update() – &amp;gt; aosValidateUpdate()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;b&gt;When you delete the record&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;validateDelete() -&amp;gt; delete() -&amp;gt; aosValidateDelete()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;reference :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://axvuongbao.blogspot.in/2013/09/sequence-of-methods-in-form-and-table.html&quot; style=&quot;line-height: 1.4;&quot;&gt;http://axvuongbao.blogspot.in/2013/09/sequence-of-methods-in-form-and-table.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kdynamics.blogspot.com/feeds/713514039060796022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kdynamics.blogspot.com/2013/10/sequence-of-methods-in-form-and-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/713514039060796022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8976022373386972059/posts/default/713514039060796022'/><link rel='alternate' type='text/html' href='http://kdynamics.blogspot.com/2013/10/sequence-of-methods-in-form-and-table.html' title='Sequence of methods in form and table in AX'/><author><name>Kishor Jahdav</name><uri>http://www.blogger.com/profile/18090598265462655341</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvjv_KdklFgWy5ldb2JWcLH5Y_S4A8tYFE5qAkkhCZXPst54BI-hLo7tv2qWuX6Sb7-FwPYotVJ5sbOruqieOb_ISLYQF2Y5pNkOUOezbI2sqb3wH6474ZOSbywQxKoX0/s220/IMG_1367+-+Copy+copy.jpg'/></author><thr:total>0</thr:total></entry></feed>