在预警平台里定义了员工转正规则,接收人是需要转正的员工,需要进行动态定义,但没有执行,求原因?
var formula_result; //{bos_formula_comments_var:var_name=formula_result|var_type=|var_scope=return|var_alias=公式结果|var_desc=公式返回结果}
var var1; //{bos_formula_comments_var:var_name=var1|var_type=INT|var_scope=in|var_alias=提前天数|var_desc=}
var HRPersonWarnFacade; //{bos_formula_comments_var:var_name=HRPersonWarnFacade|var_type=com.kingdee.eas.hr.emp.IHRPersonWarnFacade|var_scope=local|var_alias=取职员关联属性功能|var_desc=预警取职员的非直接关联的属性Facade}
var PersonFacade; //{bos_formula_comments_var:var_name=PersonFacade|var_type=com.kingdee.eas.basedata.person.IPersonFacade|var_scope=local|var_alias=人员功能对象|var_desc=人员功能对象}
var PersonPosition; //{bos_formula_comments_var:var_name=PersonPosition|var_type=com.kingdee.eas.hr.emp.PersonPositionInfo|var_scope=local|var_alias=员工任职信息|var_desc=员工任职信息}
formula_result =PersonFacade.getReceiversByRoleNumberAndPersonNumber(0006, PersonPosition.person.number ) ;
return formula_result;
推荐阅读