Skip to main content

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?

Hi, @alejandroalvarado64  Once Document is RELEASED entire document fields will go to non-editable mode.

If we want to enable the fields, we need to enable the field from the code level as well as from the Workflow as well.

I have written an article on this, please find the link below. Let me know if you have any queries.

https://asiablog.acumatica.com/2021/10/enable-customization-fields-when-document-is-completed.html


Hi @Naveen B,

Thanks so much, I followed the steps and it worked great, 

Have a nice day!

 


@alejandroalvarado64  Great 🙂 Thanks for sharing the update.


Hi ​@Naveen Boga
I tried to access your article. But now it is not available at the provided URL. Can you check it? 
 


@PDharmasena10  Try this link - https://asiablog.acumatica.com/?p=7873


Reply