public class MatRecTrans extends ReceiptMbo implements MatRecTransRemote
See Inventory Package description.
This is a site-level object.
The key attributes in this object are as follows: SiteId, MatRecTransId
The attributes in this object are as follows:
MatRecTrans
,
MatUseTrans
,
Inventory
Modifier and Type | Field and Description |
---|---|
boolean |
binNumSet
Flag to indicate if the binnum is set from the binnum field validation.
|
boolean |
needToExecuteAppValidate
08-15967: the MatRecTrans recrods created for each Rotating Asset does not
need to execute appValidate all the time, especially when there are large number
of quantitys being received
|
java.util.Date |
originalCostDate
IV85176: save the original cost date of the invlifofifo records that may be deleted due to complete transfer-out.
|
protected boolean |
requestFulfilled |
protected boolean |
useInitialCurBal
set to true if the current balance (InvBalances.CurBal) for the 'From'
storeroom location is inadequate to meet the quantity requested for
transfer, AND negative balances are disallowed via Inventory setup.
|
invoiceLineCreated
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 |
---|
MatRecTrans(MboSet ms)
Construct the MatRecTrans object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Sets default values and field flags.
|
void |
addRotatingAsset(java.lang.String assetnum)
This method adds the passed assetnum to the instance variable
rotAssetsVector; For receiving a rotating item for multiple quantities,
multiple pieces of asset will need to be created; this will store the
user entered assetnums to the vector.
|
protected boolean |
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 |
approve(java.util.Date statusDate)
This method performs the approval of the receipt.
|
void |
approve(MboSetRemote assetInputSet) |
void |
approveCrossSiteShipment(MboSetRemote assetInputSet,
MboRemote oneAssetInput) |
void |
approveShipReceipt() |
void |
appValidate()
Application validation routine called before the MatRecTrans object is
saved.
|
double[] |
calculateUnInvoicedQtyCost()
This method is use by the Invoice's Copy PO Line page to calculate the
uninvoiced quantity and cost.
|
void |
canApprove()
Determines if the receipt can be approved or not.
|
boolean |
canBeReturned() |
void |
canDelete()
Checks to see if this object can be deleted.
|
protected void |
copyMatRecTransToMatRecTrans(MatRecTransRemote matrec,
java.lang.String issueType) |
void |
createInvoiceOnConsumption()
This method will call the invoice service method to generate the invoice on SHIPTRANFER and TRANFER transactions
for consinment items.
|
void |
createMatRecTransRecordforLifoFifo(MboRemote inv)
This method creates the matusetrans based on invlifofifocost records.
|
void |
createReturn(MatRecTransRemote matrec) |
void |
createShipReceiptRecordsforLifoFifo()
IV92645: In Shipment Receiving, if ShipTransfer contains multiple records for LIFO/FIFO, needs
to create additional shipreceipt records to match SHIPTRANSFER.
|
void |
createStdRecAdjOnRotAssetTransferIn()
IV47599: if the cost type for this inventory is Standard cost, need to adjust standard cost if necessary
this is only for rotating asset being returned to a storeroom from an operating location
|
protected void |
doKitBreakUpdates(ItemStructRemote kitComponent,
KitRemote kit) |
protected void |
doKitBreakUpdates(ItemStructRemote kitComponent,
KitRemote kit,
double componentQtyToAddToBinOnBreak) |
boolean |
getApproveAfterCreatingAssets() |
protected double |
getAvailableQty(Inventory inv,
InvBalancesRemote invBal)
gets the available quantity.
|
boolean |
getBinNumFlag()
Utility method to return the value of binNumSet
|
MboRemote |
getClearingAcct()
Returns the organization mbo so the clearing acct can be retrieved.
|
MboRemote |
getCourierLaborTransientMatRec()
returns the courier/labor MatRecTrans which contains the qty held before
the final destination this current MatRecTrans is trying to transfer from
the courier/labor to the destination storeroom
|
double |
getDirectIssueConversion()
Get direct issue conversion between Received Unit and POLine Order Unit.
|
MboRemote |
getHoldingLocationForSite(java.lang.String siteid)
returns true if the tostoreloc is a location of type HOLDING
|
MboRemote |
getInvCostRecord(MboRemote toInventory)
Gets a reference of invcost stored in the mboset INVCOST, compared
current item,location,itemsetid, and conditioncode and siteid
|
java.util.Date |
getOriginalCostDate() |
boolean |
getPOLineUpdated()
09-22514
return the private boolean poLineUpdated
|
MboRemote |
getReceiptForThisReturn() |
java.lang.String |
getReceiptStatus()
returns the internal value "MAXVALUE" of valuelist "RECEIPTSTATUS" A
MatRecTrans that requires inspection will have a status of "WINSP".
|
protected java.lang.String |
getRotAssetNum()
Protected method returns the instance variable rotAssetNum.
|
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
|
MboRemote |
getshipTransferForThisShipReceipt() |
protected double |
getSumQtyInTheSet()
07-11273:get the accumulating quantity
|
boolean |
getWorkOrderUpdatedFlag()
IV81062
|
boolean |
hasVoidReceipt()
returns true if the tostoreloc is a location of type HOLDING
|
void |
init()
Initialize the MatRecTrans object.
|
boolean |
isDirectIssueConversion()
Check if Received Unit is modified and different than previous unit and issue type is RECEIPT.
|
boolean |
isDirectIssueConversion(boolean includeStoreroom) |
boolean |
isHolding()
returns true if the tostoreloc is a location of type HOLDING
|
boolean |
isInvoice()
returns true if the MAXVALUE of the issuetype is 'INVOICE' else returns
false
|
protected boolean |
isKitBreak()
returns true if the MAXVALUE of the issuetype is 'KITBREAK'.
|
protected boolean |
isKitMake()
returns true if the MAXVALUE of the issuetype is 'KITMAKE'
|
protected boolean |
isKitting()
Returns true if the MAXVALUE of the issuetype is 'KITMAKE' or 'KITBREAK'
|
boolean |
isMisclReceipt()
returns true if the MAXVALUE of the issuetype is 'MISCLRECEIPT' else
returns false
|
boolean |
isPickRestock() |
boolean |
isPicksTransfer() |
boolean |
isReceipt()
returns true if the MAXVALUE of the issuetype is 'RECEIPT' else returns
false
|
boolean |
isReject() |
boolean |
isRejectedReturn()
IV90667: indicates this MaTrecTrans is a RETURN in Change Inspection Status with rejected quantity.
|
boolean |
isReturn() |
boolean |
isSameStoreTransfer()
IV85176:
Returns true if this is a bin-to-bin transfers in the same storeroom.
|
boolean |
isShipCancel()
This method checks if the issue type is Ship Cancel.
|
boolean |
isShipReceipt() |
boolean |
isShipReject() |
boolean |
isShipReturn()
This method checks if the issue type is Ship Return.
|
boolean |
isShipTransfer()
This method checks if the issue type is Ship Transfer.
|
boolean |
isStageTransfer()
This method checks if the issue type is Staged Transfer.
|
boolean |
isSwitchoffWOUpdate() |
boolean |
isTransfer()
Returns true if the MAXVALUE of the issuetype is 'TRANSFER' else returns
false.
|
boolean |
isTransferNoPO()
returns true if the MAXVALUE of the issuetype is 'TRANSFER' and po is not
entered.
|
boolean |
isVoidReceipt()
returns true if the MAXVALUE of the issuetype is 'VOIDRECEIPT' else returns
false
|
boolean |
isVoidShipReceipt()
This method checks if the issue type is Ship Return.
|
void |
onlyPayOnReceipt(PORemote poMbo,
POLineRemote poLineMbo) |
void |
rejectsForRotatingShipments()
Method to update the status of the SHIPRECEIPT (this) to COMP, and to create the
SHIPRETURN (reject) for this rejection
|
void |
save()
Saves the MatRecTrans object and all other linked objects
Might update inventory balance/cost, MR, or work order Calls super.save() after work on the other objects |
void |
setAproveAfterCreatingAssets(boolean flag) |
void |
setBinNumFlag(boolean binNumFlag)
Sets the value of bollean flag binNumSet
|
void |
setCheckNegBalance(boolean updated)
Set the private boolean CheckNegBalance to true
|
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
|
protected void |
setEditibilityFlags(boolean flag) |
void |
setFromInvBalUpdated()
Set the private boolean fromInvBalUpdated to true
|
void |
setInspectionRequiredEditibilityFlags(boolean flag)
Sets the editibility on the MatRecTrans Mbo if the parent POLine Mbo is
inspection required.
|
void |
setInvReserveUpdatedFlag(boolean updated)
Set the sharedInvBalancesHasBeenUpdated flag.
|
protected void |
setLottedEditibilityFlags(boolean flag) |
void |
setOriginalCostDate(java.util.Date costDate)
IV85176: in store-to-store transfers, the costdate of new invlifofifocost record is the system date.
|
void |
setPOLineUpdated()
09-22514
Set the private boolean poLineUpdated to true
|
protected void |
setRotAssetNum(java.lang.String assetnum)
Protected method sets rotAssetNum instance variable.
|
void |
setShipmentMap() |
void |
setSwitchoffWOUpdate(boolean switchoffWOUpdate) |
void |
setToInvBalUpdated()
Set the private boolean toInvBalUpdated to true
|
void |
setWorkOrderUpdatedFlag(boolean updated)
IV81062
|
protected boolean |
skipCopyField(MboValueInfo mvi)
Over-rides the method in the super class.
|
void |
transferForRotatingShipments()
Method to update the status of the SHIPRECEIPT (this) to COMP, and to create the
TRANSFER (reject) for this rejection
|
void |
updateInventory(InventoryRemote invmbo,
PORemote poMbo,
InvCost invcost)
This method performs the update to the InvCost record passed in.
|
void |
updateInventoryCostAndBalances()
This routine does inventory updates in costs and balances
|
void |
updateInvReserveActualQty(MboRemote invUseLine)
This method updates the invreserve actual quantity for SHIPRETURN transaction.
|
protected void |
updateKitComponentNewInventoryBinnum(java.lang.String binnum)
updates default Inventory.Binnum for kit components' with binnum provided
for the kit's MatRecTrans.ToStoreLoc
|
approveInvoices, createChildMatServLines, createInvoicesForSchedule, delete, deleteChildReceipts, doChargeStore, getFirstCourierTransOut, getPO, getPOCostReference, getPOLine, getPOReference, getQtyStillInTransitForTransOut, getRemainingCurrencyLineCost, getRemainingInvoiceCurrencyLineCost, getRemainingInvoiceQty, getRemainingQty, getRemainingQtyTransInTransit, getRemainingShipmentQty, getWOReference, isLastReceipt, payOnReceipt, receiptDetails, refetchPOLine, setMRMbo, setPOCostReference, setPOLineMbo, setPOLineSet, setPOMbo, setPOReference, setWOReference, undelete, updateMR, useIntegration, useLineOrLoadedCost
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, initFieldFlagsOnMbo, 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, modify, 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, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPO, getPOLine, setMRMbo, setPOLineMbo, setPOLineSet, setPOMbo, setWOReference
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
protected boolean useInitialCurBal
protected boolean requestFulfilled
public boolean binNumSet
public boolean needToExecuteAppValidate
public java.util.Date originalCostDate
public MatRecTrans(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 boolean getBinNumFlag()
public void setBinNumFlag(boolean binNumFlag)
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
none
- MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | matRecTransNoAdd | if the owner != null and the owner is not "PO", "POLINE", "ITEM", "INVENTORY", or "INVOICE" |
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
none
- MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | matrectrans_cannotdelete | if it cannot be deleted |
MXException
java.rmi.RemoteException
public boolean isTransfer() throws MXException, java.rmi.RemoteException
isTransfer
in interface MatRecTransRemote
none
- none
MXException
java.rmi.RemoteException
public boolean isPicksTransfer() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isPickRestock() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isShipReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected boolean isKitMake() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected boolean isKitBreak() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected boolean isKitting() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MatRecTrans.isKitMake()
,
MatRecTrans.isKitBreak()
protected void doKitBreakUpdates(ItemStructRemote kitComponent, KitRemote kit) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected void doKitBreakUpdates(ItemStructRemote kitComponent, KitRemote kit, double componentQtyToAddToBinOnBreak) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isTransferNoPO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReturn() throws MXException, java.rmi.RemoteException
isReturn
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean isInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isMisclReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isVoidReceipt() throws MXException, java.rmi.RemoteException
isVoidReceipt
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean hasVoidReceipt() throws MXException, java.rmi.RemoteException
hasVoidReceipt
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean isHolding() throws MXException, java.rmi.RemoteException
isHolding
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public MboRemote getHoldingLocationForSite(java.lang.String siteid) throws MXException, java.rmi.RemoteException
getHoldingLocationForSite
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean isReject() throws MXException, java.rmi.RemoteException
isReject
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean isShipReject() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getReceiptStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getClearingAcct() throws MXException, java.rmi.RemoteException
getClearingAcct
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void approve(java.util.Date statusDate) throws MXException, java.rmi.RemoteException
approve
in interface ReceiptMboRemote
approve
in interface MatRecTransRemote
approve
in class ReceiptMbo
statusDate
- status date, null for system datenone
MXException
java.rmi.RemoteException
ReceiptMbo.approve(Date)
public void updateInventory(InventoryRemote invmbo, PORemote poMbo, InvCost invcost) throws MXException, java.rmi.RemoteException
invmbo
- an InventoryRemotepoMbo
- a PORemoteinvBalance
- the inventory balance being updatedinvCost
- the inventory cost being updatednone
MXException
java.rmi.RemoteException
public void addRotatingAsset(java.lang.String assetnum) throws MXException, java.rmi.RemoteException
addRotatingAsset
in interface MatRecTransRemote
assetnum
- the new assetnum numbernone
MXException
java.rmi.RemoteException
MatRecTrans.addRotatingAsset(java.lang.String)
protected void setRotAssetNum(java.lang.String assetnum) throws MXException, java.rmi.RemoteException
assetnum
- asset numbernone
MXException
java.rmi.RemoteException
protected java.lang.String getRotAssetNum() throws MXException, java.rmi.RemoteException
none
- none
MXException
java.rmi.RemoteException
protected double getAvailableQty(Inventory inv, InvBalancesRemote invBal) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected double getSumQtyInTheSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
1) | - if this is a miscellaneous receipt, at least one among "wonum","assetnum","location","glacct" should be present |
2) | - if this is an internal transfer, fromstoreloc & tostoreloc can not be null. |
3) | - Based on a maxvar value check if the GL debit and credit accounts are required for this transaction. |
appValidate
in class ReceiptMbo
none
- MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | miscReceiptIssue | if this is a misc. receipt and asset number, location, and wonum are all null. | |
inventory | miscReceiptStoreLoc | if this is a misc. receipt and asset number, location, and wonum are not all null, but the 'TO' storage location is null. | |
inventory | transferNoStoreRoom | if this is a transfer and either the 'TO' or the 'FROM' staorage location is null. | |
financial | GLRequiredForTrans | The debit and credit GL accounts require a value. |
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
save
in class Mbo
none
- MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | mxcollabRC | if the poMbo is not null and the invoice number is null and the the adding of receipt is not allowed |
MXException
java.rmi.RemoteException
public void createInvoiceOnConsumption() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvReserveActualQty(MboRemote invUseLine) throws MXException, java.rmi.RemoteException
invUseLine
- MXException
java.rmi.RemoteException
public MboRemote getReceiptForThisReturn() throws MXException, java.rmi.RemoteException
getReceiptForThisReturn
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public MboRemote getshipTransferForThisShipReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
copy()
return true else return false. The following
fields are not copied from the source Mbo to the target Mbo.
skipCopyField
in class Mbo
java.rmi.RemoteException
MXException
public void setAproveAfterCreatingAssets(boolean flag) throws MXException, java.rmi.RemoteException
setAproveAfterCreatingAssets
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public boolean getApproveAfterCreatingAssets() throws MXException, java.rmi.RemoteException
getApproveAfterCreatingAssets
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void rejectsForRotatingShipments() throws MXException, java.rmi.RemoteException
rejectsForRotatingShipments
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void transferForRotatingShipments() throws MXException, java.rmi.RemoteException
transferForRotatingShipments
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void approveShipReceipt() throws MXException, java.rmi.RemoteException
approveShipReceipt
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void approveCrossSiteShipment(MboSetRemote assetInputSet, MboRemote oneAssetInput) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void approve(MboSetRemote assetInputSet) throws MXException, java.rmi.RemoteException
approve
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
protected void setLottedEditibilityFlags(boolean flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected void setEditibilityFlags(boolean flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setInspectionRequiredEditibilityFlags(boolean flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canApprove() throws MXException, java.rmi.RemoteException
MXApplicationException("inventory",
- "cannotApprove") is thrown if the status of the receipt is
already approved.MXException
java.rmi.RemoteException
public void onlyPayOnReceipt(PORemote poMbo, POLineRemote poLineMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setToInvBalUpdated() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setFromInvBalUpdated() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getCourierLaborTransientMatRec() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getSharedInventory(java.lang.String storeLoc, java.lang.String siteid) throws MXException, java.rmi.RemoteException
getSharedInventory
in interface MatRecTransRemote
storeLoc
- the storeroom location for the item In the cases for internal
po's and transfers, MatRecTrans handles fromstoreroom and
tostoreroomsiteid
- Site where the location existsnone
MXException
java.rmi.RemoteException
public double[] calculateUnInvoicedQtyCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected void setConversionFactor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
InventoryService.getConversionFactor(UserInfo
userInfo, String fromUOM, String toUOM, String itemSetID, String
itemNum)
protected boolean 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)
,
MatRecTrans.toAddOrNotToAddKitComponents(psdi.app.item.ItemSetRemote,psdi.app.location.LocationServiceRemote)
protected void updateKitComponentNewInventoryBinnum(java.lang.String binnum) throws MXException, java.rmi.RemoteException
binnum
- bin for kit's MatRecTrans.ToStoreLoc attributeMXException
java.rmi.RemoteException
FldMatRecTransToBin.action()
public void createReturn(MatRecTransRemote matrec) throws MXException, java.rmi.RemoteException
createReturn
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
protected void copyMatRecTransToMatRecTrans(MatRecTransRemote matrec, java.lang.String issueType) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getInvCostRecord(MboRemote toInventory) throws MXException, java.rmi.RemoteException
getInvCostRecord
in interface MatRecTransRemote
toInventory
- InventoryRemotematMbo
- MatRecTransRemotenone
MXException
java.rmi.RemoteException
public void updateInventoryCostAndBalances() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isSwitchoffWOUpdate()
public void setSwitchoffWOUpdate(boolean switchoffWOUpdate)
setSwitchoffWOUpdate
in interface MatRecTransRemote
public void setInvReserveUpdatedFlag(boolean updated)
updated
- true, if already updated.public void setCheckNegBalance(boolean updated) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getPOLineUpdated() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setPOLineUpdated() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isStageTransfer() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isShipTransfer() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isShipCancel() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isShipReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isVoidShipReceipt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createMatRecTransRecordforLifoFifo(MboRemote inv) throws MXException, java.rmi.RemoteException
inv
- MXException
java.rmi.RemoteException
public boolean canBeReturned() throws MXException, java.rmi.RemoteException
canBeReturned
in interface MatRecTransRemote
MXException
java.rmi.RemoteException
public void setShipmentMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isDirectIssueConversion() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isDirectIssueConversion(boolean includeStoreroom) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getDirectIssueConversion() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createStdRecAdjOnRotAssetTransferIn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isSameStoreTransfer() throws MXException, java.rmi.RemoteException
none
- none
MXException
java.rmi.RemoteException
public void setOriginalCostDate(java.util.Date costDate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getOriginalCostDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setWorkOrderUpdatedFlag(boolean updated)
updated
- true, if already updated.public boolean getWorkOrderUpdatedFlag()
updated
- true, if already updated.public boolean isRejectedReturn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createShipReceiptRecordsforLifoFifo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException