<?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-3914734843767545698</id><updated>2026-10-14T12:19:18.987-07:00</updated><category term="dynamics ax"/><category term="axapta"/><category term="x++"/><category term="Dynamics AX 2012"/><category term="AX 2009"/><category term="AX SSRS"/><category term="Administration"/><category term="Ax"/><category term="display methods"/><category term="email"/><category term="AX Reports"/><category term="Dynamics AX 2009"/><category term="Dynamics AX Forms"/><category term="Dynamics AX IO"/><category term="EP"/><category term="customized"/><category term="development"/><category term="enterprise portal"/><category term="lookup"/><category term="query run"/><category term="validate field"/><category term="2009"/><category term="Document Management System"/><category term="General Ledger"/><category term="book"/><category term="code"/><category term="date time"/><category term="dialog box"/><category term="form"/><category term="form datasource"/><category term="inside dynamics ax"/><category term="ledger"/><category term="performance"/><category term="post"/><category term="posting"/><category term="ssrs"/><category term="windows workflow"/><category term=".Net"/><category term="AIF"/><category term="AL"/><category term="AL.exe"/><category term="API"/><category term="AX 2012"/><category term="AX 2012 Development Cheat Sheet"/><category term="AX Development"/><category term="AX32.exe"/><category term="Alerts"/><category term="Audio Recorder Dynamcis AX"/><category term="Books"/><category term="CLR Exception Catch Dynamics AX"/><category term="Cheat Sheet"/><category term="Client Version"/><category term="ClrBridge"/><category term="Command Line"/><category term="Domain-Specific"/><category term="Dynamics AX 2009 EP Development Webinar"/><category term="Dynamics AX Business Connector"/><category term="Dynamics AX Classes"/><category term="Dynamics AX Reporting Services Error"/><category term="Dynamics AX SSRS"/><category term="Dynamics AX X++"/><category term="Dynamics ax workflow"/><category term="EP Toolbox"/><category term="EP USR Layer"/><category term="EP Videos"/><category term="Excel import"/><category term="Files from a specific layer"/><category term="GL"/><category term="Hide combo box element"/><category term="Import XPO"/><category term="Insert into temporary tables"/><category term="Issues"/><category term="Licensing"/><category term="LogonSystemChangedException"/><category term="MCP"/><category term="MST"/><category term="MVP"/><category term="Managing Client Versions"/><category term="N-Tier"/><category term="Passing Parameter to SSRS Report"/><category term="Purchase Order"/><category term="SID"/><category term="SQL Server 2008 Dynamics AX 2009"/><category term="SSRS A4 Print Layout"/><category term="SharePoint"/><category term="Startup"/><category term="Time in Dynamics AX"/><category term="Tools"/><category term="UK"/><category term="User List Lookup"/><category term="Utility"/><category term="WF"/><category term="X++ Cheat Sheet"/><category term="abdul samad"/><category term="audio recorder .Net"/><category term="auto reports"/><category term="benchmark"/><category term="best"/><category term="blog"/><category term="brackets"/><category term="business"/><category term="call stack"/><category term="catch"/><category term="certificate"/><category term="certification"/><category term="check or cheque"/><category term="child form"/><category term="coding"/><category term="community"/><category term="container"/><category term="control"/><category term="count"/><category term="crisis"/><category term="ctrl + s"/><category term="date2str"/><category term="dax"/><category term="degree"/><category term="delete"/><category term="docuref"/><category term="docuvalue"/><category term="download"/><category term="dynamics ax data"/><category term="dynamics ax enterprise portal"/><category term="dynamics ax table"/><category term="economic"/><category term="edit method"/><category term="ep books"/><category term="erp"/><category term="error"/><category term="external domain"/><category term="files from usr layer"/><category term="filtering"/><category term="format"/><category term="free"/><category term="hyper-v"/><category term="insert"/><category term="inside"/><category term="introduction"/><category term="keystroke"/><category term="label"/><category term="like"/><category term="list"/><category term="low cost"/><category term="macros"/><category term="market"/><category term="method"/><category term="microsoft"/><category term="not like"/><category term="offset accounts"/><category term="override"/><category term="parent form"/><category term="personality type"/><category term="plan"/><category term="print"/><category term="print field"/><category term="programmer"/><category term="query"/><category term="report"/><category term="row"/><category term="rows"/><category term="run time"/><category term="runbase"/><category term="runtime"/><category term="save"/><category term="self confidence"/><category term="send em"/><category term="session date"/><category term="sheffield"/><category term="smtp"/><category term="solution architect"/><category term="sortig"/><category term="ssrs unable to load client print control"/><category term="statement"/><category term="string"/><category term="table"/><category term="table methods"/><category term="target machine actively refusedail issue"/><category term="team leader"/><category term="today()"/><category term="total records"/><category term="training"/><category term="trim"/><category term="trimString"/><category term="university"/><category term="update"/><category term="validate write"/><category term="values"/><category term="virtual machine clone"/><category term="visible"/><category term="wild"/><category term="workflow"/><category term="xpo"/><title type='text'>Microsoft Dynamics AX</title><subtitle type='html'>Dynamics AX FAQ / Tips &amp;amp; Tricks / X++ Development</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>250</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-9185590416724443524</id><published>2015-05-26T18:42:00.000-07:00</published><updated>2015-05-26T18:42:10.631-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Purchase Order"/><title type='text'>Over delivery of line is 100 percent, but the allowed over delivery is only 0 percent.</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;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt;&lt;b&gt;Q: I am getting the following error in AX 2009, how can I fix it?&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 12px;&quot;&gt;&lt;span style=&quot;color: #303131; font-family: Courier New;&quot;&gt;&lt;i&gt;&lt;b&gt;&quot;Over delivery of line is 100 percent, but the allowed over deliv&lt;/b&gt;ery is only 0 percent.&quot;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 12px;&quot;&gt;&lt;span style=&quot;color: #303131; font-family: Courier New;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;A:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;Use the following script&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;static void
fixPurchaseOrders(Args _args)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;PurchParmTable purchParmTable;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;PurchParmLine purchParmLine;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;ttsbegin;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;while select forupdate
purchParmTable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join
forupdate purchParmLine&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where
purchParmLine.ParmId == purchParmTable.ParmId&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;amp;&amp;amp; purchParmLine.TableRefId ==
purchParmTable.TableRefId&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;amp;&amp;amp; purchParmTable.PurchId == &quot;&lt;po&gt;&quot;&lt;/po&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;amp;&amp;amp; purchParmTable.ParmJobStatus == ParmJobStatus::Waiting&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;amp;&amp;amp; purchParmTable.Ordering == DocumentStatus::Invoice&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;if(purchParmTable.RecId
|| purchParmLine.RecId)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;purchParmTable.delete();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;purchParmLine.delete();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp;ttscommit;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #303131; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; font-style: italic;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/9185590416724443524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2015/05/over-delivery-of-line-is-100-percent.html#comment-form' title='56 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/9185590416724443524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/9185590416724443524'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2015/05/over-delivery-of-line-is-100-percent.html' title='Over delivery of line is 100 percent, but the allowed over delivery is only 0 percent.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>56</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7789603970050837384</id><published>2014-11-27T16:08:00.004-08:00</published><updated>2014-11-27T16:08:57.603-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="lookup"/><category scheme="http://www.blogger.com/atom/ns#" term="User List Lookup"/><title type='text'>How to build a User List Lookup / Drop Down in 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: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;User
List Lookup / Drop Down &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Step 1:Create a method in the form to get the user
list lookup&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;void userListLookup(FormStringControl control)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Args&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; args;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
MenuFunction&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; menuFunction;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object&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; formRun;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args = new
Args();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
menuFunction = new
MenuFunction(menuitemdisplaystr(WorkflowUserListLookup),
MenuItemType::Display);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args = new
Args(menuFunction.object());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
args.caller(element);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
args.parm(control.text());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; formRun =
ClassFactory::formRunClassOnClient(args);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
formRun.init();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
formRun.run();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
formRun.wait();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if
(formRun.closedOk())&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
control.text(formRun.parmTo());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.redraw();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Step 2: Call the method in the lookup event of the
EDT&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;public void lookup()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.userListLookup(this);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Alternative Method: Just select
WorkflowUserListLookup as formhelp on your EDT&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7789603970050837384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2014/11/how-to-build-user-list-lookup-drop-down.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7789603970050837384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7789603970050837384'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2014/11/how-to-build-user-list-lookup-drop-down.html' title='How to build a User List Lookup / Drop Down in AX 2009'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-4017782971267763830</id><published>2014-11-18T20:04:00.002-08:00</published><updated>2014-11-18T20:13:51.642-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="AX32.exe"/><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Import XPO"/><category scheme="http://www.blogger.com/atom/ns#" term="Startup"/><title type='text'>How to import and compile an xpo from Start Up</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to import and
compile an xpo from Start Up&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
In
order to import an XPO from command line in &lt;span style=&quot;font-weight: bold;&quot;&gt;AX
2009&lt;/span&gt; we can use AX32.exe StartUp command; &lt;/div&gt;
&lt;div style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;ax32.exe -StartupCmd=AutoRun_c:\Configuration.XML&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
The
configuration XML would contain path to the AOT object to compile after import
the XPO.&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;axaptaautorun span=&quot;&quot;&gt;&lt;/axaptaautorun&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
exitWhenDone=&quot;true&quot; &lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
version=&quot;4.0&quot; &lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
logFile=&quot;C:\Temp\AxaptaAutorun.log&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file=&quot;C:\Temp\CodeFile.xpo&quot; /&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;compileapplication crossreference=&quot;true&quot; node=&quot;\Forms\EnvironmentIndicator&quot;&gt;&lt;/compileapplication&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-size: 9pt; margin: 0in;&quot;&gt;
References:
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa870082(v=ax.50).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa870082(v=ax.50).aspx&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/4017782971267763830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2014/11/how-to-import-and-compile-xpo-from.html#comment-form' title='41 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4017782971267763830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4017782971267763830'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2014/11/how-to-import-and-compile-xpo-from.html' title='How to import and compile an xpo from Start Up'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>41</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7385532446525009771</id><published>2014-10-20T23:21:00.001-07:00</published><updated>2014-11-13T21:20:59.327-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="AX 2012 Development Cheat Sheet"/><category scheme="http://www.blogger.com/atom/ns#" term="AX Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Cheat Sheet"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamics ax"/><category scheme="http://www.blogger.com/atom/ns#" term="X++ Cheat Sheet"/><title type='text'>AX 2012 Development Cheat Sheet</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: &amp;quot;Calibri Light&amp;quot;; font-size: 20.0pt; margin: 0in;&quot;&gt;
AX
2012 Development Cheat Sheet / X++ Cheat Sheet&lt;/div&gt;
&lt;div style=&quot;color: grey; font-family: Calibri; font-size: 10.0pt; margin: 0in;&quot;&gt;
Wednesday,
21 May 2014&lt;/div&gt;
&lt;div style=&quot;color: grey; font-family: Calibri; font-size: 10.0pt; margin: 0in;&quot;&gt;
3:02 PM&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to access individual field on
the form using form data source?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
myTable_ds.object(
fieldNum( myTable, myField ) ).visible( false );&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to create an auto lookup without
writing code where Field 2 lookup is based on Field 1 Value?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
In order to achieve
this create a relationship in the related table but make sure Field 1 is the
first relation in the relationship and Field 2 is the second relation. This can
be done by actually creating Field 2 relation before Field 1.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to create a simple dialog box?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Dialog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dialog;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
DialogField
field;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
dialog = new
Dialog(&quot;My Dialog&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
dialog.addText(&quot;Select
your favorite customer:&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
field =
dialog.addField(ExtendedTypeStr(CustAccount));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
dialog.run();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
if
(dialog.closedOk())&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin-left: .375in; margin: 0in;&quot;&gt;
info(field.value());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to convert string to enum?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
SMATransactionType&amp;nbsp; transactionType;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
transactionType
= str2enum(transactionType, &quot;Hour&quot;); &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
info(enum2str(transactionType));&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Date Time Affectivity&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;a href=&quot;http://dynamics-ax-chronicles.blogspot.com.au/2011/09/date-effective-tables-with.html&quot;&gt;http://dynamics-ax-chronicles.blogspot.com.au/2011/09/date-effective-tables-with.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
utcDateTime
fromDateTime, toDateTime;&lt;br /&gt;
fromDateTime = DateTimeUtil::newDateTime(3\3\2012, 0);&lt;br /&gt;
toDateTime&amp;nbsp;&amp;nbsp; = DateTimeUtil::maxValue();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;#Selecting a time effective record based on from date&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
select
validTimeState(fromDateTime) table;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;#Selecting a time effective record based on from date
and to date&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
select
validTimeState(fromDateTime, toDateTime) table;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Import Text File&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
RB_ReadTextFile(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
Filename&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;
filename = @&#39;C:\Desktop\AX2012.txt&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
System.IO.StreamReader&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
reader;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
System.String&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;line;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
InteropPermission&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;
interopPermission;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&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;&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;
text;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
interopPermission = new InteropPermission(InteropKind::ClrInterop);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
interopPermission.assert();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
reader = new System.IO.StreamReade(filename,System.Text.Encoding::get_UTF8());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
line = reader.ReadLine();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
while (!System.String::IsNullOrEmpty(line))&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
line = reader.ReadLine();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
text = line;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
info(strfmt(&quot;%1&quot;, text));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
reader.Close();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
reader.Dispose();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Import CSV File&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
RB_ReadCsvFile(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
#File&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
IO&amp;nbsp; iO;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
CustAccount custAccount;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
CustName custname;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
FilenameOpen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename =
&quot;C:\\Desktop\\RB.csv&quot;;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
Container&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
boolean first = true;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
iO = new CommaTextIo(filename,#IO_Read);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (! iO || iO.status() != IO_Status::Ok)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
throw error(&quot;@SYS19358&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
while (iO.status() == IO_Status::Ok)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
record = iO.read();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (record)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (first)&amp;nbsp; // to exclude the header&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
first = false;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
else&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
custAccount = conpeek(record, 1);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
custname = conpeek(record, 2);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
info(strfmt(&#39;%1--%2&#39;,custAccount,custname));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Import Excel File&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
// &amp;gt;&amp;gt;&amp;gt;
abdul @ 4th June 2014 / This job is used to update the parking locations for
all shifts&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
//&amp;gt;&amp;gt;&amp;gt;
Excel Format / Shift ID, Block ID, Parking Location&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static&amp;nbsp;void&amp;nbsp;MSTA_DM_Roster_UpdateParkingLocations(Args
_args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Dialog Field&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dialog fileDialog;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DialogField sharedPath;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Excel Setup&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelApplication application;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelWorkbooks workbooks;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelWorkbook workbook;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelWorksheets worksheets;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelWorksheet worksheet;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysExcelCells cells;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; COMVariantType type;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int row = 1;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Data Setup&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MSTARosterGroupLine rosterGroupLine;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MSTARosterLine rosterLine;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str 20 shiftFilter;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileDialog = new Dialog(&quot;Select
parking locations improt files for company &quot; + curext());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileDialog.addText(&quot;Select parking
locations improt files for company &quot; + curext());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sharedPath =
fileDialog.addField(extendedTypeStr(FilenameOpen), &quot;File Path&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileDialog.run();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (fileDialog.closedOk())&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application =
SysExcelApplication::construct();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workbooks&amp;nbsp;&amp;nbsp; =
application.workbooks();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TODO: Enter the excel file path&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workbooks.open(sharedPath.value());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workbook = workbooks.item(1);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worksheets = workbook.worksheets();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worksheet =
worksheets.itemFromNum(1);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cells&amp;nbsp;= worksheet.cells();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsBegin;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; //First row should be column
names&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; row = row + 1;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; while select forupdate
rosterGroupLine&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;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; where
rosterGroupLine.ShiftId == Global::COMVariant2Str(cells.item(row,
1).value())&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;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
rosterGroupLine.ParkingLocationUniqueId =
Global::COMVariant2Str(cells.item(row, 3).value());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; rosterGroupLine.update();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; while select forUpdate
rosterLine&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; where
rosterLine.GroupRefId == rosterGroupLine.RecId&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
if(rosterLine.VehicleBlockId == Global::COMVariant2Str(cells.item(row,
2).value()))&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
rosterLine.ParkingLocationUniqueId =
Global::COMVariant2Str(cells.item(row, 3).value());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
rosterLine.update();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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; type = cells.item(row,
1).value().variantType();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }while&amp;nbsp;(type !=
COMVariantType::VT_EMPTY);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.quit();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(&quot;Records Import &quot; +
int2str(row));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsCommit;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsAbort;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.quit();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error(&quot;@SYS80663&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Importing Data from Database&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Which EDT is associated with File
Selection and Folder Selection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
For folder use
FilePath EDT&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
For File Name use
FileNameOpen EDT&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to make any alphabet as capital
letter?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Use strUp method&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to create manual auto numbering
system?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
A technique I used in
HR was as below,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
// &amp;gt;&amp;gt;&amp;gt;
abdul @ 3rd June 2014 / Get New Auto Number Based On Company&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public static
str getNewPersonnelNumber()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int maxLenght = 4;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str tempEmployeeID;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str newNumber;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int newIndex;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str companyIdx;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HCMWorker localWorker;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str 2 companyIdFilter;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Pickup the first digit as company name&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; companyIdx = String::trimToLength(curext(),
1);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; companyIdx = strUpr(companyIdx);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; companyIdFilter = companyIdx + &#39;*&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; select firstOnly localWorker&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order by localWorker.PersonnelNumber
desc&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where localWorker.PersonnelNumber like
companyIdFilter;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tempEmployeeID =
localWorker.PersonnelNumber;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; newNumber =
String::replaceAll(tempEmployeeID, companyIdx, &quot;&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; newIndex = str2int(newNumber);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; newIndex = newIndex + 1;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; newNumber = String::fillString(maxLenght -
strLen(int2str(newIndex)), &#39;0&#39;) + int2str(newIndex);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; newNumber = companyIdx + newNumber;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ret&amp;nbsp;
= newNumber;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
// &amp;gt;&amp;gt;&amp;gt;
abdul @ 3rd June 2014 / Get New Auto Number Based On Company&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Creating a form at run time /
dynamic form&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;a href=&quot;http://dynamicsax-dev.blogspot.com.au/2008/07/creating-form-at-run-time.html&quot;&gt;http://dynamicsax-dev.blogspot.com.au/2008/07/creating-form-at-run-time.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Creating and saving AX object on
runtime (Saving in AOT Tree)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;a href=&quot;http://axblog4u.wordpress.com/2010/12/04/treenode-aot-save-%E2%80%93-did-you-know/&quot;&gt;http://axblog4u.wordpress.com/2010/12/04/treenode-aot-save-%E2%80%93-did-you-know/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: lime; font-style: italic; font-weight: bold; mso-highlight: lime;&quot;&gt;Creating
a sys progress bar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
#AviFiles&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
SysOperationProgress&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar = new SysOperationProgress();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
// Initialising
progress bar&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
progressBar.setCaption(&quot;Export
To Excel in progress...&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
progressBar.setAnimation(#AviTransfer);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
progressBar.setText(strfmt(&quot;Employee
%1&quot;, emplTable.name()));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: lime; font-style: italic; font-weight: bold; mso-highlight: lime;&quot;&gt;Traversing
a data source on a form&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
PRMJournalTransHeader
journalTransHeaderLocal;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Box::yesNo(&quot;@BCS10177&quot;,
DialogButton::No) == DialogButton::Yes)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsbegin;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (journalTransHeaderLocal =
PRMJournalTransHeader_DS.getFirst();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; journalTransHeaderLocal;
journalTransHeaderLocal = PRMJournalTransHeader_DS.getNext() )&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
PRMGenerateEarningAndDeductions::generateAllDedAndEarns(journalTransHeaderLocal);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttscommit;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
PRMJournalTransHeader_ds.executeQuery();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;Ledger
Dimensions Functionality&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Print the financial dimensions for
all employments&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
MSTA_HR_140610_EmplDim(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HcmWorker worker;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HcmEmployment employment;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #AviFiles&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysOperationProgress&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar = new SysOperationProgress();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialising progress bar&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setCaption(&quot;Printing in
progress...&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setAnimation(#AviTransfer);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while select worker&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
progressBar.setText(strfmt(&quot;Employee %1&quot;, worker.name()));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment =
HcmEmployment::getActiveEmploymentsByWorker(worker.RecId);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(employment.DefaultDimension)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(strFmt(&quot;%1, %2,
Department Value: %3&quot;, worker.PersonnelNumber, worker.name(),
getDefaultDimensionValue(employment.DefaultDimension,
&quot;Department&quot;)));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to get the dimension value from a ledger dimension&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static str 255
getDefaultDimensionValue(RecId defaultDimension, Name dimName)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str 255 ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DimensionAttributeValueSetStorage
dimStorage;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dimStorage =
DimensionAttributeValueSetStorage::find(defaultDimension);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ret =
dimStorage.getDisplayValueByDimensionAttribute(DimensionAttribute::findByName(dimName).RecId);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to get the dimension value from a ledger dimension&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static RecId
setDefaultDimensionValue(RecId defaultDimension, Name dimName, str 255
dimValue)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DimensionAttributeValueSetStorage
dimStorage;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter i;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DimensionAttribute dimAttributeCostCenter;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DimensionAttributeValue dimAttributeValue;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dimStorage =
DimensionAttributeValueSetStorage::find(defaultDimension);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dimAttributeCostCenter =
DimensionAttribute::findByName(dimName);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(dimValue)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimAttributeValue =
DimensionAttributeValue::findByDimensionAttributeAndValue(dimAttributeCostCenter,
dimValue, true, true);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimStorage.addItem(dimAttributeValue);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
dimStorage.removeDimensionAttribute(DimensionAttribute::findByName(dimName).RecId);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return dimStorage.save();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to update worker dimension values&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
MSTA_HR_140610_UpdateEmplDim(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HcmWorker worker;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; HcmEmployment employment;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #AviFiles&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysOperationProgress&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar = new SysOperationProgress();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialising progress bar&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setCaption(&quot;Printing in
progress...&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setAnimation(#AviTransfer);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsBegin;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while select worker&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
progressBar.setText(strfmt(&quot;Employee %1&quot;, worker.name()));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment =
HcmEmployment::getActiveEmploymentsByWorker(worker.RecId);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment.selectForUpdate(true);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
employment.validTimeStateUpdateMode(ValidTimeStateUpdate::Correction);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(employment.DefaultDimension)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment.DefaultDimension =
Global::setDefaultDimensionValue( employment.DefaultDimension,
&quot;Contract&quot;, &quot;None&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment.DefaultDimension =
Global::setDefaultDimensionValue( employment.DefaultDimension,
&quot;ContractType&quot;, &quot;None&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employment.update();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(strFmt(&quot;%1, %2,
Department Value: %3&quot;, worker.PersonnelNumber, worker.name(),&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
getDefaultDimensionValue(employment.DefaultDimension,
&quot;Department&quot;)));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsCommit;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How Can I use
distinct / unique is X++ statements?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Use
&#39;GroupBy&#39;&amp;nbsp;&amp;nbsp;in the select statement which field you want the distinct
records.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;A4 portrait and
landscape paper size?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
The paper size for A4
portrait is 8.27 * 11.69 inches and for Landscape is 11.69 * 8.27. Make sure
that the page size is inclusive of the margins.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
The paper size for A4
portrait is 210 * 297 mm and for Landscape is 297 * 210. Make sure that the
page size is inclusive of the margins.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to convert EDT to
str to be used in dialog fields?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Use &lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;extendedTypeStr&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to shrink the
database log files?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
See names of the log
file in DB&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
SELECT name,
physical_name AS current_file_location&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
FROM sys.master_files&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
USE
AdventureWorks2012;&lt;br /&gt;
GO&lt;br /&gt;
-- Truncate the log by changing the database recovery model to
SIMPLE.&lt;br /&gt;
ALTER DATABASE AdventureWorks2012&lt;br /&gt;
SET RECOVERY SIMPLE;&lt;br /&gt;
GO&lt;br /&gt;
-- Shrink the truncated log file to 1 MB.&lt;br /&gt;
DBCC SHRINKFILE (AdventureWorks2012_Log, 1);&lt;br /&gt;
GO&lt;br /&gt;
-- Reset the database recovery model.&lt;br /&gt;
ALTER DATABASE AdventureWorks2012&lt;br /&gt;
SET RECOVERY FULL;&lt;br /&gt;
GO&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to export to
Excel?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;SR_SysExcelWorksheetHelper(Args _args)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CustTable&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;custTable;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SysExcelWorksheetHelper
worksheetHelper;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SysExcelHelper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysExcelHelper;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SysExcelWorksheet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheet;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&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;currentRow
=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&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;sumRow;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;str&lt;/span&gt;&lt;span style=&quot;background: white;&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;worksheetName;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&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;redColor
= WinAPI::RGB2int(&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;255&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SysExcelRange&amp;nbsp;&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;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;COMVariant&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;cellValue
=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;COMVariant(COMVariantInOut::Out);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;str&lt;/span&gt;&lt;span style=&quot;background: white;&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;fileName;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;str&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;attachmentPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkred;&quot;&gt;&quot;C:\\&quot;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-style: italic;&quot;&gt;// Sets the font color
for a range of cells&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;setRangeFont(&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_fromColumn,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_fromRow,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_toColumn,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_toRow,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_rgbIntColor)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;range
= worksheetHelper.getWorksheetRange(_fromColumn, _fromRow, _toColumn, _toRow);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setFontColor(range,
_rgbIntColor);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-style: italic;&quot;&gt;// Defines the columns
of the spreadsheet&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#define.AccountNum(&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#define.Currency(&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#define.CustGroup(&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#define.BalanceMST(&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetName
=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkviolet;&quot;&gt;&quot;@SYS135880&quot;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysExcelHelper =
SysExcelHelper::construct();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysExcelHelper.initialize();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheet =
sysExcelHelper.addWorksheet(worksheetName);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper =
SysExcelWorksheetHelper::construct(worksheet);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-style: italic;&quot;&gt;// Populate the header
row with the appropriate field labels and format the columns&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.addColumnFromTableField(#AccountNum,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;tablenum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;fieldnum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable, AccountNum));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.addColumnFromTableField(#Currency,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;tablenum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;fieldnum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable, Currency));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.addColumnFromTableField(#CustGroup,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;tablenum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;fieldnum&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(CustTable, CustGroup));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.addColumn(#BalanceMST,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkred;&quot;&gt;&quot;Balance MST&quot;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;, Types::Real);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;custTable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;currentRow
++;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setCellValue(#AccountNum,
currentRow, custTable.AccountNum);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setCellValue(#Currency,
currentRow, custTable.Currency);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setCellValue(#CustGroup,
currentRow, custTable.CustGroup);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setCellValue(#BalanceMST,
currentRow, custTable.balanceMST());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;(currentRow &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sumRow
= currentRow +&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.setCellValue(#BalanceMST,
sumRow,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkviolet;&quot;&gt;&quot;@SYS58659&quot;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.sumRange(worksheetHelper.getWorksheetRange(#BalanceMST,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;, #BalanceMST, currentRow), #BalanceMST,
sumRow);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setRangeFont(#BalanceMST,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;, #BalanceMST, currentRow, redColor);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cellValue
=&amp;nbsp;worksheet.cells().item(sumRow, #BalanceMST).value();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: darkblue; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;(cellValue.currency() &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red; font-weight: bold;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setRangeFont(#BalanceMST,
sumRow, #BalanceMST, sumRow, redColor);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.autoFitColumns();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;worksheetHelper.formatWorksheetTableStyle(sysExcelHelper.getOfficeVersion());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-style: italic;&quot;&gt;// Generate the file
using the current UTC date time (without the ‘:’ character)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-style: italic;&quot;&gt;// since it is not
allowed for file names.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
fileName =
strfmt(&quot;%1%2%3&quot;, WinApi::getTempPath(),
strReplace(DateTimeUtil::toStr(DateTimeUtil::utcNow()),
&quot;:&quot;,&quot;&quot;), sysExcelHelper.getFileExtension());&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysExcelHelper.save(filename);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysExcelHelper.launchExcel();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: consolas; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to get temporary
Path in AX?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
WinApi::getTempPath()&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to add a new Field in Managerial Hierarchy (Workflow Approval Limits)?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
In order to add a new
field in the managerial hierarchy either create a new HierarchyProvider or use
WorkflowLimitHierarchyProvider class and add new fields in it.&amp;nbsp; Check the new method of
WorkflowLimitHierarchyProvider&amp;nbsp; to get an
overview.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Infolog system in
Dynamics AX, how does it work?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
setPrefix(&quot;Level
1&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Info(&quot;A&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Unbalanced TTS Begin&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; resetTTS(Args
_args)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;while&lt;/span&gt;
(appl.ttsLevel() &lt;span style=&quot;color: #00007f;&quot;&gt;&amp;gt;&lt;/span&gt; 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;ttsAbort&lt;/span&gt;;&lt;br /&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to check if Code
is running in CIL?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Use
if(xSession::isCLRSession())&amp;nbsp;{…}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Reflection: Traverse
Projects AOT&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
MSTA_Utility_ExportAllProjects(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #aot&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #properties&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #AviFiles&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysOperationProgress&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar = new SysOperationProgress();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; TreeNode _treeNode;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; TreeNode projectNode;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; TreeNodeIterator iterator;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int i, a;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialising progress bar&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setCaption(&quot;Export To
Excel in progress...&quot;);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progressBar.setAnimation(#AviTransfer);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; _treeNode = infolog.projectRootNode();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; _treeNode = _treeNode.AOTfirstChild();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i = 0; i &amp;lt; 2; i++)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iterator = _treeNode.AOTiterator();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; projectNode = iterator.next();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (projectNode)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
progressBar.setText(strfmt(&quot;Project %1&quot;,
projectNode.treeNodeName()));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if(String::beginsWith(projectNode.treeNodeName(), &quot;MSTA&quot;))&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;
info(projectNode.treeNodeName());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; projectNode = iterator.next();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a++;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _treeNode = _treeNode.AOTnextSibling();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Reflection: Traverse
Classes AOT&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
//Traverse
Class&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
FindClassStartsWithXXX(Args _args)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; UtilIdElements utilId;&lt;br /&gt;
&amp;nbsp;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; while select utilId where
utilid.recordType == UtilElementType::Class&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; utilId.name like
&#39;XXX*&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print utilId.name;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; pause;&lt;br /&gt;
&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
//Traverse
Class&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
FindTablesStartsWithXXX(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;{&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; UtilIdElements utilId;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; while select utilId where utilid.recordType
== UtilElementType::Table&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; utilId.name like &#39;MSTA*&#39;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(utilId.name);&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp; pause;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
//Update Class
Properties&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
RenameXXXObjectsToYYY(Args _args)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; TreeNode&amp;nbsp; node =
TreeNode::findNode(@&#39;\Classes\XXXClass&#39;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; str oldName;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; str newName;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; #Properties&lt;br /&gt;
&amp;nbsp;&amp;nbsp; ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; oldName =
node.AOTgetProperty(#PropertyName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; newName =
strdel(oldName,1,3);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; node.AOTsetProperty(#PropertyName,
&quot;YYY&quot;+newName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; node.AOTsave();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; node.treeNodeRelease();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; node = null;&lt;br /&gt;
&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to add database
log manually?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DatabaseLog dblog;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsBegin;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dblog.logTable = tableNum(HcmWorker);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dblog.LogType = DatabaseLogType::Delete;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dblog.insert();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ttsCommit;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: lime; font-weight: bold; mso-highlight: lime;&quot;&gt;Dynamics AX
Collections&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;How to create a list of records and iterate them?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;AifAction aifAction;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; List actionsList = new
List(Types::Record);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ListEnumerator listEnum;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(_actionsList)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listEnum =
_actionsList.getEnumerator();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
while(listEnum.moveNext())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aifAction = listEnum.current();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(
aifAction.WebMethodEnabled == NoYes::No &amp;amp;&amp;amp;&lt;br /&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; aifAction.WebSvcOutOfSync
== NoYes::Yes &amp;amp;&amp;amp;&lt;br /&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; aifAction.ErrorState ==
AifServiceGenerationErrorState::WebServiceOutOfSyncError &amp;amp;&amp;amp;&lt;br /&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; aifAction.Intercompany ==
NoYes::No)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&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;
actionsList.addEnd(aifAction);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to convert real numbers to time
format&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;public static str 5 num2Time(real _hours)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int realPart;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int decimalPart;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; real hours;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str hoursStr;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str minStr;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int decimalLocation;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str finalMinutes;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hours =
_hours;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hoursStr =
num2str(hours, 0, 2, 1, 0);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
decimalLocation = strfind(hoursStr, &quot;.&quot;, 0, strlen(hoursStr));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hoursStr =
substr(hoursStr, 0, decimalLocation);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hoursStr =
trimString(hoursStr, [&quot;.&quot;]);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minStr =
num2str(hours, 0, 2, 1, 0);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minStr =
substr(minStr, decimalLocation, strlen(minStr) - strlen(hoursStr));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minStr =
trimString(minStr, [&quot;.&quot;]);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; realPart =
str2int(hoursStr);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; decimalPart
= str2int(minStr);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
finalMinutes = hoursStr + &quot;:&quot; + (int2str(60 * decimalPart / 100) ==
&quot;0&quot; ? &quot;00&quot; : int2str(60 * decimalPart / 100));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
finalMinutes;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
num2str(_hours, 0, 2, 1, 0);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
strFmt(&quot;%1:%2&quot;,
hours div 1, strRfix(int2str(round(abs(hours)*60,1) mod 60),2,&quot;0&quot;))&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #595959; font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
From
&amp;lt;&lt;a href=&quot;http://msdax.blogspot.com.au/2011/06/converting-real-number-to-time.html&quot;&gt;http://msdax.blogspot.com.au/2011/06/converting-real-number-to-time.html&lt;/a&gt;&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;SQL
Server: Identifying and Killing Blocking Transactions&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
SELECT&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
db.name DBName,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
tl.request_session_id,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
wt.blocking_session_id,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
OBJECT_NAME(p.OBJECT_ID)&amp;nbsp;BlockedObjectName,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
tl.resource_type,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
h1.TEXT
AS&amp;nbsp;RequestingText,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
h2.TEXT
AS&amp;nbsp;BlockingTest,&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
tl.request_mode&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
FROM&amp;nbsp;sys.dm_tran_locks&amp;nbsp;AS&amp;nbsp;tl&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
INNER
JOIN&amp;nbsp;sys.databases
db&amp;nbsp;ON&amp;nbsp;db.database_id&amp;nbsp;=tl.resource_database_id&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
INNER
JOIN&amp;nbsp;sys.dm_os_waiting_tasks&amp;nbsp;AS&amp;nbsp;wt&amp;nbsp;ON&amp;nbsp;tl.lock_owner_address&amp;nbsp;=wt.resource_address&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
INNER
JOIN&amp;nbsp;sys.partitions&amp;nbsp;AS&amp;nbsp;p&amp;nbsp;ON&amp;nbsp;p.hobt_id&amp;nbsp;=tl.resource_associated_entity_id&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
INNER
JOIN&amp;nbsp;sys.dm_exec_connections
ec1&amp;nbsp;ON&amp;nbsp;ec1.session_id&amp;nbsp;=tl.request_session_id&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
INNER
JOIN&amp;nbsp;sys.dm_exec_connections
ec2&amp;nbsp;ON&amp;nbsp;ec2.session_id&amp;nbsp;=wt.blocking_session_id&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
CROSS&amp;nbsp;APPLY
sys.dm_exec_sql_text(ec1.most_recent_sql_handle)&amp;nbsp;AS&amp;nbsp;h1&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
CROSS&amp;nbsp;APPLY
sys.dm_exec_sql_text(ec2.most_recent_sql_handle)&amp;nbsp;AS&amp;nbsp;h2&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
GO&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
KILL &lt;blocking spid=&quot;&quot;&gt;&lt;/blocking&gt;&lt;/div&gt;
&lt;div style=&quot;color: #595959; font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
From
&amp;lt;&lt;a href=&quot;http://blog.sqlauthority.com/2010/10/06/sql-server-quickest-way-to-identify-blocking-query-and-resolution-dirty-solution/&quot;&gt;http://blog.sqlauthority.com/2010/10/06/sql-server-quickest-way-to-identify-blocking-query-and-resolution-dirty-solution/&lt;/a&gt;&amp;gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to Assign temporary table to Grid?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Grid.setTmpData(temporaryTabeReference);&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #595959; font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Lookups&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to create simple lookup?&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Simple
lookups can easily be created by adding a relation between the tables.&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-style: italic; font-weight: bold; mso-highlight: red;&quot;&gt;How
to create a dynamic lookup?&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
In order
to create a dynamic lookup there are two steps,&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Step1:
Create a lookup method in table or class&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public static
void lookupVendorByCurrency(&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FormControl _callingControl,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CurrencyCode _currency)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Query query;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryBuildDataSource qbds;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryBuildRange qbr;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SysTableLookup lookup;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; query = new Query();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; qbds =
query.addDataSource(tableNum(VendTable));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; qbr = qbds.addRange(fieldNum(VendTable,
Currency));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; qbr.value(queryvalue(_currency));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lookup =
SysTableLookup::newParameters(tableNum(VendTable), _callingControl, true);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lookup.parmQuery(query);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lookup.addLookupField(fieldNum(VendTable,
AccountNum), true);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
lookup.addLookupField(fieldNum(VendTable,Party));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
lookup.addLookupField(fieldNum(VendTable,Currency));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lookup.performFormLookup();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
Step2:
Call the lookup method from the overridden lookup method on the data source
field&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public void
lookup(FormControl _formControl, str _filterStr)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
VendTable::lookupVendorByCurrency(_formControl, CustTable.Currency);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;Display Method
Caching&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Display methods
must be written at table levels, in AX 2012 you can also use cache display
method property of form controls.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
CustTable_ds.cacheAddMethod(tableMethodStr(CustTable,
name), false);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to implement
multi-threading in AX ?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to Place a new
line character in a Label?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Use&amp;nbsp; info(strFmtLB(&quot;@Label&quot;));&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: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;How to change the splash screen for
AX?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;a href=&quot;http://www.axaptapedia.com/Changing_Splashscreen&quot;&gt;http://www.axaptapedia.com/Changing_Splashscreen&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to check
configuration key?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
if
(isConfigurationkeyEnabled(configurationKeyNum(&#39;MSTARails&#39;)))&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;background: red; font-weight: bold; mso-highlight: red;&quot;&gt;How to create a new
number sequence in AX 2012?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
1.&amp;nbsp; Create an edt : CarId .&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
AOT &amp;gt;&amp;gt;
Extended Datatype&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
2. Write a code
on lode module() on NumberSeqModuleProject&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
datatype.parmDatatypeId(extendedTypeNum(Car Id));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
datatype.parmReferenceHelp(literalStr(&quot;@SYS334483&quot;));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardIsManual(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
datatype.parmWizardIsChangeDownAllowed(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
datatype.parmWizardIsChangeUpAllowed(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardHighest(999999);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmSortField(20);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
datatype.addParameterType(NumberSeqParameterType::DataArea, true,
false);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.create(datatype);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
3.Write a
method on Projparameters Table&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
client server
static NumberSequenceReference numRefcarId()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
NumberSeqReference::findReference(extendedTypeNum(car Id));&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
4.Write a job
and run that&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
Carid(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeqModuleProject&amp;nbsp; NumberSeqModuleProject = new
NumberSeqModuleProject();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeqModuleProject.load();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
5. Then run the
wizard&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Organization
Administration &amp;gt;&amp;gt; CommonForms &amp;gt;&amp;gt;
Numbersequences&amp;gt;&amp;gt;Numbersequences&amp;gt;&amp;gt; Generate &amp;gt;&amp;gt; run the
wizard.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
6.Now we have
to check the number sequence&amp;nbsp; is
correctly working&amp;nbsp; for that write a job:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
static void
number(Args _args)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeq&amp;nbsp;
numberSeq;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CarId num;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; numberSeq =
NumberSeq::newGetNum(ProjParameters::numRefcarId());&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; num = numberSeq.num();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; info(num);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Run the above
job.We will find the generated Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
sequence.&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;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
7. Now we want
that Number Sequence in form level(Car Table):&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Declare the
number sequence On Form Declaration:&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public class
FormRun extends ObjectRun&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeqFormHandler numberSeqFormHandler;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
8. Write the
NumberSeqFormHandler() in form methods node.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
NumberSeqFormHandler
numberSeqFormHandler()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!numberSeqFormHandler)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numberSeqFormHandler =
NumberSeqFormHandler::newForm(ProjParameters::numRefcarId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ().NumberSequenceId,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
element,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
CarTable_DS,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
fieldNum(CarTable, Car Id)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return numberSeqFormHandler;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
9.Write the
close() on the form methods node.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
void close()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (numberSeqFormHandler)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numberSeqFormHandler.formMethodClose();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; super();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
10. Then final
add the below methods on data source methods node&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Create()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
void
create(boolean append = false,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean extern = false)&amp;nbsp; // If created externally&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.numberSeqFormHandler().formMethodDataSourceCreatePre();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; super(append);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!extern)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.numberSeqFormHandler().formMethodDataSourceCreate(true);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Delete()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public void
delete()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.numberSeqFormHandler().formMethodDataSourceDelete();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; super();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Write()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public void
write()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; super();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.numberSeqFormHandler().formMethodDataSourceWrite();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Validate
Write()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public boolean
validateWrite()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = super();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ret =
element.numberSeqFormHandler().formMethodDataSourceValidateWrite(ret)
&amp;amp;&amp;amp; ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ret)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CarTable.validateWrite();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return ret;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Link Active()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
public void
linkActive()&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
element.numberSeqFormHandler().formMethodDataSourceLinkActive();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; super();&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Now our
numberseqence is generated .&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
*** Set the
field or Tabpage Allowedit property to No.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
***Check the
continues on wizard.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7385532446525009771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2014/10/ax-2012-development-cheat-sheet.html#comment-form' title='78 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7385532446525009771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7385532446525009771'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2014/10/ax-2012-development-cheat-sheet.html' title='AX 2012 Development Cheat Sheet'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>78</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-478793491975444350</id><published>2014-07-14T22:34:00.002-07:00</published><updated>2014-07-14T22:34:16.736-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dynamics ax"/><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="Utility"/><title type='text'>Getting a list of all projects</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Question: How can i get a list of all projects in a system?&lt;br /&gt;
&lt;br /&gt;
Answer: Use the code snippet below,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;static void MSTA_Utility_ExportAllProjects(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; #aot&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; #properties&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; SysOperationProgress &amp;nbsp; &amp;nbsp;progressBar = new SysOperationProgress();&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; TreeNode _treeNode;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; TreeNode projectNode;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; TreeNodeIterator iterator;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; int i, a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Initialising progress bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; progressBar.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; progressBar.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; _treeNode = infolog.projectRootNode();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; _treeNode = _treeNode.AOTfirstChild();&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; for(i = 0; i &amp;lt; 2; i++)&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; iterator = _treeNode.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; projectNode = iterator.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; while (projectNode)&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; progressBar.setText(strfmt(&quot;Project %1&quot;, projectNode.treeNodeName()));&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; if(String::beginsWith(projectNode.treeNodeName(), &quot;MSTA&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; &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; info(projectNode.treeNodeName()) ;&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; projectNode = iterator.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; a++;&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; _treeNode = _treeNode.AOTnextSibling();&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;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/478793491975444350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2014/07/getting-list-of-all-projects.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/478793491975444350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/478793491975444350'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2014/07/getting-list-of-all-projects.html' title='Getting a list of all projects'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-8120836688947625623</id><published>2013-06-17T18:59:00.001-07:00</published><updated>2013-06-17T18:59:22.747-07:00</updated><title type='text'>Database Diagrams for AX 2012 R2! - Microsoft Dynamics AX Support - Site Home - MSDN Blogs</title><content type='html'>&lt;a href=&quot;http://blogs.msdn.com/b/axsupport/archive/2013/05/23/database-diagrams-for-ax-2012-r2.aspx&quot;&gt;Database Diagrams for AX 2012 R2! - Microsoft Dynamics AX Support - Site Home - MSDN Blogs&lt;/a&gt;: &quot;Database Diagrams for AX 2012 R2!&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/8120836688947625623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2013/06/database-diagrams-for-ax-2012-r2.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/8120836688947625623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/8120836688947625623'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2013/06/database-diagrams-for-ax-2012-r2.html' title='Database Diagrams for AX 2012 R2! - Microsoft Dynamics AX Support - Site Home - MSDN Blogs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-3658993251723048744</id><published>2013-05-16T16:36:00.003-07:00</published><updated>2013-05-16T16:36:23.480-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Object Server 01:  The license information can not be decoded. </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Question:&lt;/span&gt;&lt;/b&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;AX 2012 AOS Service is not starting and I am getting the following error&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&quot;Object Server 01: &amp;nbsp;The license information can not be decoded.&amp;nbsp;&quot;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This is mainly because of permissions, I gave admin rights to AOS service account and it worked.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/3658993251723048744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2013/05/object-server-01-license-information.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/3658993251723048744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/3658993251723048744'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2013/05/object-server-01-license-information.html' title='Object Server 01:  The license information can not be decoded. '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-6242062757257165655</id><published>2013-05-05T21:42:00.000-07:00</published><updated>2013-05-05T21:42:15.464-07:00</updated><title type='text'>data or calculated fields with type &#39;Record&#39; are not supported</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Question:&lt;/b&gt;&lt;br /&gt;
I am getting an error &quot;data or calculated fields with type &#39;Record&#39; are not supported&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
Make sure the table and all related tables does not have any display method returning a record.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/6242062757257165655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2013/05/data-or-calculated-fields-with-type.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/6242062757257165655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/6242062757257165655'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2013/05/data-or-calculated-fields-with-type.html' title='data or calculated fields with type &#39;Record&#39; are not supported'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7674406814876162672</id><published>2013-05-05T16:50:00.001-07:00</published><updated>2013-05-05T16:50:18.482-07:00</updated><title type='text'>Keyboad Mapper</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
http://sharpkeys.codeplex.com/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7674406814876162672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2013/05/keyboad-mapper.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7674406814876162672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7674406814876162672'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2013/05/keyboad-mapper.html' title='Keyboad Mapper'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-5333750942328547354</id><published>2013-04-02T21:41:00.001-07:00</published><updated>2013-04-02T21:42:35.569-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AX Reports"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><title type='text'>Dynamics AX 2009 Report libraries to Dynamics AX 2012 SSRS Reports</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;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Question:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How can i convert my Dynamics AX 2009 reporting libraries to be&amp;nbsp;usable in Dynamics AX 2012?&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Answer:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In order to use the Reporting Libraries from 2009 in 2012 use the following steps,&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1- Use the upgrade reports command line that comes with AX 2012 , normally located at&amp;nbsp;&lt;span style=&quot;color: #2a2a2a; line-height: 18px;&quot;&gt;C:\Program Files\Microsoft Dynamics AX\60\tools, to upgrade the reporting libraries to current format.&lt;/span&gt;&lt;/span&gt;&lt;/span&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/AVvXsEiJ7-EQZrGH3w7BzFtN9BmSfjHtgqDuadIta1Ukjuz1T1PEhCWDX-2ItOqFbJIGnApQsj917r6jxvjKDF8Q1KBBjTPZmItcbDWhPC4z1jI2tJ_eJoqKmNfLq2RhwjGDAeNLfVryBzttoGDs/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7-EQZrGH3w7BzFtN9BmSfjHtgqDuadIta1Ukjuz1T1PEhCWDX-2ItOqFbJIGnApQsj917r6jxvjKDF8Q1KBBjTPZmItcbDWhPC4z1jI2tJ_eJoqKmNfLq2RhwjGDAeNLfVryBzttoGDs/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2- Open the business logic project created after the step above , compile and add the business logic to AOT.&lt;/span&gt;&lt;/span&gt;&lt;/span&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/AVvXsEjyhdLO4_WsxyrgHzNQ6XxJ4OyQUIqJaTDWBVORb1NtQVuXx8mAbAXJcwXAEnXW-Ojr6NW-_Xrd0xx0Flcd_vWwvYnHNYUg5ZSJduDs63D2AVG49fvQN_-yxrwP4VkDLTMfrt-tiWB2rEqA/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;604&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyhdLO4_WsxyrgHzNQ6XxJ4OyQUIqJaTDWBVORb1NtQVuXx8mAbAXJcwXAEnXW-Ojr6NW-_Xrd0xx0Flcd_vWwvYnHNYUg5ZSJduDs63D2AVG49fvQN_-yxrwP4VkDLTMfrt-tiWB2rEqA/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;3- Open the reporting project and&amp;nbsp;change&amp;nbsp;the business logic to be using the new business logic.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&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/AVvXsEgc_G9s3dHoMaTwjwmdgU2w6fhawWtv0qcIXzsHJ0fD1fpjKzOwISAm1zj5TvyjlSa5ym0Y-OsBXpNS3lHxLj4o7pMijbo-iLlYCVqQrtwFJ21uiH-geVt0tME_j6dwSt7agDlcrsARNm_n/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc_G9s3dHoMaTwjwmdgU2w6fhawWtv0qcIXzsHJ0fD1fpjKzOwISAm1zj5TvyjlSa5ym0Y-OsBXpNS3lHxLj4o7pMijbo-iLlYCVqQrtwFJ21uiH-geVt0tME_j6dwSt7agDlcrsARNm_n/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;4- Compile the project, add to AOT and deploy to SSRS.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;b&gt;Other Links&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #2a2a2a;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;1-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;http://technet.microsoft.com/EN-US/library/hh292607.aspx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;2-&amp;nbsp;http://technet.microsoft.com/en-us/library/hh292607.aspx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/5333750942328547354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2013/04/dynamics-ax-2009-report-libraries-to.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/5333750942328547354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/5333750942328547354'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2013/04/dynamics-ax-2009-report-libraries-to.html' title='Dynamics AX 2009 Report libraries to Dynamics AX 2012 SSRS Reports'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7-EQZrGH3w7BzFtN9BmSfjHtgqDuadIta1Ukjuz1T1PEhCWDX-2ItOqFbJIGnApQsj917r6jxvjKDF8Q1KBBjTPZmItcbDWhPC4z1jI2tJ_eJoqKmNfLq2RhwjGDAeNLfVryBzttoGDs/s72-c/Capture.PNG" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-836624854086026990</id><published>2012-11-06T21:29:00.001-08:00</published><updated>2012-11-06T21:29:41.164-08:00</updated><title type='text'>Mindbrations: AX2012 - How to control the visibility of FactBox on form thru X++</title><content type='html'>&lt;a href=&quot;http://mindbrations.blogspot.com.au/2012/06/ax2012-how-to-control-visibility-of.html&quot;&gt;Mindbrations: AX2012 - How to control the visibility of FactBox on form thru X++&lt;/a&gt;: &quot;AX2012 - How to control the visibility of FactBox on form thru X++&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/836624854086026990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/11/mindbrations-ax2012-how-to-control.html#comment-form' title='28 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/836624854086026990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/836624854086026990'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/11/mindbrations-ax2012-how-to-control.html' title='Mindbrations: AX2012 - How to control the visibility of FactBox on form thru X++'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>28</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-4209923060386199092</id><published>2012-10-24T21:54:00.003-07:00</published><updated>2012-10-24T23:17:12.177-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>Print Main Menu</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;Question: How can i print all elements of a main menu.&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;Answer: Use the following job,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;static void menuPrint(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;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysDictMenu menu;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorksheetHelper worksheetHelper;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelHelper sysExcelHelper;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; SysExcelWorksheet worksheet;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; str menuToPrint;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; str worksheetName;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; int currentRow = 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; str fileName;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; str path;&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 reportLevel(SysDictMenu _sysDictMenu)&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; &amp;nbsp; &amp;nbsp; SysMenuEnumerator enumerator;&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(_sysDictMenu.isMenuReference() || _sysDictMenu.isMenu())&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; path += _sysDictMenu.label() + &quot;//&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; enumerator = _sysDictMenu.getEnumerator();&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 (enumerator.moveNext())&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; reportLevel(enumerator.current());&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; &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; currentRow ++;&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; worksheetHelper.setCellValue(2, currentRow, _sysDictMenu.label());&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; path = &quot;&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; &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; ;&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; sysExcelHelper = SysExcelHelper::construct();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; sysExcelHelper.initialize();&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; menuToPrint = &#39;Roster&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetName = menuToPrint;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheet = sysExcelHelper.addWorksheet(worksheetName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper = SysExcelWorksheetHelper::construct(worksheet);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // Populate the header row with the appropriate field labels and format the columns&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.addColumn(1, &quot;Path&quot;, Types::String);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.addColumn(2, &quot;Item&quot;, Types::String);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.addColumn(3, &quot;Status&quot;, Types::String);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.addColumn(4, &quot;Assigned To&quot;, Types::String);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.addColumn(5, &quot;Notes&quot;, Types::String);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; reportLevel(SysDictMenu::newMenuName(MenuStr(Roster)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.autoFitColumns();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; worksheetHelper.formatWorksheetTableStyle(sysExcelHelper.getOfficeVersion());&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; // Generate the file using the current UTC date time (without the ‘:’ character)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; // since it is not allowed for file names.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; fileName = &amp;nbsp;&quot;C:\\Windows\\Temp\\ExportToExcel.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; sysExcelHelper.save(filename);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; sysExcelHelper.launchExcel();&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/4209923060386199092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/10/print-main-menu.html#comment-form' title='497 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4209923060386199092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4209923060386199092'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/10/print-main-menu.html' title='Print Main Menu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>497</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7406941705775072851</id><published>2012-08-28T21:32:00.001-07:00</published><updated>2012-08-28T21:32:30.148-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Document Management System"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="email"/><title type='text'>Read / Write Files from document handling </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;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How can you read / writes files from document handling?&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;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void fromFolderToDB(FilePath _path)&lt;br /&gt;{&lt;br /&gt;System.IO.DirectoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dir = new&lt;br /&gt;System.IO.DirectoryInfo(_path);&lt;br /&gt;System.IO.FileInfo[]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; files;&lt;br /&gt;System.IO.FileInfo&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; curFile;&lt;br /&gt;System.Collections.IEnumerator&amp;nbsp; enumerator;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;BinData&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; binData;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;DocuValue&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; docuValue;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;;&lt;br /&gt;files = dir.GetFiles(_path);&lt;br /&gt;enumerator = files.GetEnumerator();&lt;br /&gt;while (enumerator.MoveNext())&lt;br /&gt;{&lt;br /&gt;curFile = enumerator.get_Current();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;docuValue.clear();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;binData.loadFile(curFile.get_FullName());&amp;nbsp;&amp;nbsp; // get file content&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;docuValue.File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = binData.getData();&lt;br /&gt;docuValue.FileName&amp;nbsp; = curFile.get_Name();&lt;br /&gt;docuValue.insert(); // insert into DB&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void fromDBToFolder(FilePath _path)&lt;br /&gt;{&lt;br /&gt;BinData&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; binData;&lt;br /&gt;DocuValue&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; docuValue;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;;&lt;br /&gt;while select docuValue // load From DB&lt;br /&gt;{&lt;br /&gt;binData.setData(docuValue.File);&lt;br /&gt;binData.saveFile(docuValue.FileName); // insert into file system&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.429em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Make attention to CodeAccessPermission when reading/writing to file system&lt;br /&gt;and when using CLR inside X++&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7406941705775072851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/08/read-write-files-from-document-handling.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7406941705775072851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7406941705775072851'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/08/read-write-files-from-document-handling.html' title='Read / Write Files from document handling '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-2971408157094324267</id><published>2012-08-27T18:51:00.001-07:00</published><updated>2012-08-27T18:51:09.859-07:00</updated><title type='text'>Error &quot;Cannot access a disposed object&quot; when deploying AX 2009 Enterprise Portal on a SharePoint 2010 server - Microsoft Dynamics AX Technical Support Blog - Site Home - MSDN Blogs</title><content type='html'>&lt;a href=&quot;http://blogs.msdn.com/b/emeadaxsupport/archive/2010/10/01/error-quot-cannot-access-a-disposed-object-quot-when-deploying-ax-2009-enterprise-portal-on-a-sharepoint-2010-server.aspx&quot;&gt;Error &quot;Cannot access a disposed object&quot; when deploying AX 2009 Enterprise Portal on a SharePoint 2010 server - Microsoft Dynamics AX Technical Support Blog - Site Home - MSDN Blogs&lt;/a&gt;: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/2971408157094324267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/08/error-cannot-access-disposed-object.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2971408157094324267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2971408157094324267'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/08/error-cannot-access-disposed-object.html' title='Error &quot;Cannot access a disposed object&quot; when deploying AX 2009 Enterprise Portal on a SharePoint 2010 server - Microsoft Dynamics AX Technical Support Blog - Site Home - MSDN Blogs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-2339827004056242967</id><published>2012-08-13T21:02:00.003-07:00</published><updated>2012-08-13T21:02:48.905-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dynamics AX 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Licensing"/><title type='text'>CAL License or Server License for SQL Server in AX Environment</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Question&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Should we use CAL based licensing or server based&amp;nbsp;licensing for SQL Server in AX Environment?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Answer&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Please read the link from &lt;a href=&quot;http://www.google.com.au/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CGUQFjAA&amp;amp;url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F3%2FD%2F7%2F3D7C4FAC-A971-4078-9909-E05EB619EE7F%2FDynamics_AX_2012_Licensing_Guide_CustomerEdition.pdf&amp;amp;ei=Js0pULf5KLCPiAf93IEw&amp;amp;usg=AFQjCNGuzZEpU_5wtzgJk3Hih3VODiIVng&amp;amp;sig2=z0FM97t2hUBmh_AW9FHtYg&quot;&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/2339827004056242967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/08/cal-license-or-server-license-for-sql.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2339827004056242967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2339827004056242967'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/08/cal-license-or-server-license-for-sql.html' title='CAL License or Server License for SQL Server in AX Environment'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-826834070705213691</id><published>2012-08-01T19:34:00.000-07:00</published><updated>2012-08-01T19:34:20.769-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dynamics ax"/><title type='text'>Matching Invoices to Portions of a Packing Slip</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Question&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Is there any way to find out invoices corresponding to&amp;nbsp;individual&amp;nbsp;packing slips&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Answer&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There is a link between &lt;b&gt;&lt;i&gt;InventTrans&lt;/i&gt;&lt;/b&gt;, &lt;b&gt;&lt;i&gt;CustInvoiceJourn&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;CustPackingSlipJour&lt;/i&gt;&lt;/b&gt;. This can be used to get the desired result. Also read &lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=23769&quot;&gt;this &lt;/a&gt;document.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Links&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=23769&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=23769&lt;/span&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/826834070705213691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/08/matching-invoices-to-portions-of.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/826834070705213691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/826834070705213691'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/08/matching-invoices-to-portions-of.html' title='Matching Invoices to Portions of a Packing Slip'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-4230792688226930161</id><published>2012-07-26T23:34:00.000-07:00</published><updated>2012-07-26T23:34:51.211-07:00</updated><title type='text'>Sending email through outlook in Dynamics AX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Question:&lt;/b&gt;&lt;br /&gt;
How can i send an email in AX through outlook?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
static void OutlookEmail(Args _args)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SmmOutlookEmail smmOutlookEmail = new SmmOutlookEmail();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (smmOutlookEmail.createMailItem())&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addEMailRecipient(&#39;asamad@moorestephens.com.au&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addSubject(&quot;Test&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.isHTML(true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addBodyText(&#39;Test&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.sendEMail(smmSaveCopyofEmail::No);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/4230792688226930161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/sending-email-through-outlook-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4230792688226930161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/4230792688226930161'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/sending-email-through-outlook-in.html' title='Sending email through outlook in Dynamics AX'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-1255731184566285598</id><published>2012-07-24T02:10:00.001-07:00</published><updated>2012-07-24T02:10:09.237-07:00</updated><title type='text'>Dynamics AX (2009 &amp; 2012): How to get On-Hand inventory of past years (by date)</title><content type='html'>&lt;a href=&quot;http://dynamicsax-world.blogspot.com.au/2011/05/how-to-get-on-hand-inventory-of-past.html&quot;&gt;Dynamics AX (2009 &amp;amp; 2012): How to get On-Hand inventory of past years (by date)&lt;/a&gt;: &quot;How to get On-Hand inventory of past years (by date)&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/1255731184566285598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/dynamics-ax-2009-2012-how-to-get-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/1255731184566285598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/1255731184566285598'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/dynamics-ax-2009-2012-how-to-get-on.html' title='Dynamics AX (2009 &amp; 2012): How to get On-Hand inventory of past years (by date)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-2885922707601903550</id><published>2012-07-23T21:59:00.001-07:00</published><updated>2012-07-23T21:59:53.356-07:00</updated><title type='text'>Re: AXADOMD is not installed error. - Microsoft Dynamics AX Forum - Microsoft Dynamics AX - Microsoft Dynamics Community</title><content type='html'>&lt;a href=&quot;http://community.dynamics.com/product/ax/f/33/p/68960/132103.aspx&quot;&gt;Re: AXADOMD is not installed error. - Microsoft Dynamics AX Forum - Microsoft Dynamics AX - Microsoft Dynamics Community&lt;/a&gt;: &quot;AXADOMD is not installed error&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/2885922707601903550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/re-axadomd-is-not-installed-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2885922707601903550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/2885922707601903550'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/re-axadomd-is-not-installed-error.html' title='Re: AXADOMD is not installed error. - Microsoft Dynamics AX Forum - Microsoft Dynamics AX - Microsoft Dynamics Community'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-3599281881073694333</id><published>2012-07-22T16:55:00.001-07:00</published><updated>2012-07-22T16:55:14.053-07:00</updated><title type='text'>David Sandor | SOLVED: You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions.</title><content type='html'>&lt;a href=&quot;http://davidsandor.com/post/2009/07/17/SOLVED-You-must-install-SQL-Server-2005-Analysis-Services-with-Service-Pack-2-or-higher-before-installing-the-Analysis-extensions.aspx&quot;&gt;David Sandor | SOLVED: You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions.&lt;/a&gt;: &quot;You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/3599281881073694333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/david-sandor-solved-you-must-install.html#comment-form' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/3599281881073694333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/3599281881073694333'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/david-sandor-solved-you-must-install.html' title='David Sandor | SOLVED: You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-8864655270129342784</id><published>2012-07-19T19:56:00.001-07:00</published><updated>2012-07-19T19:56:44.487-07:00</updated><title type='text'>AxUpdatePortal not working with SharePoint 2010</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;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Question:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When trying to deploy files using &lt;b&gt;&lt;i&gt;AxUpdatePortal &lt;/i&gt;&lt;/b&gt;utility in a SharePoint 2010 environment, the utility is not working at all.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Answer:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Make sure you have completed all the steps mentioned in the &lt;a href=&quot;https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;en-US;2278963&quot;&gt;&lt;b&gt;&lt;i&gt;KB&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;2278963.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/8864655270129342784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/axupdateportal-not-working-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/8864655270129342784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/8864655270129342784'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/axupdateportal-not-working-with.html' title='AxUpdatePortal not working with SharePoint 2010'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7127373624577635854</id><published>2012-07-18T22:36:00.001-07:00</published><updated>2012-07-18T22:36:26.560-07:00</updated><title type='text'>Server wallpaper with configuration info</title><content type='html'>&lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx&quot;&gt;BgInfo&lt;/a&gt;: &quot;BgInfo v4.16&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7127373624577635854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/server-wallpaper-with-configuration-info.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7127373624577635854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7127373624577635854'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/server-wallpaper-with-configuration-info.html' title='Server wallpaper with configuration info'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-6413760409242528612</id><published>2012-07-06T01:31:00.001-07:00</published><updated>2012-07-06T01:31:59.732-07:00</updated><title type='text'>Microsoft Dynamics AX: Dynamics AX 2009 Bulk Data insert using SSIS - Arijit Basu | Dynamics AX MVP</title><content type='html'>&lt;a href=&quot;http://daxguy.blogspot.com.au/2010/03/dynamics-ax-2009-bulk-data-insert-using.html&quot;&gt;Microsoft Dynamics AX: Dynamics AX 2009 Bulk Data insert using SSIS - Arijit Basu | Dynamics AX MVP&lt;/a&gt;: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/6413760409242528612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/microsoft-dynamics-ax-dynamics-ax-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/6413760409242528612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/6413760409242528612'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/microsoft-dynamics-ax-dynamics-ax-2009.html' title='Microsoft Dynamics AX: Dynamics AX 2009 Bulk Data insert using SSIS - Arijit Basu | Dynamics AX MVP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-693284126765098680</id><published>2012-07-06T01:27:00.001-07:00</published><updated>2012-07-06T01:27:03.025-07:00</updated><title type='text'>Dynamics AX 2009 - X++ Thread Development - Brandon George&#39;s Microsoft Dynamics AX Blog - AX Technical Blogs - Microsoft Dynamics Community</title><content type='html'>&lt;a href=&quot;http://community.dynamics.com/product/ax/axtechnical/b/brandongeorge/archive/2010/03/11/dynamics-ax-2009-x-43-43-thread-development.aspx&quot;&gt;Dynamics AX 2009 - X++ Thread Development - Brandon George&#39;s Microsoft Dynamics AX Blog - AX Technical Blogs - Microsoft Dynamics Community&lt;/a&gt;: &quot;Dynamics AX 2009 - X++ Thread Development&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/693284126765098680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/dynamics-ax-2009-x-thread-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/693284126765098680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/693284126765098680'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/dynamics-ax-2009-x-thread-development.html' title='Dynamics AX 2009 - X++ Thread Development - Brandon George&#39;s Microsoft Dynamics AX Blog - AX Technical Blogs - Microsoft Dynamics Community'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3914734843767545698.post-7982991583441540178</id><published>2012-07-01T18:48:00.001-07:00</published><updated>2012-07-01T18:48:22.910-07:00</updated><title type='text'>AX WONDERS: Intelligent Data Management Framework (IDMF)</title><content type='html'>&lt;a href=&quot;http://axwonders.blogspot.com.au/2011/12/intelligent-data-management-framework.html&quot;&gt;AX WONDERS: Intelligent Data Management Framework (IDMF)&lt;/a&gt;: &quot;Intelligent Data Management Framework (IDMF)&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot; style=&quot;font-size: 13px;&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://msdax.blogspot.com/feeds/7982991583441540178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msdax.blogspot.com/2012/07/ax-wonders-intelligent-data-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7982991583441540178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3914734843767545698/posts/default/7982991583441540178'/><link rel='alternate' type='text/html' href='http://msdax.blogspot.com/2012/07/ax-wonders-intelligent-data-management.html' title='AX WONDERS: Intelligent Data Management Framework (IDMF)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>