public class PRService extends AppService implements PRServiceRemote
critAPPR, critCANCEL, critCLOSE, critOPENPR, critWAPPR
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public PRService() throws java.rmi.RemoteException
java.rmi.RemoteException
public PRService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- Mxserverjava.rmi.RemoteException
public void initCriteriaList(java.util.Hashtable criteriaTable) throws MXException, java.rmi.RemoteException
initCriteriaList
in class AppService
criteriaTable
- criteria HashtableMXException
java.rmi.RemoteException
public MboSetRemote getPRLinesForPO(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForPO
in interface PRServiceRemote
the
- PO Mbo.MXException
java.rmi.RemoteException
getPRLinesForPO(MboRemote)
public MboSetRemote getPRLinesForResultPO(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForResultPO
in interface PRServiceRemote
the
- PO Mbo.MXException
java.rmi.RemoteException
getPRLinesForResultPO(MboRemote)
public MboSetRemote getPRLinesForRFQ(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getPRLinesForRFQ
in interface PRServiceRemote
userInfo
- User Info objectMXException
java.rmi.RemoteException
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 PRServiceRemote
pr
- 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")MXException
java.rmi.RemoteException
throws MXException, RemoteException