com 引用



sql引用


直接编辑RQE
<RETURNED_PROPERTY Name=”materialgrade” SQLType=”BStr”>
<PATHS>
<PATH SourceType=”*” SourceBOC=”” DestinationInterface=”CONSTANT” DestinationProperty=”[PartMaterialGrade]” DestinationBOC=”” Concatenate=”No” PathSeparator=”” />
</PATHS>
</RETURNED_PROPERTY>

selectPcom.CommodityType_LongValue,
dbo.REPORTConvertNPD(‘in’,Pcom.PriSizeNPDUnits, Pcom.PrimarySize) AS ‘NPD1’,
‘in’ AS ‘NPDUnitType1’,
‘Piping’ AS ‘Category’,
NULL AS ‘BoltDiameter’,
dbo.REPORTConvertNPD(‘in’,Pcom.SecSizeNPDUnits, Pcom.SecondarySize) AS ‘NPD2’,
‘in’ AS ‘NPDUnitType2’,
‘[Ports]’ AS PortsInfo,
Mfd.SurfacePreparation_ShortValue,
Pcom.LiningMaterial_ShortValue,
Pcom.GeometricIndustryStandard_ShortValue as GeomIndStandard_ShortValue,
mcd.Manufacturer_ShortValue,
Pcom.MaterialsGrade_ShortValue,
Mfd.MiscRequisitionClassification_ShortValue as MiscReqClassfn_ShortValue
FROM JPartOcc po
JOIN xmadeFROM rmf ON (po.oid = rmf.oidorigin)
JOIN dbo.JDPipeComponent_CL Pcom ON (pcom.oid = rmf.oiddestination)
JOIN dbo.JUAManufacturerData_CL Mfd ON (Pcom.Oid = Mfd.Oid)
JOIN xpartocctomaterialcontroldata xptmcd on xptmcd.oidorigin = po.oid
JOIN JGenericMaterialControlData_CL mcd on mcd.oid = xptmcd.oiddestination
WHERE po.oid = ?


您需要登录 或注册 后才可以发表评论。