Skip to main content

Posts

Showing posts from December, 2012

Execute SQL command

static void Job3 ( Args _args ) {     LogInProperty   Lp = new LogInProperty ( ) ;     OdbcConnection  myConnection;     Statement       myStatement;     ResultSet       myResult;     str             sqlQuery; ;     sqlQuery = 'SELECT TOP 10 * FROM CustTable ORDER BY NewID()' ;     LP. setServer ( "Server" ) ;     LP. setDatabase ( "db" ) ;     Lp. setUsername ( "user" ) ;     Lp. setPassword ( "password" ) ;     try {         myConnection = new OdbcConnection ( LP ) ;     }     catch {         info ( "Check username/password." ) ;         return ;     }     myStatement = myConnection. createStatement ( ) ;     myResult = myStatement. executeQuery ( sqlQuery ) ;     while ( myResult. next ( ) ) {         box :: info ( myResult. getString ( 1 ) ) ;     } }

Purchline Change confirmed date Axapta

void clicked ( ) {   PurchLine                 tmpPurchLine;   PurchLine                 updatePurchLine;   PurchLine                 selectedRecord;   Dialog            dl;   DialogField       dlfTransdate; ;     dl   = new Dialog ( "Change confirmed date" ) ;     dlfTransdate = dl. addFieldValue ( typeid ( "Transdate" ) , today ( ) , "Confirmed date" ) ;     if ( dl. run ( ) ) {         selectedRecord =  PurchLine_ds. cursor ( ) ;         for ( tmpPurchLine = PurchLine_ds. getFirst ( true ) ? PurchLine_ds. getFirst ( true ) : PurchLine_ds. cursor ( ) ;         tmpPurchLine;    tmpPurchLine = PurchLine_ds. getnext ( ) )         {             ttsbegin ;             SELECT FORUPDATE updatePurchLine               WHERE updatePurchLine. PurchId == tmpPurchLine. PurchId                 && updatePurchLine. VendAccount == tmpPurchLine. VendAccount                 && updatePurchLine. LineNum == tmpPurchLin

List of new tools released for Microsoft Dynamics AX 2012

  1.    Application analysis Tool (Beta): The Application Analysis tool is designed to enable developers to easily understand how the application has been constructed. The tool can analyze X++ code, create UML sequence diagrams of the data model using progressive discovery. 2.    Data Migration Framework Tool (Beta): The Data Migration Framework (Beta) is an extension to Microsoft Dynamics AX that provides a way to migrate data from external sources to source Microsoft Dynamics AX 2012. The framework also supports exporting and importing data (for entities defined in the Data Migration Framework) from a Microsoft Dynamics AX 2012 instance to another one. 3.    Combine XPO Tool (Beta): The Combine XPO Tool (Beta) 1.0 is a command line program that combines a set of interdependent XPO files into a single XPO. For example, if a team of developers is making code changes to different aspects of an application, use this tool to merge those changed files into on

Dünyanın en çok bilinen markası Coca-Cola’nın CEO’su Muhtar Kent, başarısının sırrını paylaştı.

Muhtar Kent'in Başarı Sırları Dünyanın en çok bilinen markası Coca-Cola’nın CEO’su Muhtar Kent, başarısının sırrını paylaştı. Başarı için belirlediği 10 temel ilkesi olan Kent’in kariyer yaşamında dikkat edilecekler listesinin başında; "Herkes kendi çantasını kendi taşımalı" prensibi yer alıyor...   MUHTAR KENT’TEN BAŞARI VE KARİYER TAVSİYELERİ Muhtar Kent’in başarı olma kavramı ile ilgili vermiş olduğu ipuçlarını ilgiyle takip ediyorum. Kendisi bunun için 10 ilke belirlemiş. 1. Her iş mutfağında pişer. 2. Dururken düşmezsin ama, ilerlemekten de korkmayın. 3. Ofisine yapışıp kalma. 4. Fedakarlıktan kaçınma. 5. Hobilerine zaman ayır. 6. Değişim her zaman iyi olmayabilir. 7. Tutarlılık güven verir. 8. Gündem oluştur. 9. Büyük resme odaklanın. 10. Çinlileri örnek al.   Kariyer yaşamı için vermiş olduğu tavsiyelere bakacak olursak; - Öncelikle herkes kendi çantasını kendi taşımalı - Hiç yalnız yemek yemeyin. Böylece aldığınız her lokmadan ayrı bir tat alır ve sürekli gülümse