Skip to main content

Hello I have an action button that needs to be conditionally available after the quote approved checkbox is selected from the opportunity then this box “conver to project” needs to be conditionally available. I was provided a sample code, but I am unsure of how I use it? 

 

Would I create a project, and create a new code with it? 

 

protected virtual void SOOrder_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
{
InvokeBaseHandler?.Invoke(cache, e);
SOOrder row = e.Row as SOOrder;

if (row != null)
{
if(Condtion)
{
ActonName.SetEnabled(true);
}
else
{
ActonName.SetEnabled(false);
}
}
}

Hi @cmurray04  To add the code to the Graph, please find the details below.

  • Open Customization Project 

 

  • Add the code to the graph.

 

 

 

 

If you are new to the Acumatica development, please work on the Application Developer certification, so the you will get the very good knowledge from it to work on the customization

 

 

 


thanks naveen is the code provided generic, do i need to add it to tailor to the field that i am conditionally making available?


Yes @cmurray04  You can add your logic and verify.


Reply