Showing posts with label select. Show all posts
Showing posts with label select. Show all posts

17 Mar 2015

Select statement using as a function + AX 2012

public static Name name(ProjId _projId)
{
ProjName projName = ”;
if ( _projId )
{
    projName = (select projTable where projTable.ProjId == _projId).Name;
}
return projName;
}

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...