Get Month Name in Ax 2012 | D365fo | X++

 
   /// <summary>
   /// This method is used to get Month names of selected FiscalYear
   /// </summary>
   /// <param name = "_date">_date</param>
   /// <param name = "_monthnum">_monthnum</param>
   /// <returns>month</returns>
   public str getMonthName(date _date, int _monthnum = 0)
   {
       TransDate           curdate;
       str                 month;
 
       curdate = dateMthFwd(_date, _monthnum);
 
       // if (mthOfYr(curdate) <= mthOfYr(fiscalCalendarYear.EndDate))
       if (curdate <= fiscalCalendarYear.EndDate)
       {
           month = date2Str(curdate,123,DateDay::None,DateSeparator::None,DateMonth::Short,DateSeparator::Hyphen,DateYear::Digits2);
       }
       return month;
   }

Worker Name details in Ax 2012 | D365fo | X++

 
   /// <summary>
   /// This method is used to generate the workername details.
   /// </summary>
   /// <param name = "_projid">_projid</param>
   /// <returns>Name</returns>
   public Name workerName(ProjId _projId)
   {
       HcmWorker       hcmWorker;
       ProjTable       projTableWork;
       DirPerson       dirPerson;
       DirPartytable   dirParty;
 
       select firstonly Name from dirParty
       exists join dirPerson
           where dirPerson.RecId == dirParty.RecId
       exists join hcmWorker
           where  hcmWorker.Person==dirPerson.RecId
       exists join projtablework
           where projTableWork.WorkerResponcibleFinancial == hcmWorker.RecId
           && projTableWork.ProjId==_projId;
   
       return dirParty.Name;
   }

Table Browser in Dynamics 365FO

Copy D365FO Table Browser URL /?cmp=usmf&mi=SysTableBrowser&tablename= URL :  https://usnconeboxax1aos.cloud.onebox.dynamics.com...