Alfasith AX

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

Tuesday, February 25, 2014

Round off the decimal in Dynamic AX 2012

Hi,
//To round off all digit after decimal.
static void roundOff(Args _args)
{
real numb;
;
    numb = trunc(4.68989);
    print strfmt("Round off number= %1",  numb);
    pause;
}

Out put

Round off number= 4.00

Regards,

The site http://servername:xxxxx/sites/DynamicsAX/ is not registered with Microsoft Dynamics AX

Hi,

This error arises often either in home page tab in Dynamic AX or EP page in web.

Solution.
1. Check the business connector
2. Restart the IIS
3. At last even though it is not reflecting create and register new page
 in order to register it,Go to in AX: System Administration > Setup > Enterprise Portal > Web Sites

How to invoke and iterate List as Contract methods in AX 2012/ D365

Hi, Public void performContractIterate(ClassContainsListAsContract    _ListCarryClass) { List contractFieldList = new List(Types::Class); ...