I’m trying to set an attribute invisible using this line of code :
var row = (SOLine)e.Row;
if(row != null)
{
var rowExtension = row.GetExtension<Objects.SO.SOLineExt>();
PXUIFieldAttribute.SetVisible<rowExtension.UsrStkDispEntrp>(cache,row,false);
}
but i’m getting this error :
'rowExtension' is a variable but is used like a type
thanks.