Skip to main content

 

 

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

 

Thanks.

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.

 


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;
        rPXButton]
        rPXUIField(DisplayName = "Validate Address", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select, Enabled = true)]
        protected virtual void ValidateAddress()
        {
                         // Button logic here
​​​​​​​ 
        }
    }

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