MboSetRemotewfment=this.getMboSet("$wfassignment","wfassignment","ownerid='"+this.getInt("rfqid")+"' and assignstatus='ACTIVE' and assigncode='"+this.getUserInfo().getPersonId().toUpperCase()+"' and ownertable='"+this.getName().toUpperCase()+"'");
MboSetRemoteprSet=this.getMboSet("$rfq","rfq","custcode=(select custcode from rfq,(select '%'+max(SUBSTRING(custcode,14,3)) b from rfq where siteid='"+siteid+"')a where custcode like a.b)");
System.out.println("custcode=(select custcode from rfq,(select '%'+max(SUBSTRING(custcode,14,3)) b from rfq where siteid='"+siteid+"')a where custcode like a.b)");
MboSetRemoteprSet=getMboSet("$rfq","rfq","custcode=(select custcode from rfq,(select '%'+max(SUBSTRING(custcode,14,3)) b from rfq where siteid='"+siteid+"')a where custcode like a.b)");
System.out.println("custcode=(select custcode from rfq,(select '%'+max(SUBSTRING(custcode,14,3)) b from rfq where siteid='"+siteid+"')a where custcode like a.b)");
@@ -22,7 +22,7 @@ public class CustPjobehaviornoDataBean extends MultiselectDataBean{
RemoteException{
DataBeanappBean=app.getAppBean();
MboRemotegroupMbo=appBean.getMbo();
MboSetRemotems=super.getMboSetRemote();;
MboSetRemotems=super.getMboSetRemote();
System.out.println(" behaviortype=2 and TREATMENTMETHOD = 2 and (wonum is NULL or wonum ='') and pjoobservationid ='"+groupMbo.getLong("PJOOBSERVATIONID")+"'");
ms.setWhere(" behaviortype=2 and TREATMENTMETHOD = 2 and (wonum is NULL or wonum ='') and pjoobservationid ='"+groupMbo.getLong("PJOOBSERVATIONID")+"'");
returnms;
...
...
@@ -37,8 +37,13 @@ public class CustPjobehaviornoDataBean extends MultiselectDataBean{