Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Getting Enum value for display method x++

$
0
0

I wrote a display method for an extension table. ServiceSubStatus is an enum field so 0,1,2 are displaying but I need to display the value of the enum.

Can you please help me with this?

   [ExtensionOf(tableStr(EntAssetObjectTable))]
public final class ObjectTable_Extension
{
    public display ServiceSubStatus ServiceSubStatus()
    {    


        return (ServiceStatus::findByRecId(this.ServiceStatus).ServiceSubStatus);

    
    }

}

Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>