Search code examples
c#erpacumatica

how to use AllowEdit in Acumatica


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?


Solution

  • 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
    {
    ...
    }