Hello,
I have a custom field called “Cheque Generado” in Transactions screen, this field is a check box type, I tried to override the CAAdj_RowSelected event but it does not work.
This is my code:
protected void CAAdj_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
{
InvokeBaseHandler(cache, e);
CAAdj row = (CAAdj)e.Row;
if (row != null)
{
Base.CAAdjRecords.AllowUpdate = true;
Base.CAAdjRecords.Cache.AllowUpdate = true;
PXUIFieldAttribute.SetEnabled<CAAdjExt.usrChequeGenerado>(cache, row, true);
}
}
Could you help me with this?