Skip to main content
Answer

How to enable a User Defined Field on Journal Transactions screen when Batch is Released?

  • October 3, 2025
  • 2 replies
  • 51 views

HristinaP77
Freshman I
Forum|alt.badge.img

Hello, 

I have added a User Defined Field on Journal Transactions screen. Is it possible to make this field enabled for all statuses?

 

I have tried to add code in the RowSelected event, but it does not work:

    protected void Batch_RowSelected(PXCache cache, PXRowSelectedEventArgs e)    {      var row = e.Row as Batch;      if (row == null) return;      PXUIFieldAttribute.SetEnabled(cache, row, "AttributeRECURRING", true);    }

 

I have also tried to add an extension of the Default workflow, but it does not work too.

 

 

Any help is appreciated! 

Best answer by Django

Have a look at this post:

 

See if that helps.

 

Otherwise, when you need to make a field in the cache editable, you also need to make the cache editable first.

cache.AllowUpdate = True;

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

 

2 replies

Forum|alt.badge.img+7
  • Captain II
  • Answer
  • October 3, 2025

Have a look at this post:

 

See if that helps.

 

Otherwise, when you need to make a field in the cache editable, you also need to make the cache editable first.

cache.AllowUpdate = True;

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

 


HristinaP77
Freshman I
Forum|alt.badge.img
  • Author
  • Freshman I
  • October 7, 2025

@Django

Thank you for your help! Turns out I was missing:

cache.AllowUpdate = true;