public class PRService extends AppService implements PRServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlcritAPPR, 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, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, 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.RemoteExceptionPRService.getPRLinesForPO(MboRemote)public MboSetRemote getPRLinesForResultPO(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForResultPO in interface PRServiceRemotethe - PO Mbo.MXExceptionjava.rmi.RemoteExceptionPRService.getPRLinesForResultPO(MboRemote)public MboSetRemote getPRLinesForRFQ(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForRFQ in interface PRServiceRemoteuserInfo - User Info objectMXExceptionjava.rmi.RemoteExceptionPRService.getPRLinesForRFQ(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