I have added code that I would believe should remove an event handler of an acumatica base class.
public override void Initialize()
{
// Remove the event handler on the APTran object for APTran_SubID_FieldDefaulting so we can override it in this module
Base.FieldDefaulting.RemoveHandler<APTran.subID>(A PTran_SubID_FieldDefaulting);
}
Yet, it still runs through the base code. If I remove this code and keep my new event handler, it runs through the event handler I have and then also appears to run through the Base event handler.
Any suggestions on how to remove the base event handler so it will just use the new event handler?