1.http://docs.wex5.com/bex5-ui-question-list-10169/
2.orgDialog返回人员电话号码需要修改如下
/BIZ/system/logic/code/dsrc/OPMProcedure.java中
- select = select + ",SA_OPPerson.sPhotoLastModified as sPhotoLastModified,SA_OPPerson.sNumb as sNumb";
复制代码
改为
- select = select + ",SA_OPPerson.sPhotoLastModified as sPhotoLastModified,SA_OPPerson.sNumb as sNumb,SA_OPPerson.sMobilePhone as personPhone";
复制代码
/UI2/system/components/justep/org/server/dsrc/GetOrgs.java中的- String postData = !"true".equalsIgnoreCase(includePersonPhotoLastModified) ? "{"contentType":"json","accept":"application/json","process":"/SA/OPM/system/systemProcess","activity":"mainActivity","action":"queryOrgAction","parameters":{"variables":{},"filter":"(SA_OPOrg.sValidState=1)","offset":0,"limit":-1,"columns":"SA_OPOrg,sAddress,sCode,sDescription,sFCode,sFID,sFName,sFax,sLevel,sLongName,sName,sNodeKind,sOrgKindID,sParent,sPersonID,sPhone,sSequence,sValidState,sWxDeptID,sZip,version","cacheFilter":null},"translateParameter":{"dataType":"row-tree","transformIdcolumn":true,"includeState":true,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"SA_OPOrg","sequence":"SA_OPOrg,sAddress,sCode,sDescription,sFCode,sFID,sFName,sFax,sLevel,sLongName,sName,sNodeKind,sOrgKindID,sParent,sPersonID,sPhone,sSequence,sValidState,sWxDeptID,sZip,version","treeOption":{"tree-parent-relation":"sParent"}}}}"
- : "{"contentType":"application/json","accept":"application/json","process":"/SA/OPM/system/systemProcess","activity":"mainActivity","action":"queryOrgAction","parameters":{"columns":"SA_OPOrg,sName,sCode,sLongName,sFName,sFCode,sFID,sOrgKindID,sPersonID,sValidState,sSequence,sPhotoLastModified,sNumb","limit":-1,"offset":0,"includePersonPhotoLastModified":true},"translateParameter":{"dataType":"row-list","transformIdcolumn":false,"includeState":false,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"SA_OPOrg","sequence":"SA_OPOrg,sName,sCode,sLongName,sFName,sFCode,sFID,sOrgKindID,sPersonID,sValidState,sSequence,sPhotoLastModified,sNumb"}}}";
复制代码
改为
- String postData = !"true".equalsIgnoreCase(includePersonPhotoLastModified) ? "{"contentType":"json","accept":"application/json","process":"/SA/OPM/system/systemProcess","activity":"mainActivity","action":"queryOrgAction","parameters":{"variables":{},"filter":"(SA_OPOrg.sValidState=1)","offset":0,"limit":-1,"columns":"SA_OPOrg,sAddress,sCode,sDescription,sFCode,sFID,sFName,sFax,sLevel,sLongName,sName,sNodeKind,sOrgKindID,sParent,sPersonID,sPhone,sSequence,sValidState,sWxDeptID,sZip,version,personPhone","cacheFilter":null},"translateParameter":{"dataType":"row-tree","transformIdcolumn":true,"includeState":true,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"SA_OPOrg","sequence":"SA_OPOrg,sAddress,sCode,sDescription,sFCode,sFID,sFName,sFax,sLevel,sLongName,sName,sNodeKind,sOrgKindID,sParent,sPersonID,sPhone,sSequence,sValidState,sWxDeptID,sZip,version,personPhone","treeOption":{"tree-parent-relation":"sParent"}}}}"
- : "{"contentType":"application/json","accept":"application/json","process":"/SA/OPM/system/systemProcess","activity":"mainActivity","action":"queryOrgAction","parameters":{"columns":"SA_OPOrg,sName,sCode,sLongName,sFName,sFCode,sFID,sOrgKindID,sPersonID,sValidState,sSequence,sPhotoLastModified,sNumb,personPhone","limit":-1,"offset":0,"includePersonPhotoLastModified":true},"translateParameter":{"dataType":"row-list","transformIdcolumn":false,"includeState":false,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"SA_OPOrg","sequence":"SA_OPOrg,sName,sCode,sLongName,sFName,sFCode,sFID,sOrgKindID,sPersonID,sValidState,sSequence,sPhotoLastModified,sNumb,personPhone"}}}";
复制代码 然后在windowDialog的onReceive事件中就可以获取到
personPhone电话号码
|