public class InvUseLine extends Mbo implements InvUseLineRemote
| Modifier and Type | Field and Description |
|---|---|
boolean |
binNumSet
Flag to indicate if the binnum is set from the binnum field validation.
|
MULTILANGCOPY, 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 |
|---|
InvUseLine(MboSet ms)
Constructor for the InvUseLine Object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
add()
Provides defaults for a new InvUseLine Record.
|
void |
addIssueReturnRecordForComplete(MboSetRemote matrecMboSet,
java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit)
This method is called from the invuse (parent).
|
MboRemote |
addMatRecTransRecordForCancelShipTransfer()
This method adds MatRecTrans transaction record for cancellation.
|
MboRemote |
addMatRecTransRecordForCancelStageTransfer()
This method adds MatRecTrans transaction record for cancellation.
|
MboRemote |
addMatRecTransRecordForComplete(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatUseTrans transaction record.
|
MboRemote |
addMatRecTransRecordForShipTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record.
|
MboRemote |
addMatRecTransRecordForStageTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record.
|
MboRemote |
addMatUseTransRecordForComplete(MboSetRemote matuseMboSet,
MboRemote mbo)
This method adds MatUseTrans transaction record
|
void |
addRecordForShipTransfer(MboSetRemote matrecMboSet,
java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit)
This method is called from the invuse (parent).
|
void |
addRecordForStageTransfer(MboSetRemote matrecMboSet,
java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit)
This method is called from the invuse (parent).
|
void |
addTransactionRecordsLIFOFIFO(MboSetRemote transMboSet,
java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit,
java.lang.String status)
This method is called from the invuse (parent).
|
void |
addTransferRecordForComplete(MboSetRemote matrecMboSet,
java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit)
This method is called from the invuse (parent).
|
MboRemote |
addUpdateInvUseLineSplit()
Adds a record in the invuselinesplit table.
|
void |
allKitComponentsAreInTransferToStore()
checks to determine if any of a kit's components would need to be added
to a storeroom as part of the kit's transfer.
|
void |
appValidate()
Validations done before save().
|
void |
canDelete()
Can delete only if the staus is Entered, Otherwise it will throw an
exception.
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
double curbal,
double totalAvailable,
MboRemote sourceMbo)
Can negative balance be allowed?
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
double totalAvailable,
MboRemote sourceMbo)
Can negative availability balance be allowed?
|
void |
checkAssetWOLocValidate() |
void |
checkForNegativeAvlBalanceBeforeSplitting()
Checks if the balance in the bin goes negative before splitting.
|
void |
checkForNegativeBalance(MboRemote invBal,
MboRemote invuselinesplit)
Checks if the balance in the bin goes negative.
|
boolean |
checkIssueExist()
This method checks if there is any returns exists with
ITEM/STOREROOM/WORKORDER/LOCATION/ASSET combination.
|
void |
checkIssueExistForInfo()
This method checks if there is any returns exists with
ITEM/STOREROOM/WORKORDER/LOCATION/ASSET combination.
|
void |
checkItemStatus()
This is called the status is changed.
|
boolean |
checkReservationExist()
This method checks if there is any reservations for exists with
ITEM/STOREROOM/WORKORDER/LOCATION/ASSET combination.
|
void |
checkReservationExistForInfo()
This method checks if there is any reservations for exists with
ITEM/STOREROOM/WORKORDER/LOCATION/ASSET combination.
|
boolean |
checkRotatingAssetExistInToSite(java.lang.String rotassetnum,
MboRemote mbo)
This method check if the Asset already exists in other site and it was not the same Asset which was moved previously
from this site.
|
void |
delete(long accessModifier)
This method deletes the invuseline record and updates the pendingqty if this
invuseline record is associated with requestnum.
|
boolean |
getBinNumFlag()
Utility method to return the value of binNumSet
|
java.lang.String |
getDefaultLotNum()
getDefaultLotNum()
Returns the first lotnum found in the InvLots table with a valid useby date
|
InvReserveRemote |
getInvReserveInVector(java.util.Vector v,
MboRemote thisInvReserve)
IV79875: does my InvReserve just gotten from getSharedInvReserveSet find a
match in the Vector? if found, return the InvReserve mbo in the vector, if not
returns null
|
MboRemote |
getInvUse()
getInvUse()
- Returns the inventory usage record with the same invusenum as the
current line, i.e.
|
double |
getInvUseLineQtyForReturn(long matusetransid)
This method returns sum of the quantity in invuseline for return usetype
against the issue.
|
double |
getPendingQty(java.lang.String requestnum,
java.lang.String siteid)
This method returns the invreserve pending quantity for the invusenums.
|
java.util.Date |
getPhyscntDate(java.util.Date phyCntDate,
java.util.Date actualDate) |
MboRemote |
getPO()
Returns PO Mbo.
|
MboRemote |
getPOLine()
Returns POLine Mbo.
|
double |
getQtyForReturn()
This method calculates the eligible quantity left for return for this issue.
|
MboRemote |
getSharedInvBalance()
getSharedInvBalance()
created to gather the appropriate invbalance record by utilizing the logic built into
the inventory object for retrieving the right invbalance record from memory.
|
MboRemote |
getSharedInvBalance(java.lang.String binnum,
java.lang.String lotnum)
getSharedInvBalance()
created to gather the appropriate invbalance record by utilizing the logic built into
the inventory object for retrieving the right invbalance record from memory.
|
MboRemote |
getSharedInvBalance(java.lang.String binnum,
java.lang.String lotnum,
boolean sameBin) |
MboRemote |
getSharedInvBalance(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String storeloc,
java.lang.String siteid)
getSharedInvBalance()
created to gather the appropriate invbalance record by utilizing the logic built into
the inventory object for retrieving the right invbalance record from memory.
|
MboRemote |
getSharedInventory()
getSharedInventory()
- Holds the logic for grabbing the best Inventory mbo for updating - taking into
account the possiblity that other mbos may attempt to update the very same inventory.
|
MboRemote |
getSharedInventory(java.lang.String storeLoc,
java.lang.String siteid)
get related inventory: use getSharedMboSet to update the correct
inventory records when multiple matrectrans update the same inventory
record
|
MboSetRemote |
getSharedInvReserveSet()
This method gets invreserve set.
|
double |
getTotalCurBalance()
Returns Total current balance for itemnum/itemsetid/fromstoreloc/siteid comination.
|
MboRemote |
getWO()
Gets the workorder related to this InvUseLine.
|
void |
init()
initialize the invuseline.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
boolean |
isInspectionRequired()
This method will determine if the InvUseLine requires inspection.
|
boolean |
isIssue()
Returns true if usetype = the internal string for ISSUE, otherwise returns false.
|
boolean |
isMixed()
Returns true if usetype = the internal string for MIXED, otherwise returns false.
|
boolean |
isReturn()
Returns true if usetype = the internal string for RETURN, otherwise returns false.
|
boolean |
isRotating()
Returns true if the item is Rotating else returns false.
|
boolean |
isSameStoreTransfer()
IV86220:
Returns true if this is a bin-to-bin transfers in the same storeroom.
|
boolean |
isTool()
Returns true if the item is Tool else returns false.
|
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 MaxIntObjDetail.
|
boolean |
needsSplitting()
This method check if splitting is required.
|
void |
preValidateLine()
This method is called before appValidate().
|
void |
save()
Saves the invuseline record and updates the related data.
|
void |
setAttributesEditibiltyForReturn()
This methosd will set the editibilty flags for RETURN record.
|
void |
setBinNumFlag(boolean binNumFlag)
Sets the value of boolean flag binNumSet
|
void |
setCancelInvUseLines(boolean hasBeenCalled) |
void |
setDisplayUnitCost()
This method returns the average cost to display on the UI.
|
void |
setIssueForThisReturn(MboRemote issue)
Sets the InvUseLine issue Mbo for return.
|
void |
setOwnerPO(MboRemote po) |
void |
setReservationUserPref()
This method sets the user preference flag.
|
void |
setReturnUserPref()
This method sets the userpreference flag for Return validation.
|
void |
setStagingBin(java.lang.String binflag,
java.lang.String stagingBin)
This method takes binflag, stagingbin as input sets the stagingbin for invuseline
based on the binflag.
|
void |
setUserPref(MboRemote mbo)
This method sets the userpreference flag for Return validation.
|
MboSetRemote |
smartFindByObjectName(java.lang.String sourceObj,
java.lang.String targetAttrName,
java.lang.String value,
boolean exact)
Find a set of records of the object of the specified the application
by the specified attribute and values of the current record.
|
void |
undelete()
This method undelete the deleted record.
|
void |
updateAssetStatus(java.lang.String rotassetnum,
java.lang.String status)
This method sets the status of asset to DECOMMISSIONED if the status is changed to SHIPPED
and sets NOT READY if the status is changed to CANCELLED from SHIPPED.
|
void |
updateInvBalances(MboRemote mbo,
double quantity,
java.lang.String status)
This method updates the invbalances for StageTransfer transactions.
|
double |
updateInvLifoFifoCostSet(MboSetRemote transMboSet,
MboRemote invUseLineSplit,
MboSetRemote invlifofifocostset,
java.lang.String status)
Creates split records for Lifo/Fifo Cost type items and update invlifofifocost table.
|
void |
updateInvReserveActualQty()
IV79875/PMR67937,011,724: indicates whether it should always update invreserve with requestnum or not, depending
on mxe.app.inventor.updateReservations
|
void |
updateInvReserveActualQty(boolean toUpdateWithNoRequestnum)
IV79875/PMR67937,011,724: if toUpdateWithNoRequestnum is true, still update invreserve
This method updates the invreserve pending, staged and shipped quantity when invuse is completed.
|
void |
updateInvReserveForCancel()
This method updates the invreserve pending, staged and shipped quantity when
invuse is cancelled.
|
void |
updateInvReservePendingQty()
This method updates the invreserve pending, staged and shipped quantity when invuse is entered.
|
void |
updateInvReserveShippedQty()
This method updates the invreserve pending, staged and shipped quantity when invuse is shipped.
|
void |
updateInvReserveStagedQty()
This method updates the invreserve pending, staged and shipped quantity when invuse is staged.
|
void |
updateInvUseLineForReservation(MboRemote reservation)
This method is called from the databean and updates the invuseline record with existing
reservation's requestnum, ponum, polinenum, mrnum and mrlinenum.
|
void |
updateInvUseLineForReturn(MboRemote issuedItemForReturn)
This method is called from the databean and updates the invuseline record with existing
matusetrans's issue record.
|
void |
updateLifoFifoForCancelled(MboRemote useLine)
This method adds invlifofifocost record on the status cahnge to cancelled.
|
void |
updateLifoFifoTable(MboRemote invUseLineSplit)
This method updates the invlifofifocost table for issue and transfer transactions.
|
void |
updateMR(MboRemote invReserve)
This method updates the mrline for the given reservation.
|
void |
updateReceiptsComplete() |
void |
updateReceivedQty(double receivedQty) |
void |
updateReturnedQty(double returnedQty)
This method updates the returnedqty for shipment return and void shipment receipt transcations.
|
void |
updateStagedInvBalances(java.lang.String status) |
void |
updateUnitCost()
This method updates the unitcost.
|
void |
validateInvUseLine(java.util.ArrayList<InvUseLineSplitRemote> splitList)
This method validates the data for invuseline.
|
void |
validateLine()
This is method is validates the invuseline record and throws exception in case of invalid data.
|
boolean |
validateQty()
This method checks if the return quantity has exceeded the issued quantity
and adds the warning to the set.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, 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, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, 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, setDefaultValue, setDefaultValues, setDeleted, 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, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, 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, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, 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, 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, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic boolean binNumSet
public InvUseLine(MboSet ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| TOSITEID | SITEID(Invuse) |
| SITEID | SITEID(Invuse) |
| INVUSELINENUM | INVUSELINENUM(calculated) |
| FROMSTORELOC | FROMSTORELOC(InvUse) |
| USETYPE | USETYPE(Invuse) |
| ORGID | ORGID(Invuse) |
| CONVERSION | 1 |
| ACTUALDATE | SYSTEMDATE |
| PHYSCNT | 0 |
| PHYSCNTDATE | SYSTEMDATE |
| ENTERBY | USERNAME(login) |
| DISPLAYUNITCOST | 0(zero) |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isIssue()
throws MXException,
java.rmi.RemoteException
isIssue in interface InvUseLineRemotenone - MXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#isIssue()public boolean isReturn()
throws MXException,
java.rmi.RemoteException
isReturn in interface InvUseLineRemotenone - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.MatUseTrans.isReturn(boolean)public boolean isMixed()
throws MXException,
java.rmi.RemoteException
isMixed in interface InvUseLineRemotenone - MXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#isIssue()public boolean isTransfer()
throws MXException,
java.rmi.RemoteException
isTransfer in interface InvUseLineRemotenone - MXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#isIssue()public boolean isRotating()
throws MXException,
java.rmi.RemoteException
none - MXExceptionjava.rmi.RemoteExceptionpublic boolean isTool()
throws MXException,
java.rmi.RemoteException
none - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSharedInventory() throws MXException, java.rmi.RemoteException
none - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSharedInvBalance() throws MXException, java.rmi.RemoteException
| GROUP | KEY | REASON |
|---|---|---|
| inventory | noBalanceRecord | If owner is inventory and if balance is null |
| inventory | noBalanceRecord | if owner is not inventory getSharedInventory, then if balance is null |
getSharedInvBalance in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#getSharedInvBalance()public MboRemote getSharedInventory(java.lang.String storeLoc, java.lang.String siteid) throws MXException, java.rmi.RemoteException
storeLoc - the storeroom location for the itemsiteid - Site where the location existsnoneMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSharedInvBalance(java.lang.String binnum, java.lang.String lotnum) throws MXException, java.rmi.RemoteException
| GROUP | KEY | REASON |
|---|---|---|
| inventory | noBalanceRecord | If owner is inventory and if balance is null |
| inventory | noBalanceRecord | if owner is not inventory getSharedInventory, then if balance is null |
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSharedInvBalance(java.lang.String binnum, java.lang.String lotnum, boolean sameBin) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSharedInvBalance(java.lang.String binnum, java.lang.String lotnum, java.lang.String storeloc, java.lang.String siteid) throws MXException, java.rmi.RemoteException
| GROUP | KEY | REASON |
|---|---|---|
| inventory | noBalanceRecord | If owner is inventory and if balance is null |
| inventory | noBalanceRecord | if owner is not inventory getSharedInventory, then if balance is null |
MXExceptionjava.rmi.RemoteExceptionpublic void setIssueForThisReturn(MboRemote issue) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getWO() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateInvUseLine(java.util.ArrayList<InvUseLineSplitRemote> splitList) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void preValidateLine()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateLine()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkAssetWOLocValidate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboNone - MXExceptionjava.rmi.RemoteExceptionpublic boolean getBinNumFlag()
public void setBinNumFlag(boolean binNumFlag)
public MboRemote addUpdateInvUseLineSplit() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void save()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setStagingBin(java.lang.String binflag,
java.lang.String stagingBin)
throws MXException,
java.rmi.RemoteException
setStagingBin in interface InvUseLineRemotebinflag - stagingbin - MXException - RemoteExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setStageBin(String, String)public void checkForNegativeBalance(MboRemote invBal, MboRemote invuselinesplit) throws MXException, java.rmi.RemoteException
MXException - RemoteExceptionjava.rmi.RemoteExceptionpublic void checkForNegativeAvlBalanceBeforeSplitting()
throws MXException,
java.rmi.RemoteException
MXException - RemoteExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getSharedInvReserveSet() throws MXException, java.rmi.RemoteException
MXException - RemoteExceptionjava.rmi.RemoteExceptionpublic void updateInvBalances(MboRemote mbo, double quantity, java.lang.String status) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateStagedInvBalances(java.lang.String status)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReservePendingQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserveStagedQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserveActualQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserveActualQty(boolean toUpdateWithNoRequestnum)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserveShippedQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserveForCancel()
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 void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void undelete()
throws MXException,
java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean checkReservationExist()
throws MXException,
java.rmi.RemoteException
checkReservationExist in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#checkReservationExist()public void checkReservationExistForInfo()
throws MXException,
java.rmi.RemoteException
checkReservationExistForInfo in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptioncheckReservationExistForInfo()public boolean checkIssueExist()
throws MXException,
java.rmi.RemoteException
checkIssueExist in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#checkIssueExist()public void checkIssueExistForInfo()
throws MXException,
java.rmi.RemoteException
checkIssueExistForInfo in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptioncheckIssueExistForInfo()public void updateInvUseLineForReservation(MboRemote reservation) throws MXException, java.rmi.RemoteException
updateInvUseLineForReservation in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#updateInvUseLineForReservation(MboRemoten)public void updateInvUseLineForReturn(MboRemote issuedItemForReturn) throws MXException, java.rmi.RemoteException
updateInvUseLineForReturn in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#updateInvUseLineForReturn(MboRemote)public void addRecordForStageTransfer(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForStageTransfer(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addRecordForShipTransfer(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForShipTransfer(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addTransferRecordForComplete(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForComplete(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addIssueReturnRecordForComplete(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatUseTransRecordForComplete(MboSetRemote matuseMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForCancelStageTransfer() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForCancelShipTransfer() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getPO() throws MXException, java.rmi.RemoteException
getPO in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#getPO()public void setOwnerPO(MboRemote po)
public MboRemote getPOLine() throws MXException, java.rmi.RemoteException
getPOLine in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#getPOLine()public double getTotalCurBalance()
throws MXException,
java.rmi.RemoteException
getTotalCurBalance in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#getTotalCurBalance()public double getInvUseLineQtyForReturn(long matusetransid)
throws MXException,
java.rmi.RemoteException
matusetransid - MXExceptionjava.rmi.RemoteExceptionpublic double getQtyForReturn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateUnitCost()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean validateQty()
throws MXException,
java.rmi.RemoteException
validateQty in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#validateQty()public boolean needsSplitting()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getDefaultLotNum()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canGoNegative(UserInfo userInfo, double toBeIssued, double curbal, double totalAvailable, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
UserInfo - The userInfo of the calling mbo.toBeIssued - quantity to be issued out of the storeroom bincurbal - the current balance in the bin.totalAvailable - The total available balancenegativeBalisNotAllowed - Will not let transaction proceed if the issue will
cause the current balance to go negative if MaxVars NEGATIVECURBAL is set to "DISALLOW".negativeAvailisNotAllowed - Will not let transaction proceed if the issue will
cause the total available balance to go negative if MaxVars NEGATIVEAVAIL is set to "DISALLOW".MXExceptionjava.rmi.RemoteExceptionpublic void canGoNegative(UserInfo userInfo, double toBeIssued, double totalAvailable, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
UserInfo - The userInfo of the calling mbo.toBeIssued - quantity to be issued out of the storeroom bincurbal - the current balance in the bin.totalAvailable - The total available balancenegativeAvailisNotAllowed - Will not let transaction proceed if the issue will
cause the total available balance to go negative if MaxVars NEGATIVEAVAIL is set to "DISALLOW".MXExceptionjava.rmi.RemoteExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXException - throws MXExceptionjava.rmi.RemoteException - throws RemoteExceptionpublic void checkItemStatus()
throws MXException,
java.rmi.RemoteException
MXException - throws MXExceptionjava.rmi.RemoteException - throws RemoteExceptionpublic void setReservationUserPref()
throws MXException,
java.rmi.RemoteException
setReservationUserPref in interface InvUseLineRemoteMXException - throws MXExceptionjava.rmi.RemoteException - throws RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setReservationUserPref()public void setReturnUserPref()
throws MXException,
java.rmi.RemoteException
setReturnUserPref in interface InvUseLineRemoteMXException - throws MXExceptionjava.rmi.RemoteException - throws RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setReturnUserPref()public void setUserPref(MboRemote mbo) throws MXException, java.rmi.RemoteException
setUserPref in interface InvUseLineRemoteMXException - throws MXExceptionjava.rmi.RemoteException - throws RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setUserPref()public double getPendingQty(java.lang.String requestnum,
java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote smartFindByObjectName(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindByObjectName in interface MboRemotesmartFindByObjectName in class MboMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.Mbo#smartFindByObjectName()public boolean checkRotatingAssetExistInToSite(java.lang.String rotassetnum,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
rotassetnum - MXExceptionjava.rmi.RemoteExceptionpublic void updateAssetStatus(java.lang.String rotassetnum,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
rotassetnum - rotating asset numberstatus - MXExceptionjava.rmi.RemoteExceptionpublic void updateReceiptsComplete()
throws MXException,
java.rmi.RemoteException
updateReceiptsComplete in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionupdateReceiptsComplete()public void updateReceivedQty(double receivedQty)
throws MXException,
java.rmi.RemoteException
updateReceivedQty in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUseLine#updateReceivedQty()public void updateReturnedQty(double returnedQty)
throws MXException,
java.rmi.RemoteException
updateReturnedQty in interface InvUseLineRemotereturnedQty - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvUseLine#updateReturnedQty()public boolean isInspectionRequired()
throws MXException,
java.rmi.RemoteException
isInspectionRequired in interface InvUseLineRemoteMXExceptionjava.rmi.RemoteExceptionisInspectionRequired()public void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void setDisplayUnitCost()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateLifoFifoTable(MboRemote invUseLineSplit) throws MXException, java.rmi.RemoteException
invUseLineSplit - MXExceptionjava.rmi.RemoteExceptionpublic void updateLifoFifoForCancelled(MboRemote useLine) throws MXException, java.rmi.RemoteException
useLine - MXExceptionjava.rmi.RemoteExceptionpublic void addTransactionRecordsLIFOFIFO(MboSetRemote transMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit, java.lang.String status) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic double updateInvLifoFifoCostSet(MboSetRemote transMboSet, MboRemote invUseLineSplit, MboSetRemote invlifofifocostset, java.lang.String status) throws MXException, java.rmi.RemoteException
matrectrans - invlifofifocostset - MXExceptionjava.rmi.RemoteExceptionpublic void setAttributesEditibiltyForReturn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void allKitComponentsAreInTransferToStore()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.location.LocationService#getKitComponentsNotYetInStore(psdi.security.UserInfo,psdi.mbo.MboRemote,java.lang.String,boolean),
#toAddOrNotToAddKitComponents(psdi.app.item.ItemSetRemote,psdi.app.location.LocationServiceRemote)public void updateMR(MboRemote invReserve) throws MXException, java.rmi.RemoteException
invReserve - MXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getPhyscntDate(java.util.Date phyCntDate,
java.util.Date actualDate)
throws MXException
MXExceptionpublic InvReserveRemote getInvReserveInVector(java.util.Vector v, MboRemote thisInvReserve) throws MXException, java.rmi.RemoteException
v - thisInvReserve - MXExceptionjava.rmi.RemoteExceptionpublic boolean isSameStoreTransfer()
throws MXException,
java.rmi.RemoteException
none - noneMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getInvUse() throws MXException, java.rmi.RemoteException
none - MXExceptionjava.rmi.RemoteExceptionpublic void setCancelInvUseLines(boolean hasBeenCalled)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException