public class Inventory extends StatefulMbo implements InventoryRemote
See Inventory Package description.
This is a site level object.
The key attributes in this object are as follows: SiteId, Itemnum, Location
The attributes in this object are as follows:
| Attribute Name | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ABCType | ABC Analysis Type. Used to categorize items
based on a ranking of the organization's monetary investment in each item.
The category to which an inventory item belongs is determined by multiplying
the current YTD issued quantity by the last cost of the item and sorting the results
in descending order. Validated against the ValueList table where value list name is ABCTYPE. Valid values are A, B, C or N. These values represent
the percentile buckets into which the results of the above calculation and sort
are categorized and are set in the MAXVARS table. An example breakdown
would be:
An ABCType of N excludes this inventory item from the ABC analysis. ABCType is related to Cycle Count Frequency (CCF). CCF is set in the MAXVARS table for each ABC type. An example of cycle count frequency settings is:
The ABCType helps to ensure that crucial inventory does not fall below minimum levels and that the current balance is reconciled with the actual count. This latter function is done via the CCF. | ||||||||||||||||||||||||||||||||||||
AddToStoreloc | Non-persistent attribute used as editable location for the action page of "Add Items to Store" on the Item Application. | ||||||||||||||||||||||||||||||||||||
| Avgcost | Inventory Average Cost. Initially set to the standard cost (Stdcost) when the inventory item is added.
After that, the average cost can be manually adjusted. It is also automatically updated when the item is received into
the storeroom. The algorithm for updating the average cost is as follows:
(previous current balance * average cost) + (quantity received * receiving cost) / new current balance The average cost is also updated when receipts are created for this inventory item due to invoice cost variances or the proration of standard services upon invoice approval. | ||||||||||||||||||||||||||||||||||||
AvblBalance | Non-persistent attribute used to hold the
total available balance for a particular inventory record. It is calculated as:
available balance = curBalTotal- ExpiredQty - ReservedQty Please refer to the non-persistent columns curBalTotal, ExpiredQty, and ReservedQty for more information. | ||||||||||||||||||||||||||||||||||||
| Binnum | Number of the default bin where the item is issued or received if no bin information is specified. | ||||||||||||||||||||||||||||||||||||
| Catalogcode | Identification code for this item in the primary vendor's catalog. | ||||||||||||||||||||||||||||||||||||
| Category | Item category. Validated against the ValueList table where value list name is CATEGORY.Valid values are:
| ||||||||||||||||||||||||||||||||||||
| CCF | Cycle Count Frequency. Used to indicate how often this inventory item is physically counted and to help ensure that the current balance is reconciled with the actual count. The CCF can be set based on this item's ABCType. | ||||||||||||||||||||||||||||||||||||
| Controlacc | Inventory Control Account. Used to track the material issues and receipts for the inventory item.
This account is debited upon receipt and credited upon issue of this item. This value defaults
to the Locations.ControlAcc for the storeroom but can be modified. Refer to
InvTrans.TransType for other uses of Controlacc.
| ||||||||||||||||||||||||||||||||||||
CurBalTotal | Non-persistent attribute to hold the sum of all the InvBalances.curbal for a given inventory record. | ||||||||||||||||||||||||||||||||||||
| Deliverytime | Expected delivery time for the order (in days). This is the average time span between reorder and receipt of the item. Also known as lead time, delivery time is recalculated upon each receipt of this inventory item. The weighting of the most recent receipt in lead time calculation for the inventory item can be increased or descreased versus the average for past receipts of the item. Lead time calculation weights are specified by storeroom. | ||||||||||||||||||||||||||||||||||||
ExpiredQty | Non-persistent attribute to hold the sum of the current balance of all lots which have expired for a given inventory record. For a non lot-tracking item, the value is always 0. | ||||||||||||||||||||||||||||||||||||
| Glaccount | General Ledger Account. Used to track expenses for a given inventory record. | ||||||||||||||||||||||||||||||||||||
| InvCostAdjacc | Inventory Cost Adjustment Account, Used to track changes in
inventory standard, average or capital cost adjustments. This value defaults to the Locations.InvCostAdjAcc
for the storeroom but can be modified. Refer to InvTrans.TransType for
details regarding the use of Invcostadjacc.
| ||||||||||||||||||||||||||||||||||||
| Issue1yrago | Total number of items issued from this storeroom location one year ago | ||||||||||||||||||||||||||||||||||||
| Issue2yrago | Total number of items issued from this storeroom location two years ago | ||||||||||||||||||||||||||||||||||||
| Issue3yrago | Total number of items issued from this storeroom location three years ago | ||||||||||||||||||||||||||||||||||||
Issueunit | Description of how the item is requisitioned from inventory, for example, individually, by the box, by the dozen, by roll or by feet. This value can be selected from the ORDERUNIT table or entered free-form. | ||||||||||||||||||||||||||||||||||||
| Issueytd | Total number of items issued from this storeroom location for the year-to-date | ||||||||||||||||||||||||||||||||||||
Itemnum | Inventory Item Number.
| ||||||||||||||||||||||||||||||||||||
ItemSetID | Identifier of the itemset identifier for this object.
| ||||||||||||||||||||||||||||||||||||
| Lastcost | Inventory Last Cost. Initially set to the standard cost (Stdcost) when the inventory item is added. After that, it is automatically updated to the cost of the item upon every receipt, including receipts created due to invoice cost variances upon invoice approval. | ||||||||||||||||||||||||||||||||||||
| Lastissuedate | Last date the item was issued from this inventory's storeroom location | ||||||||||||||||||||||||||||||||||||
| Ldkey | Long Description Key. This is a link to text stored in the LongDescription table. | ||||||||||||||||||||||||||||||||||||
Location | This inventory item's storeroom location.
| ||||||||||||||||||||||||||||||||||||
LotNum | Non-persistent attribute used to maintain InvBalances.LotNum through the Inventory object. For lot-tracking items only. See the LotNum attribute defined in InvLot for more information.
| ||||||||||||||||||||||||||||||||||||
Manufacturer | Identification code for this inventorys primary manufacturer. Manufacturer need not exist in Companies table. However, the manufacturer can be selected from the Companies table. | ||||||||||||||||||||||||||||||||||||
| Maxlevel | Theoretical maximum quantity for this inventory item at this location. This attribute is for informational purposes only as there is no functionality connected with it. | ||||||||||||||||||||||||||||||||||||
| Minlevel | Reorder point. Minlevel is the target balance (in issue units) to have on hand. When the current balance is at or below this level, this item in the storeroom location can be reordered without ignoring the reorder point. | ||||||||||||||||||||||||||||||||||||
| Modelnum | Primary vendor's or primary manufacturer's identification number for this item object | ||||||||||||||||||||||||||||||||||||
Orderqty | Optimum reorder quantity (in order units) to best balance the costs of procuring this inventory item with the costs of carrying it in inventory. | ||||||||||||||||||||||||||||||||||||
Orderunit | Description of how the item is ordered, for example, individually, by the box, by the dozen, by roll or by feet. This value can be selected from the OrderUnit table or entered free-form. | ||||||||||||||||||||||||||||||||||||
| Orgid | Identifier of the organization for this inventory.
| ||||||||||||||||||||||||||||||||||||
ReservedQty | Nnon-persistent attribute to hold the sum of reserved quantity stored in InvReserve.ReservedQty for this Inventory record's Itemnum and Location. | ||||||||||||||||||||||||||||||||||||
| Shrinkageacc | Inventory Shrinkage Account. Used to track physical count or current balance adjustment transactions. This value defaults to the Locations.ShrinkageAcc
for the storeroom but can be modified. Refer to InvTrans.TransType
for details regarding the use of Shrinkageacc.
| ||||||||||||||||||||||||||||||||||||
| Siteid | Identifier of the site for this inventory.
| ||||||||||||||||||||||||||||||||||||
| Sstock | Safety stock, or the minimum amount of stock to be kept on hand at all times. This is the minimum amount that should be on hand when the reordered stock arrives. | ||||||||||||||||||||||||||||||||||||
| Stdcost | User-specified cost that does not get automatically updated. As a result, this inventory item can be carried at a cost that is independent of differences among receipt costs for this item (as with Avgcost and Lastcost) and that will not be impacted by invoice variances standard service prorations (as with Avgcost). | ||||||||||||||||||||||||||||||||||||
Vendor | Identification code for this inventory's primary
vendor. Vendor must exist in the Companies table.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
doneRemoveExtra |
boolean |
isKitComponentToAddToStore |
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, phantomList, phantomQueueALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
Inventory(MboSet ms)
Constructor for the Inventory Object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
add()
Provides defaults for a new Inventory Record.
|
InvBalancesRemote |
addInvBalancesRecord(java.lang.String binnum,
java.lang.String lotnum,
double curbal)
addInvBalancesRecord(1,2,3)
Adds an InvBalance record, setting the values to those passed in for bin,lot, and quantity
Also, defaults the physcnt attribute to the same as curbal - the passed in quantity
|
InvBalancesRemote |
addInvBalancesRecord(java.lang.String binnum,
java.lang.String lotnum,
double curbal,
java.lang.String conditionCode)
addInvBalancesRecord(1,2,3,4)
Adds an InvBalance record, setting the values to those passed in for bin,lot, and quantity
Also, defaults the physcnt attribute to the same as curbal - the passed in quantity
|
MboRemote |
addInvLifoFifoCostRecord(double quantity,
double unitcost,
java.lang.String conditioncode,
java.lang.String getName,
long matrectransid)
This method is used by Transfer and Receipt objects to insert the invlifofifoCost record.
|
MboRemote |
addInvLifoFifoCostRecord(java.lang.String conditioncode)
Add an invlifofifocost record.
|
java.util.Date |
addMonths(int addMonths,
java.util.Date fromDate)
Calculates a date a number of months from the given date.
|
void |
addUpdateInvVendor()
Add a new InvVendor record if the combination of itemnum/vendor/manufacturer/modelnum
does not exist in the Invvendor table.
|
java.util.Date |
addYears(int addYears,
java.util.Date fromDate)
Calculates a date a number of years from the given date.
|
MboRemote |
adjustAverageCost(double newcost,
java.lang.String conditionCode)
adjustAverageCost(1,2)
Adjust Inventory Average Cost (AVGCSTADJ)
This method is used to carry out an average cost adjustment (not updating as in receipts/ returns).
|
MboRemote |
adjustCurrentBalance(java.lang.String binnum,
java.lang.String lotnum,
double newBalance,
java.lang.String conditionCode)
adjustCurrentBalance(1,2,3,4)
Performs a current balance adjustment on the InvBalances record as identified by
lotnum, binnum, and conditionCode
|
MboRemote |
adjustPhysicalCount(java.lang.String binnum,
java.lang.String lotnum,
double quantity,
java.util.Date pCountDate) |
MboRemote |
adjustPhysicalCount(java.lang.String binnum,
java.lang.String lotnum,
double quantity,
java.util.Date pCountDate,
java.lang.String ownersysid)
adjustPhysicalCount(1,2,3,4,5)
Performs a physical count adjustment on the InvBalances record as identified by
lotnum and binnum.
|
MboRemote |
adjustPhysicalCount(java.lang.String binnum,
java.lang.String lotnum,
double quantity,
java.util.Date pCountDate,
java.lang.String ownersysid,
java.lang.String conditionCode)
adjustPhysicalCount(1,2,3,4,5,6)
Performs a physical count adjustment on the InvBalances record as identified by
lotnum and binnum.
|
MboRemote |
adjustStandardCost(double newcost,
java.lang.String conditionCode)
adjustStandardCost(1,2)
Adjust Inventory Standard Cost (STDCSTADJ)
This method is used to carry out a standard cost adjustment.
|
void |
appValidate()
last minute validate before save().
|
double |
calculateAvailableQty()
Method to calculate available quantity
Calculates available quantity by subtracting reserved qty and expired qty from
current balance for a itemnum and location
|
double |
calculateCurrentBalance()
Method to calculate current balance
Calculates sum of current balances in invbalances for a itemnum and location |
double |
calculateHardShippedQty()
Method to calculate hard reserved shipped quantity.
Calculates sum of shipped quantity in invreserve that are hard reservations for a itemnum and location |
double |
calculateReceivedQty() |
double |
calculateRQtyNotStaged()
Method to calculate reserved quantity without Staged quantity.
Calculates sum of reserved quantity in invreserve for a itemnum and location |
double |
calculateShippedQty()
Method to calculate shipped quantity.
Calculates sum of shipped quantity less the already-received quantity for an itemnum and location |
double |
calculateStagedQty()
Method to calculate staged quantity.
Calculates sum of staged quantity in invreserve for a itemnum and location |
void |
canAdjustAvgCost()
Determines if the item is capitalized.
|
void |
canAdjustBalance()
Determines if the item is rotating.
|
void |
canAdjustStdCost()
Determines if the item is capitalized.
|
void |
canDelete()
Inventory.canDelete()-
Checks to see if this object can be deleted
if it is on a jobplan, throw exception
if it is on a reservation, throw exception
if this is on an open WO, throw exception
if this is on an open MR, throw exception
if this is on an open PR, throw exception
if this is on an open PO, throw exception
if this is on any invbalance record with balance > 0, throw exception
|
void |
canDoAction()
Can we perform inventory adjustments?
|
void |
canIssueCurrentItem()
can this inventory item be used issued to Asset?
|
void |
canKit()
can this inventory item be used for kitting?
|
void |
canReconcileBalances()
Determines if all of the invBalances for this Inventory record
have been reconciled.
|
void |
canTransferCurrentItem()
Determines if the item is rotating before trying to transfer.
|
void |
changeCapitalizedStatus(boolean capitalized)
Deprecated.
|
void |
changeCapitalizedStatus(boolean capitalized,
java.lang.String capitalacc,
java.lang.String memo)
sets cost & gl accout values upon changing the
capitalized flag on Item.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
This method is overridden to add a wrapper to exceptions thrown during change status
and to write warnings whether or not the status change is successful
|
void |
changeStockCategory(java.lang.String newcat)
changeStockCategory(1)
This method changes the Inventory.CATEGORY of an item in a storeroom to the value passed in.
|
boolean |
checkAssetExists()
This method checks if the item exist in Asset.
|
void |
checkBalandPOPR()
This methods checks if the balance exists and PO/PR exists.
|
boolean |
checkCIExists()
This method checks if the item exist in CI.
|
void |
checkComponentCostType(MboSetRemote itemStructKitSet)
Checks if the kit components have cost type Lifo or Fifo.
|
boolean |
checkContractExists()
This method checks if the item exist in ContractLine for Contract that are in a status other than
CAN or CLOSE.
|
boolean |
checkInvBalancesExists()
This method checks if the item exist in InvBalances.
|
boolean |
checkInvUseStatusForPlanning()
This method checks if the item exist in Inventory Usage Lines in with status STAGED or SHIPPED.
|
boolean |
checkInvUseStatusForPndObs()
This method checks if the item exist in Inventory Usage Lines in with status ENTERED, STAGED or SHIPPED.
|
boolean |
checkJPExists()
This method checks if the item exist in JobItem for job plans that are in a status other
than INACTIVE.
|
boolean |
checkMRExists()
This method checks if the item exist in MRLine for MR that are in a status other than CAN
or CLOSE
|
boolean |
checkPOExists()
This method checks if the item exist in POLine for PO that are in a status other than
CAN or CLOSE.
|
boolean |
checkPRExists()
This method checks if the item exist in PRLine for PR that are in a status other than
CAN or COMP.
|
boolean |
checkReconcileFlag()
This method checks invbalances reconciled flag for this inventory.
|
void |
checkRequestAgainstItemMaxIssue(java.lang.String assetnum,
double qtyRequested)
checks to make sure that the sum of the quantity being issued to an asset or work order
and the sum of the total issued quantity (ISSUEDQTY in the SPAREPART table for the given item
and asset combination) is less than or equal to the maximum permissible
quantity (MAXISSUE in ITEM table)
|
boolean |
checkWOExists()
This method checks if the item exist in WPItem for work orders that are in a status other than COMP
or CLOSE
|
void |
consumeInvLifoFifoCostRecord(double quantity,
java.lang.String conditionCode)
This method is used by Transfer and Receipt objects to consume the invlifofifoCost record.
|
void |
consumeInvLifoFifoCostRecord(double quantity,
java.lang.String conditionCode,
long transid)
This method is used by Transfer and Receipt objects to consume the invlifofifoCost record.
|
void |
consumeInvLifoFifoCostRecordRemaining(double quantity,
java.lang.String conditionCode,
long transid)
This method is used by Transfer and Receipt objects to consume the invlifofifoCost record.
|
void |
copyAssetsForIssue(MboSetRemote assetSet,
MboRemote issueItemToAssetMbo)
Used by "Issue Item to Multiple Assets" to copy a set of assets to IssueCurrentItemMbos.
|
MboRemote |
createIssue()
createIssue()
This remote inventory method was created to provide callers the ability to issue this inventory record
without passing any parameters whatsoever.
|
void |
delete(long access)
delete(1)
If we delete Inventory, then delete all InvBalance records
associated with this Inventory.
|
MboRemote |
doAdjustment(NonPersistentMboRemote invAdj)
Calls "Adjust Current Balance", "Adjust Physical Count","Reconcile Current Balance",
"Adjust Standard Cost", or "Adjust Average Cost" depending on the information gathered in the NonPersistentMbo passed. |
double |
getAccumulativeTotalCurBal()
11-14180: return the accumulativeTotalCurbal to MatRecTrans
|
boolean |
getAutoCreateInvLifoFifoCost()
Returns autoCreateInvLifoFifoCost flag.
|
double |
getAverageCost(MboSetRemote invLifoFifoCostSet)
This method averages the cost for the display on UI.
|
java.lang.String |
getCostType()
Returns Item's Cost Type.
|
double |
getCurrentBalance(java.lang.String binnum,
java.lang.String lotnum)
getCurrentBalance(1,2)
Returns the current balance for this item/location combination, assuming conditionCode is null
|
double |
getCurrentBalance(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode)
getCurrentBalance(1,2,3)
Returns the current balance for this item/location combination
if binnum/lotnum/conditionCode passed into this method as null, they will NOT be considered when retrieving balance set!
if binnum/lotnum/ConditionCode passed into this method as "", they will be treated as a null (eg.
|
double |
getDefaultAverageCost()
getDefaultAverageCost()
Returns the default average cost (inventory.avgcost)
|
double |
getDefaultIssueCost()
getDefaultIssueCost()
Returns the default issue cost of the inventory's 100% condition rate.
|
double |
getDefaultIssueCost(java.util.ArrayList<InvLifoFifoCost> invLifoFifoCostList)
This method return the most recent costdate's unit cost if the cost type is LIFO,
Otherwise returns least recent costdate's unit cost if the cost type s FIFO.
|
double |
getDefaultIssueCost(AssetRemote assetRemote)
getDefaultIssueCost(1)
If user has chosen to call this method (by passing in an AssetRemote,
they user has chosen to get the proper issue cost for item which is rotating asset.
|
double |
getDefaultIssueCost(AssetRemote assetRemote,
java.lang.String conditionCode)
getDefaultIssueCost(1,2)
If user has chosen to call this method (by passing in an AssetRemote,
they user has chosen to get the proper issue cost for item which is rotating asset.
|
double |
getDefaultIssueCost(java.lang.String conditionCode)
getDefaultIssueCost(1)
Returns the default issue cost of the inventory for the specified condition code.
|
MXApplicationException |
getErrorMsg()
Returns the error message, if any, for this inventory object.
|
InvBalances |
getInvBalanceRecord(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode)
getInvBalanceRecord(1,2,3) - PACKAGE access
Seeks out a InvBalance mbo based on passed in values for bin and lot
|
InvBalances |
getInvBalanceRecord(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode,
java.lang.String storeLoc,
java.lang.String storeSite)
getInvBalanceRecord(1,2,3,4) - PACKAGE access
Seeks out a InvBalance mbo based on passed in values for bin and lot
|
MboSetRemote |
getInvBalancesSetForKitComponent(java.lang.String binnum)
returns the set of InvBalances across all bins to satisfy the
amount needed to assemble a kit.
|
MboRemote |
getInvCostRecord(java.lang.String conditionCode)
returns InvCost mbo based on the conditionCode passed
|
java.lang.String |
getInventoryStatus()
Returns the inventory status.
|
java.lang.String |
getInvGenType()
This Method returns the Invoice generation type.
|
MboRemote |
getInvLifoFifoCostRecord(java.lang.String conditionCode)
Returns the most recent cost date InvLifoFifoCost mbo based on the conditionCode passed
|
MboSetRemote |
getInvLifoFifoCostRecordSet(java.lang.String conditionCode)
returns InvFifoCost mbo based on the conditionCode passed
|
MboSetRemote |
getInvLifoFifoCostRecordSet(java.lang.String conditionCode,
long transid)
returns InvFifoCost mbo based on the conditionCode passed
|
MboSetRemote |
getInvLifoFifoCostRecordSetSorted(java.lang.String conditionCode)
returns InvFifoCost mbo based on the conditionCode passed
|
java.lang.String |
getKitAction()
set when menu action is chosen to Assemble Kit or
Disassemble Kit
|
java.util.Date |
getNextDate()
Calculates the next value for the NextDate attribute, based on the PM's day frequency.
|
double |
getPhysicalCount(java.lang.String binnum,
java.lang.String lotnum)
getPhysicalCount(1,2)
Returns the physical count for this item/location combination
if binnum/lotnum passed into this method as null, they will NOT be considered when retrieving balance set!
if binnum/lotnum passed into this method as "", they will be treated as a null (eg.
|
double |
getPhysicalCount(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode)
getPhysicalCount(1,2)
Returns the physical count for this item/location combination
if binnum/lotnum passed into this method as null, they will NOT be considered when retrieving balance set!
if binnum/lotnum passed into this method as "", they will be treated as a null (eg.
|
MboRemote |
getPrimaryInvVendor(MboSetRemote invVendSet)
returns the primary InvVendor record if found from the passed InvVendor set.
|
java.lang.String |
getProcess()
Gets the work flow process for item.
|
java.lang.String |
getStatus()
Returns status at inventory level.
|
java.lang.String |
getStatusListName()
Gets the name of the value list that contains all the status's.
|
boolean |
getStatusSetByMaxvarFlag()
This flag return true if the status is set by the maxvar.
|
void |
increaseAccumulativeTotalCurBal(double currentReceiptQty)
11-14180:increasing the running receipts for the update of MatRecTrans.totalcurbal
|
void |
init()
init()
Initialization rountine.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
void |
invUpdateCostType()
This method updates the cost type of the inventory record.
|
boolean |
isCapitalized()
Is the inventory item a capitalized item?
|
boolean |
isConsignment()
This method returns the consignment flag for the inventory record.
|
boolean |
isKit()
Is the inventory item a kit?
|
boolean |
isNonStocked()
isNonStocked()
Returns true if the ITEMORGINFO "CATEGORY" has a maxvalue of "NS" else returns false
|
boolean |
isObsolete()
Returns true if this item was Obsolete.
|
boolean |
isPendobs()
Returns true if this item was pending obsolence.
|
boolean |
isPlanning()
Returns true if this item was Obsolete.
|
boolean |
isSpecialOrder()
isSpecialOrder()
Returns true if the ITEMORGINFO "CATEGORY" has a maxvalue of "NS" else returns false
|
boolean |
isStocked()
isStocked()
Returns true if the ITEMORGINFO "CATEGORY" has a maxvalue of "STK" else returns false
|
void |
kitMakeOrBreak(KitRemote kit)
manage kit balances
|
boolean |
pendingTransactionExists(MboSetRemote transSet)
This method checks if there are any transactions with invoices that are not approved or paid.
|
boolean |
POPRExists()
This method checks if any PO/PR exists for this inventory that are cancelled or closed status.
|
void |
reconcileBalances()
reconcileBalances()
This Reconciling Balances method is done at the storeroom level.
|
MboRemote |
reconcileBalances(java.lang.String binnum,
java.lang.String lotnum)
reconcileBalances(1,2)
This Reconciling Balances method is done at the storeroom/binnum/lotnum level.
|
void |
reconcileBalances(java.lang.String controlacc,
java.lang.String shrinkageacc,
java.lang.String remark)
reconcileBalances(1,2,3)
This Reconciling Balances method is done at the storeroom level.
|
void |
refreshCountDate()
set the adjustedphscntdate in the invbalances when the inventory.physcntdate is changed
|
void |
save()
Save()- Default save functionality.
|
void |
setAutoCreateInvBalances(boolean flag)
Should an InvBalances be automatically created if the object is new?
|
void |
setAutoCreateInvCost(boolean flag)
Should an InvCost be automatically created if the object is new?
|
void |
setAutoCreateInvLifoFifoCost(boolean flag)
Should an InvLifoFifoCost be automatically created if the object is new?
|
void |
setCostType()
This method sets the cost type for the new inventory record.
|
void |
setEditabilityFlags()
This methid is called from View/Edit Consignment details bean to set READONLY flags.
|
void |
setIsKitComponentToAddToStore(boolean isKitComponentToAddToStore) |
void |
setKitAction(java.lang.String makeOrBreak)
called when menu action is chosen to Assemble Kit or
Disassemble Kit
|
void |
setNextInvoiceDate()
Updates the INVENTORY.NEXTINVOICEDATE when necessary.
|
MboSetRemote |
siteReceiptsAndTransfers()
returns set of MatRecTrans associated with this Inventory's
itemnum/location combination and the Login user's SiteId.
|
void |
updateConsignment()
This method checks if the consignment flag can be updated.
|
MboRemote |
updateCurrentBalance(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode,
double toIncrement)
updateCurrentBalance(1,2,3,4)
Increment the curbal by the double passed on the InvBalances record as identified by
lotnum and binnum.
|
void |
updateInventoryAverageCost(double quantity,
double totalvalue)
updateInventoryAverageCost(1,2)
This method is provided to update the average cost of the item for the specified
storeroom.
|
void |
updateInventoryAverageCost(double quantity,
double totalvalue,
double exr)
This method is provided to update the average cost of the item for the specified
storeroom.
|
void |
updateInventoryAverageCost(double quantity,
double totalvalue,
double exr,
InvCost invCost) |
void |
updateInventoryAverageCost(double quantity,
double totalvalue,
double exr,
java.lang.String conditionCode)
This method is provided to update the average cost of the item for the specified
storeroom.
|
void |
updateInventoryDeliveryTime(double deliveryTime)
updateInventoryDeliveryTime(1)
This method updates inventory.delivertime with the value passed in
|
void |
updateInventoryIssueDetails(java.util.Date issDate,
double quantity)
updateInventoryIssueDetails(1,2)
This method updates the inventory record for the item-storeroom with details about the last
issue date and issue YTD.
|
void |
updateInventoryLastCost(double unitcost)
updateInventoryLastCost(1)
This method updates the inventory record with details about the last cost at
which the item was PURCHASED.
|
void |
updateInventoryLastCost(double unitcost,
double exr)
updateInventoryLastCost(1,2)
This method updates the inventory record with details about the last cost at
which the item was PURCHASED.
|
void |
updateInventoryLastCost(double unitcost,
double exr,
InvCost invcost)
updateInventoryLastCost(1,2)
This method updates the inventory record with details about the last cost at
which the item was PURCHASED.
|
void |
validateChangeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
This method validates if the status change is allowed.
|
void |
zeroYTDQuantities()
zeroYTDQuantities()
This method zeros the year to date quantity and moves the issue1yr/2yr/3yr back a year
each respectively.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, 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, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, 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, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, 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, 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, undelete, unlock, unselect, validate, validateAttributespublic boolean isKitComponentToAddToStore
public boolean doneRemoveExtra
public Inventory(MboSet ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getProcess()
public java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void setIsKitComponentToAddToStore(boolean isKitComponentToAddToStore)
throws MXException,
java.rmi.RemoteException
setIsKitComponentToAddToStore in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionsetIsKitComponentToAddToStore(boolean isKitComponentToAddToStore)public void init()
throws MXException
init in class MboMXExceptionpublic void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| DELIVERYTIME | 0(zero) |
| AVGCOST | 0(zero) |
| STDCOST | 0(zero) |
| LASTCOST | 0(zero) |
| MINLEVEL | 0(zero) |
| ORDERQTY | 1(one) |
| MAXLEVEL | 0(zero) |
| ISSUEYTD | 0(zero) |
| ISSUE1YRAGO | 0(zero) |
| ISSUE2YRAGO | 0(zero) |
| ISSUE3YRAGO | 0(zero) |
| CCF | 0(zero) |
| CATEGORY | The user-defined value for "Stocked Item" |
| CURBALTOTAL | 0(zero) |
| AVBLBALANCE | 0(zero) |
add in interface MboRemoteadd in class MboMXException - MXAccessException thrown when the the
user does not have privileges to add an item to a storejava.rmi.RemoteExceptionpublic void setCostType()
throws MXException,
java.rmi.RemoteException
setCostType in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionsetCostType()public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isKit()
throws MXException,
java.rmi.RemoteException
isKit in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisKit()public boolean isCapitalized()
throws MXException,
java.rmi.RemoteException
isCapitalized in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisCapitalized()public void save()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addUpdateInvVendor()
throws MXException,
java.rmi.RemoteException
addUpdateInvVendor in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionaddUpdateInvVendor()public MboRemote getPrimaryInvVendor(MboSetRemote invVendSet) throws MXException, java.rmi.RemoteException
invVendSet - InvVendorSet for this inventory record.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote doAdjustment(NonPersistentMboRemote invAdj) throws MXException, java.rmi.RemoteException
invAdj - the Non-Persistent Mbo which stores the information gathered in a dialog page.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote adjustCurrentBalance(java.lang.String binnum, java.lang.String lotnum, double newBalance, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustCurrentBalance in interface InventoryRemotelotnum - The Lot Number of the InvBalance record. A
null or an empty string both assume a null value in this fieldnewBalance - The new current balancebinnum - The Bin Number of the InvBalance record. A
null value or an empty string assumes a null value in the
InvBalance recordconditionCode - the condition code of the invbalances being fetchedMXException - Generates an MXAccessException if the
user does not have the privileges to perform this transactionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#adjustCurrentBalance(java.lang.String, java.lang.String, double)public MboRemote adjustPhysicalCount(java.lang.String binnum, java.lang.String lotnum, double quantity, java.util.Date pCountDate) throws MXException, java.rmi.RemoteException
adjustPhysicalCount in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionadjustPhysicalCount(java.lang.String, java.lang.String, double, java.util.Date)public MboRemote adjustPhysicalCount(java.lang.String binnum, java.lang.String lotnum, double quantity, java.util.Date pCountDate, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
adjustPhysicalCount in interface InventoryRemotelotnum - The Lot Number of the InvBalance record. A
null or an empty string both assume a null value in this fieldbinnum - pCountDate - The date of the physical count adjustmentquantity - The new physical countownersysid - passed to determine if we are going to perform this adjustmenmt
or not.MXException - Generates an MXAccessException if the
user does not have the privileges to perform this transactionjava.rmi.RemoteExceptionadjustPhysicalCount(java.lang.String, java.lang.String, double, java.util.Date, java.lang.String)public MboRemote adjustPhysicalCount(java.lang.String binnum, java.lang.String lotnum, double quantity, java.util.Date pCountDate, java.lang.String ownersysid, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
lotnum - The Lot Number of the InvBalance record. A
null or an empty string both assume a null value in this fieldbinnum - pCountDate - The date of the physical count adjustmentquantity - The new physical countownersysid - passed to determine if we are going to perform this adjustmenmt
or not.MXException - Generates an MXAccessException if the
user does not have the privileges to perform this transactionjava.rmi.RemoteExceptionpublic double getDefaultIssueCost(AssetRemote assetRemote, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
assetRemote - asset mbo to get cost fromconditionCode - condition of the itemMXExceptionjava.rmi.RemoteException - NOTE: Issue Cost is always returned in base currency.public double getDefaultIssueCost(AssetRemote assetRemote) throws MXException, java.rmi.RemoteException
getDefaultIssueCost in interface InventoryRemoteassetRemote - asset mbo to get cost from AssetMXExceptionjava.rmi.RemoteExceptionNOTE: Issue Cost is always returned in base currency.public double getDefaultIssueCost()
throws MXException,
java.rmi.RemoteException
getDefaultIssueCost in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptiongetDefaultIssueCost(java.lang.String)public double getDefaultIssueCost(java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
getDefaultIssueCost in interface InventoryRemoteconditionCode - if conditionCode passed is null, then get the cost of the 100% rate
otherwise get the cost from the condition code passed.MXExceptionjava.rmi.RemoteExceptionInvCost.getDefaultIssueCost()public double getDefaultIssueCost(java.util.ArrayList<InvLifoFifoCost> invLifoFifoCostList) throws MXException, java.rmi.RemoteException
invLifoFifoCostList - MXExceptionjava.rmi.RemoteExceptionpublic void updateInventoryAverageCost(double quantity,
double totalvalue)
throws MXException,
java.rmi.RemoteException
updateInventoryAverageCost in interface InventoryRemotetotalvalue - The TOTALVALUE of the QUANTITY (LOADEDCOST)quantity - QUANTITY (in Issueunits) by which the
is being increasedMXExceptionjava.rmi.RemoteExceptionupdateInventoryAverageCost(double, double)public void updateInventoryAverageCost(double quantity,
double totalvalue,
double exr)
throws MXException,
java.rmi.RemoteException
updateInventoryAverageCost in interface InventoryRemotetotalvalue - The TOTALVALUE of the QUANTITY (LOADEDCOST)exr - EXR - The exchangerate applicable from this
transaction to basecurrencyquantity - QUANTITY (in Issueunits) by which the CURBAL
is being increasedMXExceptionjava.rmi.RemoteExceptionupdateInventoryAverageCost(double, double, double)public void updateInventoryAverageCost(double quantity,
double totalvalue,
double exr,
InvCost invCost)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInventoryAverageCost(double quantity,
double totalvalue,
double exr,
java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
quantity - QUANTITY (in Issueunits) by which the CURBAL
is being increasedtotalvalue - The TOTALVALUE of the QUANTITY (LOADEDCOST)exr - EXR - The exchangerate applicable from this
transaction to basecurrencyinvBalances - the invbalances record being updatedconditionCode - - the condition of the inventoryMXException - - when invcost is not found.java.rmi.RemoteExceptionpsdi.app.inventory.InvCost#updateAverageCost(double,double,double,MboRemote)public MboRemote getInvCostRecord(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
conditionCode - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addInvLifoFifoCostRecord(java.lang.String conditioncode) throws MXException, java.rmi.RemoteException
addInvLifoFifoCostRecord in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionaddInvLifoFifoCostRecord( String)public void updateInventoryIssueDetails(java.util.Date issDate,
double quantity)
throws MXException,
java.rmi.RemoteException
updateInventoryIssueDetails in interface InventoryRemotequantity - The Quantity being issuedissDate - Date on which the issue is being madeMXExceptionjava.rmi.RemoteExceptionupdateInventoryIssueDetails(java.util.Date, double)public void updateInventoryLastCost(double unitcost)
throws MXException,
java.rmi.RemoteException
updateInventoryLastCost in interface InventoryRemoteunitcost - UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXExceptionjava.rmi.RemoteExceptionupdateInventoryLastCost(double)public void updateInventoryLastCost(double unitcost,
double exr)
throws MXException,
java.rmi.RemoteException
updateInventoryLastCost in interface InventoryRemoteexr - EXR - The exchangerate applicable from this
transaction to basecurrencyunitcost - UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXExceptionjava.rmi.RemoteExceptionupdateInventoryLastCost(double, double)public void updateInventoryLastCost(double unitcost,
double exr,
InvCost invcost)
throws MXException,
java.rmi.RemoteException
updateInventoryLastCost in interface InventoryRemoteexr - EXR - The exchangerate applicable from this
transaction to basecurrencyunitcost - UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InvCost#updateLastCost()public void updateInventoryDeliveryTime(double deliveryTime)
throws MXException,
java.rmi.RemoteException
updateInventoryDeliveryTime in interface InventoryRemotedouble - deliveryTime - The deliverytime in double formatMXExceptionjava.rmi.RemoteExceptionupdateInventoryDeliveryTime(double)public MboRemote adjustAverageCost(double newcost, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustAverageCost in interface InventoryRemotenewcost - The NEWCOST i.e. the new value of the average
cost for the item-storeroom, in the currency units corresponding to
BASE1MXException - Generates an MXAccessException if the
user does not have the privileges to perform this transaction.MXApplicationException - thrown if the item is capitalized or if the
new cost is the same as the old costjava.rmi.RemoteExceptionadjustAverageCost(double,String)public void changeStockCategory(java.lang.String newcat)
throws MXException,
java.rmi.RemoteException
changeStockCategory in interface InventoryRemotenewcat - The Category for this itemMXExceptionjava.rmi.RemoteExceptionchangeStockCategory(java.lang.String)public MboRemote adjustStandardCost(double newcost, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustStandardCost in interface InventoryRemotenewcost - The NEWCOST i.e. the new value of the standard
cost for the item-storeroom, in the currency units corresponding
to BASE1conditionCode - the InvCost record for the ConditionCodeMXException - Generates an MXAccessException if the
user does not have the privileges to perform this transaction.
MXApplicationException thrown if the item is capitalized or if the
new cost is the same as the old costjava.rmi.RemoteExceptionadjustStandardCost(double,String)public double getDefaultAverageCost()
throws MXException,
java.rmi.RemoteException
getDefaultAverageCost in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptiongetDefaultAverageCost()public void zeroYTDQuantities()
throws MXException,
java.rmi.RemoteException
zeroYTDQuantities in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionzeroYTDQuantities()public void reconcileBalances()
throws MXException,
java.rmi.RemoteException
reconcileBalances in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionreconcileBalances()public void reconcileBalances(java.lang.String controlacc,
java.lang.String shrinkageacc,
java.lang.String remark)
throws MXException,
java.rmi.RemoteException
reconcileBalances in interface InventoryRemotecontrolacc - The inventory's control accountshrinkageacc - The inventory's shrinkage accountremark - The remark for this reconcilliationMXExceptionjava.rmi.RemoteExceptionreconcileBalances()public MboRemote reconcileBalances(java.lang.String binnum, java.lang.String lotnum) throws MXException, java.rmi.RemoteException
reconcileBalances in interface InventoryRemotelotnum - The Lotnum at which the reconciling will be
donebinnum - The binnum at which the reconciling will be
done
RETURN: the invtrans record created as a result of reconcileBalances() callMXException - Generates an MXAccessException if the
user does not have the privileges to perform this transaction.
MXApplicationException is thrown if the corrsponding record has
already been reconciledjava.rmi.RemoteExceptionreconcileBalances(java.lang.String, java.lang.String)public double getCurrentBalance(java.lang.String binnum,
java.lang.String lotnum)
throws MXException,
java.rmi.RemoteException
getCurrentBalance in interface InventoryRemotelotnum - The lotnum which will be used while determining the current balancebinnum - The binnum which will be used while determining physical countMXExceptionjava.rmi.RemoteExceptiongetCurrentBalance(java.lang.String, java.lang.String)public double getCurrentBalance(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
getCurrentBalance in interface InventoryRemoteconditionCode - the condition code which will be used while determining the current balancelotnum - The lotnum which will be used while determining the current balancebinnum - The binnum which will be used while determining physical countMXExceptionjava.rmi.RemoteExceptiongetCurrentBalance(java.lang.String, java.lang.String,String conditionCode)public double getPhysicalCount(java.lang.String binnum,
java.lang.String lotnum)
throws MXException,
java.rmi.RemoteException
getPhysicalCount in interface InventoryRemotelotnum - The lotnum which will be used while determining the current balancebinnum - The binnum which will be used while determining physical countMXExceptionjava.rmi.RemoteExceptiongetPhysicalCount(java.lang.String, java.lang.String)public double getPhysicalCount(java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
lotnum - The lotnum which will be used while determining the current balancebinnum - The binnum which will be used while determining physical countconditionCode - the conditionCode which will be used while determining the current balanceMXExceptionjava.rmi.RemoteExceptionpublic InvBalancesRemote addInvBalancesRecord(java.lang.String binnum, java.lang.String lotnum, double curbal) throws MXException, java.rmi.RemoteException
addInvBalancesRecord in interface InventoryRemotelotnum - - string of lotnumbinnum - - string of binnumquantity - - the curbal which should be assigned to this new invbal.MXExceptionjava.rmi.RemoteExceptionaddInvBalancesRecord(java.lang.String, java.lang.String, double)public InvBalancesRemote addInvBalancesRecord(java.lang.String binnum, java.lang.String lotnum, double curbal, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
addInvBalancesRecord in interface InventoryRemoteconditionCode - - condition code for the itemlotnum - - string of lotnumbinnum - - string of binnumquantity - - the curbal which should be assigned to this new invbal.MXExceptionjava.rmi.RemoteExceptionaddInvBalancesRecord(java.lang.String, java.lang.String, double,java.lang.String)public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXException - - will throw this exception if it can't be deletedjava.rmi.RemoteExceptionpublic void delete(long access)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class Mboaccess - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public InvBalances getInvBalanceRecord(java.lang.String binnum, java.lang.String lotnum, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
conditionCode - lotnum - binnum - Because this method seeks a genuine InvBalance record, binnum, lotnum, and conditionCode must be considered.
If the parameters are passed as null, they will be sent to getInvBalanceSet (package method)
with "", which will then search for them where 'binnum is null'/'lotnum is null' respectively.
A Balance record cannot really be retrieved without specifying all four parameters itemnum/location/binnum/lotnumMXExceptionjava.rmi.RemoteExceptionpublic InvBalances getInvBalanceRecord(java.lang.String binnum, java.lang.String lotnum, java.lang.String conditionCode, java.lang.String storeLoc, java.lang.String storeSite) throws MXException, java.rmi.RemoteException
conditionCode - lotnum - binnum - Because this method seeks a genuine InvBalance record, binnum, lotnum, conditionCode and storeLoc must be considered.
If the parameters are passed as null, they will be sent to getInvBalanceSet (package method)
with "", which will then search for them where 'binnum is null'/'lotnum is null' respectively.
A Balance record cannot really be retrieved without specifying all four parameters itemnum/location/binnum/lotnumMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getInvBalancesSetForKitComponent(java.lang.String binnum) throws MXException, java.rmi.RemoteException
getInvBalancesSetForKitComponent in interface InventoryRemoteMXExceptionjava.rmi.RemoteException#getInvBalancesSetForKit(String binnum),
getInvBalanceSet(String binnum, String lotnum,String conditionCode),
psdi.app.inventory.MatRecTrans#doKitBreakInvBalanceUpdates(MboRemote kitComponent,KitRemote kit),
psdi.app.inventory.MatRecTrans#doKitMakeInvBalanceUpdates()public MboRemote createIssue() throws MXException, java.rmi.RemoteException
createIssue in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioncreateIssue()public boolean isStocked()
throws MXException,
java.rmi.RemoteException
isStocked in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisStocked()public boolean isNonStocked()
throws MXException,
java.rmi.RemoteException
isNonStocked in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisNonStocked()public boolean isSpecialOrder()
throws MXException,
java.rmi.RemoteException
isSpecialOrder in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisSpecialOrder()public void changeCapitalizedStatus(boolean capitalized)
throws MXException,
java.rmi.RemoteException
changeCapitalizedStatus in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionchangeCapitalizedStatus(boolean)public void changeCapitalizedStatus(boolean capitalized,
java.lang.String capitalacc,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
changeCapitalizedStatus in interface InventoryRemotecapitalized - If true, item will be capitalized. If false, item
will be non-capitalized.capitalacc - GL Capital Account value provided through the UImemo - free-form text to be written to InvTrans.MemoMXExceptionjava.rmi.RemoteExceptionItem.changeCapitalizedStatus(boolean,java.lang.String,java.lang.String)public double calculateCurrentBalance()
throws MXException,
java.rmi.RemoteException
calculateCurrentBalance in interface InventoryRemoteNone - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorcalculateCurrentBalance()public double calculateRQtyNotStaged()
throws MXException,
java.rmi.RemoteException
None - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorpublic double calculateStagedQty()
throws MXException,
java.rmi.RemoteException
None - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorpublic double calculateShippedQty()
throws MXException,
java.rmi.RemoteException
None - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorpublic double calculateReceivedQty()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic double calculateHardShippedQty()
throws MXException,
java.rmi.RemoteException
None - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorpublic double calculateAvailableQty()
throws MXException,
java.rmi.RemoteException
calculateAvailableQty in interface InventoryRemoteNone - MXException - - MAXIMO System errorjava.rmi.RemoteException - - RMI errorcalculateAvailableQty()public void setAutoCreateInvCost(boolean flag)
throws MXException,
java.rmi.RemoteException
flag - true or false to indicate if an InvCost is to be
created automatically.noneMXExceptionjava.rmi.RemoteExceptionpublic void setAutoCreateInvBalances(boolean flag)
throws MXException,
java.rmi.RemoteException
flag - true or false to indicate if an InvBalances is to be
created automatically.noneMXExceptionjava.rmi.RemoteExceptionpublic void canTransferCurrentItem()
throws MXException,
java.rmi.RemoteException
canTransferCurrentItem in interface InventoryRemoteNone - MXApplicationException - (transferNonRotOnly) thrown if the item is
rotatingMXExceptionjava.rmi.RemoteExceptionpublic void canIssueCurrentItem()
throws MXException,
java.rmi.RemoteException
canIssueCurrentItem in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioncanIssueCurrentItem()public java.lang.String getInventoryStatus()
throws MXException,
java.rmi.RemoteException
getInventoryStatus in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptiongetInventoryStatus()public void canAdjustStdCost()
throws MXException,
java.rmi.RemoteException
canAdjustStdCost in interface InventoryRemoteNone - MXApplicationException - (transferNonRotOnly) thrown if the item is
rotatingMXExceptionjava.rmi.RemoteExceptioncanAdjustStdCost()public void canAdjustAvgCost()
throws MXException,
java.rmi.RemoteException
canAdjustAvgCost in interface InventoryRemoteNone - MXApplicationException - (transferNonRotOnly) thrown if the item is
rotatingMXExceptionjava.rmi.RemoteExceptioncanAdjustAvgCost()public void canAdjustBalance()
throws MXException,
java.rmi.RemoteException
canAdjustBalance in interface InventoryRemoteNone - MXApplicationException - is thrown if the item is rotatingMXExceptionjava.rmi.RemoteExceptioncanAdjustBalance()public void canReconcileBalances()
throws MXException,
java.rmi.RemoteException
canReconcileBalances in interface InventoryRemoteNone - MXApplicationException - (invbalCannotReconcile) thrown if the invBalances for
this item have already been reconciledMXExceptionjava.rmi.RemoteExceptionpublic MboRemote updateCurrentBalance(java.lang.String binnum, java.lang.String lotnum, java.lang.String conditionCode, double toIncrement) throws MXException, java.rmi.RemoteException
updateCurrentBalance in interface InventoryRemotebinnum - The Bin Number of the InvBalance record. A
null value or an empty string assumes a null value in the
InvBalance recordlotnum - The Lot Number of the InvBalance record. A
null or an empty string both assume a null value in this fieldconditionCost - condition code for the invbalances to be updatedMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#updateCurrentBalance(String binnum, String lotnum, double toIncrement)public MXApplicationException getErrorMsg() throws java.rmi.RemoteException
getErrorMsg in interface InventoryRemotejava.rmi.RemoteExceptiongetErrorMsg()public void canDoAction()
throws MXException,
java.rmi.RemoteException
canDoAction in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioncanDoAction()public MboSetRemote siteReceiptsAndTransfers() throws MXException, java.rmi.RemoteException
"itemnum = :itemnum and itemsetid = :itemsetid and ( (siteid=:1 and tostoreloc=:location) or (fromsiteid=:1 AND FROMSTORELOC=:location) )"
The bind variable ":1" contains the user's Login site
siteReceiptsAndTransfers in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionsiteReceiptsAndTransfers()public void setKitAction(java.lang.String makeOrBreak)
throws MXException,
java.rmi.RemoteException
setKitAction in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.webclient.beans.inventory.InventoryAppBean.kitPrepare(),
getKitAction()public java.lang.String getKitAction()
throws MXException,
java.rmi.RemoteException
getKitAction in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.webclient.beans.inventory.InventoryAppBean.kitPrepare(),
setKitAction(String makeOrBreak),
getKitAction(),
Kit.add()public void kitMakeOrBreak(KitRemote kit) throws MXException, java.rmi.RemoteException
kitMakeOrBreak in interface InventoryRemotekit - non-persistent kit object containing required valuesMXExceptionjava.rmi.RemoteExceptionkitMake(KitRemote kit),
kitBalanceIncrement(KitRemote kit),
kitMakeKitInventoryUpdate(KitRemote kit),
kitBreak(KitRemote kit),
kitBalanceDecrement(KitRemote kit),
kitHandleCostVariance()public void canKit()
throws MXException,
java.rmi.RemoteException
canKit in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioncanKit()public void refreshCountDate()
throws MXException,
java.rmi.RemoteException
refreshCountDate in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.refreshCountDate()public void copyAssetsForIssue(MboSetRemote assetSet, MboRemote issueItemToAssetMbo) throws java.rmi.RemoteException, MXException
copyAssetsForIssue in interface InventoryRemoteassetSet - the MboSetRemote of AssetSetRemote instance. Only process the selected rows.issueItemToAssetMbo - the MboRemote of IssueItemToAssetMbo instance. This Mbo will do the actual copying.java.rmi.RemoteExceptionMXExceptionpsdi.iapp.inventory.Inventory#copyAssetsForIssue(MboSetRemote assetSet, MboRemote issueItemToAssetMbo)public void checkRequestAgainstItemMaxIssue(java.lang.String assetnum,
double qtyRequested)
throws MXException,
java.rmi.RemoteException
checkRequestAgainstItemMaxIssue in interface InventoryRemoteassetnum - asset to which item is being issuedqtyRequested - quantity being issued to assetMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.virtual.ITSMEFldMatUseTransAssetnum#validate(),
psdi.app.inventory.virtual.ITSMEFldMatUseTransQuantity#validate()public boolean checkWOExists()
throws MXException,
java.rmi.RemoteException
checkWOExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkWorkOrder()public boolean checkInvBalancesExists()
throws MXException,
java.rmi.RemoteException
checkInvBalancesExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkInvBalances()public boolean checkAssetExists()
throws MXException,
java.rmi.RemoteException
checkAssetExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkAsset()public boolean checkJPExists()
throws MXException,
java.rmi.RemoteException
checkJPExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkJobPlan()public boolean checkMRExists()
throws MXException,
java.rmi.RemoteException
checkMRExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkMR()public boolean checkPRExists()
throws MXException,
java.rmi.RemoteException
checkPRExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkPR()public boolean checkPOExists()
throws MXException,
java.rmi.RemoteException
checkPOExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkPO()public boolean checkContractExists()
throws MXException,
java.rmi.RemoteException
checkContractExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#checkContracExists()public boolean checkCIExists()
throws MXException,
java.rmi.RemoteException
checkCIExists in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioncheckCIExists()public void changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
throws MXException,
java.rmi.RemoteException
changeStatus in interface InventoryRemotechangeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbostatus - The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value), not
the internal status value (valuelist.maxvalue).date - The effective date of the new status is current date/time.memo - A string briefly describing the circumstances of the change. The
memo can be null.accessModifier - A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException - Thrown if there is a problem.java.rmi.RemoteExceptionStatefulMbo.canChangeStatus(String)public void validateChangeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
validateChangeStatus in interface InventoryRemoteMXException - Thrown if there is a problem.java.rmi.RemoteExceptionvalidateChangeStatus(String status, Date date, String memo)public boolean isPendobs()
throws MXException,
java.rmi.RemoteException
isPendobs in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisPendobs()public boolean isObsolete()
throws MXException,
java.rmi.RemoteException
isObsolete in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisObsolete()public boolean isPlanning()
throws MXException,
java.rmi.RemoteException
isPlanning in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisPlanning()public boolean checkInvUseStatusForPlanning()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean checkInvUseStatusForPndObs()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getStatus()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getCostType()
throws MXException,
java.rmi.RemoteException
getCostType in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptiongetCostType()public MboSetRemote getInvLifoFifoCostRecordSetSorted(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
getInvLifoFifoCostRecordSetSorted in interface InventoryRemoteconditionCode - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#getInvLifoFifoCostRecordSetSorted( double,doubleString)public MboSetRemote getInvLifoFifoCostRecordSet(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
getInvLifoFifoCostRecordSet in interface InventoryRemoteconditionCode - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#getInvLifoFifoCostRecordSet( double,doubleString)public MboSetRemote getInvLifoFifoCostRecordSet(java.lang.String conditionCode, long transid) throws MXException, java.rmi.RemoteException
conditionCode - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addInvLifoFifoCostRecord(double quantity, double unitcost, java.lang.String conditioncode, java.lang.String getName, long matrectransid) throws MXException, java.rmi.RemoteException
addInvLifoFifoCostRecord in interface InventoryRemotequantity - unitcost - conditioncode - objectname - objectid - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#addInvLifoFifoCostRecord(double, double, String, String, int)public void consumeInvLifoFifoCostRecord(double quantity,
java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
consumeInvLifoFifoCostRecord in interface InventoryRemotequantity - unitcost - conditionCode - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#consumeInvLifoFifoCostRecord( double,doubleString)public void consumeInvLifoFifoCostRecord(double quantity,
java.lang.String conditionCode,
long transid)
throws MXException,
java.rmi.RemoteException
quantity - unitcost - conditionCode - MXExceptionjava.rmi.RemoteExceptionpublic void consumeInvLifoFifoCostRecordRemaining(double quantity,
java.lang.String conditionCode,
long transid)
throws MXException,
java.rmi.RemoteException
quantity - unitcost - conditionCode - MXExceptionjava.rmi.RemoteExceptionpublic double getAverageCost(MboSetRemote invLifoFifoCostSet) throws MXException, java.rmi.RemoteException
getAverageCost in interface InventoryRemotequantity - conditionCode - MXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.Inventory#getAverageCosts(MboSetRemote )public void setAutoCreateInvLifoFifoCost(boolean flag)
throws MXException,
java.rmi.RemoteException
flag - true or false to indicate if an InvLifoFifoCost is to be
created automatically.noneMXExceptionjava.rmi.RemoteExceptionpublic boolean getAutoCreateInvLifoFifoCost()
throws MXException,
java.rmi.RemoteException
flag - true or false to indicate if an InvLifoFifoCost is to be
created automatically.noneMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getInvLifoFifoCostRecord(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
conditionCode - Condition CodeMXExceptionjava.rmi.RemoteExceptionpublic void setNextInvoiceDate()
throws MXException,
java.rmi.RemoteException
setNextInvoiceDate in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionsetNextInvoiceDate()public java.util.Date getNextDate()
throws MXException,
java.rmi.RemoteException
flag - Indicates whether to use 'extdate' for calculation of 'nextdate'.
This flag is set to 'true' if the 'nextdate' is calculated during a work order generation.
This flag is set to 'false' if dates are recalculated due to field updates of PM.MXExceptionjava.rmi.RemoteExceptionpublic java.util.Date addMonths(int addMonths,
java.util.Date fromDate)
throws MXException,
java.rmi.RemoteException
addMonths - Number of months to add to the date.fromDate - The date to add the months to.MXExceptionjava.rmi.RemoteExceptiongetNextDate()public java.util.Date addYears(int addYears,
java.util.Date fromDate)
addYears - Number of years to add to the date.fromDate - The date to add the years to.MXExceptionjava.rmi.RemoteExceptiongetNextDate()public boolean isConsignment()
throws MXException,
java.rmi.RemoteException
isConsignment in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionisConsignment()public void updateConsignment()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean checkReconcileFlag()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean POPRExists()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean pendingTransactionExists(MboSetRemote transSet) throws MXException, java.rmi.RemoteException
transSet - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getInvGenType()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void invUpdateCostType()
throws MXException,
java.rmi.RemoteException
invUpdateCostType in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptioninvUpdateCostType()public void checkBalandPOPR()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setEditabilityFlags()
throws MXException,
java.rmi.RemoteException
setEditabilityFlags in interface InventoryRemoteMXExceptionjava.rmi.RemoteExceptionsetEditabilityFlags()public void increaseAccumulativeTotalCurBal(double currentReceiptQty)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic double getAccumulativeTotalCurBal()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkComponentCostType(MboSetRemote itemStructKitSet) throws MXException, java.rmi.RemoteException
itemStructKitSet - MXExceptionjava.rmi.RemoteExceptionpublic boolean getStatusSetByMaxvarFlag()
throws MXException
MXException