Solved

Button missing (add Action) in Acumatica 2020 R1

  • 2 December 2020
  • 3 replies
  • 1056 views

Userlevel 2

 

 

there’s another way to create action in 2020  R1 ?
or i’m missing something

 

Thanks.

icon

Best answer by Naveen Boga 2 December 2020, 14:30

View original

3 replies

Userlevel 7
Badge +8

Hello Sadok!

This functionality was replaced as follows.

In Acumatica ERP 2020 R1, a developer can configure fields and add new actions or customize exiting actions by using the Field Editor and Action Editor of the Customization Project Editor. The editors can be accessed in the Screens node of the navigation pane.

Modification of the Disabled, Hidden, and Required properties was previously available on the Main Properties tab of the Screen Editor. The Main Properties tab of the Screen Editor has been removed.

For more info, refer to the Customization: Extended Editors for Fields and Actions topic in Acumatica 202 R1 Initial Release notes.

 

Userlevel 7
Badge +17

Hi @SadokHanini ,

Please use the below example to add a new action in “Actions” menu.


Example from SOOrderEntry Graph Extension.

 

 public class SOOrderEntryExt : PXGraphExtension<SOOrderEntry>
    {
        public override void Initialize()
        {
            base.Initialize();
            Base.action.AddMenuAction(validateAddress);
        }



   public PXAction<SOOrder> validateAddress;
        [PXButton]
        [PXUIField(DisplayName = "Validate Address", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = true)]
        protected virtual void ValidateAddress()
        {
                         // Button logic here
​​​​​​​ 
        }
    }
Userlevel 2

Hello Sadok!

This functionality was replaced as follows.

In Acumatica ERP 2020 R1, a developer can configure fields and add new actions or customize exiting actions by using the Field Editor and Action Editor of the Customization Project Editor. The editors can be accessed in the Screens node of the navigation pane.

Modification of the Disabled, Hidden, and Required properties was previously available on the Main Properties tab of the Screen Editor. The Main Properties tab of the Screen Editor has been removed.

For more info, refer to the Customization: Extended Editors for Fields and Actions topic in Acumatica 202 R1 Initial Release notes.

 

Thanks :D

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