I learned from others that in previous Acumatica version , the fields can be enabled in “automation steps”. But I am using 2020R2, the steps of shipments are no longer allowed to use.
I can only use “workflow and state”.
But it does not work out, the fields are still disabled.
Does anybody know another way to enable the customized fields and allow updating?
Best answer by Naveen B
In 20 R2, since the Automation steps are de-activated by default and NOT able to activate, Can you please add below RowSelected event and verify..
public class SOShipmentEntryExt : PXGraphExtension<SOShipmentEntry>
protected virtual void SOShipment_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
SOShipment row = e.Row as SOShipment;
if (row != null)
Base.Document.Cache.AllowUpdate = true;
PXUIFieldAttribute.SetEnabled<SOShipmentExt.usrTestField>(cache, row, true);