Solved

Action is not shown on screen

  • 25 June 2022
  • 2 replies
  • 100 views

Userlevel 7
Badge +9

I have an action that I’m using it on multiple screens. This action appears on all screens and works as expected. The only exception I am facing are “POOrderEntry” and “SubcontractEntry” screens that doesn’t show the Action on screen. Here is the Action:

public PXAction<POOrder> customRoute;
[PXButton(CommitChanges = true, Category = Messages.ApprovalCategory, DisplayOnMainToolbar = true, IsLockedOnToolbar = true)]
[PXUIField(DisplayName = EPMessages.CustomRoute, MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select)]

protected virtual IEnumerable CustomRoute(PXAdapter adapter)
{
Base.Save.Press();

// Do stuff here

return adapter.Get();
}

Can anyone help why this works on all screens but these two?

icon

Best answer by aaghaei 26 June 2022, 09:34

View original

2 replies

Userlevel 7
Badge +9

UPDATE: My bad. I figured it. I had a SetVisible on RowSelected Event handler that was hiding this action. It is resolved.

Userlevel 7
Badge

Thank you for sharing your solution @aaghaei !

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved