I have a custom screen (XC030000 - Recurring Task Maintenance) that I'm trying to open from a graph extension action. The redirect works perfectly in Classic UI but fails in Modern UI with the error: "You have insufficient rights to access the object (XCRecurringTaskMaint)."
Environment:
- Acumatica Version: 2025R1
- UI Mode: Modern UI (works in Classic UI)
- Custom Screen ID: XC030000
- Custom Graph: Recurring.XCRecurringTaskMaint
What I'm Trying to Do:
I have a universal graph extension that adds a "Create Recurring Task" action to multiple screens (Sales Orders, Purchase Orders, etc.). When clicked, it should open my custom Recurring Task screen in a new window with pre-filled RefNoteID and RefNoteIDType values.
public static class Functions
{
public static void OpenRecurringTask(PXGraph callingGraph, Guid? refNoteID, string refType)
{
var graph = PXGraph.CreateInstance<Recurring.XCRecurringTaskMaint>();
var task = graph.RecurringTask.Insert(new XCRecurringTask());
task.RefNoteID = refNoteID;
task.RefNoteIDType = refType;
graph.RecurringTask.Update(task);
throw new PXRedirectRequiredException(graph, true, "Recurring Task")
{
Mode = PXBaseRedirectException.WindowMode.NewWindow
};
}
}
Notes:
- The screen does exist in the Sitemap
- It can be opened normally from the menu item element in the UI or through the screenID directly
- The current user has access to it
also an unrelated question I wanted to use a GI as an entry screen for this screen yet I was unable to find it from the selector in the GI screen