Hello Everyone,
I have an Extension that I would like to Activate based on the Value from the FeaturesSet. I have added a DAC Ext to the FeaturesSet “HCLSMFeaturesSet.usrHCLEnhancedApproval” but when I try to get its value whether or not it is true always returns false even when I know for sure it is true (I checked both DB and Enable Feature screen). Any thought why?
public class HCLAPInvoiceEntry : PXGraphExtension<APInvoiceEntry>
{
public static bool IsActive()
{
//Either
return PXAccess.FeatureInstalled<HCLSMFeaturesSet.usrHCLEnhancedApproval>();
//Or
return PXAccess.FeatureInstalled(typeof(HCLSMFeaturesSet.usrHCLEnhancedApproval).Name);
}
}
Best answer by Dmitrii Naumov
View original