我从shr同步集成到eas,需要同步的是组织,岗位与员工。
组织同步过来了,岗位报错:
数据有错误:syncPos的上级职位是syncPos,{3}没有上级汇报职位。
com.kingdee.eas.basedata.org.app.PositionHierarchyControllerBean.setLevelAndLongNumber(PositionHierarchyControllerBean.java:234)
com.kingdee.eas.basedata.org.app.PositionHierarchyControllerBean._addnew(PositionHierarchyControllerBean.java:79)
com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.addnew(AbstractCoreBaseControllerBean.java:128)
sun.reflect.GeneratedMethodAccessor389.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
java.lang.reflect.Method.invoke(Method.java:619)
com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:125)
com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:60)
com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
com.sun.proxy.$Proxy344.addnew(Unknown Source)
com.kingdee.eas.framework.CoreBase.addnew(CoreBase.java:93)
sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
java.lang.reflect.Method.invoke(Method.java:619)
com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
com.sun.proxy.$Proxy349.addnew(Unknown Source)
com.kingdee.eas.basedata.org.app.PositionControllerBean._addnew(PositionControllerBean.java:803)
com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.addnew(AbstractCoreBaseControllerBean.java:128)
com.kingdee.eas.framework.app.CoreBaseControllerBean._save(CoreBaseControllerBean.java:236)
com.kingdee.eas.framework.app.DataBaseControllerBean._save(DataBaseControllerBean.java:551)
com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.save(AbstractCoreBaseControllerBean.java:499)
sun.reflect.GeneratedMetho
推荐阅读