Skip to main content
Solved

Enabling a Field

  • February 2, 2023
  • 2 replies
  • 203 views

Michael Ndungi
Varsity I
Forum|alt.badge.img

Hello Everyone,

Have tried to enable the following field in contract management but Iā€™m unable to.

Kindly assist

 

All responses will be highly appreciated.

Best answer by Naveen Boga

@development93  These fields will be gets enabled from the respective Contract Template screen.

If Enable Override Formulas in Contracts field is checked

Please find the screenshot for reference.

 

 

 

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

2 replies

Forum|alt.badge.img+1

Hi @development93 ,

Please write the RowSelected Event Handler to enable/disable or show/ hide the required fields.

Example:

 protected virtual void _(Events.RowSelected< SOLine > e)
        {
           var row = (SOLine) e.Row;

          if (row == null) return; 

PXUIFieldAttribute.SetEnabled<SOLine.myField>(
    sender, e.row, false);

 

           
        }
 

 

I hope it helps you.

Moulali Shaik.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3407 replies
  • Answer
  • February 2, 2023

@development93  These fields will be gets enabled from the respective Contract Template screen.

If Enable Override Formulas in Contracts field is checked

Please find the screenshot for reference.

 

 

 


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