Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Wednesday, September 10, 2014

To get Calender, Date, Day or month in AX


Hi,

static void AlfasithCalender(Args _args)
{
    print dayOfMth(today());        // Date
    print dayOfYr(today());         // Day of year
    print wkOfYr(today());          // Week of  year 
    print mthOfYr(today());         // month in numerals;
    print mthName(mthOfYr(today())); // Month Name
    print year(today());            // Year
    print dayName(dayOfWk(today()));// Day like Monday, tues...
   // print mkdate(1,mthofyr(today()),year(today())); // Date with separator as "/"
    print today();
    print date2str(today(),123,2,2,2,2,4); // Date with sepearator as "."
    pause;

}

Regards,

Thursday, August 28, 2014

Differences between MorphX and Intellimorph

Differences between MorphX and Intellimorph
 MorphX is the Microsoft Dynamics AX IDE( Integrated Development Environment) which includes:
 - Data Dictionary
 - Tools for creating menus, forms and reports for Windows- and Web clients
 - Compiler and debugger for the object oriented programming language X++
 - Version control system
 - Label (multi language text) systems 
IntelliMorph is the Runtime Environment embedded in Microsoft Dynamics AX, that draws menus, forms, and reports for Windows- and Web-clients with the correct contents, size, and layout according to:
 - The language your texts are displayed in.
 - What features you can access.
 - How wide you want the fields on your installation.

 - The formats you are using for dates and numbers.

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...