Skip to main content
Solved

Question on where to enter on the graph

  • September 15, 2021
  • 3 replies
  • 52 views

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);
}
}
}

Best answer by Naveen Boga

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

 

 

 

View original
Did this topic help you find an answer to your question?

3 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3404 replies
  • Answer
  • September 15, 2021

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

 

 

 


  • Author
  • Freshman I
  • 1 reply
  • September 16, 2021

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


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3404 replies
  • September 16, 2021

Yes @cmurray04  You can add your logic and verify.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings