public class POLineSet extends MboSet implements POLineSetRemote
Modifier and Type | Field and Description |
---|---|
MboSetRemote |
dbPOLineSet
08-22527: contains poline set in database
|
long |
maxPOLineSeq |
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
AGREEMENTINPUT, INVENTORY, INVOICE, INVVENDOR, ITEM, MANUFACTURER, MATRECTRANS, MATRECTRANS_COURIER, MATRECTRANS_COURIER_LABOR, MR, ORDERUNIT, PO, POCOST, POLINESPECCLASS, PRLINE, SERVRECTRANS, SHIPMENTLINE, VENDORSTATUSLINE, WORKORDER
INSERTONLY, INSERTORUPDATE, UPDATEONLY
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
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 |
---|
POLineSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
MboRemote |
addAtIndex(long accessModifier,
int index)
Get default line type from database.
|
void |
canAdd()
Can an object be added to the POLine?
The owner of POLine must be PO and the status should be WAPPR.
|
void |
completeReceipts()
Sets the receiptcomplete flag to true on the lines that have been selected.
|
void |
defaultReceiptQty()
Calculate and set the default receipt quantity for each POLine in this set.
|
MboRemote |
getPOForQueryOnly(java.lang.String ponum,
java.lang.String siteid,
java.lang.String revisionnum)
IV35816/71201: multiple POLines query just one PO.
|
java.lang.String |
getUserWhere(java.lang.String alias)
This method overridden to support QBE on nonpersistent attributes DisplayWonum
and DisplayTaskID.
|
void |
populatePOLineNum(MboRemote poLine)
08-22875: populate polinenum when a new POLine record is created
|
void |
preValidateIpcBom(IpcBomSetRemote bomset)
Hook for IPC to prevalidate bills of materials for this particular application
|
void |
resetQbe()
Reset the QBE for this object, i.e.
|
void |
returnIPCParts(IpcSelectedPartsSetRemote partset)
Hook for IPC to return selected parts in IPC back to the purchase order
|
MboSetRemote |
setDBPOLineSet(MboRemote thisPOLine)
08-22527: set the instance variable dbPOLineSet if it is null
|
void |
setPOforQueryOnly(MboRemote po)
IV35816/71201: for performance
|
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
Add an expression to the existing Qbe.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public MboSetRemote dbPOLineSet
public long maxPOLineSeq
public POLineSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void defaultReceiptQty() throws MXException, java.rmi.RemoteException
defaultReceiptQty
in interface POLineSetRemote
MXException
java.rmi.RemoteException
defaultReceiptQty()
public void completeReceipts() throws MXException, java.rmi.RemoteException
completeReceipts
in interface POLineSetRemote
MXException
java.rmi.RemoteException
completeReceipts()
public void canAdd() throws MXException
canAdd
in class MboSet
MXApplicationException(po,
- addpoline) is thrown when the owner is not POMXApplicationException(po,
- cannotAdd) is thrown when the PO status is not WAPPRMXException
public void setQbe(java.lang.String attribute, java.lang.String expression) throws MXException, java.rmi.RemoteException
MboSet
setQbe(String, String)
can be called multiple times before initiating the fetch, in which case
the expressions will be AND
ed together.setQbe
in interface MboSetRemote
setQbe
in class MboSet
attribute
- The attribute name whose value is being restricted.expression
- The restriction value for the attribute.
The expression can be in either of two forms:
>10
. The supported operators
are >
, >=
, <
, <=
,
=
, !=
, and LIKE
(default). For string datatypes, the operand can
contain %
characters for wildcards.
"ABC"
. In this form, the operator is
assumed to be LIKE
.
MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String[], String)
,
MboSet.reset()
,
MboSet.getMbo()
public java.lang.String getUserWhere(java.lang.String alias) throws MXException, java.rmi.RemoteException
getUserWhere
in class MboSet
MXException
java.rmi.RemoteException
public void resetQbe()
MboSet
resetQbe
in interface MboSetRemote
resetQbe
in class MboSet
MboSet.setQbe(String, String)
public void returnIPCParts(IpcSelectedPartsSetRemote partset) throws MXException, java.rmi.RemoteException
returnIPCParts
in interface POLineSetRemote
MXException
java.rmi.RemoteException
returnIPCParts(psdi.app.ipc.virtual.IpcSelectedPartsSetRemote)
public void preValidateIpcBom(IpcBomSetRemote bomset) throws MXException, java.rmi.RemoteException
preValidateIpcBom
in interface POLineSetRemote
MXException
java.rmi.RemoteException
preValidateIpcBom(psdi.app.ipc.IpcBomSetRemote)
public MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex
in interface MboSetRemote
addAtIndex
in class MboSet
accessModifier
- Determines whether an access check is made.index
- Where to add the new Mbo. Zero is the beginning, while -1 will put the Mbo at
the end of the MboSet.MXException
java.rmi.RemoteException
MboSet.getMboInstance(psdi.mbo.MboSet)
,
MboSet.addMbo(Mbo)
,
MboSet.addMbo(Mbo, int)
,
MboSet.moveTo(int)
public void populatePOLineNum(MboRemote poLine) throws MXException, java.rmi.RemoteException
poLine
- MXException
java.rmi.RemoteException
public MboSetRemote setDBPOLineSet(MboRemote thisPOLine) throws MXException, java.rmi.RemoteException
thisPOLine
- MXException
java.rmi.RemoteException
public MboRemote getPOForQueryOnly(java.lang.String ponum, java.lang.String siteid, java.lang.String revisionnum) throws MXException, java.rmi.RemoteException
invoicenum
- siteid
- MXException
java.rmi.RemoteException
public void setPOforQueryOnly(MboRemote po) throws MXException, java.rmi.RemoteException
invoice
- MXException
java.rmi.RemoteException