<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="www.w3.org/2005/Atom" xmlns:sy="purl.org/rss/1.0/modules/syndication/" xmlns:dc="purl.org/dc/elements/1.1/" xmlns:content="purl.org/rss/1.0/modules/content/" xmlns:wfw="wellformedweb.org/CommentAPI/" xmlns:slash="purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>All about Dynamics AX</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:04:46 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>AX 2012 - Add new address in existing Party through code</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/ax-2012-add-new-address-in-existing-party-through-code</link>
      <pubDate>Sat, 24 Sep 2011 11:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2011/09/24/ax-2012-add-new-address-in-existing-party-through-code/</guid>
      <description><![CDATA[LogisticsLocation&nbsp;&nbsp; location;&nbsp;&nbsp;&nbsp;...]]></description>
      <content:encoded><![CDATA[<p>LogisticsLocation&nbsp;&nbsp; location;<br />&nbsp;&nbsp;&nbsp; RecId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LocationRecId;<br />&nbsp;&nbsp;&nbsp; DirPartyRecId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; partyRecId = 5637174415;<br />&nbsp;&nbsp;&nbsp; LogisticsElectronicAddress&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; electronicAddress;</p>
<p>&nbsp;&nbsp;&nbsp; location = LogisticsLocation::create(DirPartyTable::findRec(partyRecId).name, false);<br />&nbsp;&nbsp;&nbsp; DirParty::addLocation(partyRecId, location.RecId, false, true);<br />&nbsp;&nbsp;&nbsp; electronicAddress.Location = location.RecId;<br />&nbsp;&nbsp;&nbsp; electronicAddress.Type = LogisticsElectronicAddressMethodType::Fax;<br />&nbsp;&nbsp;&nbsp; electronicAddress.Locator = '09012345';<br />&nbsp;&nbsp;&nbsp; electronicAddress.ValidFrom = DirUtility::getCurrentDateTime();<br />&nbsp;&nbsp;&nbsp; electronicAddress.ValidTo&nbsp;&nbsp; = DateTimeUtil::maxValue();<br />&nbsp;&nbsp;&nbsp; electronicAddress.insert();</p>]]></content:encoded>
    </item>
    <item>
      <title>AX 2012 - Get Active Dimensions from Accounting structure</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/ax-2012-get-active-dimensions-from-accounting-structure</link>
      <pubDate>Sat, 24 Sep 2011 11:11:07 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2011/09/24/ax-2012-get-active-dimensions-from-accounting-structure/</guid>
      <description><![CDATA[&nbsp;&nbsp;&nbsp;...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp; DimensionAttribute&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttr;<br />&nbsp;&nbsp;&nbsp; DimensionAttributeSetItem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttrSetItem;<br />&nbsp;&nbsp;&nbsp; DimensionAttributeSetItem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttrSetItemEditable;<br />&nbsp;&nbsp;&nbsp; DimensionEnumeration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimensionSetId;<br />&nbsp;&nbsp;&nbsp; recId&nbsp;&nbsp; editableDimensionAttributeSetId;</p>
<p>&nbsp;&nbsp;&nbsp; ;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; dimensionSetId = DimensionCache::getDimensionAttributeSetForLedger();<br />&nbsp;&nbsp;&nbsp; // Get all the active dimensions from Accounting Structure.<br />&nbsp;&nbsp;&nbsp;&nbsp; while select RecId from dimAttr<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order by Name<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; join RecId from dimAttrSetItem<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where dimAttrSetItem.DimensionAttribute == dimAttr.RecId &amp;&amp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttrSetItem.DimensionAttributeSet == dimensionSetId<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; outer join RecId from dimAttrSetItemEditable<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where dimAttrSetItemEditable.DimensionAttributeSet == editableDimensionAttributeSetId &amp;&amp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttrSetItemEditable.DimensionAttribute == dimAttr.RecId &amp;&amp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimAttrSetItemEditable.EnumerationValue == NoYes::Yes<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Info(dimAttr.name);<br />&nbsp;&nbsp;&nbsp; }</p>
<p>}</p>]]></content:encoded>
    </item>
    <item>
      <title>AX 2012 - Create new Worker/Employee through code</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/ax-2012-create-new-workeremployee-through-code</link>
      <pubDate>Fri, 29 Jul 2011 05:42:49 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2011/07/29/ax-2012-create-new-workeremployee-through-code/</guid>
      <description><![CDATA[DirPersonName&nbsp;&nbsp; DirPersonName;DirPersonName.initValue();DirPersonName.FirstName =...]]></description>
      <content:encoded><![CDATA[<p>DirPersonName&nbsp;&nbsp; DirPersonName;<br />DirPersonName.initValue();<br />DirPersonName.FirstName = "Pri02";<br />DirPersonName.LastName = "sin02";<br />&nbsp;&nbsp;&nbsp; <br />HcmWorkerTransition::newCreateHcmWorker(DirPersonName, "Empl_001");</p>]]></content:encoded>
    </item>
    <item>
      <title>AX 2012 - Create new Name &amp; Address through code</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/ax-2012-create-new-name-address-through-code</link>
      <pubDate>Fri, 29 Jul 2011 02:26:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2011/07/29/ax-2012-create-new-name-address-through-code/</guid>
      <description><![CDATA[static void createNameAndAddress(Args _args){&nbsp;&nbsp;&nbsp;...]]></description>
      <content:encoded><![CDATA[<p>static void createNameAndAddress(Args _args)<br />{<br />&nbsp;&nbsp;&nbsp; DirPartyPostalAddressView&nbsp;&nbsp; addressView;<br />&nbsp;&nbsp;&nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name;<br />&nbsp;&nbsp;&nbsp; DirPartyRecId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; partyRecId;<br />&nbsp;&nbsp;&nbsp; DirParty&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dirParty;<br />&nbsp;&nbsp;&nbsp; ;<br />&nbsp;&nbsp;&nbsp; //Create new Name<br />&nbsp;&nbsp;&nbsp; partyRecId = DirPartyTable::createNew( DirPartyType::Organization, name).RecId;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; addressView.CountryRegionId = "USA";<br />&nbsp;&nbsp;&nbsp; addressView.State = "OH";<br />&nbsp;&nbsp;&nbsp; addressView.ZipCode = "00210";<br />&nbsp;&nbsp;&nbsp; addressView.Street&nbsp; = "Park Ave";<br />&nbsp;&nbsp;&nbsp; addressView.Party = partyRecId;<br />&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; //Handel errors for addresses<br />&nbsp;&nbsp;&nbsp; if (!LogisticsAddressCountryRegion::exist(addressView.CountryRegionId))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw error(strFmt("@SYS9347",addressView.CountryRegionId));<br />&nbsp;&nbsp;&nbsp; if (addressView.County &amp;&amp; !LogisticsAddressCounty::exist(addressView.CountryRegionId, addressView.State, addressView.County))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw error(strFmt("@SYS72719",addressView.County));<br />&nbsp;&nbsp;&nbsp; if (addressView.State &amp;&amp; !LogisticsAddressState::exist(addressView.CountryRegionId, addressView.State))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw error(strFmt("@SYS72786",addressView.State));<br />&nbsp;&nbsp;&nbsp; if (!LogisticsAddressZipCode::exist(addressView.ZipCode))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw error(strFmt("@SYS24626",addressView.ZipCode));</p>
<p>&nbsp;&nbsp;&nbsp; addressView.Party&nbsp; = partyRecId;<br />&nbsp;&nbsp;&nbsp; if( addressView.Street || addressView.ZipCode || addressView.City || addressView.State || addressView.CountryRegionId)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DirParty = DirParty::constructFromPartyRecId(addressView.Party );<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DirParty.createOrUpdatePostalAddress(addressView);<br />&nbsp;&nbsp;&nbsp; }</p>
<p>}</p>]]></content:encoded>
    </item>
    <item>
      <title>Debug in AIF Classes</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/debug-in-aif-classes</link>
      <pubDate>Wed, 01 Sep 2010 00:38:44 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/09/01/debug-in-aif-classes/</guid>
      <description><![CDATA[Enable Debug on AIF Classes in AX 4.0
&nbsp;There is a Piece of code in...]]></description>
      <content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">Enable Debug on AIF Classes in AX 4.0</span></strong></p>
