how to use AllowEdit in Acumatica

2019-07-19 09:25发布

问题:

I'm having this problem:

I'd like to try to make a pop up for CrossSection table page using AllowEdit = "true", the pencil symbol has already showed, but it doesn't open anything, I already entered the page of CrossSection into hidden in SiteMap. Is there any step I miss to use AllowEdit? How can I use AllowEdit?

回答1:

Along with PXSelector attribute and AllowEdit for PXSelector aspx control, make sure to set the primary graph for the DAC. The primary graph determines the default page where a user is redirected for editing a data record.

Example:

[PXPrimaryGraph(typeof(CrossSectionMaint))]
[Serializable]
public class CrossSection : PX.Data.IBqlTable
{
...
}


标签: c# erp acumatica