0
我创建了自定义条目,我需要添加一些报告。 我试图让报告下拉这样 但我所有的努力都是失败的。Acumatica ERP 6.0创建报告下拉
我有动作与功能像是在接到入学
public PXAction<MyMasterView> report;
[PXUIField(DisplayName = "Reports", MapEnableRights = PXCacheRights.Select),PXButton(SpecialType = PXSpecialButtonType.Report)]
protected virtual IEnumerable Report(PXAdapter adapter, [PXString(8, InputMask = "CC.CC.CC.CC"), PXStringList(new string[]{"PO649999","PO646000"}, new string[]{"Print My Report","Print Receipt"})] string reportID)
{
List<MyMasterView> list = adapter.Get<MyMasterView>().ToList<MyMasterView>();
if (!string.IsNullOrEmpty(reportID))
{
this.Save.Press();
int num = 0;
Dictionary<string, string> dictionary = new Dictionary<string, string>();
foreach (MyMasterViewcurrent in list)
{
dictionary["PARAMETER"] = current.PARAMETER;
num++;
}
if (num > 0)
{
throw new PXReportRequiredException(dictionary, reportID, string.Format("Report {0}", reportID));
}
}
return list;
}
但作为一个结果,我发现了以下