问题
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
{
...
}
来源:https://stackoverflow.com/questions/36931158/how-to-use-allowedit-in-acumatica