Is it possible to add custom actions to the mass actions dropdown on a generic inquiry? I created a custom "Approve" action for the vendor screen (AP.30.30.00) via workflows; however, it does not appear on the mass actions dropdown. Any help would be greatly appreciated.
I tried the following, but I kept getting an error.
using PX.Data;
namespace PX.Objects.AP
{
public class VendorMaint_Extension : PXGraphExtension<VendorMaint>
{
public override void Initialize()
{
Approve.IsMass = true;
}
public PXAction<Vendor> Approve;
[PXButton]
[PXUIField(DisplayName = "Approve")]
public void Approve()
{
throw new PXException("Approve !");
}
}
}