Skip to main content
Answer

How to display a particular tabitem after throwing a PXRedirectRequiredException?

  • January 25, 2024
  • 1 reply
  • 72 views

From custom code, I’m creating a service order and filling in a few fields at the header as well as a few fields of a line item record.  I then

throw new PXRedirectRequiredException(graph, null) { Mode = PXBaseRedirectException.WindowMode.NewWindow };

But when the screen opens, the “Settings” tabitem is displayed.  I would like the “Details” tabitem to display instead, so the user can fill in the remaining information for the line item without having to click on the “DETAILS” tabitem first.

Screen opens with “Settings” tab displayed
I want the “Details” tab to display instead

 

Best answer by Vignesh Ponnusamy

Hi @jetzerb08,

I think you can use javascript to conditionally default a tab. Kindly refer the following article for the steps,

Hope that helps.! Feel free to post if you have any questions. Good Luck,

1 reply

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi @jetzerb08,

I think you can use javascript to conditionally default a tab. Kindly refer the following article for the steps,

Hope that helps.! Feel free to post if you have any questions. Good Luck,