COPY_Employee_No Employee_No_manual__c User__r.Employee_No__c 社内员工_员工号码COPY false Formula false false COPY_Work_Location Work_Location_manual__c TEXT(User__r.Work_Location__c) 社内员工_工作地COPY false Formula false false COPY_email_address Email User__r.Email 社内员工_电子邮件COPY false Formula false false COPY_mobile MobilePhone User__r.Mobile_Phone__c 社内员工_手机号码COPY false Formula false false Create_Customer_FulllName MedicalStaff_Full_name__c LastName + FirstName 新建客户人员的姓名 false Formula false false Dept_change_to_text Dept_text__c text(dept__c) 本部-更新到文本 false Formula false false Enter_date Hire_date_text__c Hire_Date__c 社内员工-入职日Copy false Formula false false Follow_stateUpdateDate Follow_stateUpdate__c today() 记录跟进状态更新日期 false Formula false false IsEndoscopeUpdateDate IsEndoscopeUpdate__c today() 记录是否负责内镜工作更新日期 false Formula false false JobStatusUpdateDate 服务技师培训项目更新岗位状态更新日期 JobStatusUpdateDate__c Today() 记录岗位状态更新日期 false Formula false false UniqueNumber UniqueNumber__c MobilePhone 经销商客户人员手机号唯一验证 false Formula false false UniqueNumberIsNULL UniqueNumber__c 经销商客户人员手机号唯一验证清空 false Null false false Update_staff_dept Dept_text__c TEXT(User__r.Dept__c) 社内员工-本部Copy false Formula false false gender_copy Gender_text__c Gender__c 社内员工-性别Copy false Formula false false Conbined_staff_name_to_FullName Create_Customer_FulllName FieldUpdate true 使用工作流程,新建姓名(姓+名) True&& $User.Id!= $Label.ByPassTrigger onAllChanges 保存岗位状态更新日期 JobStatusUpdateDate FieldUpdate true 服务技师培训项目更新岗位状态时自动记录下更新日期 $User.Id!= $Label.ByPassTrigger&&Campaign__c !=null && Campaign__r.RecordType.DeveloperName = 'ServiceEngineerTraining' && Text(OnJobState__c) != null && (ISNew()|| (ISCHANGED(OnJobState__c) )) onAllChanges 保存是否负责内镜工作更新日期 IsEndoscopeUpdateDate FieldUpdate true 保存是否负责内镜工作更新日期 $User.Id!= $Label.ByPassTrigger&&Campaign__c !=null && Campaign__r.RecordType.DeveloperName = 'ServiceEngineerTraining' && Text(IsEndoscope__c) != null && (ISNew()|| (ISCHANGED(IsEndoscope__c) )) onAllChanges 保存跟进状态更新日期 Follow_stateUpdateDate FieldUpdate true $User.Id!= $Label.ByPassTrigger&&Campaign__c !=null && Campaign__r.RecordType.DeveloperName = 'ServiceEngineerTraining' && Text(Follow_state__c) != null && (ISNew()|| (ISCHANGED(Follow_state__c) )) onAllChanges 客户人员手机号唯一验证清空 UniqueNumberIsNULL FieldUpdate false 客户人员手机号唯一验证清空(在线市场活动) 客户人员无效: 将唯一字段清空 AND( OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), ISCHANGED(Isactive__c), OR(TEXT(Isactive__c) ='无效(退休)',TEXT(Isactive__c) ='无效(重复)') ) onAllChanges 客户人员手机号唯一验证赋值 UniqueNumber FieldUpdate false 手机号重复验证-经销商客户人员和医院客户人员(在线市场活动) 客户人员有效: 新增客户人员并且手机号码有值,将手机号赋值给唯一字段 更新客户人员手机号,将手机号赋值给唯一字段 AND( OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), OR(ISNEW() && NOT(ISBLANK(MobilePhone)) && NOT(ISNULL(MobilePhone)), ISCHANGED(MobilePhone), TEXT(Isactive__c) ='有效') ) onAllChanges 更新 社内员工信息 Dept_change_to_text FieldUpdate false AND(RecordTypeId ="01210000000Qtky",ISBLANK( User__c), TRUE) onAllChanges 社内用户 邮箱地址COPY COPY_Employee_No FieldUpdate COPY_Work_Location FieldUpdate COPY_email_address FieldUpdate COPY_mobile FieldUpdate Enter_date FieldUpdate Update_staff_dept FieldUpdate gender_copy FieldUpdate false Contact.RecordTypeId equals 社内员工 Contact.User__c notEqual Contact.Active__c equals 使用中 onAllChanges