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, 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 |
---|
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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, 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, validateAttributes
public boolean binNumSet
public InvUseLine(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public 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 MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public boolean isIssue() throws MXException, java.rmi.RemoteException
isIssue
in interface InvUseLineRemote
none
- MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#isIssue()
public boolean isReturn() throws MXException, java.rmi.RemoteException
isReturn
in interface InvUseLineRemote
none
- MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.isReturn(boolean)
public boolean isMixed() throws MXException, java.rmi.RemoteException
isMixed
in interface InvUseLineRemote
none
- MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#isIssue()
public boolean isTransfer() throws MXException, java.rmi.RemoteException
isTransfer
in interface InvUseLineRemote
none
- MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#isIssue()
public boolean isRotating() throws MXException, java.rmi.RemoteException
none
- MXException
java.rmi.RemoteException
public boolean isTool() throws MXException, java.rmi.RemoteException
none
- MXException
java.rmi.RemoteException
public MboRemote getSharedInventory() throws MXException, java.rmi.RemoteException
none
- MXException
java.rmi.RemoteException
public 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 InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.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 existsnone
MXException
java.rmi.RemoteException
public 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 |
MXException
java.rmi.RemoteException
public MboRemote getSharedInvBalance(java.lang.String binnum, java.lang.String lotnum, boolean sameBin) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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 |
MXException
java.rmi.RemoteException
public void setIssueForThisReturn(MboRemote issue) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateInvUseLine(java.util.ArrayList<InvUseLineSplitRemote> splitList) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void preValidateLine() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateLine() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkAssetWOLocValidate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
None
- MXException
java.rmi.RemoteException
public boolean getBinNumFlag()
public void setBinNumFlag(boolean binNumFlag)
public MboRemote addUpdateInvUseLineSplit() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setStagingBin(java.lang.String binflag, java.lang.String stagingBin) throws MXException, java.rmi.RemoteException
setStagingBin
in interface InvUseLineRemote
binflag
- stagingbin
- MXException
- RemoteExceptionjava.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#setStageBin(String, String)
public void checkForNegativeBalance(MboRemote invBal, MboRemote invuselinesplit) throws MXException, java.rmi.RemoteException
MXException
- RemoteExceptionjava.rmi.RemoteException
public void checkForNegativeAvlBalanceBeforeSplitting() throws MXException, java.rmi.RemoteException
MXException
- RemoteExceptionjava.rmi.RemoteException
public MboSetRemote getSharedInvReserveSet() throws MXException, java.rmi.RemoteException
MXException
- RemoteExceptionjava.rmi.RemoteException
public void updateInvBalances(MboRemote mbo, double quantity, java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateStagedInvBalances(java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReservePendingQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveStagedQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveActualQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveActualQty(boolean toUpdateWithNoRequestnum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveShippedQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveForCancel() 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 void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public boolean checkReservationExist() throws MXException, java.rmi.RemoteException
checkReservationExist
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#checkReservationExist()
public void checkReservationExistForInfo() throws MXException, java.rmi.RemoteException
checkReservationExistForInfo
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
checkReservationExistForInfo()
public boolean checkIssueExist() throws MXException, java.rmi.RemoteException
checkIssueExist
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#checkIssueExist()
public void checkIssueExistForInfo() throws MXException, java.rmi.RemoteException
checkIssueExistForInfo
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
checkIssueExistForInfo()
public void updateInvUseLineForReservation(MboRemote reservation) throws MXException, java.rmi.RemoteException
updateInvUseLineForReservation
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#updateInvUseLineForReservation(MboRemoten)
public void updateInvUseLineForReturn(MboRemote issuedItemForReturn) throws MXException, java.rmi.RemoteException
updateInvUseLineForReturn
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#updateInvUseLineForReturn(MboRemote)
public void addRecordForStageTransfer(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatRecTransRecordForStageTransfer(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addRecordForShipTransfer(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatRecTransRecordForShipTransfer(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addTransferRecordForComplete(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatRecTransRecordForComplete(MboSetRemote matrecMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addIssueReturnRecordForComplete(MboSetRemote matrecMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatUseTransRecordForComplete(MboSetRemote matuseMboSet, MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatRecTransRecordForCancelStageTransfer() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote addMatRecTransRecordForCancelShipTransfer() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getPO() throws MXException, java.rmi.RemoteException
getPO
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#getPO()
public void setOwnerPO(MboRemote po)
public MboRemote getPOLine() throws MXException, java.rmi.RemoteException
getPOLine
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#getPOLine()
public double getTotalCurBalance() throws MXException, java.rmi.RemoteException
getTotalCurBalance
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#getTotalCurBalance()
public double getInvUseLineQtyForReturn(long matusetransid) throws MXException, java.rmi.RemoteException
matusetransid
- MXException
java.rmi.RemoteException
public double getQtyForReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateUnitCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean validateQty() throws MXException, java.rmi.RemoteException
validateQty
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.mxam.app.inventory.InvUseLine#validateQty()
public boolean needsSplitting() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDefaultLotNum() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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".MXException
java.rmi.RemoteException
public 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".MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
- 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 InvUseLineRemote
MXException
- throws MXExceptionjava.rmi.RemoteException
- throws RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setReservationUserPref()
public void setReturnUserPref() throws MXException, java.rmi.RemoteException
setReturnUserPref
in interface InvUseLineRemote
MXException
- throws MXExceptionjava.rmi.RemoteException
- throws RemoteExceptionpsdi.mxam.app.inventory.InvUseLine#setReturnUserPref()
public void setUserPref(MboRemote mbo) throws MXException, java.rmi.RemoteException
setUserPref
in interface InvUseLineRemote
MXException
- 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
MXException
java.rmi.RemoteException
public MboSetRemote smartFindByObjectName(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindByObjectName
in interface MboRemote
smartFindByObjectName
in class Mbo
MXException
java.rmi.RemoteException
psdi.mbo.Mbo#smartFindByObjectName()
public boolean checkRotatingAssetExistInToSite(java.lang.String rotassetnum, MboRemote mbo) throws MXException, java.rmi.RemoteException
rotassetnum
- MXException
java.rmi.RemoteException
public void updateAssetStatus(java.lang.String rotassetnum, java.lang.String status) throws MXException, java.rmi.RemoteException
rotassetnum
- rotating asset numberstatus
- MXException
java.rmi.RemoteException
public void updateReceiptsComplete() throws MXException, java.rmi.RemoteException
updateReceiptsComplete
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
updateReceiptsComplete()
public void updateReceivedQty(double receivedQty) throws MXException, java.rmi.RemoteException
updateReceivedQty
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InvUseLine#updateReceivedQty()
public void updateReturnedQty(double returnedQty) throws MXException, java.rmi.RemoteException
updateReturnedQty
in interface InvUseLineRemote
returnedQty
- MXException
java.rmi.RemoteException
psdi.app.inventory.InvUseLine#updateReturnedQty()
public boolean isInspectionRequired() throws MXException, java.rmi.RemoteException
isInspectionRequired
in interface InvUseLineRemote
MXException
java.rmi.RemoteException
isInspectionRequired()
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public void setDisplayUnitCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateLifoFifoTable(MboRemote invUseLineSplit) throws MXException, java.rmi.RemoteException
invUseLineSplit
- MXException
java.rmi.RemoteException
public void updateLifoFifoForCancelled(MboRemote useLine) throws MXException, java.rmi.RemoteException
useLine
- MXException
java.rmi.RemoteException
public void addTransactionRecordsLIFOFIFO(MboSetRemote transMboSet, java.util.ArrayList<InvUseLineSplitRemote> splitLineSplit, java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double updateInvLifoFifoCostSet(MboSetRemote transMboSet, MboRemote invUseLineSplit, MboSetRemote invlifofifocostset, java.lang.String status) throws MXException, java.rmi.RemoteException
matrectrans
- invlifofifocostset
- MXException
java.rmi.RemoteException
public void setAttributesEditibiltyForReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void allKitComponentsAreInTransferToStore() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.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
- MXException
java.rmi.RemoteException
public java.util.Date getPhyscntDate(java.util.Date phyCntDate, java.util.Date actualDate) throws MXException
MXException
public InvReserveRemote getInvReserveInVector(java.util.Vector v, MboRemote thisInvReserve) throws MXException, java.rmi.RemoteException
v
- thisInvReserve
- MXException
java.rmi.RemoteException
public boolean isSameStoreTransfer() throws MXException, java.rmi.RemoteException
none
- none
MXException
java.rmi.RemoteException
public MboRemote getInvUse() throws MXException, java.rmi.RemoteException
none
- MXException
java.rmi.RemoteException
public void setCancelInvUseLines(boolean hasBeenCalled) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException