public class MaxPOProcess extends StatefulMicSetIn
set
INTEGRATIONLOGGER
ACTION, ACTION_EJB_LOCAL_REF_KEY, ACTION_EJB_REF_KEY, ACTIONADD, ACTIONADDUPDATE, ACTIONDELETE, ACTIONREPLACE, ACTIONUPDATE, ADD, APPEXPORT, AXISDIR, BYPASS, COMMA_CHAR, COMPLETE, DATATYPE, DELETED, EJB_JNDI_KEY, ENABLEPOLLING, ENTERPRISE_EJB_LOCAL_REF_KEY, ENTERPRISE_EJB_REF_KEY, ERREXTRACT, ERROR, ERRORED, ERRORMESSAGETAG, ERTAG, EXCLUDE, EXTRACT, FILEDIR, FILEEXTENSION, FILENAME, FLAT_DATA, FLAT_ROW, FLATFILESEP, FLATFILETYPE, IFACEDRIVER, IFACEEPDESC, IFACEISREMOTE, IFACEPASSWORD, IFACETABLE, IFACEURL, IFACEUSERNAME, INCLUDE, INTEGRATION_LOGGER, IRTAG, ISCONTINUOUS, JMSRECOVERYDIR, JMSRECOVERYMSGDATAELEMENT, JMSRECOVERYMSGPROPELEMENT, JMSRECOVERYTOPELEMENT, JSONFILETYPE, LOADFLAT, LOADXML, LONGDESCRIPTIONCOLNAME, MAX_AUTH_HEADER, MAX_POST_SIZE, MAXIMO_TYPE, MEA_PROCESS_FLAG, MEAAPPNAME, MESSAGE_DESTINATION, MESSAGE_INTERFACE, MESSAGE_INTERFACE_TABLE, MESSAGE_INTERFACE_TYPE, MESSAGE_OS_NAME, MESSAGE_POLL_TABLE, MESSAGE_SENDER, MOS_EJB_LOCAL_REF_KEY, MOS_EJB_REF_KEY, MSG_ERR_MSG, MSG_KEY_VAL, MSG_OP_MODE, MSG_OPERATION, MSG_STATUS, MSG_TRK_ENABLED, MSG_TRK_EXTSYS, MSG_TRK_STORE_MSG, MXJMS, NONPERSISTENT, NONRESTRICTSETTING, NULL, POLLINGFREQUENCY, PROCESS, PROCESSED, QUEUE_NAME, QUEUECONTEXT, RECEIVED, REJECTED, RESTRICTSETTING, RESTRICTSTRUCTURE, ROOT_NODE, ROUTER_JNDI_NAME, SEARCH_FIELD_VAL, SKIP, SKIPMBO, sNo, sYes, TENANTID, TEXTQUALIFIER, TOPTAGFORERR, TOTAL_GL_COMPS_ALLOWED, TRANSIDSEQ, TXNDATA, UPDATE, USER, USERCOLUMN, VIEW, XML_DATA, XMLFILETYPE, XMLTYPE
ACTION, ACTIONADD, ACTIONADDUPDATE, ACTIONDELETE, ACTIONREPLACE, ACTIONUPDATE, ADAPTER_INSTALL, ADD, ADDATEND, BASELANGUAGE, BYPASS, COMPANYSETID_NAME, COMPLETE, CONFIGFILENAME, CREATIONDATETIME, DELETEFORINSERT, DEPLOYMENT_MANAGER, ENTERPRISE_SERVICE, ERRORTAG, ESCAPECHAR, EVENT, FILTERMBOKEY, INVOKE_CHANNEL, ITEMSETID_NAME, MAXIMO_NS_PREFIX, MAXIMOVERSION, MESSAGEID, MESSAGETYPE_CREATE, MESSAGETYPE_DELETE, MESSAGETYPE_INITIATE, MESSAGETYPE_INVOKE, MESSAGETYPE_MERGE, MESSAGETYPE_PATCH, MESSAGETYPE_PROCESS, MESSAGETYPE_PUBLISH, MESSAGETYPE_QUERY, MESSAGETYPE_RESPONSE, MESSAGETYPE_SYNC, MESSAGETYPE_UPDATE, MESSAGETYPE_WAKEUP, OBJECT_STRUCTURE_SERVICE, ORGID_NAME, OVERRIDEALWAYS, OVERRIDENULLONLY, PROCESS, SITEID_NAME, SKIP, SKIPMBO, SKIPMBOKEY, STANDARD_SERVICE, TRANSLANGUAGE, UPDATE, XSI_NS, XSI_NS_PREFIX
Constructor and Description |
---|
MaxPOProcess()
Construct the MaxPOProcess class
|
Modifier and Type | Method and Description |
---|---|
MboRemote |
addMbo(MboSetRemote mboSet)
Try to find in memory MBO with the keys matched with XML data for the
currebt level
|
void |
checkAdditionalRules()
Method to call at the end of processing can be used to set data for the
whole object.It will clear allPR HashMap after every PO is processed.
|
int |
checkBusinessRules(MboSetRemote mboSet,
java.lang.String tableName)
Method to call back and find out can we process data from specific table.
|
MboSetRemote |
createMboSet(boolean primaryMbo,
MboRemote parentMbo,
MosDetailInfo mdi,
java.lang.String processTable)
Create mbo and mbo set sets for incomig transactions
|
MboRemote |
findApprovedPO()
Return an approved, in progressed or waiting for approved purchase order.
|
MboRemote |
findValidStatusPO()
Purchase Orders exist in database with different revisions.
|
MboRemote |
getPR(java.lang.String prnum,
java.lang.String siteid)
Returned PR object based on PRNum and Site.
|
void |
setAdditionalData(MboSetRemote MboSet,
java.lang.String tableName)
Method to set all addition data from XML to MBO which was not set thru
Integration DD
|
afterProcess, changeStatus, checkForUpdate, processStatefulSet, unapprove
getSender, processResponse
afterReplace, checkBusinessRules, checkDocumnetMaxSize, checkValidateErrors, cleanup, compareMboKeyValues, compareMboKeyValues, copyParentKey, createMboSet, delete, deleteAll, findTargetMbo, getAccessModifier, getAttachmentFileName, getCompanySet, getItemSet, getLanguage, getOrg, getSite, isBranchFilterOn, isEsigVerified, presetMboRules, processExternalData, processMboSet, processObjectStructureService, resetMboSet, save, setAccessModifier, setAttachments, setAutokeyFlag, setEsigVerified, setSkipSetFields, setValidOrgSite, verifyEsig, writeAttachments
getDBName, getInterDD, getJsonRequest, getKeyArray, getKeyArray, getMosName, getPrimaryMbo, getTransaction, getTransactionAction, getUserInfo, hasInvokedScript, hasScript, isMaxVarEQ, isValueEQ, setJsonRequest, setMosName, setOSName, setOSPrimaryMbo, setUserInfo
public MaxPOProcess() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic int checkBusinessRules(MboSetRemote mboSet, java.lang.String tableName) throws MXException, java.rmi.RemoteException
checkBusinessRules
in class MosProcessImpl
tableName
- Give name of process MAXIMO tablemboSet
- Give MboSet for the current level.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic MboSetRemote createMboSet(boolean primaryMbo, MboRemote parentMbo, MosDetailInfo mdi, java.lang.String processTable) throws MXException, java.rmi.RemoteException
createMboSet
in class MosProcessImpl
parentMbo
- Give reference to parent Mbo.micInfo
- Give MicSetInfo for the current level.processTable
- Give name of table to processMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic MboRemote addMbo(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
addMbo
in class MosProcessImpl
mboSet
- Give MboSet for the current level.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void setAdditionalData(MboSetRemote MboSet, java.lang.String tableName) throws MXException, java.rmi.RemoteException
setAdditionalData
in class MosProcessImpl
tableName
- Give name of process MAXIMO tableMboSet
- Give MboSet for the current level.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void checkAdditionalRules() throws MXException, java.rmi.RemoteException
checkAdditionalRules
in class StatefulMicSetIn
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic MboRemote findValidStatusPO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote findApprovedPO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getPR(java.lang.String prnum, java.lang.String siteid) throws MXException, java.rmi.RemoteException
prnum
- PR numbersiteid
- PR's siteMXException
java.rmi.RemoteException