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;
}

1 comment:

SANTHOSH... said...

projName = (select Name from ProjTable where ProjTable.ProjId == '000002').Name;

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...