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 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 |
addMatRecTransRecordForPickTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record for PICK.
|
MboRemote |
addMatRecTransRecordForRestockTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record for RESTOCK.
|
MboRemote |
addMatRecTransRecordForShipTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record.
|
MboRemote |
addMatRecTransRecordForStageTransfer(MboSetRemote matrecMboSet,
MboRemote mbo)
This method adds MatRecTrans transaction record for STAGE.
|
MboRemote |
addMatUseTransRecordForComplete(MboSetRemote matuseMboSet,
MboRemote mbo)
This method adds MatUseTrans transaction record
|
void |
addRecordForShipTransfer(MboSetRemote matrecMboSet,
java.util.ArrayList splitLineSplit)
This method is called from the invuse (parent).
|
void |
addRecordForStageTransfer(MboSetRemote matrecMboSet,
java.util.ArrayList splitLineSplit)
This method is called from the invuse (parent).
|
void |
addTransactionRecordsLIFOFIFO(MboSetRemote transMboSet,
java.util.ArrayList splitLineSplit,
java.lang.String status)
This method is called from the invuse (parent).
|
void |
addTransferRecordForComplete(MboSetRemote matrecMboSet,
java.util.ArrayList 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.
|
void |
checkInvBal(MboRemote invBal,
java.lang.String parentInvUseStatus) |
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.
|
void |
checkLotExpiry(MboRemote invBal,
ItemRemote item) |
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.
|
boolean |
chkPickListMbo(MboRemote owner) |
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 |
isLotted()
Returns true if the item is Lotted else returns false.
|
boolean |
isMixed()
Returns true if usetype = the internal string for MIXED, otherwise returns false.
|
boolean |
isPLActionApplied(java.lang.String action) |
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 |
restockPickedQty()
Restocks pickedqty of the invuseline
|
void |
restockStagedQty()
Restocks stagedqty of the invuseline
|
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) |
protected void |
setConversionFactor()
determines the 'from' measure unit and the 'to' measure unit and sets the
conversion factor based on these units, the itemnum and the itemsetid
|
void |
setDisplayUnitCost()
This method returns the average cost to display on the UI.
|
void |
setInvUseStatus(MboRemote owner)
Checks the quantities of the invuselines and if all issued then changes the status of InvUse to COMPLETE
and if all staged then changes the status of InvUse to STAGED
|
void |
setIssueForThisReturn(MboRemote issue)
Sets the InvUseLine issue Mbo for return.
|
void |
setOwnerPO(MboRemote po) |
void |
setPickListStatus(MboRemote owner)
Checks the quantities of the invuselines and if all issued then changes the status of InvPickList to COMPLETE
and if partially picked, staged or issued then changes the status of InvPickList from ENTERED to INPROGRESS
|
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.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
IJ29192: handles when non-persistent field newphyscnt is changed
|
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.
|
MboRemote |
updateAutoCreatedInvUseLineSplit()
Updates autocreated invuselinesplit record's quantity to the remaining openqty in the invuselinesplit table.
|
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) |
void |
updateInvReserveActualQty(boolean toUpdateWithNoRequestnum,
MboRemote mbo)
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 |
updateInvReservePickedQty(MboRemote mbo)
This method updates the invreserve picked quantity when invuseline is picked.
|
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 |
updateInvReserveStagedQty(MboRemote mbo) |
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)
This method updates the invbalance record for staging balances.
|
void |
updateStagedInvBalances(java.lang.String status,
MboRemote mbo) |
void |
updateUnitCost()
This method updates the unitcost.
|
void |
validateInvUseLine(java.util.ArrayList 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, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, 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, 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, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, skipCopyField, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, 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, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, 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 isLotted()
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 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 checkInvBal(MboRemote invBal, java.lang.String parentInvUseStatus) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkLotExpiry(MboRemote invBal, ItemRemote item) 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
save in class MboMXExceptionjava.rmi.RemoteExceptionpublic void setPickListStatus(MboRemote owner) throws MXException, java.rmi.RemoteException
owner - : owner of the mboMXExceptionjava.rmi.RemoteExceptionpublic void setInvUseStatus(MboRemote owner) throws MXException, java.rmi.RemoteException
owner - : owner of the mboMXExceptionjava.rmi.RemoteExceptionpublic boolean isPLActionApplied(java.lang.String action)
throws MXException,
java.rmi.RemoteException
action - : Following are the strings that are passed in action parameter
"OPENTOPICK" : For Open to Pick
"OPENTOSTAGE" : For Open to Stage
"OPENTOISSUE" : For Open to Issue
"PICKTOSTAGE" : For Pick to Stage
"PICKTOISSUE" : For Pick to IssueMXExceptionjava.rmi.RemoteExceptionpublic boolean chkPickListMbo(MboRemote owner) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote updateAutoCreatedInvUseLineSplit() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void restockPickedQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void restockStagedQty()
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 updateStagedInvBalances(java.lang.String status,
MboRemote mbo)
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 updateInvReserveStagedQty(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvReservePickedQty(MboRemote mbo) 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 updateInvReserveActualQty(boolean toUpdateWithNoRequestnum,
MboRemote mbo)
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.RemoteExceptionInvUseLine.checkReservationExistForInfo()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.RemoteExceptionInvUseLine.checkIssueExistForInfo()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 splitLineSplit) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForPickTransfer(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addMatRecTransRecordForRestockTransfer(MboSetRemote matrecMboSet, MboRemote mbo) 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 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 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 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()protected void setConversionFactor()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionInventoryService.getConversionFactor(UserInfo
userInfo, String fromUOM, String toUOM, String itemSetID, String
itemNum)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.RemoteExceptionInvUseLine.updateReceiptsComplete()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.RemoteExceptionInvUseLine.isInspectionRequired()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 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.RemoteExceptionpublic void setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
throws MXException,
java.rmi.RemoteException
setValue in interface MboRemotesetValue in class MboattributeName - The attribute name within the current object.val - The string value to set to the attribute.accessModifier - The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException - "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a string value of characters to an
attribute which has datatype of YORN.java.rmi.RemoteExceptionMbo.setValue(String,String,long)