Solved

Error Adding Buttons

  • 17 December 2020
  • 1 reply
  • 30 views

Userlevel 1

Hello

I dont know what wrong with this code : 

using System;

using PX.Data;

using System.Collections;



namespace Attributs

{

  public class AttributsForm : PXGraph<AttributsForm>

  {





    



    public PXSave<ZattributsPlan> Save;

    public PXCancel<ZattributsPlan> Cancel;

    public PXSelect<ZattributsPlan> MasterView;

    

    public PXFilter<DetailsTable> DetailsView;





    [Serializable]

    public class DetailsTable : IBqlTable

    {



    }

    

    public PXAction<ZattributsPlan> CalcPrice;

    public PXAction<ZattributsPlan> CalcTest;



    [PXButton(CommitChanges = true)]

    [PXUIField(DisplayName = "Param Liste 1")]

    protected void calcPrice()

    {



    }

      

    [PXButton(CommitChanges = true)]

    [PXUIField(DisplayName = "Param Liste 2")]

    protected void CalcTest()

    {



    }



  }

}

 

I have this Error: 

 

icon

Best answer by Naveen B 17 December 2020, 09:37

Hi @SadokHanini ,

Action name is case- sensitive.

[PXButton(CommitChanges = true)]
    [PXUIField(DisplayName = "Param Liste 2")]
    protected void calcTest()

{
}

Small - calcTest()

Please verify.

View original

1 reply

Userlevel 4
Badge +1

Hi @SadokHanini ,

Action name is case- sensitive.

[PXButton(CommitChanges = true)]
    [PXUIField(DisplayName = "Param Liste 2")]
    protected void calcTest()

{
}

Small - calcTest()

Please verify.

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 — 2020  Acumatica, Inc. All rights reserved