Solved

Question on where to enter on the graph

  • 15 September 2021
  • 3 replies
  • 51 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);
}
}
}

icon

Best answer by Naveen Boga 15 September 2021, 21:52

View original

3 replies

Userlevel 7
Badge +17

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?

Userlevel 7
Badge +17

Yes @cmurray04  You can add your logic and 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 — 2024  Acumatica, Inc. All rights reserved