Hey Community 
I’m trying to enable record deactivation on an object that inherits from BaseEntity. The object is also used as a lookup in several other objects. From the documentation it looks like the “Allow records deactivation” option is only available for BaseLookup objects.

Has anyone found a reusable approach—perhaps a utility class —that lets a BaseEntity behave like a deactivatable lookup? I’m aware I could add an IsActive Boolean column, but that would require adding filter logic everywhere the object is referenced, which I’d rather avoid.

Any pointers or examples would be greatly appreciated.

Like 0

Like

1 comments