How to add menu to Acumatica button

2019-09-09 22:47发布

I created graph in Acumatica. I also created button in the following way:

public PXAction<APBill> Report;

How can I convert this button into Menu button?

标签: erp acumatica
1条回答
2楼-- · 2019-09-09 23:28

I propose you the following way. Let's say your graph is named APBillManager, then in constructor you can write something like this:

public APBillManager()
{
    this.Report.AddMenuAction(bankStatementReport);
}

public PXAction<PRPayroll> bankStatementReport;
[PXButton]
[PXUIField(DisplayName = "Bank Statement")]
protected void BankStatementReport()
{
}
查看更多
登录 后发表回答