public class PRService extends AppService implements PRServiceRemote
critAPPR, critCANCEL, critCLOSE, critOPENPR, critWAPPRAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
PRService()
The PR service object.
|
PRService(MXServer mxServer)
The Server environment this service is created in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeStatus(PRRemote pr,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
MboSetRemote |
getPRLinesForPO(MboRemote mboRemote)
Depends on PRAPPROVAL maxvar to get a set of PR.
|
MboSetRemote |
getPRLinesForResultPO(MboRemote mboRemote)
Depends on PRAPPROVAL maxvar to get a set of External PR.
|
MboSetRemote |
getPRLinesForRFQ(MboRemote mboRemote)
Depends on PRAPPROVAL maxvar to get a set of PR.
|
void |
initCriteriaList(java.util.Hashtable criteriaTable)
Criteria defined for the PRService object.
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic PRService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic PRService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - Mxserverjava.rmi.RemoteExceptionpublic void initCriteriaList(java.util.Hashtable criteriaTable)
throws MXException,
java.rmi.RemoteException
initCriteriaList in class AppServicecriteriaTable - criteria HashtableMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getPRLinesForPO(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForPO in interface PRServiceRemotethe - PO Mbo.MXExceptionjava.rmi.RemoteExceptiongetPRLinesForPO(MboRemote)public MboSetRemote getPRLinesForResultPO(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForResultPO in interface PRServiceRemotethe - PO Mbo.MXExceptionjava.rmi.RemoteExceptiongetPRLinesForResultPO(MboRemote)public MboSetRemote getPRLinesForRFQ(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForRFQ in interface PRServiceRemoteuserInfo - User Info objectMXExceptionjava.rmi.RemoteExceptiongetPRLinesForRFQ(MboRemote)public void changeStatus(PRRemote pr, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus in interface PRServiceRemotepr - PR Mbositeid - SiteID of the PRstatus - The new statusdate - The datememo - The memo.MXApplicationException("pr", - "invalidstatuschange");
MXApplicationException("pr", "invalidstatus")
MXApplicationException("pr","LinesNotAssignedToPO")
MXApplicationException("pr", "statusdate")
MXApplicationException("pr", "approveamountexceeded")
MXApplicationException("pr", "invalidWO", params)
MXApplicationException("pr", "AlreadyAssignedToPO")MXExceptionjava.rmi.RemoteExceptionthrows MXException, RemoteException