public class InvUse extends StatefulMbo implements InvUseRemote
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, phantomList, phantomQueueALLROWS, 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| Constructor and Description |
|---|
InvUse(MboSet ms)
Constructor for the InvUse Object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
add()
Provides defaults for a new InvUse Record.
|
InvUseLineRemote |
addInvUseLine(MboRemote owner)
This method creates InvUseLine.
|
void |
addShipmentLines(MboRemote shipment)
This method shipment lines for usage split lines.
|
void |
addToUsedRotAssetList(java.lang.String rotassetnum)
This method add the rotating asset to the list.
|
boolean |
allReservationDeletedInSet()
This method returns true if the size of the invUseLineList is equal to number of the
invuseline records.
|
void |
appValidate()
IV89369:multi-session - inventory usage status had been changed in a different session.
|
void |
cancelInvUseLines()
This method cancels the invuseline records with deleted invreserve records.
|
void |
cancelled()
This method is called from invuse status handler.
|
void |
canDelete()
Can delete only if the status is Entered, Otherwise it will throw an
exception.
|
java.lang.Boolean |
canUseNextFinancialPeriod()
IJ04584: This method returns the value of useNextFinancialPeriod
which holds the user input to MXApplicationYesNoCancelException
"closedfinperiod" thrown from validateFinancialPeriods
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
This method is overridden to add a wrapper to exceptions thrown during change status
and to write warnings whether or not the status change is successful
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
java.lang.String binflag,
java.lang.String stagingbin,
boolean listtab,
long accessModifier)
This method is called from the changeStatus(status, date, memo, accessModifier) with default values.
|
void |
checkNegativeBalanace(MboRemote invuseline)
This method check if the negative current is allowed?
|
void |
checkReservationandSetBin(java.lang.String binflag,
java.lang.String stagebin,
java.lang.String status)
This method returns an arraylist of the invuseline records with deleted invreserves.
|
boolean |
checkReturnLinesinSet()
This method checks if this inventory usage header has lines with use type RETURN.
|
void |
checkRotAssetNumList(java.lang.String key,
java.lang.String rotassetnum,
boolean newasset)
This method checks if the rotating asset entered exists on any other usage line.
|
boolean |
chkPickListMbo(MboRemote owner) |
void |
complete(java.lang.String currentMaxStatus)
This method is called from invuse status handler.
|
void |
copyInvBalancesSetForItems(MboSetRemote invBalancesSet)
Loops through an InvBalancesSet and creates new InvUseLine based on the selected rows of the passed
InvBalancesSet.
|
void |
copyInvReserveSetForInvUse(MboSetRemote invReserveSet)
Loops an InvReserveSet and create new InvUseLine based on the selected rows of the passed
InvReserveSet.
|
void |
copyInvUseLineSetForReturn(MboSetRemote matUseTransSet)
Loops MatUseTrans Set(ISSUE type) and create new InvUseLine(RETURN) based on the selected rows of the
passed MatUseTrans set.
|
void |
copySparePartSetForInvUse(MboSetRemote sparePartSet)
Loops through the passed SparePartSet and creates a new InvUseLine based on the selected rows of
the passed set.
|
MboRemote |
createInvUsageForPartialIssues(MboSetRemote invReserveSet)
IV69612: called by duplicate() method only - duplicate the invuse object and creating new
invuselines based on the invReserveSet passed.
|
void |
deleteInvUseLines()
This method deletes the invuseline records with deleted invreserve records.
|
MboRemote |
duplicate()
IV69612: duplicate the current invuse in a COMPLETE status to a new ENTERED invuse and then
create a set of new INVUSELINE.
|
java.lang.String |
getClearingAcct()
Returns the organization mbo so the clearing acct can be retrieved.
|
java.util.ArrayList |
getDeletedInvUseLineList() |
int |
getEvaluateSplitFlag()
This method returns true if the invuseline needs split otherwise returns false.
|
double |
getExchangeRate(java.util.Date date)
Get the exchangerate between the PO's or the Contract's currency and the basecurrency.
|
double |
getExchangeRate2(java.util.Date date)
Get the exchangerate2 if there is a base currency2.
|
java.util.HashMap |
getInvBalQtyNSMap()
This method returns the quantity hashmap.
|
java.util.HashMap |
getInvUseLineMap()
This method returns the invuseline hashmap.
|
java.lang.String |
getInvUseLineNum()
This method returns the list of the invuselinenum for invUseLineList ArrayList.
|
java.util.HashMap |
getInvUseLineSplitRecordsMap()
This method creates a HashMap for split records that will be used to create transaction records.
|
java.util.HashMap |
getMeterMap() |
java.lang.String |
getProcess()
Gets the work flow process for invuse.
|
java.util.HashMap |
getQtyMap()
This method returns the quantity hashmap.
|
java.util.HashMap |
getRotQtyMap()
This method returns the rotating hashmap.
|
java.util.HashMap |
getShipmentLineMap()
This method returns the quantity hashmap.
|
java.lang.String |
getStatus()
Returns the status of InvUse.
|
protected StatusHandler |
getStatusHandler()
Gets a status handler to change the item status.
|
protected MboSetRemote |
getStatusHistory()
Gets the invusestatus objects.
|
java.lang.String |
getStatusListName()
Gets the name of the value list that contains all the status's.
|
java.util.ArrayList |
getUsedRotAssetList()
This method returns an arraylist of used rotating assets.
|
java.util.HashMap |
getUsedRotAssetNSMap()
This method returns the rotating assetnum hashmap.
|
java.util.HashMap |
getUsedRotAssetSMap()
This method returns the rotating hashmap.
|
java.lang.String |
getUseType()
Returns usage type.
|
boolean |
getValidateFinancialPeriodsHasBeenCalled()
IJ04584
|
boolean |
getValidateStatusHasBeenCalled()
IV28540/58912, issue 12-14377
|
void |
init()
initialization rountine.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
protected void |
initUsedRotAssetNSMap()
This method populates the usedRotAssetNSMap, if it has not already been initialized after
the InvUse record was loaded in memory.
|
boolean |
isCancelled()
Returns true if this invuse is in Cancelled status.
|
boolean |
isCompleted()
Returns true if this invuse is in Complete status.
|
boolean |
isEntered()
Returns true if this invuse is in Entered status.
|
boolean |
isIssue()
Returns true if the MAXVALUE of the usetype is 'ISSUE' else returns
false.
|
boolean |
isListSelected() |
boolean |
isShipped()
Returns true if this invuse is in Shipped status.
|
void |
isSplitNeeded(MboRemote invUseLine)
This method checks if the splitting is needed for the invuselines.
|
boolean |
isStaged()
Returns true if this invuse is in Staged Staus.
|
boolean |
isTransfer()
Returns true if the MAXVALUE of the usetype is 'TRANSFER' else returns
false.
|
void |
modify()
This is called whenever a change is made to the attributes of invuseline.
|
boolean |
processInvUseLines()
This method checks the if status and based on the original status it deletes or cancels (insert
STAGETRANSFER records) the invuselines.
|
void |
removeInvBalQtyNSMap(java.lang.Long invBalId)
This method removes the entry from qtymap for the given invbalance record id.
|
void |
removeQtyMap(java.lang.Long invBalId)
This method removes the entry from qtymap for the given invbalance record id.
|
void |
removeRotQtyMap(java.lang.Long keyid)
This method removes rotating item qty for the id in the hashmap.
|
void |
removeUsedRotAssetNSMap(java.lang.String keyid)
This method removes the entry from usedRotAssetNSMap for the given id.
|
void |
removeUsedRotAssetSMap(java.lang.String keyid)
This method removes the entry from usedRotAssetSMap for the given id.
|
void |
save()
Saves the invuse records and clears the hashmaps and arrayList.
|
void |
selectAllInSet(MboSetRemote invReserveSet)
IV69612:mark every mbo in the passed set selected - had to do this in here.
|
int |
setEvaluateSplitFlag(int split)
This method returns true if the invuseline needs split otherwise returns false.
|
void |
setInvBalQtyNSMap(java.lang.Long invBalId,
java.lang.Double qty)
This method sets quantity for the invbalance record id.
|
void |
setListSelected(boolean isListSelected) |
void |
setQtyMap(java.lang.Long invBalId,
java.lang.Double qty)
This method sets quantity for the invbalance record id.
|
void |
setRotQtyMap(java.lang.Long keyid,
java.lang.Double qty)
This method sets rotating item qty for the id in the hashmap.
|
MboRemote |
setShipmentLines()
This method is called from the bean during status change to SHIPPED.
|
void |
setUsedRotAssetNSMap(java.lang.String keyid,
java.lang.String rotassetnum)
This method sets rotating assetnum for the id in the hashmap.
|
void |
setUsedRotAssetSMap(java.lang.String keyid,
java.lang.String rotassetnum)
This method sets rotating assetnum for the id in the hashmap.
|
void |
setValidateFinancialPeriodsCalled(boolean hasBeenCalled)
IJ04584
|
void |
setValidateStatusHasBeenCalled(boolean hasBeenCalled)
IV28540/58912, issue 12-14377
This method set by InvUseChangeStatusBean - in main record - to fire validateStatus before longop
|
void |
shipped(java.lang.String currentMaxStatus)
This method is called from invuse status handler.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
IV69612
Overrides the skipCopyField() in the Mbo.
|
void |
staged()
This method will validate the invuselines and updates invreserve and invbalances for the supplying
storeroom.
|
void |
updateInvUseReceipts(InvUseLineRemote invUseLine) |
void |
validatedata()
This method checks if issue to is blank for tool type item and throws the exception.
|
void |
validateFinancialPeriods(java.lang.String newStatus)
IJ04584: This method validates that the InvUseLines' actual dates are within an active financial period.
|
void |
validateForShipped(MboRemote invUseLine)
This method checks to make sure that the inventory usage line passed in here is of type
TRANSFER.
|
void |
validateGLAccounts(MboRemote invuseline)
This method is validate the gl accounts.
|
void |
validateHardReservation(MboRemote invUseLine)
Checks the to see if the use line references a inventory item that has HARDRESISSUE flag true.
|
boolean |
validateLineReservationandSetBin(boolean listtab,
java.lang.String binflag,
java.lang.String stagebin,
java.lang.String status)
This method checks if there are any invuseline exists with deleted invreserve records.
|
void |
validateLines(java.lang.String status)
This method is called from bean and validates the inventory usage lines.
|
void |
validateRotatingAssets(MboRemote invUseLine)
This method checks rotating assets if already exists in other invusage documents..
|
void |
validateStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
java.lang.String binflag,
java.lang.String stagingbin,
boolean listtab)
This method validates if the status change is allowed.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, deleteDoclinks, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic InvUse(MboSet ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getProcess()
public java.util.HashMap getMeterMap()
protected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class StatefulMboMXExceptionjava.rmi.RemoteExceptionprotected StatusHandler getStatusHandler()
getStatusHandler in class StatefulMboObject returned.public java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void init()
throws MXException
init in class MboMXExceptionpublic void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| STATUS | ENTERED |
| STATUSDATE | SYSTEMDATE |
| CHANGEDATE | SYSTEMDATE |
| CHANGEBY | USERNAME(login) |
| SITEID | DEFAULT SITEID |
| FROMSTORELOC | DEFAULT STOREROOM |
| USETYPE | MIXED |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getStatus()
throws MXException,
java.rmi.RemoteException
getStatus in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.getStatus()public InvUseLineRemote addInvUseLine(MboRemote owner) throws MXException, java.rmi.RemoteException
addInvUseLine in interface InvUseRemoteMboRemote( - Owner)MXExceptionjava.rmi.RemoteExceptionInvUse.addInvUseLine(MboRemote)public void changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
throws MXException,
java.rmi.RemoteException
changeStatus in interface InvUseRemotechangeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbostatus - The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value), not
the internal status value (valuelist.maxvalue).date - The effective date of the new status is current date/time.memo - A string briefly describing the circumstances of the change. The
memo can be null.accessmodifier - MXException - Thrown if there is a problem.java.rmi.RemoteExceptionStatefulMbo.canChangeStatus(String)public void changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
java.lang.String binflag,
java.lang.String stagingbin,
boolean listtab,
long accessModifier)
throws MXException,
java.rmi.RemoteException
changeStatus in interface InvUseRemotestatus - The new desired status.date - The effective date of the new status is current date/time.memo - A string briefly describing the circumstances of the change. The
memo can be null.binflag - Indicates bin to be used in the transaction.stagingbin - Represents the staging bin to be used for transaction.accessmodifier - MXException - Thrown if there is a problem.java.rmi.RemoteExceptionpsdi.app.inventory.InvUseSet#changeStatus(String, Date, String, String, String, boolean, long)public void validateStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
java.lang.String binflag,
java.lang.String stagingbin,
boolean listtab)
throws MXException,
java.rmi.RemoteException
MXException - Thrown if there is a problem.java.rmi.RemoteExceptionpublic boolean chkPickListMbo(MboRemote owner) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkReservationandSetBin(java.lang.String binflag,
java.lang.String stagebin,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean validateLineReservationandSetBin(boolean listtab,
java.lang.String binflag,
java.lang.String stagebin,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean processInvUseLines()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void deleteInvUseLines()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void cancelInvUseLines()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getInvUseLineNum()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean allReservationDeletedInSet()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isEntered()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isStaged()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isShipped()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isCompleted()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isCancelled()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void copyInvUseLineSetForReturn(MboSetRemote matUseTransSet) throws java.rmi.RemoteException, MXException
copyInvUseLineSetForReturn in interface InvUseRemoteMtUseTransSet - the MboSetRemote of MatUseTransSetRemote instance. Only process the selected rows.MXExceptionjava.rmi.RemoteExceptionInvUse.copyInvUseLineSetForReturn(MboSetRemote)public void copyInvReserveSetForInvUse(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForInvUse in interface InvUseRemoteinvReserveSet - the MboSetRemote of InvReserveSetRemote instance. Only process the
selected rows.MXExceptionjava.rmi.RemoteExceptionInvUse.copyInvReserveSetForInvUse(MboSetRemote)public void copySparePartSetForInvUse(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForInvUse in interface InvUseRemoteSparePartSet - the MboSetRemote of the SparePartSetRemote instance. Only selected rows are
processed.MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#copySparePartSetForInvUse(sparePartSet)public void copyInvBalancesSetForItems(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForItems in interface InvUseRemoteinvBalancesSet - the MboSetRemote of InvBalancesSetRemote instance. Only
process the selected rows.MXExceptionjava.rmi.RemoteExceptionInvUse.copyInvBalancesSetForItems(MboSetRemote)public boolean isTransfer()
throws MXException,
java.rmi.RemoteException
isTransfer in interface InvUseRemotenone - MXExceptionjava.rmi.RemoteExceptionInvUse.isTransfer()public boolean isIssue()
throws MXException,
java.rmi.RemoteException
isIssue in interface InvUseRemotenone - MXExceptionjava.rmi.RemoteExceptionInvUse.isIssue()public void staged()
throws MXException,
java.rmi.RemoteException
staged in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.staged()public void complete(java.lang.String currentMaxStatus)
throws MXException,
java.rmi.RemoteException
complete in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#complete()public void shipped(java.lang.String currentMaxStatus)
throws MXException,
java.rmi.RemoteException
shipped in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#shipped()public java.util.HashMap getInvUseLineSplitRecordsMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void cancelled()
throws MXException,
java.rmi.RemoteException
cancelled in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.cancelled()public void isSplitNeeded(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isListSelected()
public void setListSelected(boolean isListSelected)
isListSelected - the isListSelected to setpublic void validateLines(java.lang.String status)
throws MXException,
java.rmi.RemoteException
validateLines in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#validateLines()public void checkNegativeBalanace(MboRemote invuseline) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateRotatingAssets(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateGLAccounts(MboRemote invuseline) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getUseType()
throws MXException,
java.rmi.RemoteException
getUseType in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.getUseType()public void validatedata()
throws MXException,
java.rmi.RemoteException
validatedata in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.validatedata()public boolean checkReturnLinesinSet()
throws MXException,
java.rmi.RemoteException
checkReturnLinesinSet in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.checkReturnLinesinSet()public java.util.HashMap getQtyMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setQtyMap(java.lang.Long invBalId,
java.lang.Double qty)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void removeQtyMap(java.lang.Long invBalId)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getUsedRotAssetNSMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setUsedRotAssetNSMap(java.lang.String keyid,
java.lang.String rotassetnum)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void removeUsedRotAssetNSMap(java.lang.String keyid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getUsedRotAssetSMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setUsedRotAssetSMap(java.lang.String keyid,
java.lang.String rotassetnum)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void removeUsedRotAssetSMap(java.lang.String keyid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getRotQtyMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setRotQtyMap(java.lang.Long keyid,
java.lang.Double qty)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void removeRotQtyMap(java.lang.Long keyid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.ArrayList getDeletedInvUseLineList()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getInvBalQtyNSMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setInvBalQtyNSMap(java.lang.Long invBalId,
java.lang.Double qty)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void removeInvBalQtyNSMap(java.lang.Long invBalId)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.ArrayList getUsedRotAssetList()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addToUsedRotAssetList(java.lang.String rotassetnum)
throws MXException,
java.rmi.RemoteException
rotassetnum - MXExceptionjava.rmi.RemoteExceptionpublic void checkRotAssetNumList(java.lang.String key,
java.lang.String rotassetnum,
boolean newasset)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboNone - MXException - - will throw this exception if it can't be deletedjava.rmi.RemoteExceptionpublic MboRemote setShipmentLines() throws MXException, java.rmi.RemoteException
setShipmentLines in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.setShipmentLines()public void addShipmentLines(MboRemote shipment) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateForShipped(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getClearingAcct()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getShipmentLineMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void save()
throws MXException,
java.rmi.RemoteException
save in class StatefulMboMXExceptionjava.rmi.RemoteExceptionpublic void updateInvUseReceipts(InvUseLineRemote invUseLine) throws java.rmi.RemoteException, MXException
updateInvUseReceipts in interface InvUseRemotejava.rmi.RemoteExceptionMXExceptionpsdi.app.inventory.InvUse#updateInvUseReceipts()public double getExchangeRate(java.util.Date date)
throws MXException,
java.rmi.RemoteException
date - MXExceptionjava.rmi.RemoteExceptionpublic double getExchangeRate2(java.util.Date date)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getInvUseLineMap()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateHardReservation(MboRemote invUseLine) throws java.rmi.RemoteException, MXException
invUseLine - java.rmi.RemoteExceptionMXExceptionpublic int getEvaluateSplitFlag()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int setEvaluateSplitFlag(int split)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setValidateStatusHasBeenCalled(boolean hasBeenCalled)
throws MXException,
java.rmi.RemoteException
setValidateStatusHasBeenCalled in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#setValidateStatusHasBeenCalled()public boolean getValidateStatusHasBeenCalled()
throws MXException,
java.rmi.RemoteException
getValidateStatusHasBeenCalled in interface InvUseRemotehasBeenCalled - MXExceptionjava.rmi.RemoteExceptionInvUse.getValidateStatusHasBeenCalled()protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class MboThe - MboValueInfo object of the MboValue that needs to be copied.java.rmi.RemoteExceptionMXExceptionInvUse.loadSkipFieldCopyHashSet()public MboRemote createInvUsageForPartialIssues(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void selectAllInSet(MboSetRemote invReserveSet) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void initUsedRotAssetNSMap()
throws MXException
MXExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void validateFinancialPeriods(java.lang.String newStatus)
throws java.rmi.RemoteException,
MXException
newStatus - New status of the inventory usage recordjava.rmi.RemoteExceptionMXExceptionpublic java.lang.Boolean canUseNextFinancialPeriod()
public boolean getValidateFinancialPeriodsHasBeenCalled()
throws MXException,
java.rmi.RemoteException
getValidateFinancialPeriodsHasBeenCalled in interface InvUseRemoteMXExceptionjava.rmi.RemoteExceptionInvUse.getValidateFinancialPeriodsHasBeenCalled()public void setValidateFinancialPeriodsCalled(boolean hasBeenCalled)
throws MXException,
java.rmi.RemoteException
setValidateFinancialPeriodsCalled in interface InvUseRemotehasBeenCalled - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUse#setValidateFinancialPeriodsHasBeenCalled()