public class MatUseTrans extends Mbo implements MatUseTransRemote
See Inventory Package description.
The key attribute(s) in this object are as follows: Matusetransid
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
ActualCost | The actual cost of the item to be considered for determining the trasaction value. For issues/returns, this is same as unitcost. Value may be different than unitcost if coming from MATRECTRANS.actualcost. |
ActualDate | Date & Time when transaction actually occurred. Modifiable. |
Binnum | The bin from/to which the issue/return is being made. |
Conversion | Conversion from Order Unit to Issue Unit.Has value only from MATRECTRANS, otherwise always 1. |
CurBal | The current balance in the storeroom-bin-lot before the transaction is carried out. |
CurrencyCode | The currency code for the transaction. Will always be BASECURRENCY1 for all issues/returns. Can only have a different value if coming from MATRECTRANS.currencycode. |
CurrencyLineCost | The line cost in the transaction currency. Only has value if coming from MATRECTRANS.currencylinecost. |
CurrencyUnitCost | The unit cost of the line in the transaction currency. This only has value if coming from MATRECTRANS.currencyunitcost. |
Description | Description of the trasaction. Copied from Item initially. |
EnterBy | The person entering the transaction. |
AssetNum | The Asset to which the item is being issued. This asset may be used for a work order at a location. |
ExchangeRate | Exchange Rate applicable for the transaction. Always be 1 for all issues/returns. Can only have a different value if coming from MATRECTRANS.exchangerate. |
ExchangeRate2 | Exchange Rate 2 applicable from transaction currency to BASECURRENCY2 if value is defined in MAXVARS. |
FinancialPeriod | Financial period during which the transaction took place. |
FinCtrlId | Financial control ID. |
GlCreditAcct | The storeroom account to be credited for the transaction. |
GlDebitAcct | The GL Debit account for the transaction. |
IssueId | The ID of the Material Issue record this return is referring to. Only has value when transaction is a RETURN against an issue. |
IssueTo | Labor Code of the person to whom the item is being issued/returned. |
IssueType | Transaction type. Value must be a translated one against ValueList "ISSUETYP". Acceptable values are "ISSUE" and "RETURN". |
ItemNum | Inventory Item Number. Foreign key to Item. |
LdKey | Key to Longdescription for column Description. |
LineCost | The total line cost of the line computed as ACTUALCOST * QUANTITY. |
LineCost2 | Line cost of the transaction in BASECURRENCY2. |
Location | The Location to which the item is being issued. |
LotNum | The lot from/to which the issue/return is being made. |
MatRecTransId | Identify the MATRECTRANSID of this MATUSETRANS created by MATRECTRANS. This has value when a receipt(MATRECTRANS) is done for direct issue. |
MatUseTransId | Unique and primary key for this transaction. |
Memo | Memo. |
MRLineNum | MR Line Number that originated the need for the material. |
MRNum | The MR that originated the need for material. |
OrgId | Identifier of the organization for this MatUseTrans.
Foreign key to Organizations .
|
OutSide | Yes/No flag to identify is the item being issued is external(holding) inventory. |
PackingSlipNum | Packing Slip Number. Has value only if value comes from MATRECTRANS.packingslipnum. |
Physcnt | The physical balance in the storeroom-bin-lot before the transaction is carried out. |
PoLineNum | The Po Line Number against which the MATUSETRANS is created. Has value only if this MATUSETRANS is inserted by MATRECTRANS and the MATRECTRANS.issue=Y. |
PoNum | The Po Number against which the MATUSETRANS is created. Has value only if this MATUSETRANS is inserted by MATRECTRANS and the MATRECTRANS.issue=Y. |
QtyRequested | The original quantity requested by the user. |
QtyReturned | Qty returned for this issue-type ISSUE. Should be null for RETURN type. |
Quantity | Quantity In-Out - # Of Items issued or returned. If this is an issue, quantity should be negative. If this is a return, quantity is positive. |
RequestNum | A non-persistent column. Foreign key to INVRESERVE if the issue is done for a reservation. |
RollUp | Yes/No flag to indicates whether cost roll-up has taken place. |
RotAssetNum | Rotating Asset to be issued. Has value only when ITEM.rotating = "Y". The Asset must be currently in the storeroom location from where it is being issued. |
SiteId | Identifier of the site for this MatUseTrans.
Foreign key to Site .
|
SparePartAdded | Yes/No flag to indicate if the transaction resulted in a SPAREPART update; i.e. if a sparepart record has been created as a result of this transaction. |
StoreLoc | The storeroom location where the item is being issued/returned. Foreign key to Locations of type "STOREROOM","LABOR", or "COURIER". Login user should have proper priviledge before he/she can perform the transaction. USERNAME/LOCATION defined in LocAuth. |
TransDate | Date & time transaction was entered. System date & time. Not modifiable. |
UnitCost | The cost of the item before the transaction; this is the inventory's default issue cost. |
WoNum | The work order to/from which the item is being issued/returned. |
TaskID | The taskid in the work order to which the item is being issued. |
IT1 - IT9 | Extra Fields IT1 - IT9. |
ITIN1 - ITIN7 | Extra Fields ITIN1 - ITIN7. |
MatRecTrans
,
WO
,
Inventory
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 |
---|
MatUseTrans(MboSet ms)
Construct the MatUseTrans object.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Standard package method overridden here.
|
void |
appValidate()
Application validation routine called before the MatUsetrans object is saved.
|
boolean |
canBeReturned()
If this is rotating asset, determines whether the asset's
location is the same as when it was issued.
|
void |
canDelete()
Can delete only if object has not been added to the db!
|
void |
createInvoiceOnConsumption()
This method will call the invoice service method to generate invoice on Issue and Return consumption for consinment items.
|
void |
createMatUseTransRecordforLifoFifo(MboRemote inv)
This method creates the matusetrans based on invlifofifocost records.
|
void |
delete(long accessModifier)
Adjust the line cost from WO.actMatCost.
|
MboRemote |
getInvBalancesRecord(MboRemote inventory)
Gets a reference of invbalances in the INVBALANCES set, compared current item,location,itemsetid,
and conditioncode, binnum, lotnum, and siteid
|
InvReserveRemote |
getInvReserveInVector(java.util.Vector v,
MboRemote thisInvReserve)
10-16236: 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
|
MatUseTransRemote |
getIssueForThisReturn()
The issue for this return; many returns may be done for this issue.
|
MboRemote |
getPossibleInvLifofo()
IJ00514: if the initial invlifofifocost records were created not thru receipt, the refoboject on
the invlifofifocost records are not MATRECTRANS.
|
double |
getQtyForReturn()
This method returns the current qty remaining for returns.
|
MboSetRemote |
getSharedAssetSet()
10-16236: new method needed to avoid "updated by another user" message when adding same rotating item via
select materials on WO actuals that has already been reserved via WO planned material.
|
MboRemote |
getSharedInvBalance()
private method
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()
Private utility method
- Holds the logic for grabbing the best Inventory mbo for updating - taking into
account the possiblity that other matusetrans mbos may attempt to update the very same inventory.
|
MboSetRemote |
getSharedInvReserveSet()
73215:added this method to get invreserve set for the issue
|
double |
getTotalQty()
The total quantity remaining for returns.
|
double |
getTotalQtyForReturn()
This method calculates the eligible quantity left for return for this issue.
|
java.lang.String[] |
getValidateOrder()
Returns an array with the names of field validation classes in the order they should be used
when they are called by the architecture with the DelayedValidation flag.
|
MboRemote |
getWO()
Gets the workorder related to this MatUseTrans.
|
void |
init()
Initialize the MatUseTrans object.
|
boolean |
isInvoice()
Returns true if issuetype = the internal string for INVOICE, otherwise returns false.
|
boolean |
isIssue()
Returns true if issuetype = the internal string for ISSUE, otherwise returns false.
|
boolean |
isReceipt()
Returns true if issuetype is the internal string for RECEIPT, otherwise returns false.
|
boolean |
isReturn()
Returns true if issuetype = the internal string for RETURN, otherwise returns false.
|
boolean |
isUncommitted()
Does this LabTrans have values not committed to the database?
|
boolean |
isVoidReceipt()
Returns true if issuetype is the internal string for VOIDRECEIPT, otherwise returns false.
|
MboRemote |
returnIssue()
This method makes returns on this issue, within certain constraints.
|
MboRemote |
returnIssue(MboSetRemote newMatUseSet)
This method makes returns on this issue, within certain constraints.
|
MboRemote |
returnIssue(java.lang.String bin,
java.lang.String lot,
double qty)
This method allows returns done on this issue for the qty,bin,and lot specified.
|
void |
save()
Saves the MatUseTrans object and all its linked objects.
|
void |
setCheckNegBalanceFlag(boolean flag)
Set the private boolean CheckNegBalance to true
|
void |
setIgnoreLocationAssetMismatch(boolean value)
Sets IgnoreLocationAssetMismatch boolean value.
|
void |
setIgnoreLocationOccupied(boolean value)
Sets ignoreLocOccupied boolean value.
|
void |
setInvReserveUpdatedFlag(boolean updated)
Set the sharedInvBalancesHasBeenUpdated flag.
|
void |
setIssueForThisReturn(MboRemote issue) |
void |
setQtyForReturn(double qty)
This method set the remainQty to appropriate one.
|
void |
setRotatingAssetnum(java.lang.String rotAssetnum)
Sets the rotassetnum field even if the field is readonly.
|
void |
setSharedInvBalancesUpdatedFlag(boolean updated)
Set the sharedInvBalancesHasBeenUpdated flag.
|
void |
setTotalQtyForThisReturn(double qty) |
void |
setUncommitted(boolean uncommitted)
Set the uncommitted flag
|
void |
setUpdateWorkOrdersOnMoveAsset(boolean value)
Sets updateWO boolean value.
|
void |
setWorkOrderUpdatedFlag(boolean updated)
10-16438
|
void |
storeTheLifoFifoUpdated(java.util.Hashtable lifofifoHash,
java.lang.String invlifofifoID,
MboRemote invlifofifocost)
IV77164: small method to store the newly updated invlifofifocost record in the hashtable
|
void |
undelete()
adjust the line cost to WO.actMatCost.
|
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, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, 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, modify, 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, 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, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public MatUseTrans(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- - a MboSetMXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
none
- none
MXException
public void add() throws MXException, java.rmi.RemoteException
1) - set default values for required fields |
2) - depending upon owner of this matusetrans set, will also grab and set some non-required fields |
3) - If owner is equal to matrectrans, grabs and sets almost all values from the matrectrans. |
add
in interface MboRemote
add
in class Mbo
none
MXException
java.rmi.RemoteException
public double getTotalQtyForReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getQtyForReturn() throws MXException, java.rmi.RemoteException
getQtyForReturn
in interface MatUseTransRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.getQtyForReturn()
public void setQtyForReturn(double qty) throws MXException, java.rmi.RemoteException
setQtyForReturn
in interface MatUseTransRemote
qty
- passed to update the remainQty. It can be a negative number. But
the result can not be less than zero.MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.setQtyForReturn(double qty)
public MatUseTransRemote getIssueForThisReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getTotalQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setTotalQtyForThisReturn(double qty) throws MXException, java.rmi.RemoteException
setTotalQtyForThisReturn
in interface MatUseTransRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.setTotalQtyForThisReturn(double)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
none
- MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | matusetransCannotDelete | if this MatUseTrans cannot be deleted |
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
1) - A "BILLTO" field has been populated (wonum,assetnum,location,gldebitacct,mrnum) |
2) - If Item.isRotating(), rotassetnum and location are populated |
3) - Quantity is valid and has the right sign given issuetype |
4) - InvBalance and Inventory records exist for this matusetrans. |
5) - Based on a maxvar value check if the GL debit and credit accounts are required for this transaction. |
appValidate
in class Mbo
MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | matusetransNullChargeTo | if all these fields are null: wonum, assetnum, location, gldebitacct, mrnum | |
inventory | matusetransNullRotassetnum | if itemnum is null, and this item is rotating and rotassetnum is null | |
inventory | matusetransEmtpyRotLocation | if itemnum is null, and this item is rotating and location is null | |
inventory | matusetransZeroQuantity | if quantity is 0 and issuetype is not INVOICE | |
inventory | matusetransPosQuantity | if issuetype is not null, and if isIssue() is true and quantity > 0 | |
inventory | matusetransNegQuantity | if issuetype is not null, and if isReturn() is true and quantity < 0 | |
inventory | invbalNotInInventory | if invbalances and inventory records exist for the combination entered but inventory does not exists | |
inventory | matusetransNoBalances | if invbalances and inventory records exist for the combination entered but matusetrans inventory does not exists | |
financial | GLRequiredForTrans | The debit and credit GL accounts require a value. |
MXException
java.rmi.RemoteException
public MboRemote getWO() throws MXException, java.rmi.RemoteException
getWO
in interface MatUseTransRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.getWO()
public void save() throws MXException, java.rmi.RemoteException
none
- none
MXException
java.rmi.RemoteException
public void createInvoiceOnConsumption() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getSharedInventory() throws MXException, java.rmi.RemoteException
getSharedInventory
in interface MatUseTransRemote
none
- none
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.getSharedInventory()
public MboSetRemote getSharedAssetSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getSharedInvBalance() throws MXException, java.rmi.RemoteException
getSharedInvBalance
in interface MatUseTransRemote
MXApplicationException
- SHOULD NOT BE RETURNING NULL - WILL Throw exceptions
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
psdi.app.inventory.MatUseTrans.getSharedInvBalance()
public MboRemote getInvBalancesRecord(MboRemote inventory) throws MXException, java.rmi.RemoteException
getInvBalancesRecord
in interface MatUseTransRemote
inventory
- inventory recordmatMbo
- none
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.getInvBalancesRecord(MboRemote)
public void setIgnoreLocationAssetMismatch(boolean value)
setIgnoreLocationAssetMismatch
in interface MatUseTransRemote
boolean
- none
psdi.app.inventory.MatUseTrans.setIgnoreLocationAssetMismatch(boolean)
public void setIgnoreLocationOccupied(boolean value)
setIgnoreLocationOccupied
in interface MatUseTransRemote
boolean
- none
psdi.app.inventory.MatUseTrans.setIgnoreLocationOccupied(boolean))
public void setUpdateWorkOrdersOnMoveAsset(boolean value)
setUpdateWorkOrdersOnMoveAsset
in interface MatUseTransRemote
boolean
- none
psdi.app.inventory.MatUseTrans.setUpdateWorkOrdersOnMoveAsset(boolean)
public MboSetRemote getSharedInvReserveSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canBeReturned() throws MXException, java.rmi.RemoteException
canBeReturned
in interface MatUseTransRemote
none
- none
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.canBeReturned()
public MboRemote returnIssue(java.lang.String bin, java.lang.String lot, double qty) throws MXException, java.rmi.RemoteException
returnIssue
in interface MatUseTransRemote
bin
- bin num for the storeroomlot
- lot num if this item is lottedqty
- qty this item is to be returned to the storelocnone
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.returnIssue(java.lang.String bin, java.lang.String lot, double)
public MboRemote returnIssue() throws MXException, java.rmi.RemoteException
returnIssue
in interface MatUseTransRemote
none
- MXApplicationException
- GROUP | KEY | REASON |
---|---|---|
inventory | returnOnlyIssues | if return is not on issues |
inventory | invbalNotInInventory | if MboRemote rtn is null |
inventory | mxcollabINVISSR | check MXCOLLAB api privileges for RETURN; if true - do not allow return of matusetrans or inventory |
inventory | cannotReturnIssue | if current location of the asset is not the location it was moved to |
inventory | cannotreturnanymore | if previous returns completely used for this issue,cannot allow any more returns |
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.returnIssue()
public MboRemote returnIssue(MboSetRemote newMatUseSet) throws MXException, java.rmi.RemoteException
returnIssue
in interface MatUseTransRemote
none
- MXApplicationException
- GROUP | KEY | REASON |
---|---|---|
inventory | returnOnlyIssues | if return is not on issues |
inventory | invbalNotInInventory | if MboRemote rtn is null |
inventory | mxcollabINVISSR | check MXCOLLAB api privileges for RETURN; if true - do not allow return of matusetrans or inventory |
inventory | cannotReturnIssue | if current location of the asset is not the location it was moved to |
inventory | cannotreturnanymore | if previous returns completely used for this issue,cannot allow any more returns |
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.returnIssue(MboSetRemote newMatUseSet)
public void setIssueForThisReturn(MboRemote issue) throws MXException, java.rmi.RemoteException
setIssueForThisReturn
in interface MatUseTransRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.setIssueForThisReturn(MboRemote issue)
public void setRotatingAssetnum(java.lang.String rotAssetnum) throws MXException, java.rmi.RemoteException
setRotatingAssetnum
in interface MatUseTransRemote
none
- MXApplicationException
- GROUP | KEY | REASON |
---|---|---|
inventory | matusetransItemNotRotating | item is not rotating |
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.setRotatingAssetnum(java.lang.String)
public boolean isReturn() throws MXException, java.rmi.RemoteException
isReturn
in interface MatUseTransRemote
none
- none
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.isReturn(boolean)
public boolean isIssue() throws MXException, java.rmi.RemoteException
isIssue
in interface MatUseTransRemote
none
- none
MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.isIssue(boolean)
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
none
- none
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 isUncommitted()
public void setUncommitted(boolean uncommitted)
uncommitted
- What to set the flag to.public void setSharedInvBalancesUpdatedFlag(boolean updated)
updated
- true, if already updated.public void setInvReserveUpdatedFlag(boolean updated)
updated
- true, if already updated.public void setCheckNegBalanceFlag(boolean flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createMatUseTransRecordforLifoFifo(MboRemote inv) throws MXException, java.rmi.RemoteException
createMatUseTransRecordforLifoFifo
in interface MatUseTransRemote
inv
- MXException
java.rmi.RemoteException
psdi.app.inventory.MatUseTrans.createMatUseTransRecordforLifoFifo(MboRemote)
public void setWorkOrderUpdatedFlag(boolean updated)
updated
- true, if already updated.public InvReserveRemote getInvReserveInVector(java.util.Vector v, MboRemote thisInvReserve) throws MXException, java.rmi.RemoteException
v
- thisInvReserve
- MXException
java.rmi.RemoteException
public boolean isInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isVoidReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void storeTheLifoFifoUpdated(java.util.Hashtable lifofifoHash, java.lang.String invlifofifoID, MboRemote invlifofifocost) throws MXException, java.rmi.RemoteException
lifofifoHash
- invlifofifoID
- invlifofifocost
- MXException
java.rmi.RemoteException
public boolean isReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getPossibleInvLifofo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException