Skip to main content

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.

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.


@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