public class InvUse extends StatefulMbo implements InvUseRemote
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
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
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 |
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.
|
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.
|
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.
|
void |
deleteInvUseLines()
This method deletes the invuseline records with deleted invreserve records.
|
java.lang.String |
getClearingAcct()
Returns the organization mbo so the clearing acct can be retrieved.
|
java.util.ArrayList<java.lang.Long> |
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<java.lang.Long,java.lang.Double> |
getInvBalQtyNSMap()
This method returns the quantity hashmap.
|
java.util.HashMap<java.lang.Long,MboRemote> |
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<java.lang.Long,java.util.ArrayList<InvUseLineSplitRemote>> |
getInvUseLineSplitRecordsMap()
This method creates a HashMap for split records that will be used to create transaction records.
|
java.lang.String |
getProcess()
Gets the work flow process for invuse.
|
java.util.HashMap<java.lang.Long,java.lang.Double> |
getQtyMap()
This method returns the quantity hashmap.
|
java.util.HashMap<java.lang.Long,java.lang.Double> |
getRotQtyMap()
This method returns the rotating hashmap.
|
java.util.HashMap<java.lang.Long,MboRemote> |
getShipmentLineMap()
This method returns the quantity hashmap.
|
java.lang.String |
getStatus()
Returns the status of InvUse.
|
java.lang.String |
getStatusListName()
Gets the name of the value list that contains all the status's.
|
java.util.ArrayList<java.lang.String> |
getUsedRotAssetList()
This method returns an arraylist of used rotating assets.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getUsedRotAssetNSMap()
This method returns the rotating assetnum hashmap.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getUsedRotAssetSMap()
This method returns the rotating hashmap.
|
java.lang.String |
getUseType()
Returns usage type.
|
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.
|
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.
|
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 |
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.
|
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 |
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, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, duplicate, 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, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, 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, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, 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, 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, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public InvUse(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public java.lang.String getProcess()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public 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 MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public java.lang.String getStatus() throws MXException, java.rmi.RemoteException
getStatus
in interface InvUseRemote
MXException
java.rmi.RemoteException
getStatus()
public InvUseLineRemote addInvUseLine(MboRemote owner) throws MXException, java.rmi.RemoteException
addInvUseLine
in interface InvUseRemote
MboRemote(
- Owner)MXException
java.rmi.RemoteException
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 InvUseRemote
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- 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.RemoteException
StatefulMbo.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 InvUseRemote
status
- 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.RemoteException
psdi.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.RemoteException
public void checkReservationandSetBin(java.lang.String binflag, java.lang.String stagebin, java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean validateLineReservationandSetBin(boolean listtab, java.lang.String binflag, java.lang.String stagebin, java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean processInvUseLines() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deleteInvUseLines() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void cancelInvUseLines() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getInvUseLineNum() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean allReservationDeletedInSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isEntered() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isStaged() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isShipped() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isCompleted() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isCancelled() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyInvUseLineSetForReturn(MboSetRemote matUseTransSet) throws java.rmi.RemoteException, MXException
copyInvUseLineSetForReturn
in interface InvUseRemote
MtUseTransSet
- the MboSetRemote of MatUseTransSetRemote instance. Only process the selected rows.MXException
java.rmi.RemoteException
copyInvUseLineSetForReturn(MboSetRemote)
public void copyInvReserveSetForInvUse(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForInvUse
in interface InvUseRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the
selected rows.MXException
java.rmi.RemoteException
copyInvReserveSetForInvUse(MboSetRemote)
public void copySparePartSetForInvUse(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForInvUse
in interface InvUseRemote
SparePartSet
- the MboSetRemote of the SparePartSetRemote instance. Only selected rows are
processed.MXException
java.rmi.RemoteException
psdi.app.inventory.InvUse#copySparePartSetForInvUse(sparePartSet)
public void copyInvBalancesSetForItems(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForItems
in interface InvUseRemote
invBalancesSet
- the MboSetRemote of InvBalancesSetRemote instance. Only
process the selected rows.MXException
java.rmi.RemoteException
copyInvBalancesSetForItems(MboSetRemote)
public boolean isTransfer() throws MXException, java.rmi.RemoteException
isTransfer
in interface InvUseRemote
none
- MXException
java.rmi.RemoteException
isTransfer()
public boolean isIssue() throws MXException, java.rmi.RemoteException
isIssue
in interface InvUseRemote
none
- MXException
java.rmi.RemoteException
isIssue()
public void staged() throws MXException, java.rmi.RemoteException
staged
in interface InvUseRemote
MXException
java.rmi.RemoteException
staged()
public void complete(java.lang.String currentMaxStatus) throws MXException, java.rmi.RemoteException
complete
in interface InvUseRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InvUse#complete()
public void shipped(java.lang.String currentMaxStatus) throws MXException, java.rmi.RemoteException
shipped
in interface InvUseRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InvUse#shipped()
public java.util.HashMap<java.lang.Long,java.util.ArrayList<InvUseLineSplitRemote>> getInvUseLineSplitRecordsMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void cancelled() throws MXException, java.rmi.RemoteException
cancelled
in interface InvUseRemote
MXException
java.rmi.RemoteException
cancelled()
public void isSplitNeeded(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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 InvUseRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InvUse#validateLines()
public void checkNegativeBalanace(MboRemote invuseline) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateRotatingAssets(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateGLAccounts(MboRemote invuseline) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public java.lang.String getUseType() throws MXException, java.rmi.RemoteException
getUseType
in interface InvUseRemote
MXException
java.rmi.RemoteException
getUseType()
public void validatedata() throws MXException, java.rmi.RemoteException
validatedata
in interface InvUseRemote
MXException
java.rmi.RemoteException
validatedata()
public boolean checkReturnLinesinSet() throws MXException, java.rmi.RemoteException
checkReturnLinesinSet
in interface InvUseRemote
MXException
java.rmi.RemoteException
checkReturnLinesinSet()
public java.util.HashMap<java.lang.Long,java.lang.Double> getQtyMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setQtyMap(java.lang.Long invBalId, java.lang.Double qty) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeQtyMap(java.lang.Long invBalId) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,java.lang.String> getUsedRotAssetNSMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setUsedRotAssetNSMap(java.lang.String keyid, java.lang.String rotassetnum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeUsedRotAssetNSMap(java.lang.String keyid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,java.lang.String> getUsedRotAssetSMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setUsedRotAssetSMap(java.lang.String keyid, java.lang.String rotassetnum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeUsedRotAssetSMap(java.lang.String keyid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.Long,java.lang.Double> getRotQtyMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setRotQtyMap(java.lang.Long keyid, java.lang.Double qty) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeRotQtyMap(java.lang.Long keyid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.ArrayList<java.lang.Long> getDeletedInvUseLineList() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.Long,java.lang.Double> getInvBalQtyNSMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setInvBalQtyNSMap(java.lang.Long invBalId, java.lang.Double qty) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeInvBalQtyNSMap(java.lang.Long invBalId) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.ArrayList<java.lang.String> getUsedRotAssetList() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addToUsedRotAssetList(java.lang.String rotassetnum) throws MXException, java.rmi.RemoteException
rotassetnum
- MXException
java.rmi.RemoteException
public void checkRotAssetNumList(java.lang.String key, java.lang.String rotassetnum, boolean newasset) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
None
- MXException
- - will throw this exception if it can't be deletedjava.rmi.RemoteException
public MboRemote setShipmentLines() throws MXException, java.rmi.RemoteException
setShipmentLines
in interface InvUseRemote
MXException
java.rmi.RemoteException
setShipmentLines()
public void addShipmentLines(MboRemote shipment) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateForShipped(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getClearingAcct() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.Long,MboRemote> getShipmentLineMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvUseReceipts(InvUseLineRemote invUseLine) throws java.rmi.RemoteException, MXException
updateInvUseReceipts
in interface InvUseRemote
java.rmi.RemoteException
MXException
psdi.app.inventory.InvUse#updateInvUseReceipts()
public double getExchangeRate(java.util.Date date) throws MXException, java.rmi.RemoteException
date
- MXException
java.rmi.RemoteException
public double getExchangeRate2(java.util.Date date) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.Long,MboRemote> getInvUseLineMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateHardReservation(MboRemote invUseLine) throws java.rmi.RemoteException, MXException
invUseLine
- java.rmi.RemoteException
MXException
public int getEvaluateSplitFlag() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int setEvaluateSplitFlag(int split) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValidateStatusHasBeenCalled(boolean hasBeenCalled) throws MXException, java.rmi.RemoteException
setValidateStatusHasBeenCalled
in interface InvUseRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InvUse#setValidateStatusHasBeenCalled()
public boolean getValidateStatusHasBeenCalled() throws MXException, java.rmi.RemoteException
getValidateStatusHasBeenCalled
in interface InvUseRemote
hasBeenCalled
- MXException
java.rmi.RemoteException
getValidateStatusHasBeenCalled()