同步工具(同步云之家)数据问题的常用后台sql处理
用administrator 打开 EAS客户端 查询分析器:
一、人员数据同步云之家:
查询一个云之家人员映射了两个eas人员的数据 select fxtid,count(*) from t_pm_easxtusermap where fxtid is not null group by fxtid having count(*)>1
查询中间表中存在重复手机号的记录:
select fcell from t_pm_easxtusermap where fcell is not null group by fcell having count(*)>1
删除中间表中重复手机号的记录:
delete from t_pm_easxtusermap where fcell in (select fcell from t_pm_easxtusermap where fcell is not null group by fcell having count(*)>1 )
查询职员表中不存在 在中间表却存在的脏数据:
select * from t_pm_easxtusermap where fpersonid not in (select fid from t_bd_person)
删除职员表中不存在 在中间表却存在的脏数据:
delete from t_pm_easxtusermap where fpersonid not in (select fid from t_bd_person)
执行以上sql 后,去eas 网页端 同步云之家的功能页面 点击“数据更新”后 再次同步!
可以解决 60%以上的 同步云之家“人员”数据同步的问题
---------------------------------------------------------------------------------------------------------------
二、组织数据同步云之家:
查询中间表中一个云之家组织绑定多个EAS组织的记录:
select fxtorgid from t_pm_easxtorgmap where fxtorgid is not null group by fxtorgid having count(*)>1
删除中间表中一个云之家组织绑定多个EAS组织的记录:
delete from t_pm_easxtorgmap where fxtorgid in (select fxtorgid from t_pm_easxtorgmap where fxtorgid is not null group by fcell having count(*)>1 )
查询行政组织表中不存在 在中间表却存在的脏数据:
select * from t_pm_easxtorgmap where feasorgid not in (select fid from t_org_admin)
删除行政组织表中不存在 在中间表却存在的脏数据:
delete from t_pm_easxtorgmap where feasorgid not in (select fid from t_org_admin)
执行以上sql 后,去eas 网页端 同步云之家的功能页面 点击“数据更新”后 再次同步!
可以解决 60%以上的 同步云之家“组织”数据同步的问题
同步工具(同步云之家)数据问题的常用后台sql处理
本文2024-09-16 22:04:22发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-45751.html
- 鼎捷EAI整合規範文件V3.1.07 (集團).pdf
- 鼎捷OpenAPI應用場景說明_基礎資料.pdf
- 鼎捷OpenAPI應用場景說明_財務管理.pdf
- 鼎捷T100 API設計器使用手冊T100 APIDesigner(V1.0).docx
- 鼎新e-GoB2雲端ERP B2 線上課程E6-2應付票據整批郵寄 領取.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程A4使用者建立權限設定.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程C3會計開帳與會計傳票.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程E6-1應付票據.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程A5-1進銷存參數設定(初階篇).pdf
- 鼎新e-GoB2雲端ERP B2 線上課程D2帳款開帳與票據開帳.pdf