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, targetStatusOption
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 |
---|
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
|
java.lang.String |
calculateBinCnt() |
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 |
java.lang.String |
calculateLotCnt() |
double |
calculateOverShippedQty()
IV87156: Return the over shipped quantity (shippedqty-reservedqty) from INVRESERVE.
|
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 |
calculateRQtyNotStagedForAvailBal()
IV89911: This is the original calculateRQtyNotStaged() method -for the calculation of available quantity.
|
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.
|
java.lang.Boolean |
hasMultipleInvBalance() |
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
|
void |
kitMakeOrBreak(KitRemote kit,
boolean useSourceBinForInvKitAction) |
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.
|
MboRemote |
previewReconcileBalances(java.lang.String controlacc,
java.lang.String shrinkageacc,
java.lang.String remark)
This method is used for the calculation of New Balance and change of old & new balance
|
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,
InvCost invCost,
boolean transferWithinStore) |
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, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public boolean isKitComponentToAddToStore
public boolean doneRemoveExtra
public Inventory(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public java.lang.String getProcess()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void setIsKitComponentToAddToStore(boolean isKitComponentToAddToStore) throws MXException, java.rmi.RemoteException
setIsKitComponentToAddToStore
in interface InventoryRemote
MXException
java.rmi.RemoteException
setIsKitComponentToAddToStore(boolean isKitComponentToAddToStore)
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public 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 MboRemote
add
in class Mbo
MXException
- MXAccessException thrown when the the
user does not have privileges to add an item to a storejava.rmi.RemoteException
public void setCostType() throws MXException, java.rmi.RemoteException
setCostType
in interface InventoryRemote
MXException
java.rmi.RemoteException
setCostType()
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public boolean isKit() throws MXException, java.rmi.RemoteException
isKit
in interface InventoryRemote
MXException
java.rmi.RemoteException
isKit()
public boolean isCapitalized() throws MXException, java.rmi.RemoteException
isCapitalized
in interface InventoryRemote
MXException
java.rmi.RemoteException
isCapitalized()
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addUpdateInvVendor() throws MXException, java.rmi.RemoteException
addUpdateInvVendor
in interface InventoryRemote
MXException
java.rmi.RemoteException
addUpdateInvVendor()
public MboRemote getPrimaryInvVendor(MboSetRemote invVendSet) throws MXException, java.rmi.RemoteException
invVendSet
- InvVendorSet for this inventory record.MXException
java.rmi.RemoteException
public MboRemote doAdjustment(NonPersistentMboRemote invAdj) throws MXException, java.rmi.RemoteException
invAdj
- the Non-Persistent Mbo which stores the information gathered in a dialog page.MXException
java.rmi.RemoteException
public MboRemote adjustCurrentBalance(java.lang.String binnum, java.lang.String lotnum, double newBalance, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustCurrentBalance
in interface InventoryRemote
lotnum
- 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.RemoteException
psdi.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 InventoryRemote
MXException
java.rmi.RemoteException
adjustPhysicalCount(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 InventoryRemote
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.RemoteException
adjustPhysicalCount(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.RemoteException
public double getDefaultIssueCost(AssetRemote assetRemote, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
assetRemote
- asset mbo to get cost fromconditionCode
- condition of the itemMXException
java.rmi.RemoteException
- NOTE: Issue Cost is always returned in base currency.public double getDefaultIssueCost(AssetRemote assetRemote) throws MXException, java.rmi.RemoteException
getDefaultIssueCost
in interface InventoryRemote
assetRemote
- asset mbo to get cost from AssetMXException
java.rmi.RemoteException
NOTE: Issue Cost is always returned in base currency.
public double getDefaultIssueCost() throws MXException, java.rmi.RemoteException
getDefaultIssueCost
in interface InventoryRemote
MXException
java.rmi.RemoteException
getDefaultIssueCost(java.lang.String)
public double getDefaultIssueCost(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
getDefaultIssueCost
in interface InventoryRemote
conditionCode
- if conditionCode passed is null, then get the cost of the 100% rate
otherwise get the cost from the condition code passed.MXException
java.rmi.RemoteException
InvCost.getDefaultIssueCost()
public double getDefaultIssueCost(java.util.ArrayList<InvLifoFifoCost> invLifoFifoCostList) throws MXException, java.rmi.RemoteException
invLifoFifoCostList
- MXException
java.rmi.RemoteException
public void updateInventoryAverageCost(double quantity, double totalvalue) throws MXException, java.rmi.RemoteException
updateInventoryAverageCost
in interface InventoryRemote
totalvalue
- The TOTALVALUE of the QUANTITY (LOADEDCOST)quantity
- QUANTITY (in Issueunits) by which the
is being increasedMXException
java.rmi.RemoteException
updateInventoryAverageCost(double, double)
public void updateInventoryAverageCost(double quantity, double totalvalue, double exr) throws MXException, java.rmi.RemoteException
updateInventoryAverageCost
in interface InventoryRemote
totalvalue
- 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 increasedMXException
java.rmi.RemoteException
updateInventoryAverageCost(double, double, double)
public void updateInventoryAverageCost(double quantity, double totalvalue, double exr, InvCost invCost) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInventoryAverageCost(double quantity, double totalvalue, double exr, InvCost invCost, boolean transferWithinStore) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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.RemoteException
psdi.app.inventory.InvCost#updateAverageCost(double,double,double,MboRemote)
public MboRemote getInvCostRecord(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
conditionCode
- MXException
java.rmi.RemoteException
public MboRemote addInvLifoFifoCostRecord(java.lang.String conditioncode) throws MXException, java.rmi.RemoteException
addInvLifoFifoCostRecord
in interface InventoryRemote
MXException
java.rmi.RemoteException
addInvLifoFifoCostRecord( String)
public void updateInventoryIssueDetails(java.util.Date issDate, double quantity) throws MXException, java.rmi.RemoteException
updateInventoryIssueDetails
in interface InventoryRemote
quantity
- The Quantity being issuedissDate
- Date on which the issue is being madeMXException
java.rmi.RemoteException
updateInventoryIssueDetails(java.util.Date, double)
public void updateInventoryLastCost(double unitcost) throws MXException, java.rmi.RemoteException
updateInventoryLastCost
in interface InventoryRemote
unitcost
- UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXException
java.rmi.RemoteException
updateInventoryLastCost(double)
public void updateInventoryLastCost(double unitcost, double exr) throws MXException, java.rmi.RemoteException
updateInventoryLastCost
in interface InventoryRemote
exr
- EXR - The exchangerate applicable from this
transaction to basecurrencyunitcost
- UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXException
java.rmi.RemoteException
updateInventoryLastCost(double, double)
public void updateInventoryLastCost(double unitcost, double exr, InvCost invcost) throws MXException, java.rmi.RemoteException
updateInventoryLastCost
in interface InventoryRemote
exr
- EXR - The exchangerate applicable from this
transaction to basecurrencyunitcost
- UNITCOST - The Unit purchase cost of the item
in the transaction currencyMXException
java.rmi.RemoteException
psdi.app.inventory.InvCost#updateLastCost()
public void updateInventoryDeliveryTime(double deliveryTime) throws MXException, java.rmi.RemoteException
updateInventoryDeliveryTime
in interface InventoryRemote
double
- deliveryTime - The deliverytime in double formatMXException
java.rmi.RemoteException
updateInventoryDeliveryTime(double)
public MboRemote adjustAverageCost(double newcost, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustAverageCost
in interface InventoryRemote
newcost
- 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.RemoteException
adjustAverageCost(double,String)
public void changeStockCategory(java.lang.String newcat) throws MXException, java.rmi.RemoteException
changeStockCategory
in interface InventoryRemote
newcat
- The Category for this itemMXException
java.rmi.RemoteException
changeStockCategory(java.lang.String)
public MboRemote adjustStandardCost(double newcost, java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
adjustStandardCost
in interface InventoryRemote
newcost
- 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.RemoteException
adjustStandardCost(double,String)
public double getDefaultAverageCost() throws MXException, java.rmi.RemoteException
getDefaultAverageCost
in interface InventoryRemote
MXException
java.rmi.RemoteException
getDefaultAverageCost()
public void zeroYTDQuantities() throws MXException, java.rmi.RemoteException
zeroYTDQuantities
in interface InventoryRemote
MXException
java.rmi.RemoteException
zeroYTDQuantities()
public void reconcileBalances() throws MXException, java.rmi.RemoteException
reconcileBalances
in interface InventoryRemote
MXException
java.rmi.RemoteException
reconcileBalances()
public void reconcileBalances(java.lang.String controlacc, java.lang.String shrinkageacc, java.lang.String remark) throws MXException, java.rmi.RemoteException
reconcileBalances
in interface InventoryRemote
controlacc
- The inventory's control accountshrinkageacc
- The inventory's shrinkage accountremark
- The remark for this reconcilliationMXException
java.rmi.RemoteException
reconcileBalances()
public MboRemote reconcileBalances(java.lang.String binnum, java.lang.String lotnum) throws MXException, java.rmi.RemoteException
reconcileBalances
in interface InventoryRemote
lotnum
- 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.RemoteException
reconcileBalances(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 InventoryRemote
lotnum
- The lotnum which will be used while determining the current balancebinnum
- The binnum which will be used while determining physical countMXException
java.rmi.RemoteException
getCurrentBalance(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 InventoryRemote
conditionCode
- 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 countMXException
java.rmi.RemoteException
getCurrentBalance(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 InventoryRemote
lotnum
- The lotnum which will be used while determining the current balancebinnum
- The binnum which will be used while determining physical countMXException
java.rmi.RemoteException
getPhysicalCount(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 balanceMXException
java.rmi.RemoteException
public InvBalancesRemote addInvBalancesRecord(java.lang.String binnum, java.lang.String lotnum, double curbal) throws MXException, java.rmi.RemoteException
addInvBalancesRecord
in interface InventoryRemote
lotnum
- - string of lotnumbinnum
- - string of binnumquantity
- - the curbal which should be assigned to this new invbal.MXException
java.rmi.RemoteException
addInvBalancesRecord(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 InventoryRemote
conditionCode
- - condition code for the itemlotnum
- - string of lotnumbinnum
- - string of binnumquantity
- - the curbal which should be assigned to this new invbal.MXException
java.rmi.RemoteException
addInvBalancesRecord(java.lang.String, java.lang.String, double,java.lang.String)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
- - will throw this exception if it can't be deletedjava.rmi.RemoteException
public void delete(long access) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
access
- 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.MXException
java.rmi.RemoteException
Mbo.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/lotnumMXException
java.rmi.RemoteException
public 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/lotnumMXException
java.rmi.RemoteException
public MboSetRemote getInvBalancesSetForKitComponent(java.lang.String binnum) throws MXException, java.rmi.RemoteException
getInvBalancesSetForKitComponent
in interface InventoryRemote
MXException
java.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 InventoryRemote
MXException
java.rmi.RemoteException
createIssue()
public boolean isStocked() throws MXException, java.rmi.RemoteException
isStocked
in interface InventoryRemote
MXException
java.rmi.RemoteException
isStocked()
public boolean isNonStocked() throws MXException, java.rmi.RemoteException
isNonStocked
in interface InventoryRemote
MXException
java.rmi.RemoteException
isNonStocked()
public boolean isSpecialOrder() throws MXException, java.rmi.RemoteException
isSpecialOrder
in interface InventoryRemote
MXException
java.rmi.RemoteException
isSpecialOrder()
public void changeCapitalizedStatus(boolean capitalized) throws MXException, java.rmi.RemoteException
changeCapitalizedStatus
in interface InventoryRemote
MXException
java.rmi.RemoteException
changeCapitalizedStatus(boolean)
public void changeCapitalizedStatus(boolean capitalized, java.lang.String capitalacc, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeCapitalizedStatus
in interface InventoryRemote
capitalized
- 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.MemoMXException
java.rmi.RemoteException
Item.changeCapitalizedStatus(boolean,java.lang.String,java.lang.String)
public double calculateCurrentBalance() throws MXException, java.rmi.RemoteException
calculateCurrentBalance
in interface InventoryRemote
None
- 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
MXException
java.rmi.RemoteException
public 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 InventoryRemote
None
- MXException
- - MAXIMO System errorjava.rmi.RemoteException
- - RMI errorcalculateAvailableQty()
public double calculateOverShippedQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory.calculateAvailableQty()
public void setAutoCreateInvCost(boolean flag) throws MXException, java.rmi.RemoteException
flag
- true or false to indicate if an InvCost is to be
created automatically.none
MXException
java.rmi.RemoteException
public void setAutoCreateInvBalances(boolean flag) throws MXException, java.rmi.RemoteException
flag
- true or false to indicate if an InvBalances is to be
created automatically.none
MXException
java.rmi.RemoteException
public void canTransferCurrentItem() throws MXException, java.rmi.RemoteException
canTransferCurrentItem
in interface InventoryRemote
None
- MXApplicationException
- (transferNonRotOnly) thrown if the item is
rotatingMXException
java.rmi.RemoteException
public void canIssueCurrentItem() throws MXException, java.rmi.RemoteException
canIssueCurrentItem
in interface InventoryRemote
MXException
java.rmi.RemoteException
canIssueCurrentItem()
public java.lang.String getInventoryStatus() throws MXException, java.rmi.RemoteException
getInventoryStatus
in interface InventoryRemote
MXException
java.rmi.RemoteException
getInventoryStatus()
public void canAdjustStdCost() throws MXException, java.rmi.RemoteException
canAdjustStdCost
in interface InventoryRemote
None
- MXApplicationException
- (transferNonRotOnly) thrown if the item is
rotatingMXException
java.rmi.RemoteException
canAdjustStdCost()
public void canAdjustAvgCost() throws MXException, java.rmi.RemoteException
canAdjustAvgCost
in interface InventoryRemote
None
- MXApplicationException
- (transferNonRotOnly) thrown if the item is
rotatingMXException
java.rmi.RemoteException
canAdjustAvgCost()
public void canAdjustBalance() throws MXException, java.rmi.RemoteException
canAdjustBalance
in interface InventoryRemote
None
- MXApplicationException
- is thrown if the item is rotatingMXException
java.rmi.RemoteException
canAdjustBalance()
public void canReconcileBalances() throws MXException, java.rmi.RemoteException
canReconcileBalances
in interface InventoryRemote
None
- MXApplicationException
- (invbalCannotReconcile) thrown if the invBalances for
this item have already been reconciledMXException
java.rmi.RemoteException
public MboRemote updateCurrentBalance(java.lang.String binnum, java.lang.String lotnum, java.lang.String conditionCode, double toIncrement) throws MXException, java.rmi.RemoteException
updateCurrentBalance
in interface InventoryRemote
binnum
- 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 updatedMXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#updateCurrentBalance(String binnum, String lotnum, double toIncrement)
public MXApplicationException getErrorMsg() throws java.rmi.RemoteException
getErrorMsg
in interface InventoryRemote
java.rmi.RemoteException
getErrorMsg()
public void canDoAction() throws MXException, java.rmi.RemoteException
canDoAction
in interface InventoryRemote
MXException
java.rmi.RemoteException
canDoAction()
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 InventoryRemote
MXException
java.rmi.RemoteException
siteReceiptsAndTransfers()
public void setKitAction(java.lang.String makeOrBreak) throws MXException, java.rmi.RemoteException
setKitAction
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.webclient.beans.inventory.InventoryAppBean.kitPrepare()
,
getKitAction()
public java.lang.String getKitAction() throws MXException, java.rmi.RemoteException
getKitAction
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.webclient.beans.inventory.InventoryAppBean.kitPrepare()
,
setKitAction(String makeOrBreak)
,
getKitAction()
,
Kit.add()
public void kitMakeOrBreak(KitRemote kit) throws MXException, java.rmi.RemoteException
kitMakeOrBreak
in interface InventoryRemote
kit
- non-persistent kit object containing required valuesMXException
java.rmi.RemoteException
kitMake(KitRemote kit)
,
kitBalanceIncrement(KitRemote kit)
,
kitMakeKitInventoryUpdate(KitRemote kit)
,
kitBreak(KitRemote kit)
,
kitBalanceDecrement(KitRemote kit)
,
kitHandleCostVariance()
public void kitMakeOrBreak(KitRemote kit, boolean useSourceBinForInvKitAction) throws MXException, java.rmi.RemoteException
kitMakeOrBreak
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#kitMakeOrBreak(Kit kit, boolean useSourceBinForInvKitAction)
public void canKit() throws MXException, java.rmi.RemoteException
canKit
in interface InventoryRemote
MXException
java.rmi.RemoteException
canKit()
public void refreshCountDate() throws MXException, java.rmi.RemoteException
refreshCountDate
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.refreshCountDate()
public void copyAssetsForIssue(MboSetRemote assetSet, MboRemote issueItemToAssetMbo) throws java.rmi.RemoteException, MXException
copyAssetsForIssue
in interface InventoryRemote
assetSet
- 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.RemoteException
MXException
psdi.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 InventoryRemote
assetnum
- asset to which item is being issuedqtyRequested
- quantity being issued to assetMXException
java.rmi.RemoteException
psdi.app.inventory.virtual.ITSMEFldMatUseTransAssetnum#validate()
,
psdi.app.inventory.virtual.ITSMEFldMatUseTransQuantity#validate()
public boolean checkWOExists() throws MXException, java.rmi.RemoteException
checkWOExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkWorkOrder()
public boolean checkInvBalancesExists() throws MXException, java.rmi.RemoteException
checkInvBalancesExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkInvBalances()
public boolean checkAssetExists() throws MXException, java.rmi.RemoteException
checkAssetExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkAsset()
public boolean checkJPExists() throws MXException, java.rmi.RemoteException
checkJPExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkJobPlan()
public boolean checkMRExists() throws MXException, java.rmi.RemoteException
checkMRExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkMR()
public boolean checkPRExists() throws MXException, java.rmi.RemoteException
checkPRExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkPR()
public boolean checkPOExists() throws MXException, java.rmi.RemoteException
checkPOExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkPO()
public boolean checkContractExists() throws MXException, java.rmi.RemoteException
checkContractExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#checkContracExists()
public boolean checkCIExists() throws MXException, java.rmi.RemoteException
checkCIExists
in interface InventoryRemote
MXException
java.rmi.RemoteException
checkCIExists()
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 InventoryRemote
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- 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.RemoteException
StatefulMbo.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 InventoryRemote
MXException
- Thrown if there is a problem.java.rmi.RemoteException
validateChangeStatus(String status, Date date, String memo)
public boolean isPendobs() throws MXException, java.rmi.RemoteException
isPendobs
in interface InventoryRemote
MXException
java.rmi.RemoteException
isPendobs()
public boolean isObsolete() throws MXException, java.rmi.RemoteException
isObsolete
in interface InventoryRemote
MXException
java.rmi.RemoteException
isObsolete()
public boolean isPlanning() throws MXException, java.rmi.RemoteException
isPlanning
in interface InventoryRemote
MXException
java.rmi.RemoteException
isPlanning()
public boolean checkInvUseStatusForPlanning() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkInvUseStatusForPndObs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getCostType() throws MXException, java.rmi.RemoteException
getCostType
in interface InventoryRemote
MXException
java.rmi.RemoteException
getCostType()
public MboSetRemote getInvLifoFifoCostRecordSetSorted(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
getInvLifoFifoCostRecordSetSorted
in interface InventoryRemote
conditionCode
- MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#getInvLifoFifoCostRecordSetSorted( double,doubleString)
public MboSetRemote getInvLifoFifoCostRecordSet(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
getInvLifoFifoCostRecordSet
in interface InventoryRemote
conditionCode
- MXException
java.rmi.RemoteException
psdi.app.inventory.Inventory#getInvLifoFifoCostRecordSet( double,doubleString)
public MboSetRemote getInvLifoFifoCostRecordSet(java.lang.String conditionCode, long transid) throws MXException, java.rmi.RemoteException
conditionCode
- MXException
java.rmi.RemoteException
public MboRemote addInvLifoFifoCostRecord(double quantity, double unitcost, java.lang.String conditioncode, java.lang.String getName, long matrectransid) throws MXException, java.rmi.RemoteException
addInvLifoFifoCostRecord
in interface InventoryRemote
quantity
- unitcost
- conditioncode
- objectname
- objectid
- MXException
java.rmi.RemoteException
psdi.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 InventoryRemote
quantity
- unitcost
- conditionCode
- MXException
java.rmi.RemoteException
psdi.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
- MXException
java.rmi.RemoteException
public void consumeInvLifoFifoCostRecordRemaining(double quantity, java.lang.String conditionCode, long transid) throws MXException, java.rmi.RemoteException
quantity
- unitcost
- conditionCode
- MXException
java.rmi.RemoteException
public double getAverageCost(MboSetRemote invLifoFifoCostSet) throws MXException, java.rmi.RemoteException
getAverageCost
in interface InventoryRemote
quantity
- conditionCode
- MXException
java.rmi.RemoteException
psdi.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.none
MXException
java.rmi.RemoteException
public boolean getAutoCreateInvLifoFifoCost() throws MXException, java.rmi.RemoteException
flag
- true or false to indicate if an InvLifoFifoCost is to be
created automatically.none
MXException
java.rmi.RemoteException
public MboRemote getInvLifoFifoCostRecord(java.lang.String conditionCode) throws MXException, java.rmi.RemoteException
conditionCode
- Condition CodeMXException
java.rmi.RemoteException
public void setNextInvoiceDate() throws MXException, java.rmi.RemoteException
setNextInvoiceDate
in interface InventoryRemote
MXException
java.rmi.RemoteException
setNextInvoiceDate()
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.MXException
java.rmi.RemoteException
public 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.MXException
java.rmi.RemoteException
getNextDate()
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.MXException
java.rmi.RemoteException
getNextDate()
public boolean isConsignment() throws MXException, java.rmi.RemoteException
isConsignment
in interface InventoryRemote
MXException
java.rmi.RemoteException
isConsignment()
public void updateConsignment() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkReconcileFlag() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean POPRExists() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean pendingTransactionExists(MboSetRemote transSet) throws MXException, java.rmi.RemoteException
transSet
- MXException
java.rmi.RemoteException
public java.lang.String getInvGenType() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void invUpdateCostType() throws MXException, java.rmi.RemoteException
invUpdateCostType
in interface InventoryRemote
MXException
java.rmi.RemoteException
invUpdateCostType()
public void checkBalandPOPR() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setEditabilityFlags() throws MXException, java.rmi.RemoteException
setEditabilityFlags
in interface InventoryRemote
MXException
java.rmi.RemoteException
setEditabilityFlags()
public void increaseAccumulativeTotalCurBal(double currentReceiptQty) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getAccumulativeTotalCurBal() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkComponentCostType(MboSetRemote itemStructKitSet) throws MXException, java.rmi.RemoteException
itemStructKitSet
- MXException
java.rmi.RemoteException
public boolean getStatusSetByMaxvarFlag() throws MXException
MXException
public double calculateRQtyNotStagedForAvailBal() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String calculateBinCnt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String calculateLotCnt() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.Boolean hasMultipleInvBalance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote previewReconcileBalances(java.lang.String controlacc, java.lang.String shrinkageacc, java.lang.String remark) throws MXException, java.rmi.RemoteException
previewReconcileBalances
in interface InventoryRemote
MXException
java.rmi.RemoteException
previewReconcileBalances(String,String,String)