<?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-3227722488579964877</id><updated>2026-06-22T17:09:35.122+03:00</updated><category term="ax2009"/><category term="Taahhüt"/><category term="AX 2009 SP1"/><category term="Ax 6.0"/><category term="Yapım Girdi"/><category term="excel"/><category term="ihale"/><category term="import"/><category term="poz"/><category term="workflow"/><category term="Ax 2011"/><category term="Ax2012"/><category term="BOMCalcTrans"/><category term="Coloring"/><category term="EDT"/><category term="ERP"/><category term="Eğitimi"/><category term="Financial Dimension"/><category term="Itemidbase"/><category term="Logistics"/><category term="RU5"/><category term="RU6"/><category term="Trade"/><category term="VPC"/><category term="alert"/><category term="analiz"/><category term="ax"/><category term="axapta"/><category term="customer"/><category term="database"/><category term="delete company"/><category term="etg"/><category term="intercompany"/><category term="inşaat"/><category term="master planning"/><category term="ontact person"/><category term="production methods"/><category term="rgb codes"/><category term="role center"/><category term="sql"/><category term="tek kayıt görünme sorunu"/><category term="terimler"/><title type='text'>Hasan&#39;s Dynamics 365 Finance and Supply Chain World</title><subtitle type='html'>Everything about D365 FO, Ax 2009, Ax 2012, Ax 4.0, Ax 3.0. &#xa;&#xa;(As information is shared, it is valued, evaluated and multiplied)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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>63</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3227722488579964877.post-7586865408929383783</id><published>2026-06-13T14:10:54.592+03:00</published><updated>2026-06-13T14:10:54.593+03:00</updated><title type='text'>LCS’den PPAC’e Geçiş: D365 Finance &amp; Operations’ta Elastic Compute Dönemi</title><content type='html'>&lt;p&gt;&amp;nbsp;Microsoft’un Dynamics 365 Finance &amp;amp; Operations platformunda gerçekleştirdiği LCS (Lifecycle Services) → PPAC (Power Platform Admin Center) dönüşümü, ilk bakışta yalnızca bir yönetim portalı değişikliği gibi görünebilir. Ancak gerçekte bu geçiş, D365 FO altyapısının çalışma mantığında köklü bir değişimi temsil etmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu dönüşümün en önemli parçalarından biri ise “Elastic Compute” modelidir.&lt;/p&gt;&lt;h2&gt;Sabit Katman (Tier) Döneminin Sonu&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Uzun yıllar boyunca D365 Finance &amp;amp; Operations ortamları sabit katman mantığı ile yönetiliyordu. Örneğin bir Tier 2 Sandbox veya Production ortamı belirli bir CPU ve bellek kapasitesine sahipti.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu model bazı önemli kısıtlar getiriyordu:&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;Sandbox ve Production ortamları farklı topolojilere sahipti.&lt;/li&gt;&lt;li&gt;UAT ve performans testleri gerçek Production davranışını tam olarak yansıtmıyordu.&lt;/li&gt;&lt;li&gt;Kapasite artırımı için destek talepleri, sözleşme değişiklikleri veya ortam yükseltmeleri gerekiyordu.&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Sonuç olarak müşteriler, gelecekteki yüklerini önceden tahmin etmek ve buna göre kapasite satın almak zorundaydı.&lt;/p&gt;&lt;h2&gt;Elastic Compute Nedir?&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;PPAC ile birlikte Microsoft, sabit sunucu kapasitesi yaklaşımından uzaklaşarak elastik ölçeklenebilirlik modeline geçiyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Yeni modelde müşteriler artık belirli boyutta sunucular satın almıyor; bunun yerine ihtiyaç duyulduğunda otomatik olarak genişleyen bir kapasite havuzundan faydalanıyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu sayede Sandbox ve Production ortamları aynı performans modelini kullanıyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bunun en önemli sonucu şudur:&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;&lt;strong&gt;Sandbox ortamlarında yapılan performans testleri, Production davranışına çok daha yakın sonuçlar vermeye başlayacaktır.&lt;/strong&gt;&lt;/p&gt;&lt;h2&gt;AOS Mimarisi Nasıl Değişiyor?&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;D365 Finance &amp;amp; Operations’ın temel işlem katmanı olan Application Object Server (AOS), sistemin iş yükünü taşımaya devam ediyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;AOS sunucuları;&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;X++ iş mantığını çalıştırır,&lt;/li&gt;&lt;li&gt;Kullanıcı işlemlerini yönetir,&lt;/li&gt;&lt;li&gt;OData ve özel servis çağrılarını işler,&lt;/li&gt;&lt;li&gt;Entegrasyon trafiğini yönetir,&lt;/li&gt;&lt;li&gt;Batch süreçlerini yürütür.&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Yeni mimaride bir ortam en fazla:&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;40 adet Interactive AOS&lt;/li&gt;&lt;li&gt;40 adet Batch AOS&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;olmak üzere toplam 80 AOS instance’a kadar ölçeklenebilmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Microsoft yeni ortamları minimum kapasitede değil, orta seviyede bir başlangıç kapasitesi ile oluşturmaktadır. Böylece günlük operasyonlarda performans sorunları yaşanmasının önüne geçilmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Kullanıcı sayısı arttığında veya sistem yükü yükseldiğinde platform otomatik olarak yeni AOS instance’ları devreye alabilmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu ölçekleme sırasında:&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;Servis kesintisi yaşanmaz,&lt;/li&gt;&lt;li&gt;Kullanıcı oturumları kaybolmaz,&lt;/li&gt;&lt;li&gt;Uygulama erişilebilir kalmaya devam eder.&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Ölçek Küçültme Neden Daha Farklı?&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Ölçek büyütmek görece kolaydır. Ancak ölçek küçültmek daha dikkatli yönetilmesi gereken bir süreçtir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bunun nedeni AOS sunucularının “stateful” yapıda olmasıdır. Kullanıcı oturumları ve önbellek bilgileri sunucu belleğinde tutulmaktadır.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu nedenle Microsoft, ölçek küçültme işlemlerini genellikle:&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;Planlı bakım süreçlerinde,&lt;/li&gt;&lt;li&gt;Uygulama güncellemelerinde,&lt;/li&gt;&lt;li&gt;Deploy işlemleri sırasında&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;gerçekleştirmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Böylece kullanıcı deneyimi korunurken sistem yeniden temel kapasitesine dönebilmektedir.&lt;/p&gt;&lt;h2&gt;Yeni Kapasite Birimi: Power Platform Requests (PPR)&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Elastic Compute ile birlikte lisanslama yaklaşımı da değişmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Eskiden kapasite sunucu katmanları üzerinden tanımlanırken, yeni modelde kapasite Power Platform Requests (PPR) üzerinden yönetilmektedir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Temel prensipler şu şekildedir:&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;Her AOS instance yaklaşık 650.000 PPR kapasitesine karşılık gelmektedir.&lt;/li&gt;&lt;li&gt;Dynamics 365 lisansı bulunan tenant’lara başlangıçta 500.000 PPR verilmektedir.&lt;/li&gt;&lt;li&gt;Kullanıcı lisansları ilave PPR kapasitesi sağlamaktadır.&lt;/li&gt;&lt;li&gt;Gerektiğinde ek PPR satın alınarak kapasite artırılabilmektedir.&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu yaklaşım, altyapı satın alma modelinden tüketim bazlı bulut modeline geçiş anlamına gelmektedir.&lt;/p&gt;&lt;h2&gt;Müşteriler İçin Ne Değişecek?&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Örneğin;&lt;/p&gt;&lt;ul data-spread=&quot;false&quot;&gt;&lt;li&gt;300 kullanıcısı olan,&lt;/li&gt;&lt;li&gt;Yoğun API entegrasyonları kullanan,&lt;/li&gt;&lt;li&gt;Power Automate süreçleri çalıştıran,&lt;/li&gt;&lt;li&gt;Copilot ve Dataverse yeteneklerinden faydalanan&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;bir şirket düşünelim.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Ay sonu finansal kapanış döneminde sistem yükü ciddi şekilde artabilir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Eski modelde bu durum için önceden kapasite planlaması yapmak gerekiyordu.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Yeni modelde ise yeterli PPR kapasitesi bulunduğu sürece sistem ihtiyaca göre otomatik olarak büyüyebilecektir.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu da D365 Finance &amp;amp; Operations’ı klasik ERP altyapısından uzaklaştırarak, Azure benzeri gerçek bir bulut platformuna dönüştürmektedir.&lt;/p&gt;&lt;h2&gt;Sonuç&lt;/h2&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;LCS’den PPAC’e geçiş yalnızca yeni bir yönetim ekranı anlamına gelmiyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Bu değişim, Dynamics 365 Finance &amp;amp; Operations’ın Power Platform ile bütünleşmiş, otomatik ölçeklenebilen ve tüketim bazlı çalışan modern bir SaaS platformuna dönüşümünü temsil ediyor.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Gelecekte D365 FO yöneten ekiplerin yalnızca ortam yönetimini değil, aynı zamanda PPR kapasitesi, ölçeklenebilirlik ve Power Platform entegrasyonlarını da yönetmesi gerekecek.&lt;/p&gt;&lt;p class=&quot;isSelectedEnd&quot;&gt;Çünkü artık D365 dünyasında asıl soru:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;“Kaç sunucu kullanıyorum?” değil, “Ne kadar kapasite tüketiyorum?” olacaktır.&lt;/strong&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/7586865408929383783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2026/06/lcsden-ppace-gecis-d365-finance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7586865408929383783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7586865408929383783'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2026/06/lcsden-ppace-gecis-d365-finance.html' title='LCS’den PPAC’e Geçiş: D365 Finance &amp; Operations’ta Elastic Compute Dönemi'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-5657561069752602466</id><published>2022-11-26T14:17:00.003+03:00</published><updated>2022-11-26T14:17:35.049+03:00</updated><title type='text'>D365 FO error: Unable to install this application because an application with the same identity is already installed</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px;&quot;&gt;I was trying to open workflow configuration form in D365 Finance and getting below error.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; font-stretch: normal; line-height: 1.33; margin: 0px 0px 30px; text-rendering: optimizelegibility;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application&lt;/strong&gt;.&lt;/p&gt;&lt;h2 id=&quot;cause&quot; style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 40px; margin: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Cause&lt;/h2&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; font-stretch: normal; line-height: 1.33; margin: 0px 0px 30px; text-rendering: optimizelegibility;&quot;&gt;This issue occurs if the application was cached in the ClickOnce application cache. The application must be removed from the cache before you can successfully run it.&lt;/p&gt;&lt;h2 id=&quot;solution&quot; style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 40px; margin: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Solution&lt;/h2&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; font-stretch: normal; line-height: 1.33; margin: 0px; text-rendering: optimizelegibility;&quot;&gt;To clear the ClickOnce application cache, follow these steps:&lt;/p&gt;&lt;ol style=&quot;background-color: white; box-sizing: border-box; color: #2b2b2b; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe UI Web Regular&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Segoe WP&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 1.5em; list-style-image: initial; list-style-position: initial; margin: 1em 0px; padding: 0px 0px 0px 40px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Click&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Start&lt;/strong&gt;, click&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Run&lt;/strong&gt;, type cmd, and then click&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Type the following command, and then press Enter:&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;rundll32 dfshim CleanOnlineAppCache&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/5657561069752602466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2022/11/d365-fo-error-unable-to-install-this.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5657561069752602466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5657561069752602466'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2022/11/d365-fo-error-unable-to-install-this.html' title='D365 FO error: Unable to install this application because an application with the same identity is already installed'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-9052302608925123155</id><published>2021-10-25T22:20:00.007+03:00</published><updated>2021-10-25T22:20:35.536+03:00</updated><title type='text'>D365 FO Task recorder screenshots</title><content type='html'>&lt;p&gt;&amp;nbsp;https://syedrafayali.wordpress.com/2019/02/14/dynamics-365-task-recorder-screenshots-extensions/&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/9052302608925123155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2021/10/d365-fo-task-recorder-screenshots.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9052302608925123155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9052302608925123155'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2021/10/d365-fo-task-recorder-screenshots.html' title='D365 FO Task recorder screenshots'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-8624200586509339669</id><published>2020-10-28T15:28:00.002+03:00</published><updated>2020-10-28T15:29:56.134+03:00</updated><title type='text'>Setting up PowerBI embedded and Analytical workspaces in Dynamics 365 for Finance and Operations in a OneBox Environment</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/archive/blogs/dynamicsaxbi/accessing-analytical-workspaces-on-1box-environment&quot;&gt;https://docs.microsoft.com/en-us/archive/blogs/dynamicsaxbi/accessing-analytical-workspaces-on-1box-environment&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.everythingdynamicsaxbi.com/2019/02/03/how-to-configure-power-bi-embedded-for-dynamics-365-for-finance-and-operations-one-box-environment/&quot;&gt;http://www.everythingdynamicsaxbi.com/2019/02/03/how-to-configure-power-bi-embedded-for-dynamics-365-for-finance-and-operations-one-box-environment/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/8624200586509339669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2020/10/setting-up-powerbi-embedded-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/8624200586509339669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/8624200586509339669'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2020/10/setting-up-powerbi-embedded-and.html' title='Setting up PowerBI embedded and Analytical workspaces in Dynamics 365 for Finance and Operations in a OneBox Environment'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-2607908507461187843</id><published>2019-12-28T15:04:00.001+03:00</published><updated>2019-12-28T15:04:14.625+03:00</updated><title type='text'>Attaching a selected document to Dynamics 365 for Finance and Operations</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;PurchTable&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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; purchaseTable;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Net.&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;WebClient&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webClient;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;MemoryStream&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; stream;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;FileUploadTemporaryStorageResult&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;fileUploadResult =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;File&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;::GetFileFromUser (&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;classstr&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;ImageFileUploadTemporaryStorageStrategy&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;));&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;(fileUploadResult &amp;amp;&amp;amp; fileUploadResult.getUploadStatus())&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;span style=&quot;color: dodgerblue; font-family: consolas; font-size: 9.5pt;&quot;&gt;str&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;imageFilePathName = fileUploadResult.getDownloadUrl();&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;InteropPermission&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;perm =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;InteropPermission&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;InteropKind&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;::ClrInterop);&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perm.assert();&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: green; font-family: consolas; font-size: 9.5pt;&quot;&gt;// BP Deviation Documented&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webClient =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;System.Net.&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;WebClient&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;();&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: green; font-family: consolas; font-size: 9.5pt;&quot;&gt;// BP Deviation Documented&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;System.IO.&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;MemoryStream&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;(webClient.DownloadData(imageFilePathName));&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;purchaseTable&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;where&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;purchaseTable.PurchId ==&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: consolas; font-size: 9.5pt;&quot;&gt;&quot;PO-0002&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: green; font-family: consolas; font-size: 9.5pt;&quot;&gt;// any record for tables&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: green; font-family: consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;DocuRef&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;docuref =&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;DocumentManagement&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;::attachFile(purchaseTable.TableId,purchaseTable.RecId, purchaseTable.DataAreaId,&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;DocuType&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;::typeFile(),stream,fileUploadResult.getFileName(), fileUploadResult.getFileContentType(),fileUploadResult.getFileName());&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: green; font-family: consolas; font-size: 9.5pt;&quot;&gt;// download/view the attachment&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;span style=&quot;color: dodgerblue; font-family: consolas; font-size: 9.5pt;&quot;&gt;str&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;displayUrl = DocumentManagement::getAttachmentPublicUrl(docuref);&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&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;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;Browser&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;br =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;Browser&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;();&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; br.navigate(displayUrl);&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkcyan; font-family: consolas; font-size: 9.5pt;&quot;&gt;CodeAccessPermission&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;::revertAssert();&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: consolas; font-size: 9.5pt;&quot;&gt;thanks for great help...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; color: #606060; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 14.49px; line-height: normal; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://prdpmv.blogspot.com/2017/08/attaching-user-selected-document-to.html&quot;&gt;http://prdpmv.blogspot.com/2017/08/attaching-user-selected-document-to.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/2607908507461187843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2019/12/attaching-selected-document-to-dynamics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2607908507461187843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2607908507461187843'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2019/12/attaching-selected-document-to-dynamics.html' title='Attaching a selected document to Dynamics 365 for Finance and Operations'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-1678410482073117094</id><published>2019-11-13T14:50:00.001+03:00</published><updated>2019-11-13T14:50:31.801+03:00</updated><title type='text'>run report not in d365 fo menu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://rapiduat1.sandbox.operations.dynamics.com/?cmp=1061&amp;amp;mi=Output%3ASysCompanySize&quot;&gt;https://xxxxxx.sandbox.operations.dynamics.com/?cmp=xxxx&amp;amp;mi=Output%3ASysCompanySize&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/1678410482073117094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2019/11/run-report-not-in-d365-fo-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/1678410482073117094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/1678410482073117094'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2019/11/run-report-not-in-d365-fo-menu.html' title='run report not in d365 fo menu'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-6274456702254787227</id><published>2019-11-06T17:34:00.005+03:00</published><updated>2019-11-06T17:34:52.928+03:00</updated><title type='text'>default dimension ve ledger dimension relationship</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
thank you for blog&amp;nbsp;&lt;a class=&quot;url fn n profile-usercard-hover&quot; data-profile-rendered=&quot;true&quot; data-profile-userid=&quot;eda914cf2f164f6fb160f49a14d3fe1b&quot; href=&quot;https://social.msdn.microsoft.com/profile/Bill+Frandsen&quot; style=&quot;background-color: white; box-sizing: border-box; color: #337ab7; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 13px; text-decoration-line: none;&quot;&gt;Bill Frandsen&lt;/a&gt;..&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogs.msdn.microsoft.com/ax_gfm_framework_team_blog/2013/02/15/ledger-account-combinations-part-1-dimensions/&quot;&gt;https://blogs.msdn.microsoft.com/ax_gfm_framework_team_blog/2013/02/15/ledger-account-combinations-part-1-dimensions/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Introduction&lt;/h4&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;In Dynamics AX 2009, dimensions were limited to a minimum of three and a maximum of ten, and entered in a set order that required code customizations and database synchronization for each dimension added. In Dynamics AX 2012, the dimension framework was expanded to allow unlimited dimensions which can be dynamically created by the user, and entered in any order. The unlimited nature of the new model, coupled with taking advantage of relational database design as well as optimizing for performance requirements has led to a more complex data model than existed in the past.&amp;nbsp; In this series of blog posts, we will discuss the various areas of the dimension framework, and how they work together to give a better understanding of “What happens when I create a ledger account combination?”&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;The model below in figure 1 shows the various areas within the dimension framework.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/5008.P1_IMG1.png&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/5008.P1_5F00_IMG1.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/5008.P1_5F00_IMG1.png&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/5008.P1_IMG1.png&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Figure 1: Dimensions in framework&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;This initial blog post covers the Dimensions, Dimension Values, Categorizations and Backing Entities regions highlighted in figure 1 above in pale yellow.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Subsequent blog posts will cover:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-2-_2800_dimension-enumerations-default-dimensions_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;Dimension Enumerations and Default Dimensions&quot;&gt;Dimension Enumerations and Default Dimensions&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-3-_2800_structures-constraints_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;Structures and Constraints&quot;&gt;Structures and Constraints&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-4-_2800_advanced-rules_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;Advanced Rules&quot;&gt;Advanced Rules&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-5-_2800_ledger-dimensions_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;LedgerDimensions&quot;&gt;LedgerDimensions&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-7-_2800_advanced-topics_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;Advanced topics  &quot;&gt;Advanced topics&lt;/a&gt;&amp;nbsp;including hash keys, hashes and other key data model elements&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Dimension Attributes&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;A dimension attribute, which will be referred to as a dimension, simply represents an additional piece of classifying information that a user would like to associate with a ledger account combination. It represents classes of things, not specific instances. Examples of things that can be used to create a dimension are Department, Cost Center, Expense Purpose, Customer, Vendor, Item – which are all classes of entities that already exist in the system; or custom entities that are specific to a particular installation such as license plate number or event name or ticket number.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;When a dimension is created, the user chooses to use values for it from either an existing entity in the system such as Customers or Departments, or to create a custom list. The dimension framework keeps track of a reference for this dimension to a table in the system.&amp;nbsp; For existing entities such as Customers, a reference to the CustTable table is used.&amp;nbsp; For custom entities that are defined by the user, a reference to the DimensionFinancialTag table is used.&amp;nbsp; This metadata about what a dimension represents is stored in the DimensionAttribute table for each dimension defined.&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;The following form shows an example of two dimensions, one to represent customers that already exist in the application, and another that represents a new custom list.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/4174.P1_IMG2.png&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/4174.P1_5F00_IMG2.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/4174.P1_5F00_IMG2.png&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/4174.P1_IMG2.png&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Figure 2: Financial dimensions form&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;The data is stored in the DimensionAttribute table. The SQL query below in figure 3 shows some of the basic information associated with each dimension.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/0334.P1_IMG3.png&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/0334.P1_5F00_IMG3.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/0334.P1_5F00_IMG3.png&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/0334.P1_IMG3.png&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Figure 3: DimensionAttribute storage query results&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;The Type determines whether the dimension is backed by an existing entity in the system or a custom list.&amp;nbsp; It is also important to note that the dimension framework does not directly reference the existing entity backing table such as CustTable. Instead, a custom view is created to make an entity available in the system for use in the dimension framework. As of Dynamics AX 2012 R2, 36 existing entities have been enabled to be used as dimensions in the system.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;It is possible for a user to create more than one dimension based on the same entity. There may be instances where an entity in the system is used for multiple different purposes when classifying transaction activity in the system.&amp;nbsp; In this case, multiple dimensions can be defined for it, one for each of its purposes.&amp;nbsp; A common example would be a cost center backing entity used to represent the primary cost center (e.g. selling) and the cost center the transaction is being traded against (e.g. purchasing).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Internally, special dimensions exist that are automatically created to support key functionality of the dimension framework. A primary example is the Main Account dimension. This allows a main account to be treated as a dimension by the dimension framework, but also prevents it from being used by a user to create a dimension. The other types of special dimensions are system generated ones that are used by the dimension framework for internal purposes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Dimension Attribute Values&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;A dimension attribute value is a specific instance of a dimension used within the dimension framework. The values for a dimension are determined by the ViewName specified on the DimensionAttribute record. In the case of an existing entity, such as CustTable, values consist of the records in that table. In the case of a custom list, it is a specific set of records within the DimensionFinancialTag table.&amp;nbsp; Values that are available for a particular dimension are viewable by clicking the “Financial dimension values” button on the Dimension details form as shown in figure 2 above. When the list is provided by an existing entity, such as CustTable, it is not editable from this form. To create a new dimension value for Customer, the user would go directly to the Customer form and create a new customer.&amp;nbsp; Once created, the new customer will become available for use in the dimension framework. When the list is provided by the user as a custom list, the user will be able to modify the list directly on this form.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Example of a list of values provided by CustTable (with no values stored in the dimension framework):&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/8461.P1_IMG4.jpg&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/8461.P1_5F00_IMG4.jpg&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/8461.P1_5F00_IMG4.jpg&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/8461.P1_IMG4.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Figure 4: Financial dimensions values form (existing list)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Example when provided by a custom list (with values stored in the dimension framework):&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/3716.P1_IMG5.jpg&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/3716.P1_5F00_IMG5.jpg&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/3716.P1_5F00_IMG5.jpg&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/3716.P1_IMG5.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Figure 5: Financial dimensions form (custom list)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/8637.Fix1_6.png&quot; original-url=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/8637.Fix1_5F00_6.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; original-url=&quot;http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-50-86/8637.Fix1_5F00_6.png&quot; src=&quot;https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/50/86/8637.Fix1_6.png&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Figure 6: Dimension setup tables query results&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;In both of these cases, the Financial dimension values form is displaying what values exist for the entity, not what values have actually been used within the dimension framework.&amp;nbsp; The dimension framework representation of these values is not created until it is used within the framework requiring it to hold a reference to it. This allows for the ability for values to be deleted that have not yet been used, and for storage size and performance optimization.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;Once a dimension value is referenced requiring it to be saved by the dimension framework, it is stored in the DimensionAttributeValue table.&amp;nbsp; This table is the link between the DimensionAttribute and the specific RecId of the record in the ViewName view or table referenced on the DimensionAttribute. Both the DimensionAttribute and DimensionAttributeValue records are needed to navigate back to the originating value that the user has entered.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;In a system where nothing has been referenced by the dimension framework, there will be no records in the DimensionAttributeValue table.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Calibri;&quot;&gt;In the&amp;nbsp;&lt;a href=&quot;http://blogs.msdn.com/b/ax_gfm_framework_team_blog/archive/2013/02/15/ledger-account-combinations-part-2-_2800_dimension-enumerations-default-dimensions_2900_-.aspx&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration-line: none;&quot; title=&quot;next blog post&quot;&gt;next blog post&lt;/a&gt;, the storage of dimensions as dimension enumerations and of dimension values as default dimensions will be explained.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6274456702254787227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2019/11/default-dimension-ve-ledger-dimension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6274456702254787227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6274456702254787227'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2019/11/default-dimension-ve-ledger-dimension.html' title='default dimension ve ledger dimension relationship'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-8732434267063694342</id><published>2019-07-29T17:10:00.004+03:00</published><updated>2019-07-29T17:10:19.443+03:00</updated><title type='text'>Create warehouse addresses through code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: 9.75pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;InventLocation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; warehouse;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; LogisticsPostalAddressView &amp;nbsp; &amp;nbsp; &amp;nbsp;postalAddressView;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; LogisticsPostalAddress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;postalAddress;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; LogisticsEntityLocationMap &amp;nbsp; &amp;nbsp; &amp;nbsp; locationMap;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; role, roleMap;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; Map &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
LocationRoleMap;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; LogisticsPostalAddressEntity &amp;nbsp; &amp;nbsp;postalAddressEntity &amp;nbsp;=
new LogisticsPostalAddressEntity();&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; warehouse &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp;= InventLocation::find(&#39;CR004&#39;);&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.Street &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &#39;Test street222&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.City &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &#39;Tcity&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; = &#39;&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.ZipCode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; = &#39;622001&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.CountryRegionId &amp;nbsp; = &#39;SASCO&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddressView.LocationName &amp;nbsp; &amp;nbsp; &amp;nbsp; = &#39;TDlvAddr&#39;;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; postalAddress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=
postalAddressEntity.createPostalAddress(postalAddressView);&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =
LogisticsEntityLocationMap::find(tableNum(InventLocationLogisticsLocation),
warehouse.RecId, postalAddress.Location);&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.Entity &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= warehouse.RecId;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.Location &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; = postalAddress.Location;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.IsPostalAddress &amp;nbsp; &amp;nbsp; = NoYes::Yes;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.IsPrimary &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =
NoYes::Yes;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.IsPrivate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;= NoYes::No;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; LocationRoleMap &amp;nbsp; &amp;nbsp; &amp;nbsp; =
LogisticsLocationEntity::getDefaultLocationRoleFromEntity(tableName2id(&quot;InventLocation&quot;));&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; roleMap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; = map2Con(LocationRoleMap);&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; role &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= conpeek(roleMap, 1);&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 9.75pt; margin: 0in;&quot;&gt;
&amp;nbsp;
&amp;nbsp; locationMap.addEntityLocation(role ,true);&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #979797; font-size: 13px;&quot;&gt;thanks.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://axcorner.blogspot.com/2014/01/create-warehouse-addresses-through-code.html&quot; style=&quot;font-size: 13px;&quot;&gt;http://axcorner.blogspot.com/2014/01/create-warehouse-addresses-through-code.html&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/8732434267063694342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2019/07/create-warehouse-addresses-through-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/8732434267063694342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/8732434267063694342'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2019/07/create-warehouse-addresses-through-code.html' title='Create warehouse addresses through code'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-5179082301700814837</id><published>2017-12-12T22:06:00.003+03:00</published><updated>2017-12-12T22:06:11.241+03:00</updated><title type='text'>Lookup not works in Enterprise portal</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
If user clicks on lookups then lookup form will display but the selected value will not reflect in to the text box.&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
Solution: Disable IE ESC for the users&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;1. Open the Server Manager Tool. Configure IE ESC is located on the right hand side of the interface in the section heading Security Information.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;2. Select the link Configure IE Esc and the configuration window will open. At this point you can choose whether to turn off IE ESC for Administrators or for Users or for both.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/5179082301700814837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2017/12/lookup-not-works-in-enterprise-portal_12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5179082301700814837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5179082301700814837'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2017/12/lookup-not-works-in-enterprise-portal_12.html' title='Lookup not works in Enterprise portal'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-753795691254092102</id><published>2017-11-01T13:15:00.001+03:00</published><updated>2017-11-01T13:15:37.201+03:00</updated><title type='text'>hata: excel aktarım: The number of arguments provided is different from the number of arguments accepted by the method.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;pre class=&quot;prettyprint linenums x-hidden-focus&quot; style=&quot;background: rgb(238, 238, 238) !important; border: none !important; box-sizing: border-box; font-family: monospace, serif; font-size: 12px; padding: 10px !important; white-space: pre-wrap;&quot;&gt;The number of arguments provided is different from the number of arguments accepted by the method.
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
Update post :&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;x-hidden-focus&quot; style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
The solution is &amp;nbsp;:&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 16px;&quot;&gt;
&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background: rgb(238, 238, 238) !important; border: none !important; box-sizing: border-box; font-family: monospace, serif; font-size: 12px; margin-left: 30px; padding: 10px !important; white-space: pre-wrap;&quot;&gt;boolean importLines()
{
    SysExcelApplication         application = SysExcelApplication::construct();
    SysExcelWorkBooks           workBooks   = application.workbooks();
    SysExcelWorkSheets          workSheets;
    SysExcelWorkSheet           workSheet;
    SysExcelCells               cells;
    &lt;/pre&gt;
&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background: rgb(238, 238, 238) !important; border: none !important; box-sizing: border-box; font-family: monospace, serif; font-size: 12px; padding: 10px !important; white-space: pre-wrap;&quot;&gt;// the solution is puting the bellow line code  after initializing SysExcelApplication&lt;/pre&gt;
&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background: rgb(238, 238, 238) !important; border: none !important; box-sizing: border-box; font-family: monospace, serif; font-size: 12px; padding: 10px !important; white-space: pre-wrap;&quot;&gt;application.displayAlerts(false);&lt;/pre&gt;
&lt;pre class=&quot;prettyprint linenums x-hidden-focus&quot; style=&quot;background: rgb(238, 238, 238) !important; border: none !important; box-sizing: border-box; font-family: monospace, serif; font-size: 12px; padding: 10px !important; white-space: pre-wrap;&quot;&gt;//.... code

//and In the end 
application.workbooks().close(); 
application.quit(); 
application.finalize(); 
application = null;
 }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/753795691254092102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2017/11/hata-excel-aktarm-number-of-arguments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/753795691254092102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/753795691254092102'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2017/11/hata-excel-aktarm-number-of-arguments.html' title='hata: excel aktarım: The number of arguments provided is different from the number of arguments accepted by the method.'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-2334382899031172832</id><published>2017-02-12T15:10:00.002+03:00</published><updated>2017-02-12T15:10:49.597+03:00</updated><title type='text'>Approve Workflow by Code x++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
WorkflowWorkItemTable WorkflowWorkItemTable;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; while select WorkflowWorkItemTable&lt;br /&gt;
&amp;nbsp; &amp;nbsp; where&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkflowWorkItemTable.UserId == &#39;hasan.bi&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &amp;nbsp;workflowWorkItemTable.Type == WorkflowWorkItemType::WorkItem&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &amp;nbsp;workflowWorkItemTable.Status == WorkflowWorkItemStatus::Pending&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &amp;nbsp;WorkflowWorkItemTable.RefTableId == tableNum(CPMContractAdvanceRequest)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkflowWorkItemActionManager::dispatchWorkItemAction(&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkflowWorkItemTable,&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Auto Approve by ADMIN&quot;, // comment&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;hasan.bi&#39;, // &amp;lt;&amp;lt; user ID&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkflowWorkItemActionType::Complete,&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;CPMContractAdvanceRequestAppApprove&quot;, // &amp;lt;&amp;lt; menu item action approval workflow&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; false); //is not web Menu Item&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/2334382899031172832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2017/02/approve-workflow-by-code-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2334382899031172832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2334382899031172832'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2017/02/approve-workflow-by-code-x.html' title='Approve Workflow by Code x++'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-6056771820209198055</id><published>2017-02-05T15:21:00.004+03:00</published><updated>2017-02-05T15:21:29.234+03:00</updated><title type='text'>CIL generation errors and solutions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
thansks blog..&lt;/h3&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
&lt;a href=&quot;http://axvuongbao.blogspot.com.tr/2013/12/fix-parameter-could-not-be-serialized.html&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;http://axvuongbao.blogspot.com.tr/2013/12/fix-parameter-could-not-be-serialized.html&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Fix some errors from: CIL generation, Database Synchronize in AX 2012&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 10.8px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6044139224724215561&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;1.)&amp;nbsp;&quot;A parameter could not be serialized&quot;:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;For a quick resolve: uncheck option &quot;Excute business operations in CIL&quot; &amp;nbsp;under Tools-&amp;gt; Options -&amp;gt; Development tab.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8jioVt1YnBcMiAUXEOmVnWb5I5BWVCDAwPk7WJeyEuNpUbuXIjcbqhdKqGkYA9fvMvUkOdkt0jpBpakiRm5tNJlYFkCqTLD6X7y9YMFeiITy1R4wxfuK7xLxnRnSymXMlcZg9_3OMyA/s1600/error.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; color: #888888; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8jioVt1YnBcMiAUXEOmVnWb5I5BWVCDAwPk7WJeyEuNpUbuXIjcbqhdKqGkYA9fvMvUkOdkt0jpBpakiRm5tNJlYFkCqTLD6X7y9YMFeiITy1R4wxfuK7xLxnRnSymXMlcZg9_3OMyA/s400/error.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The reason is that you haven&#39;t been able to do a successful FULL CIL compile.&lt;br /&gt;Run again and try to fix the error in CIL.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;2.)&quot;CIL generation: source array was not long enough...&quot;:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Stop the AOS.&lt;br /&gt;2. Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory.&lt;br /&gt;3. Start the AOS.&lt;br /&gt;4. Perform a full CIL generation.&lt;br /&gt;5.(Only do if errors are still there and you have no error when compile X++, just comment the code notice in Compiler output with /*..*/, recompile CIL and delete comment tag)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;3.) &quot;CIL generation error : The given key was not present in the dictionary&quot;:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;1. Check the CIL log file, generally located at &quot;C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL\Dynamics.Ax.Application.dll.log&quot;&lt;br /&gt;2. You will find the AOT object for which the CIL generator found the error.&lt;br /&gt;3. Compile that object, fix the error, or delete (if needed) and then regenerate the IL.&lt;br /&gt;4. (Only do if errors are still there : Stop AOS &amp;gt; Delete the .auc file from users\\Appdata &amp;nbsp;folder &amp;gt; Restart AOS)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;4.) DB synchronize error: &quot;Field mismatch in union query. Field ... is not compatible with field ...&quot;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check your EDT concern to that field ( in query, table, view). They have different size.&lt;br /&gt;So you just change the size to be the same.&lt;br /&gt;Or check someone changed size of standard EDT. It&#39;s the reason cause this error&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;5.) &quot;Duplicate type with name &#39;Dynamics.Ax.application.&#39; in assembly &#39;Dynamics.Ax.application &quot;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Stop the ax service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;2. Truncate the SysXPPAssembly in db model&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
3. Delete all the files in below directory in server where AOS hosted:&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
4. Start the service&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
5. Compile full CIL&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6056771820209198055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2017/02/cil-generation-errors-and-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6056771820209198055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6056771820209198055'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2017/02/cil-generation-errors-and-solutions.html' title='CIL generation errors and solutions'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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/AVvXsEhx8jioVt1YnBcMiAUXEOmVnWb5I5BWVCDAwPk7WJeyEuNpUbuXIjcbqhdKqGkYA9fvMvUkOdkt0jpBpakiRm5tNJlYFkCqTLD6X7y9YMFeiITy1R4wxfuK7xLxnRnSymXMlcZg9_3OMyA/s72-c/error.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3227722488579964877.post-6193768543071382288</id><published>2017-01-03T12:03:00.002+03:00</published><updated>2017-01-03T12:03:35.159+03:00</updated><title type='text'>Email drill-down link not working</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px;&quot;&gt;Copy the AxHLink.Exe...&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6193768543071382288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2017/01/email-drill-down-link-not-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6193768543071382288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6193768543071382288'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2017/01/email-drill-down-link-not-working.html' title='Email drill-down link not working'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-5673571504218496852</id><published>2016-12-28T11:34:00.000+03:00</published><updated>2016-12-28T11:34:05.030+03:00</updated><title type='text'>Ax 2012 deki Word-Add in çilesine karşı 2009 Document Handling ile devam</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=NVSxc2jg2iY&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/5673571504218496852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/12/ax-2012-deki-word-add-in-cilesine-kars.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5673571504218496852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5673571504218496852'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/12/ax-2012-deki-word-add-in-cilesine-kars.html' title='Ax 2012 deki Word-Add in çilesine karşı 2009 Document Handling ile devam'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-6331044871311403026</id><published>2016-11-15T00:51:00.001+03:00</published><updated>2016-11-15T00:51:14.586+03:00</updated><title type='text'>Document Attachment through X++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-color: #eeeeee; clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 16px; margin-bottom: 28px; overflow: auto; padding: 14px; tab-size: 4; word-wrap: normal;&quot;&gt;static void hb_attach(Args _args)

{

DocuRef docuRef;

DocuActionArchive archive;

CustTable _custtable;

str _name;

;

&amp;nbsp;

_name=@&quot;c:\\hb.docx&quot;;

select RecId from _custtable where _custtable.AccountNum ==&quot;M0001&quot;;

&amp;nbsp;

if (_custtable!=null)

{

ttsBegin;

docuRef.clear();

docuRef.RefRecId = _custtable.RecId;

docuRef.RefTableId = tableNum(&quot;custtable&quot;);

docuRef.RefCompanyId = curext();

docuRef.Name = _name;

docuRef.TypeId = &#39;File&#39;;

docuRef.insert();

archive = new DocuActionArchive();

archive.add(docuRef, _name);

ttsCommit;

}

}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6331044871311403026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/document-attachment-through-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6331044871311403026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6331044871311403026'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/document-attachment-through-x.html' title='Document Attachment through X++'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-7972409238906829105</id><published>2016-11-15T00:47:00.001+03:00</published><updated>2016-11-15T00:47:23.890+03:00</updated><title type='text'>Get full physical path on attachment AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #444444; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;select firstOnly&amp;nbsp; DocuRef&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;order by docuRef.RecId DESC&lt;/code&gt;&lt;code class=&quot;jscript spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;where&lt;/code&gt;&lt;code class=&quot;jscript spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;DocuRef.RefRecId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; == 645484&lt;/code&gt;&lt;code class=&quot;jscript spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;amp;&amp;amp;&amp;nbsp; docuRef.RefTableId&amp;nbsp;&amp;nbsp; == 56446&lt;/code&gt;&lt;code class=&quot;jscript spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;amp;&amp;amp;&amp;nbsp; docuRef.RefCompanyId == curext();&lt;/code&gt;&lt;br /&gt;&lt;code class=&quot;jscript spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;jscript plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;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; DocuRef.completeFilename();&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/7972409238906829105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/get-full-physical-path-on-attachment-ax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7972409238906829105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7972409238906829105'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/get-full-physical-path-on-attachment-ax.html' title='Get full physical path on attachment AX 2012'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-9053555836490002879</id><published>2016-11-14T00:29:00.002+03:00</published><updated>2016-11-14T00:29:29.721+03:00</updated><title type='text'>Send event by x++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
static void Event_sendAlertByCode(Args _args)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; EventNotificationSource _source;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; EventNotification &amp;nbsp; &amp;nbsp; &amp;nbsp; event = EventNotification::construct(EventNotificationSource::Sync);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; InventTable &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inventTable;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; inventTable = InventTable::find(&#39;03.09.2013&#39;); &amp;nbsp;// sample record for which alert is shown&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmRecord(inventTable);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmUserId(curuserid()); &amp;nbsp; &amp;nbsp; &amp;nbsp;// user for which this alert to be shown&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmDataSourceName(&#39;InventTable&#39;); &amp;nbsp;//form datasource&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmMenuFunction(new MenuFunction(&#39;InventTable&#39;, MenuItemtype::Display));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmSubject(&#39;Test&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.parmMessage(&#39;Test Event alert&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; event.create();&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/9053555836490002879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/send-event-by-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9053555836490002879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9053555836490002879'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/send-event-by-x.html' title='Send event by x++'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-2959744585291222137</id><published>2016-11-14T00:20:00.001+03:00</published><updated>2016-11-14T00:20:28.847+03:00</updated><title type='text'>Send mail with outlook</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Description255 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; recipientEmail;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Notes &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;emailBody;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Description255 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subjectText;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&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; fileName;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; SmmOutlookEmail &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail = new SmmOutlookEmail();&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; recipientEmail = &quot;test@hotmail.com&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; subjectText &amp;nbsp; &amp;nbsp; = &quot;Test Email&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; fileName &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= @&quot;C:\Users\admin\Desktop\test.jpg&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; emailBody &amp;nbsp; &amp;nbsp; &amp;nbsp; = &quot;Hi,\nThis is a test email&quot;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; if (smmOutlookEmail.createMailItem())&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addEMailRecipient(recipientEmail);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addSubject(subjectText);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addFileAsAttachment(fileName);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.addBodyText(emailBody);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smmOutlookEmail.sendEMail(smmSaveCopyOfEMail::No,true);// false for outlook popup&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&quot;Could not communicate with Microsoft Outlook Client.&quot;);&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/2959744585291222137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/send-mail-with-outlook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2959744585291222137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/2959744585291222137'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/send-mail-with-outlook.html' title='Send mail with outlook'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-3461758960084641014</id><published>2016-11-11T01:16:00.000+03:00</published><updated>2016-11-11T01:16:05.768+03:00</updated><title type='text'>progressbar sample</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
static void operationProgress_progressBars(Args _args)&lt;br /&gt;
{&lt;br /&gt;
#AviFiles&lt;br /&gt;
SysOperationProgress progress = new SysOperationProgress();&lt;br /&gt;
int i;&lt;br /&gt;
;&lt;br /&gt;
&lt;br /&gt;
progress.setCaption(&quot;Progress bar example…&quot;);&lt;br /&gt;
progress.setAnimation(#AviUpdate);&lt;br /&gt;
progress.setTotal(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; progress.getCount_RU();&lt;br /&gt;
for (i = 1; i &amp;lt;= 10000; i++)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;progress.setText(strfmt(&quot;The value of i is %1&quot;, i));&lt;br /&gt;
&amp;nbsp;progress.setCount(i, 1);&lt;br /&gt;
}&lt;br /&gt;
}&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/3461758960084641014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/progressbar-sample.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/3461758960084641014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/3461758960084641014'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/progressbar-sample.html' title='progressbar sample'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-4244486181818335011</id><published>2016-11-10T23:27:00.000+03:00</published><updated>2016-11-10T23:27:07.739+03:00</updated><title type='text'>Kill the excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-radius: 3px; box-sizing: border-box; color: #1a1a1a; font-family: monospace, serif; font-size: 0.9em; padding: 10px; word-wrap: normal;&quot;&gt;System.Collections.IEnumerable processes;
System.Collections.IEnumerator enumerator;
System.Diagnostics.Process process;
    
try
{
    processes = System.Diagnostics.Process::GetProcessesByName(&quot;EXCEL&quot;);
    enumerator = processes.GetEnumerator();
    
    while (enumerator.MoveNext())
    {
        process = enumerator.get_Current();
        process.Kill();
    }
}
catch (Exception::CLRError)
{
    throw error(AifUtil::getClrErrorMessage());
}&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-radius: 3px; box-sizing: border-box; color: #1a1a1a; font-family: monospace, serif; font-size: 0.9em; padding: 10px; word-wrap: normal;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-radius: 3px; box-sizing: border-box; color: #1a1a1a; font-family: monospace, serif; font-size: 0.9em; padding: 10px; word-wrap: normal;&quot;&gt;thanks for Martin. Martin!!! you are the man:)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-radius: 3px; box-sizing: border-box; padding: 10px; word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: #1a1a1a; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14.4px;&quot;&gt;https://dynamicsuser.net/ax/f/developers/68865/axapta-close-windows-application-process-with-x&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-radius: 3px; box-sizing: border-box; padding: 10px; word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: #1a1a1a; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14.4px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/4244486181818335011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/kill-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/4244486181818335011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/4244486181818335011'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/kill-excel.html' title='Kill the excel'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-9190742699459362717</id><published>2016-11-09T18:01:00.002+03:00</published><updated>2016-11-09T18:01:47.190+03:00</updated><title type='text'>Access Denied: MCRInventSearchController</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-family: Arial, Helvetica, sans-serif;&quot;&gt;For create products, i will take this error.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Solution:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #303131; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You&#39;ll need to give access to the MCRInventSearch class, updateReleaseProducts method as a ServerMethod on either a privilege, duty, role&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/9190742699459362717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/access-denied-mcrinventsearchcontroller.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9190742699459362717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/9190742699459362717'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/access-denied-mcrinventsearchcontroller.html' title='Access Denied: MCRInventSearchController'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-6893174784224723273</id><published>2016-11-07T10:46:00.007+03:00</published><updated>2016-11-09T18:02:12.660+03:00</updated><title type='text'>Workflow: Create custom work item queue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) First: &amp;nbsp;CustomXXX document is not available for selection in the work item queue.&amp;nbsp; See below.&lt;br /&gt;
&lt;br /&gt;
To fix this we simply need an attribute on the workflow document class.&amp;nbsp; i.e&lt;br /&gt;
&amp;nbsp;[WorkflowDocIsQueueEnabledAttribute(&lt;b&gt;true&lt;/b&gt;, &quot;CustomXXX&quot;)]&lt;br /&gt;
&lt;b&gt;class&lt;/b&gt;&amp;nbsp;CustomXXXWorkflowDocument &lt;b&gt;extends&lt;/b&gt; WorkflowDocument&lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Now we can create a work item queue based on this document.&lt;br /&gt;
&lt;br /&gt;
2) The answer to this was to create the following class:&lt;br /&gt;
&amp;nbsp;&lt;b&gt;class&lt;/b&gt;&amp;nbsp;CustomXXXTaskCreatedEventHandler &lt;b&gt;extends&lt;/b&gt; WorkflowQueueCreatedEventHandler&lt;br /&gt;
{&lt;br /&gt;
}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;b&gt;protected&lt;/b&gt; &lt;b&gt;void&lt;/b&gt; mapFields()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;#Workflow&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CustomXXX&amp;nbsp; &amp;nbsp;CustomXXX;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkflowDocIsQueueEnabledAttribute attribute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DictClass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dictClass;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dictClass = &lt;b&gt;new&lt;/b&gt; DictClass(&lt;b&gt;classNum&lt;/b&gt;(CustomXXXDocument));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; attribute = dictClass.getAttribute(#WorkflowDocumentAttribute);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CustomXXX&amp;nbsp;= CustomXXX::findRecId(this.parmWorkflowWorkitemTable().RefRecId);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmDocumentId(CustomXXX.CustomXXXId);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmDocumentType(attribute.parmFriendlyName());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmCompanyInfo(CustomXXX.company());&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
HB: This was based on classes\PurchTableTaskCreatedEventHandler.&lt;br /&gt;
&lt;br /&gt;
This class extends WorkflowQueueCreatedEventHandler which in turn implements WorkflowWorkItemsCreatedEventHandler.&lt;br /&gt;
In order to trigger this event you must point the workflow tasks to the above class.&lt;br /&gt;
Find the task under AOT/Workflow/Tasks.&amp;nbsp; Look for the property WorkItemsCreatedEventHandler.&amp;nbsp; Put the name of your event handler in here. (in my case CustomXXXTaskCreatedEventHandler).&lt;br /&gt;
&lt;br /&gt;
Please go&amp;nbsp;&lt;span class=&quot;field-item-description user-defined-markup&quot; id=&quot;fragment-13333_QuoteText&quot;&gt;home/Work Items/ Work items assigned to my queues...&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;thanks&amp;nbsp;&lt;/span&gt;David&amp;nbsp;&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;for topic &amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://community.dynamics.com/ax/f/33/t/126896&quot;&gt;https://community.dynamics.com/ax/f/33/t/126896&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6893174784224723273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/workflow-create-custom-work-item-queue_6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6893174784224723273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6893174784224723273'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/workflow-create-custom-work-item-queue_6.html' title='Workflow: Create custom work item queue'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-6388611197288288165</id><published>2016-11-07T10:46:00.005+03:00</published><updated>2016-11-07T10:46:52.379+03:00</updated><title type='text'>Workflow: Create custom work item queue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) First: &amp;nbsp;CustomXXX document is not available for selection in the work item queue.&amp;nbsp; See below.&lt;br /&gt;
&lt;br /&gt;
To fix this we simply need an attribute on the workflow document class.&amp;nbsp; i.e&lt;br /&gt;
&amp;nbsp;[WorkflowDocIsQueueEnabledAttribute(&lt;b&gt;true&lt;/b&gt;, &quot;CustomXXX&quot;)]&lt;br /&gt;
&lt;b&gt;class&lt;/b&gt;&amp;nbsp;CustomXXXWorkflowDocument &lt;b&gt;extends&lt;/b&gt; WorkflowDocument&lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Now we can create a work item queue based on this document.&lt;br /&gt;
&lt;br /&gt;
2) The answer to this was to create the following class:&lt;br /&gt;
&amp;nbsp;&lt;b&gt;class&lt;/b&gt;&amp;nbsp;CustomXXXTaskCreatedEventHandler &lt;b&gt;extends&lt;/b&gt; WorkflowQueueCreatedEventHandler&lt;br /&gt;
{&lt;br /&gt;
}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;b&gt;protected&lt;/b&gt; &lt;b&gt;void&lt;/b&gt; mapFields()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;#Workflow&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CustomXXX&amp;nbsp; &amp;nbsp;CustomXXX;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkflowDocIsQueueEnabledAttribute attribute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DictClass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dictClass;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dictClass = &lt;b&gt;new&lt;/b&gt; DictClass(&lt;b&gt;classNum&lt;/b&gt;(CustomXXXDocument));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; attribute = dictClass.getAttribute(#WorkflowDocumentAttribute);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CustomXXX&amp;nbsp;= CustomXXX::findRecId(this.parmWorkflowWorkitemTable().RefRecId);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmDocumentId(CustomXXX.CustomXXXId);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmDocumentType(attribute.parmFriendlyName());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.parmCompanyInfo(CustomXXX.company());&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
HB: This was based on classes\PurchTableTaskCreatedEventHandler.&lt;br /&gt;
&lt;br /&gt;
This class extends WorkflowQueueCreatedEventHandler which in turn implements WorkflowWorkItemsCreatedEventHandler.&lt;br /&gt;
In order to trigger this event you must point the workflow tasks to the above class.&lt;br /&gt;
Find the task under AOT/Workflow/Tasks.&amp;nbsp; Look for the property WorkItemsCreatedEventHandler.&amp;nbsp; Put the name of your event handler in here. (in my case CustomXXXTaskCreatedEventHandler).&lt;br /&gt;
&lt;br /&gt;
Please go&amp;nbsp;&lt;span class=&quot;field-item-description user-defined-markup&quot; id=&quot;fragment-13333_QuoteText&quot;&gt;home/Work Items/ Work items assigned to my queues...&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;thanks&amp;nbsp;&lt;/span&gt;David&amp;nbsp;&lt;span class=&quot;field-item-description user-defined-markup&quot;&gt;for topic &amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://community.dynamics.com/ax/f/33/t/126896&quot;&gt;https://community.dynamics.com/ax/f/33/t/126896&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/6388611197288288165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/workflow-create-custom-work-item-queue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6388611197288288165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/6388611197288288165'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/workflow-create-custom-work-item-queue.html' title='Workflow: Create custom work item queue'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-5696984980884127827</id><published>2016-11-07T10:34:00.004+03:00</published><updated>2016-11-07T10:34:33.020+03:00</updated><title type='text'>Ax 2012 lookup reference sample</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-color: #eeeeee; clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 16px; margin-bottom: 28px; overflow: auto; padding: 14px; tab-size: 4; word-wrap: normal;&quot;&gt;public Common lookupReference(FormReferenceControl _formReferenceControl)
{

HcmWorker HcmWorker;
Query query = new Query();
QueryBuildDataSource queryBuildDataSource;
QueryBuildRange queryBuildRange;

SysReferenceTableLookup sysTableLookup = SysReferenceTableLookup::newParameters(tableNum(HcmWorker), _formReferenceControl, true);
;
sysTableLookup.addLookupField(fieldNum(HcmWorker, PersonnelNumber));
sysTableLookup.addLookupField(fieldNum(HcmWorker, Person));

queryBuildDataSource = query.addDataSource(tableNum(HcmWorker));

return sysTableLookup.performFormLookup();

}&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/5696984980884127827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/ax-2012-lookup-reference-sample.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5696984980884127827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/5696984980884127827'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/ax-2012-lookup-reference-sample.html' title='Ax 2012 lookup reference sample'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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-3227722488579964877.post-7484326537518795297</id><published>2016-11-02T23:09:00.004+03:00</published><updated>2016-11-02T23:09:53.780+03:00</updated><title type='text'>Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user xxx.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
at SysWorkflowWorkItem-create&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
SysWorkflowWorkItem-createWorkItems&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
SysWorkflow-save&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
SysWorkflowQueue-resume&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
That workflow is only working if the user john has &quot;System Admin&quot; rights.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
For solution;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #303131; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0.5em;&quot;&gt;
a developer by going to the AOT &amp;gt; Workflow &amp;gt; Workflow types: select your workflow and in properties in the fields: &#39;DocumentWebMenuItem&#39; and &#39;DocumentMenuItem&#39; are menu items that the roles need in order to be able to run your workflows. If you add these, the problem should be solved&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hasanbilgin.blogspot.com/feeds/7484326537518795297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/stopped-error-x-exception-work-item.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7484326537518795297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3227722488579964877/posts/default/7484326537518795297'/><link rel='alternate' type='text/html' href='http://hasanbilgin.blogspot.com/2016/11/stopped-error-x-exception-work-item.html' title='Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user'/><author><name>Hasan bilgin</name><uri>http://www.blogger.com/profile/11269397459191139009</uri><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>