Hi @PDharmasena10,
Can you please share the setup of your workflow extension? If possible, share a small customization package using which we can reproduce the issue? What is the Acumatica version/build you are in?
I use Build 23.212.0024 (DB: 23.211.0017) to develop the customization. Here i have attached the inital customization with SO301000 page modidcations. and other one is after removing SO301000 screen. Both project have same issue
Hi @PDharmasena10,
Have you already tried resetting caches and restarting the application to address the issue. Please follow the steps below if you haven’t done so yet:
- Navigate to the Apply Updates screen (SM203510).
- Select Reset Caches to clear all cached data.
- Click Restart Application to reload the instance and apply any pending changes.
If the issue persists even after restarting the application, please try the following steps:
- Open the BIN folder in your Acumatica site directory (e.g. C:\Program Files (x86)\Acumatica ERP\<InstanceName>\Bin).
- Locate and delete the DLL file associated with the specific customization project. It is possible that the DLL is causing conflicts by holding on to outdated changes.
Hope, it helps!
Hi @Dipak Nilkanth I tried with your solution. But the issue still same.
I able to resolve the issue in field customization project. As I initially thought the issue is not relate to workflow customization. To enable the fields in every state I had override the RowSelected event. In that method I forgot to call the RowSeleted event in the Base instance. That is the reason to disable the exiting fields. I able to fix the issue updating my even as bellow
Updated Code
protected virtual void SOOrder_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
{
InvokeBaseHandler?.Invoke(cache, e);
SOOrder row = e.Row as SOOrder;
if (row != null)
{
//Allowing caches to update with below code
Base.Document.Cache.AllowUpdate = true;
//Base.Transactions.Cache.AllowUpdate = true;
PXUIFieldAttribute.SetEnabled<SOOrderExt.usrAgentName>(cache, row, true);
PXUIFieldAttribute.SetEnabled<SOOrderExt.usrDeliveryTime>(cache, row, true);
// rest of fields
}
Thank you for sharing your solution with the community @PDharmasena10!