How to add menu to Acumatica button

≡放荡痞女 提交于 2019-12-12 06:58: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?


回答1:


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()
{
}


来源:https://stackoverflow.com/questions/28197939/how-to-add-menu-to-acumatica-button

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!