U9 产品结构自定义字段
1、字段属性中新增自定义字段;
2、字段属性栏目中定义显示字段取值公式;
格式:GetDataFromOQL("OQL语句")
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
=GetDataFromOQL("select case when UFIDA::U9::CBO::MFG::BOM::BOMComponent.IsPhantomPart='True' then '√' else '' end as 虚拟 from UFIDA::U9::CBO::MFG::BOM::BOMComponent where UFIDA::U9::CBO::MFG::BOM::BOMComponent.ID=U_DF.GetQLValue(Fields!SrcID.Value)")
简单粗暴的记录,便于后续翻阅,转载请注明出处。