关键字:
microsoft project server
enterprise project outline code
declare @PROJ_ID int
declare @CODE_FIELD_ID int
set @PROJ_ID = 237
set @CODE_FIELD_ID = 188744592
SELECT CODE_FIELD_ID,CODE_UID FROM MSP_CODE_FIELDS
WHERE
PROJ_ID = @PROJ_ID
and CODE_FIELD_ID = @CODE_FIELD_ID
ORDER BY CODE_FIELD_ID,CODE_REF_UID
CODE_FIELD_ID CODE_UID
------------- -----------
188744592 90
根据CODE_UID可以在全局项目某个大纲代码值列表中找到对应值