Skip to main content
Question

PXRedirectRequiredException "Insufficient Rights" Error When Opening Custom Screen in Modern UI (Works in Classic UI)

  • January 15, 2026
  • 2 replies
  • 58 views

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:

  1. The screen does exist in the Sitemap
  2. It can be opened normally from the menu item element in the UI or through the screenID directly
  3. 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

2 replies

DipakNilkanth
Pro III
Forum|alt.badge.img+14

Hi ​@Abdou2025,
Have you converted your custom screen to modern UI?
Please refer this link for the same.


  • Author
  • Freshman II
  • January 15, 2026

Yes, I converted the screen to modern UI, and it works when I open the screen normally or through the sitemap entry (Item in the menu), works and displays fine in modern UI mode there, the only issue is through redirection