有可能是 User 分配 Employee 時, wf_local_roles.display_name 沒有同步更新為 employee full name.
解決方式, 有兩種 :
方式 1
直接到 Employee 作業中, 更改一下 Employee 資料, 然後儲存,
這樣同時會將 wf_local_roles.display_name 更改為 employee full name
方式 2
直接下 update 語法,
更改 wf_local_roles.display_name 為 employee full name (per_all_people_f.full_name)
更新程式碼
update wf_local_roles
set display_name = (select FULL_NAME
from PER_ALL_PEOPLE_F
where PERSON_ID = (select employee_id
from fnd_user
where user_name = name
)
and EFFECTIVE_START_DATE < SYSDATE
and (EFFECTIVE_END_DATE > SYSDATE or EFFECTIVE_END_DATE is null)
)
where name = '&USERNAME';