Clear SQL Cache
When you do performance tests in Dynamics AX, you often want to clear the SQL cache so you can be sure that all data must be re-read from the disks. If you want to clear the SQL cache, execute these 3 lines in a query
When you do performance tests in Dynamics AX, you often want to clear the SQL cache so you can be sure that all data must be re-read from the disks. If you want to clear the SQL cache, execute these 3 lines in a query
If you want to open the Internet Explorer with a certain web page directly from X++ code, you can use the following statement: infoLog.urlLookup(‘http://www.fatihdemirci.net’); Thus, your browser will open and display the URL.
Merhaba Köşeli parantez kullanarak container tipi verilerini otomatik oluşturmak mümkün olmakta. Oldukça pratik bir yöntem.
Merhaba Bir formu önyüze getirmek bazen gerekebiliyor. Nasıl yapılacağını aşağıdaki metottan öğrenebilirsiniz.
Formda istenilen kayda gitmek için FormDataSource.findRecord(common _record) fonksiyonu kullanılıyor. Form ilk açıldığında istenilen kaydın üzerinde bulunulması için: 1-Formun init fonksiyonunda:
Formda task metodu var. Burada belli tuşlara işlev atanabiliyor. Bu tuşların listesine #task makrosundan bakılabliri. Form içinde tüm objelerde geçerli oluyor. nette bulduğum bir örnek :
Merhaba Diyelim bir rapor yaptınız. Kaç kayıt olduğunu saymak istiyorsunuz SysQuery::countTotal(qr) işinizi görür. Bir kullanım örneği şöyle olabilir.
Merhaba Türkçe Karakterleri İngilizce Karakterlere Çeviren Metod işe yarar
Merhaba, Email techniques in AX 4.0 In this article, I am going to demonstrate different email techniques that can be used in AX 4.0. Following classes can be used to send an email Mapi and its related classes SysMailer SysInetMail SysEmailBatch SmmOutlookEmail MAPI technique:
Select Sum(AmountMst) from LedgerTrans Group By LedgerTrans.Voucher, LedgerTrans.TransDate koduna denk olan query alttaki gibi yazılabilir: