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