Solved

Adding a Button

  • 27 January 2021
  • 5 replies
  • 1389 views

Hello team,

I am new to the software. I busy building my own screen.

I have added a button on my screen, and the action i want it to perform is to clear all my textbox.

 

Where or how do i perform the action for this.   

Please i am struggling a lot.

Regards M.C. 

icon

Best answer by Naveen Boga 27 January 2021, 10:54

View original

5 replies

Userlevel 7
Badge +11

Hi @bjeter94 

can you try with the Text property?
 

 

Userlevel 2
Badge

Thank you it did help me get closer. Now that I am able to get that far, I see it is “form-specific and not an action item. Any further ideas? I appreciate your help!

Barbie

 

 

Userlevel 7
Badge +11

Hi @bjeter94 

Please refer to the below document.

Renaming Workspace, Menu Item, Form, Action and Field, Part 3 — Acumatica Engineering

Hope this will help you.

Userlevel 2
Badge

I am new to Acumatica, and I have to change a name on a command button that was customized in the Construction module. Can anyone give me direction on where to go to perform this change?

Userlevel 7
Badge +17

Hi @mc37 

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