public class ReceiptInputSet extends NonPersistentMboSet implements ReceiptInputSetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
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 |
---|
ReceiptInputSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
void |
createMatReceiptsPrep(MboSetRemote poLineSet,
MboRemote po) |
void |
createReceiptsForReturnPrep(MboRemote po) |
void |
createReceiptsForReturnPrepSrv(MboRemote po) |
void |
createReturnsForAssets(MboSetRemote poLineSet,
MboRemote po) |
void |
createServReceiptsPrep(MboSetRemote poLineSet,
MboRemote po) |
void |
createShipmentReceiptsForReturnPrep(MboRemote shipment)
This method loops thru the ship receipt transactions to create receipts for return.
|
boolean |
diHasFinancialTransactions(MatRecTrans mrt,
Asset asset)
This method determines if the asset has any records related to it in the MATRECTRANS,
MATUSETRANS and ASSETTRANS tables.
|
void |
execute()
Causes the NonP-MboSet used for method parameter validation to execute its
function.
|
boolean |
generateReceipts(MboSetRemote targetMbos)
Based on the selected rows of the MboSet containing the information required to create
receipts, service or material receipts are created and added to the target mbo set passed
in as the parameter.
|
void |
generateReturnReceipts(MboSetRemote targetMboSet)
This method calls create receipt method for all the selected records by the user.
|
void |
generateServiceReturnReceipts(MboSetRemote servRecTransSetRemote) |
double |
getInvAdjLifoFifo(MboRemote inv,
long receiptId)
IV99519:
|
MboSetRemote |
getPOLineSet(MboRemote poRemote) |
java.lang.String |
getRelationshipStringFromPO() |
MboSetRemote |
getShipmentLineSet(MboRemote shipmentRemote) |
void |
setRelationshipStringFromPO(java.lang.String relationship) |
void |
setShipmentReturnVariablesPrep(MboRemote matRecRemote,
MboRemote receiptInputRemote)
Set the variables on the RETURN.
|
void |
setStorelocString(java.lang.String storeLoc) |
MboRemote |
setup()
Causes the NonP-MboSet used for method parameter validation to setup itself for use.
|
void |
setupShipmentReceipt(ShipmentRemote owningShipment) |
count, execute, isClosed, setMboSetInfo, toBeSaved
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, 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, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, 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, resetQbe, 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, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, 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, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, 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, resetQbe, 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, 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 ReceiptInputSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- The MboServerInterfaceMXException
java.rmi.RemoteException
public void setStorelocString(java.lang.String storeLoc) throws MXException, java.rmi.RemoteException
setStorelocString
in interface ReceiptInputSetRemote
MXException
java.rmi.RemoteException
public MboRemote setup() throws MXException, java.rmi.RemoteException
NonPersistentMboSet
setup
in interface NonPersistentMboSetRemote
setup
in class NonPersistentMboSet
MXException
java.rmi.RemoteException
NonPersistentMboSet.setup()
public void setupShipmentReceipt(ShipmentRemote owningShipment) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createReceiptsForReturnPrepSrv(MboRemote po) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getShipmentLineSet(MboRemote shipmentRemote) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getPOLineSet(MboRemote poRemote) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setRelationshipStringFromPO(java.lang.String relationship) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getRelationshipStringFromPO() throws MXException, java.rmi.RemoteException
getRelationshipStringFromPO
in interface ReceiptInputSetRemote
MXException
java.rmi.RemoteException
public void createReceiptsForReturnPrep(MboRemote po) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createShipmentReceiptsForReturnPrep(MboRemote shipment) throws MXException, java.rmi.RemoteException
shipment
- MXException
java.rmi.RemoteException
public void setShipmentReturnVariablesPrep(MboRemote matRecRemote, MboRemote receiptInputRemote) throws MXException, java.rmi.RemoteException
matRecRemote
- receiptInputRemote
- MXException
java.rmi.RemoteException
public void createServReceiptsPrep(MboSetRemote poLineSet, MboRemote po) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createReturnsForAssets(MboSetRemote poLineSet, MboRemote po) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean diHasFinancialTransactions(MatRecTrans mrt, Asset asset) throws MXException, java.rmi.RemoteException
asset
- MXException
java.rmi.RemoteException
public void createMatReceiptsPrep(MboSetRemote poLineSet, MboRemote po) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void execute() throws MXException, java.rmi.RemoteException
NonPersistentMboSet
The default implementation of this method does nothing.
execute
in interface NonPersistentMboSetRemote
execute
in class NonPersistentMboSet
MXException
java.rmi.RemoteException
To check that all required fields are have a value
before continuing execution, call this method. Generally implementations
of this method will call validate() as there first action.
public void generateServiceReturnReceipts(MboSetRemote servRecTransSetRemote) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean generateReceipts(MboSetRemote targetMbos) throws MXException, java.rmi.RemoteException
ui
- The user Info of who is calling this method.targetMbos,
- ServRecTransSetRemote or MatRecTransSetRemote, where the newly created
receipts will be added to.dataSheet
- the non persistent mbo set remote of ReceiptInput Mbos which the selected
ones will be based on to create the receipts.MXException
java.rmi.RemoteException
public void generateReturnReceipts(MboSetRemote targetMboSet) throws MXException, java.rmi.RemoteException
targetMboSet
- MXException
java.rmi.RemoteException
public double getInvAdjLifoFifo(MboRemote inv, long receiptId) throws MXException, java.rmi.RemoteException
inv
- receiptId
- MXException
java.rmi.RemoteException