there’s another way to create action in 2020 R1 ?
or i’m missing something
Thanks.
there’s another way to create action in 2020 R1 ?
or i’m missing something
Thanks.
Best answer by Naveen Boga
Hi
Please use the below example to add a new action in “Actions” menu.
Example from SOOrderEntry Graph Extension.
public class SOOrderEntryExt : PXGraphExtension<SOOrderEntry>
{
public override void Initialize()
{
base.Initialize();
Base.action.AddMenuAction(validateAddress);
}
public PXAction<SOOrder> validateAddress;
[PXButton]
[PXUIField(DisplayName = "Validate Address", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = true)]
protected virtual void ValidateAddress()
{
// Button logic here
}
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.