![[s-hr][s-hr与eas同步]员工同步:missingrecord:position](https://media.my7c.com:19000/files/202409/15/84dbf080-128a-4f00-8f5e-fec47abbf6a4.jpg)
分析:员工任职职位未同步到eas导致提示缺失职位
处理:打开eas查询分析器,使用select fouterid from t_shr_idmapping where finnerid='提示中的id';
sql查询,找到fouterid字段值“fx/7k89YTqKZPJUPQHNhPXSuYS4=”;
再到s-HR的查询分析器中查看一下,这个id (fx/7k89YTqKZPJUPQHNhPXSuYS4=)对应的岗位是哪个,查询语句:select* from T_ORG_Position where fid ='fx/7k89YTqKZPJUPQHNhPXSuYS4=',查询到岗位后,根据岗位的编码名称,到eas那边看看这个岗位是否同步过来了,如果没有同步过来,则要先同步依赖的这个岗位,才能接着同步当前报错的数据
如下处理过程:
--1、根据报错fid 取fouterid --g33RyK4DQOewtpmAJlsj/3SuYS4= 到shr 查询相应信息
select *from t_shr_idmapping where finnerid in('g33RyK4DQOewtpmAJlsj/3SuYS4=')
--2 根据shr取到的编码信息查询eas这边这个岗位是否同步过来 两个步骤
-- 1)
select *from t_org_position where fnumber='ZLGW454' --查询为空就