Version-21.217.0035
Hi,
am trying to make vendor field always enable
i tried by adding workflow to the package and also programmatically written row selected event to make enable
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/ea802025-353f-4821-b6b2-b6c0091a1e82.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/9b23eecb-7cf4-4e93-a4d4-662f213874ec.png)
Version-21.217.0035
Hi,
am trying to make vendor field always enable
i tried by adding workflow to the package and also programmatically written row selected event to make enable
Hi
Could you please try below code.
protected void CROpportunityProducts_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
{
if(InvokeBaseHandler != null)
InvokeBaseHandler(cache, e);
var row = (CROpportunityProducts)e.Row;
PXUIFieldAttribute.SetEnabled<CROpportunityProducts.vendorID>(cache, null);
}
Hope, it helps!
Regards,
Sweta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.