<p><strong><span style="text-decoration: underline;"></span></strong>&nbsp;<span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">There is a Piece of code in <b>\Classes\AifOutboundProcessingService\run or \Classes\AifInboundProcessingService\run<o:p></o:p></b></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style="color: #1f497d;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></span></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">runas(message.sourceEndpointAxUserId(),<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; classnum(AifInboundProcessingService),<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; staticmethodstr(AifInboundProcessingService, processAsUser),<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [message.pack(), messageId]);<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">just comment this code and change the scope of the static method processAsUser from the same class to public and then call it exactly as below in the run method<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AifInboundProcessingService::processAsUser([message.pack(), messageId]);<o:p></o:p></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="font-family: Calibri;">this would allow you to debug the code in Aif and the Axd's but make sure you delete these changes once you complete your debugging.<o:p></o:p></span></span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Get the EDT realation of particular table</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/get-the-edt-realation-of-particular-table</link>
      <pubDate>Tue, 13 Apr 2010 09:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/04/13/get-the-edt-realation-of-particular-table/</guid>
      <description><![CDATA[static void getFieldRel(Args _args){&nbsp;&nbsp;&nbsp; int i = 1;&nbsp;&nbsp;&nbsp; DictField...]]></description>
      <content:encoded><![CDATA[<P>static void getFieldRel(Args _args)<BR>{<BR>&nbsp;&nbsp;&nbsp; int i = 1;<BR>&nbsp;&nbsp;&nbsp; DictField dictField;<BR>&nbsp;&nbsp;&nbsp; DictRelation DR = new DictRelation(Tablenum(InventTable));<BR>&nbsp;&nbsp;&nbsp; DictTable Dict = new DictTable(Tablenum(InventTable));<BR>&nbsp;&nbsp;&nbsp; DictTable Formref;<BR>;<BR>&nbsp;&nbsp;&nbsp; while(i &lt;= Dict.fieldCnt())<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(DR.loadFieldRelation(dict.fieldCnt2Id(i)))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Formref = new DictTable(DR.loadFieldRelation(dict.fieldCnt2Id(i)));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; info("Table Name " + Formref.name());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i +=1;<BR>&nbsp;&nbsp;&nbsp; }</P>
<P>pause;<BR>}</P>]]></content:encoded>
    </item>
    <item>
      <title>Closing all windows in AX</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/closing-all-windows-in-ax</link>
      <pubDate>Tue, 13 Apr 2010 04:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/04/13/closing-all-windows-in-ax/</guid>
      <description><![CDATA[void closeAllWindows(){&nbsp;&nbsp;&nbsp;&nbsp; hwnd _hwnd, tempHwnd;&nbsp;&nbsp;&nbsp;...]]></description>
      <content:encoded><![CDATA[<P>void closeAllWindows()<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; hwnd _hwnd, tempHwnd;<BR>&nbsp;&nbsp;&nbsp; #WinApi;</P>
<P>&nbsp;&nbsp;&nbsp; While<BR>&nbsp;&nbsp;&nbsp; (WinApi::getWindow(WinAPI::getWindow(infolog.hWnd(),#GW_CHILD),#GW_CHILD))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _hwnd =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WinAPI::getWindow(WinAPI::getWindow(infolog.hWnd(),#GW_CHILD),#GW_CHILD);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WinAPI::sendMessageEx(_hwnd,#wm_sysCommand,#sc_close,0);</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(_hwnd == tempHwnd)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tempHwnd = _hwnd;<BR>&nbsp;&nbsp; }</P>
<P>}</P>]]></content:encoded>
    </item>
    <item>
      <title>BP check through code</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/bp-check-through-code</link>
      <pubDate>Tue, 13 Apr 2010 03:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/04/13/bp-check-through-code/</guid>
      <description><![CDATA[static void BPCheck(Args _args){&nbsp;&nbsp;&nbsp; SysBPCheck sysBPCheck;&nbsp;&nbsp;&nbsp;...]]></description>
      <content:encoded><![CDATA[<P>static void BPCheck(Args _args)<BR>{<BR>&nbsp;&nbsp;&nbsp; SysBPCheck sysBPCheck;<BR>&nbsp;&nbsp;&nbsp; #AOT<BR>&nbsp;&nbsp;&nbsp; Args args;<BR>&nbsp;&nbsp;&nbsp; TreeNode contextNode;<BR>&nbsp;&nbsp;&nbsp; ;</P>
<P>&nbsp;&nbsp;&nbsp; args=new Args();<BR>&nbsp;&nbsp;&nbsp; contextNode = infolog.findNode(#ClassesPath+"<A href="file://activities/">\\Activities</A>");<BR>&nbsp;&nbsp;&nbsp; args.object(contextNode);<BR>&nbsp;&nbsp;&nbsp; SysBPCheck::main(args);<BR>}<BR></P>]]></content:encoded>
    </item>
    <item>
      <title>Get application path</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/get-application-path</link>
      <pubDate>Tue, 13 Apr 2010 03:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/04/13/get-application-path/</guid>
      <description><![CDATA[
xInfo::directory( DirectoryType: :Appl)]]></description>
      <content:encoded><![CDATA[<SPAN style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN" lang=EN-IN><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN; mso-ansi-language: EN-IN; mso-bidi-language: AR-SA" lang=EN-IN>xInfo::directory( DirectoryType: :Appl)</SPAN></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Open Outlook appointment from AX</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamics_ax_horizon/open-outlook-appointment-from-ax</link>
      <pubDate>Tue, 13 Apr 2010 03:47:00 GMT</pubDate>
      <dc:creator><![CDATA[Dynamics AX Horizon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamics_ax_horizon/2010/04/13/open-outlook-appointment-from-ax/</guid>
      <description><![CDATA[static void OutlookAppointment( Args _args){&nbsp; COM sysOutlookCollectio n;&nbsp; COM...]]></description>
      <content:encoded><![CDATA[<p>static void OutlookAppointment( Args _args)<br />{<br />&nbsp; COM sysOutlookCollectio n;<br />&nbsp; COM collection;<br />&nbsp; COMVariant StartDate = new COMVariant() ;<br />&nbsp; COMVariant EndDate = new COMVariant() ;<br />&nbsp; COM c;<br />&nbsp;&nbsp; #SysOutLookCOMDEF<br />&nbsp;&nbsp; #define.mapi("MAPI")<br />&nbsp;&nbsp; #define.outlook("Outlook.Application")<br />&nbsp;&nbsp; COM sysOutlook;<br />&nbsp;&nbsp; COM sysOutlookNameSpace ;<br />&nbsp;&nbsp; COM sysOutlookMAPIFolde r;<br />;<br />&nbsp;&nbsp; sysOutlook = new COM(#outlook) ;<br />&nbsp;&nbsp; sysOutlookNameSpace = sysOutlook.getNames pace(#mapi) ;<br />&nbsp;&nbsp; sysOutlookNameSpace .logon();<br />&nbsp;&nbsp; sysOutlookMAPIFolde r = sysOutlookNameSpace .getDefaultFolde r (#OlDefaultFolders_ olFolderCalendar );<br />&nbsp;&nbsp; collection = sysOutlookMAPIFolde r.items() ;<br />&nbsp;&nbsp; c = collection.add( );<br />&nbsp;&nbsp; comStartDate. date(systemDateGet( ));<br />&nbsp;&nbsp; comStartDate. time(str2Time( "18:00:00"));<br />&nbsp;&nbsp; comEndDate.date( today());<br />&nbsp;&nbsp; comEndDate.time( str2Time( "18:30:00"));<br />&nbsp;&nbsp; c.location("Some location");<br />&nbsp;&nbsp; c.subject("Some subject");<br />&nbsp;&nbsp; c.body(Some contents");<br />&nbsp;&nbsp; c.start(comStartDat e);<br />&nbsp;&nbsp; c.end(comEndDate) ;<br />&nbsp;&nbsp; c.save();<br />&nbsp;&nbsp; if (c)<br />&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp; c.display();<br />&nbsp;&nbsp;&nbsp;&nbsp; info("This has been created in Microsoft Outlook");<br />&nbsp;&nbsp; }<br />&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp; throw error("Error");<br />&nbsp;&nbsp;&nbsp; sysOutlookNameSpace .logoff() ;<br />}</p>]]></content:encoded>
    </item>
  </channel>
</rss>