审批流非审批人通知消息应用—U8C实施与服务支持部谢由根审批流定义可以指定消息接收人(该接收人可以不是审批环节的人)如消息内容取表体字段需要打补丁:消息内容右键可以选择项目,如下图所示:请购单据号+存货名称+数量显示的主键,如何显示名称?解决方案:如果想要名称,加上后缀.getName()如果想要编码,加入后缀.getCode()后缀.getName(),是要在%%里面加的如%%vo.getParentVO().getAttributeValue("ccustomerid")%%取到的客商主键,要想取名称的话,需要改为%%vo.getParentVO().getAttributeValue("ccustomerid").getName()%%示例:以请购单据号+存货名称+数量为例以请购单审批流为例,若要显示子表的存货名称:需消息配置%%vo.getChildrenVO()[0].getAttributeValue("cmangid").getName()%%,注意前台在配置时是“存货管理id”加.geName(),并且单据项目管理处也需引用存货档案。(此处不能用“存货基本id”,因为引用的存货档案在代码中实际是按存货管理档案id翻译的)至于要显示多行存货,可自行加多行公式:%%vo.getChildrenVO()[0].getAttributeValue("cmangid").getName()%%%%vo.getChildrenVO()[1].getAttributeValue("cmangid").getName()%%%%vo.getChildrenVO()[2].getAttributeValue("cmangid").getName()%%其中[0][1][2]代表的是第123行。若加了三行公式但实际单据只有两行那也只会显示两行的存货。放入公式如下:%%paravo.m_billNo%%%%vo.getChildrenVO()[0].getAttributeValue("cmangid").getName()%%+"数量:"%%vo.getChildrenVO()[0].getAttributeValue("npraynum")%%";"%%vo.getChildrenVO()[1].getAttributeValue("cmangid").getName()%%+"数量:"%%vo.getChildrenVO()[1].getAttributeValue("npraynum")%%";"%%vo.getChildrenVO()[2].getAttributeValue("cmangid").getName()%%+"数量:"%%vo.getChildrenVO()[2].getAttributeValue("npraynum")%%前台展示效果:显示效果可根据项目需求适当调整。