Hi guys
Here I need default values in unbound fields and
I have tried below scenarios both are not getting output could plz have look
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/53161534-bd8e-4dda-a4c8-83089c65704f.png)
[PXUnboundDefault(typeof(Search<CSAttributeDetail.description,
Where<CSAttributeDetail.valueID,
Equal<Current<LocationExt.usrSuperMarket>>>>))]
AND
protected void Location_UsrSuperMarketDescription_FieldDefaulting(PXCache cache, PXFieldDefaultingEventArgs e)
{
var row = (Location)e.Row;
LocationExt line = new LocationExt();
CSAttributeDetail Description2 = (CSAttributeDetail)e.Row;
if (line.UsrSuperMarket != null)
{
line.UsrSuperMarketDescription = Description2.Description;
}
}
Best answer by Naveen Boga
View original