Contents tagged with Convert button to menu button in Acumatica

  • How to add menu to button in Acumatica

    Hello everybody,

    today I want to share trick which I call convert Acumatica button into menu.

    Lets say in graph APBillManager created button in the following way:

    public PXAction<APBill> Report;

    If you want to convert it to menu with one item you can do the following:

    public APBillManager()

    {

    this.Report.AddMenuAction(bankStatementReport);

    }

    public PXAction<PRPayroll> bankStatementReport;

    [PXButton]

    [PXUIField(DisplayName = "Bank Statement")]

    protected void BankStatementReport()

    {

    } more