Solved

Add new button.

  • 2 October 2023
  • 1 reply
  • 49 views

Userlevel 3
Badge

Hi Team,

How to add new button to following red highlighted area?

 

Thanks

icon

Best answer by praveenpo 2 October 2023, 13:04

View original

1 reply

Userlevel 6
Badge +3

Hi @bhagyat25,

Below is a sample example to add a button in a graph.

public class TestGraph : PXGraph<TestGraph>
    {
          public PXAction<DACName> TestConnection; 
        [PXButton]
        [PXUIField(DisplayName = “TestConnection”, MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = false)]
        protected virtual IEnumerable testConnection(PXAdapter adapter)
        {
                      // logic here


          return adapter.Get();
        }
    }


Hope this helps!!

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