Alfasith AX

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

Thursday, March 17, 2016

Procedure to make remote desktop in full screen for windows OS not for server

Hi,

Start -> Run  -> 'mstsc'




Select 'Option' - bottom-left corner of the "Remote Desktop Connection" dailog.

Choose "Display" tab.

Change "Display Configuration" to "Full Screen" by dragging the slider to extreme right. 

Regards,

Sunday, September 13, 2015

Look up date and calendar in AX

Hi,

void lookup()
{
    ProjPeriodId    projPeriodId = DNGRMParameter::find().PeriodId;
    ProjPeriodTo    projPeriodTo;
    ProjControlPeriod  projControlPeriod = new ProjControlPeriod();
   // projControlPeriod = element.args().caller().runbase();
    //if (!projControlPeriod.parmPeriodic())
    //{
        //if (this.dateValue())
        //{
            //projPeriodTo = this.dateValue();
        //}
        //else
        //{
            //projPeriodTo = ProjPeriodLine::findPrevFromDate(projPeriodId, systemdateget()).PeriodTo;
        //}
    //}
    //else
    //{
        if (this.dateValue())
        {
            projPeriodTo = this.dateValue();
        }
        else
        {
            projPeriodTo = ProjPeriodLine::findPrevFromDate(projPeriodId, systemdateget()).PeriodTo;
        }
   // }

    ProjPeriodLine::lookupPeriodTo(this, projPeriodId, projPeriodTo);
}

Regards,

Get a table ID in SQL - D365

Hi select ID from SysTableIdView where  SysTableIdView .Name = 'CustTable' Regards,