Cloud通过单据标识查询单据名称

select * from T_META_OBJECTTYPE_L where FID = 'SAL_SaleOrder'

 

 

select
FID
,(select FNAME
  from T_META_OBJECTTYPE_L
  where FID = T_META_OBJECTTYPE_Temp.FID
  and FLOCALEID = 2052) FNAME
,FKERNELXML
,(select
  FNAME
  from T_META_OBJECTTYPE_L
  where FID = T_META_OBJECTTYPE_Temp.FID and FLOCALEID = '2052') FNAME
,Item
from
(select FKERNELXML.query('//TableName') 'Item', * from T_META_OBJECTTYPE)
T_META_OBJECTTYPE_Temp
where convert(varchar(max),Item) like '%T_SEC_USER%'

你可能感兴趣的:(Cloud通过单据标识查询单据名称)