public class InventoryService extends AppService implements InventoryServiceRemote
ADJUST_AVERAGE_COST, ADJUST_CURRENT_BALANCE, ADJUST_PHYSICAL_COUNT, ADJUST_STANDARD_COST, RECONCILE_CURRENT_BALANCE
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
InventoryService() |
InventoryService(MXServer mxServer) |
Modifier and Type | Method and Description |
---|---|
void |
adjustCurrentBalance(MboRemote invBalances,
java.lang.String newBalance)
Adjusts the current balance.
|
void |
adjustPhysicalCount(MboRemote invMbo,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid,
java.lang.String binnum,
java.lang.String lotnum,
java.lang.String itemsetid,
int physcnt,
UserInfo userInfo) |
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
double curbal,
double totalAvailable,
MboRemote sourceMbo)
Can negative balance be allowed?
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
double curbal,
double totalAvailable,
MboRemote sourceMbo,
java.lang.String costType)
Can negative balance be allowed?
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
double totalAvailable,
MboRemote sourceMbo) |
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location)
Can negative balance be allowed?
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String siteid)
Can negative balance be allowed?
|
void |
canGoNegative(UserInfo userInfo,
double toBeIssued,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String binnum,
java.lang.String lotnum,
java.lang.String siteid)
Can negative balance be allowed?
|
void |
changeStatus(MboRemote mbo,
java.lang.String status,
java.util.Date asOfDate,
java.lang.String memo,
long accessModifier) |
void |
createInvbalances(MboRemote invMbo,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid,
java.lang.String binnum,
java.lang.String lotnum,
java.lang.String conditioncode,
java.lang.String itemsetid,
java.lang.String curbal,
UserInfo userInfo)
add inventory balance for existing inventory
|
MboRemote |
createIssue(UserInfo userInfo,
MboSetRemote issueSet,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid,
java.lang.String ownersysid1)
Generates an issue record and adds the new mbo to a pre-named set.
|
MboRemote |
createIssue(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid,
java.lang.String bin,
java.lang.String lot,
java.lang.String rotasset,
double qty)
Returns a MatUseTrans mbo and set the columns based on the parameters passed.
|
MboRemote |
createMiscReceipt(UserInfo userInfo,
MboSetRemote existingReceiptSet,
java.lang.String itemnum,
java.lang.String toStoreLoc,
java.lang.String siteid,
java.lang.String ownersysid)
Returns a MatRecTrans Mbo for the caller to perform the
miscellaneous receipts functionality - a return without a corresponding
issue.
|
MboRemote |
createPickList(MboSetRemote msr,
java.lang.String pldescription,
java.lang.String plnum,
java.util.Date reqdate,
java.lang.String storeroom,
java.lang.String siteid,
UserInfo userInfo) |
MboRemote |
createReturnForIssueStoreloc(MboRemote issueMbo) |
void |
destroy()
Unregister event listeners.
|
MboSetRemote |
findItemsForPhysCount(UserInfo userInfo,
java.lang.String location)
Find the elligible balances records for physcical count by items due to be counted.
|
MboSetRemote |
getBalances(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String siteid)
Find the balances records and return the set.
|
MboSetRemote |
getBalancesForInventorySet(MboSetRemote inventorySet)
returns the set of InvBalances across all itemnum/location/binnum/lotnum combinations
for a given set of Inventory itemnum/location combinations
|
MboSetRemote |
getBins(UserInfo userInfo,
java.lang.String location,
java.lang.String binnum)
Retuns an invbalances set for a given binnum(wildcard) and storeloc
|
double |
getConversionFactor(UserInfo userInfo,
java.lang.String fromUOM,
java.lang.String toUOM,
java.lang.String itemSetID)
Returns the conversion factor that will convert the "from"
unit of measure (UOM) to the "to" unit of measure.
|
double |
getConversionFactor(UserInfo userInfo,
java.lang.String fromUOM,
java.lang.String toUOM,
java.lang.String itemSetID,
java.lang.String itemNum)
Returns the conversion factor that will convert the "from"
unit of measure (UOM) to the "to" unit of measure.
|
MboRemote |
getConversionFactorToStoreroom(MboRemote mbo,
java.lang.String tostoreloc,
java.lang.String tositeid)
set the the conversion factor , to bin and lot for the item transfer based on the to store rom location
|
double |
getCurrentBalance(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String binnum,
java.lang.String lotnum)
Creates an Inventory Set using the itemnum/location parameters passed.
|
java.lang.String |
getDefaultLotNum(MboRemote mbo)
getDefaultLotNum()
Returns the first lotnum found in the InvLots table with a valid useby date
|
java.lang.String |
getItemSetIdFromSite(UserInfo userInfo,
java.lang.String siteid)
returns the itemset id when siteid is passed
|
MboSetRemote |
getItemsInStore(UserInfo userInfo,
java.lang.String storeroom)
Returns an MboSetRemote of ITEM's in the specified Storeroom
|
MboSetRemote |
getLots(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String binnum)
Retuns an invbalances set for a given item/location/bin.
|
MboSetRemote |
getMatReceiptSet(UserInfo ui,
java.lang.String ponum)
Returns a set of MatRecTrans records that are yet to be approved.
|
MboSetRemote |
getReservationsForMR(UserInfo userInfo,
java.lang.String mrnum)
Retuns a set of reservations required by the passed MR.
|
MboSetRemote |
getReservationsForWO(UserInfo userInfo,
java.lang.String wonum)
Retuns a set of reservations required by the passed work order.
|
java.util.Vector |
getUnauthInvSet() |
java.lang.String |
getUnitConversionFactor(UserInfo userInfo,
java.lang.String fromUOM,
java.lang.String toUOM,
java.lang.String itemSetID,
java.lang.String itemNum) |
void |
init()
Initialization
|
boolean |
isCourierOrLabor(UserInfo userInfo,
java.lang.String location)
returns true if the location is of type COURIER or LABOR
|
void |
isMRValid(UserInfo userInfo,
java.lang.String mrnum)
Check if this mr is valid or if the mr is in approved status
|
boolean |
isSameStoreroomTransfer(MboRemote sourceMbo)
Checks if the transfer is between same storeroom.
|
MboRemote |
isWOValid(UserInfo userInfo,
java.lang.String wonum)
Check if this work order is valid or if the wo is in approved status
|
MboRemote |
previewReconcile(MboRemote invMbo) |
void |
reconcile(MboRemote invMbo) |
void |
setAdjustmentType(int type,
MboRemote invAdjust)
Sets adjustmenttype based on the passed type to the INVADJUSTMENT object.
|
void |
updateInvUseLines(MboSetRemote msr,
java.lang.String plnum) |
void |
validateBinLot(Inventory inv,
java.lang.String binnum,
java.lang.String lotnum)
This method takes location,binnum,lotnum and checks the
ITEMNUM/LOCATION/BINNUM/LOTNUM combination against
the INVBALANCES table.
|
MboRemote |
validateInventory(UserInfo userInfo,
java.lang.String item,
java.lang.String itemsetid,
java.lang.String location)
checks the ITEMNUM/LOCATION combination against the Inventory table.
|
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public InventoryService() throws java.rmi.RemoteException
java.rmi.RemoteException
public InventoryService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public void init()
init
in interface Service
init
in class AppService
This listener gets setup.
public void destroy()
destroy
in interface Service
destroy
in class AppService
AppService.destroy()
public void setAdjustmentType(int type, MboRemote invAdjust) throws MXException, java.rmi.RemoteException
setAdjustmentType
in interface InventoryServiceRemote
type
- Adjustment based on valuelist ITTYPEinvAdjust
- the non-persistent mbo InvAdjustmentMXException
java.rmi.RemoteException
setAdjustmentType(int, psdi.mbo.MboRemote)
public MboSetRemote getItemsInStore(UserInfo userInfo, java.lang.String storeroom) throws MXException, java.rmi.RemoteException
getItemsInStore
in interface InventoryServiceRemote
storeroom
- the storeroom for which you seek a list of itemsuserInfo
- passed by the callernone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getItemsInStore(psdi.app.inventory.UserInfo, java.lang.String)
public MboRemote createIssue(UserInfo userInfo, MboSetRemote issueSet, java.lang.String itemnum, java.lang.String location, java.lang.String siteid, java.lang.String ownersysid1) throws MXException, java.rmi.RemoteException
createIssue
in interface InventoryServiceRemote
userInfo
- user information to instantiate matusetrans setissueSet
- the set which caller would like the new MatUseTrans mbo to be added (pass null if no particular set need be used)itemnum
- the itemnum of the inventory record which should be issuedlocation
- the location of the inventory record which should be issuedsiteid
- the site where the inventory is out.
* @param ownersysid1 the ownersysid of the matusetrans which caller has received (via integration, most likely) and would like to insert into Maximonone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#createIssue(psdi.app.inventory.UserInfo, psdi.app.inventory.MboSetRemote, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public MboRemote createIssue(UserInfo userInfo, java.lang.String itemnum, java.lang.String location, java.lang.String siteid, java.lang.String bin, java.lang.String lot, java.lang.String rotasset, double qty) throws java.rmi.RemoteException, MXException
createIssue
in interface InventoryServiceRemote
userInfor
- user information to instantiate matusetrans setitemnum
- Item to be issued.location
- the storeroom location where the item is being out.siteid
- the site where the inventory is out.bin
- the bin in the storeroom where the item is being issued out.lot
- the lot where the item is stored if this item is a lot tracking one.rotasset
- the piece of asset to be issued if the item is rotating.qty
- quantity needed for this issue.none
java.rmi.RemoteException
MXException
psdi.app.inventory.InventoryService#createIssue(psdi.app.inventory.UserInfo, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, double)
public java.lang.String getItemSetIdFromSite(UserInfo userInfo, java.lang.String siteid) throws MXException, java.rmi.RemoteException
getItemSetIdFromSite
in interface InventoryServiceRemote
userInfo
- siteid
- MXException
java.rmi.RemoteException
getItemSetIdFromSite(psdi.security.UserInfo, java.lang.String)
public MboRemote createMiscReceipt(UserInfo userInfo, MboSetRemote existingReceiptSet, java.lang.String itemnum, java.lang.String toStoreLoc, java.lang.String siteid, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
createMiscReceipt
in interface InventoryServiceRemote
UserInfo
- user information to instantiate matrectrans setreceiptSet
- the MboSet the caller desires to save all receiptsitemnum
- the itemnum being returnedtoStoreLoc
- the sotreroom to return the item to.siteid
- the site where the inventory is out.
* @param ownersysid the MIC/external systems usagenone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#createMiscReceipt(psdi.app.inventory.UserInfo, psdi.app.inventory.MboSetRemote, java.lang.String, java.lang.String,java.lang.String ,java.lang.String)
public double getCurrentBalance(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String binnum, java.lang.String lotnum) throws MXException, java.rmi.RemoteException
getCurrentBalance
in interface InventoryServiceRemote
userInfo
- the User informationitemnum
- the itemnum of the inventory record for which a balance is requested.itemsetid
- the item set identifier of the inventory record for which a balance is requested.location
- the location of the inventory record for which a balance is requested.binnum
- the binnum of the invbalance record for which a balance is requested.
lotnum
- the lotnum of the invbalance record for which a balance is requested.
none
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getCurrentBalance(psdi.app.inventory.UserInfo, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public MboSetRemote getBalances(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String siteid) throws MXException, java.rmi.RemoteException
getBalances
in interface InventoryServiceRemote
userInfo
- the User informationitemnum
- the itemnum of the inventory record for which a balance is requested.itemsetid
- the item set identifier of the inventory record for which a balance is requested.location
- the location of the inventory record for which a balance is requested.none
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getBalances(psdi.app.inventory.UserInfo, java.lang.String, java.lang.String,java.lang.String, java.lang.String)
public MboSetRemote getBalancesForInventorySet(MboSetRemote inventorySet) throws MXException, java.rmi.RemoteException
getBalancesForInventorySet
in interface InventoryServiceRemote
inventorySet
- the set of itemnum/(store)location combinations for which the InvBalances set
is requestedMXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getBalancesForInventorySet(psdi.mbo.MboRemote)
public java.util.Vector getUnauthInvSet()
public void canGoNegative(UserInfo userInfo, double toBeIssued, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String siteid) throws MXException, java.rmi.RemoteException
canGoNegative
in interface InventoryServiceRemote
UserInfo
- The userInfo of the calling mbo.toBeIssued
- quantity to be issued out of the storeroom binitemnum
- Item Numberitemsetid
- Item Set Identifierlocation
- The storeroomMXException
java.rmi.RemoteException
canGoNegative(psdi.security.UserInfo,double, java.lang.String,java.lang.String,java.lang.String,java.lang.String)
public void canGoNegative(UserInfo userInfo, double toBeIssued, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location) throws MXException, java.rmi.RemoteException
canGoNegative
in interface InventoryServiceRemote
UserInfo
- The userInfo of the calling mbo.toBeIssued
- quantity to be issued out of the storeroom binitemnum
- Item Numberitemsetid
- Item Set Identifierlocation
- The storeroomMXException
java.rmi.RemoteException
canGoNegative(psdi.security.UserInfo,double, java.lang.String,java.lang.String,java.lang.String)
public void canGoNegative(UserInfo userInfo, double toBeIssued, double totalAvailable, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canGoNegative(UserInfo userInfo, double toBeIssued, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String binnum, java.lang.String lotnum, java.lang.String siteid) throws MXException, java.rmi.RemoteException
UserInfo
- The userInfo of the calling mbo.toBeIssued
- quantity to be issued out of the storeroom binitemnum
- Item Numberitemsetid
- Item Set Identifierlocation
- The storeroombinnum
- The binlotnum
- lot number if item is tracked by lotMXException
java.rmi.RemoteException
public void canGoNegative(UserInfo userInfo, double toBeIssued, double curbal, double totalAvailable, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
UserInfo
- The userInfo of the calling mbo.toBeIssued
- quantity to be issued out of the storeroom bincurbal
- the current balance in the bin.totalAvailable
- The total available balancenegativeBalisNotAllowed
- Will not let transaction proceed if the issue will
cause the current balance to go negative if MaxVars NEGATIVECURBAL is set to "DISALLOW".negativeAvailisNotAllowed
- Will not let transaction proceed if the issue will
cause the total available balance to go negative if MaxVars NEGATIVEAVAIL is set to "DISALLOW".MXException
java.rmi.RemoteException
public boolean isSameStoreroomTransfer(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
sourceMbo
- MXException
java.rmi.RemoteException
public void canGoNegative(UserInfo userInfo, double toBeIssued, double curbal, double totalAvailable, MboRemote sourceMbo, java.lang.String costType) throws MXException, java.rmi.RemoteException
UserInfo
- The userInfo of the calling mbo.toBeIssued
- quantity to be issued out of the storeroom bincurbal
- the current balance in the bin.totalAvailable
- The total available balancesourceMbo
- The calling mbo.costType
- The cost type of the item.negativeBalisNotAllowed
- Will not let transaction proceed if the issue will
cause the current balance to go negative if MaxVars NEGATIVECURBAL is set to "DISALLOW".negativeAvailisNotAllowed
- Will not let transaction proceed if the issue will
cause the total available balance to go negative if MaxVars NEGATIVEAVAIL is set to "DISALLOW".MXException
java.rmi.RemoteException
public MboSetRemote findItemsForPhysCount(UserInfo userInfo, java.lang.String location) throws MXException, java.rmi.RemoteException
findItemsForPhysCount
in interface InventoryServiceRemote
userInfo
- User Information to instantiate the mbo setlocation
- storeroom where the count is taking place.none
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#findItemsForPhysCount(psdi.app.inventory.UserInfo, java.lang.String)
public MboSetRemote getBins(UserInfo userInfo, java.lang.String location, java.lang.String binnum) throws MXException, java.rmi.RemoteException
getBins
in interface InventoryServiceRemote
userInfo
- user informationlocation
- Locationbinnum
- binnumnone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getBins(psdi.app.inventory.UserInfo, java.lang.String, java.lang.String)
public MboSetRemote getLots(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String binnum) throws MXException, java.rmi.RemoteException
getLots
in interface InventoryServiceRemote
userInfo
- user informationitemnum
- item numberitemsetid
- item set identifierlocation
- Locationbinnum
- binnumnone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getLots(psdi.app.inventory.UserInfo, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public MboSetRemote getReservationsForWO(UserInfo userInfo, java.lang.String wonum) throws MXException, java.rmi.RemoteException
getReservationsForWO
in interface InventoryServiceRemote
userInfo
- user information to instantiate the mbo setwonum
- work order numbernone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getReservationsForWO(psdi.app.inventory.UserInfo, java.lang.String)
public MboSetRemote getReservationsForMR(UserInfo userInfo, java.lang.String mrnum) throws MXException, java.rmi.RemoteException
getReservationsForMR
in interface InventoryServiceRemote
userInfo
- user information to instantiate the mbo setwonum
- mr numnone
MXException
java.rmi.RemoteException
psdi.app.inventory.InventoryService#getReservationsForMR(psdi.app.inventory.UserInfo, java.lang.String)
public MboRemote isWOValid(UserInfo userInfo, java.lang.String wonum) throws MXException, java.rmi.RemoteException
userInfo
- user information to instantiate wo setwonum
- The work order numbercheckApproved
- to check if this work order is an approved one.none
MXException
java.rmi.RemoteException
public void isMRValid(UserInfo userInfo, java.lang.String mrnum) throws MXException, java.rmi.RemoteException
UserInfo
- user information to initiate the mbosetmrnum
- The mr numbernone
MXException
java.rmi.RemoteException
public MboSetRemote getMatReceiptSet(UserInfo ui, java.lang.String ponum) throws MXException, java.rmi.RemoteException
getMatReceiptSet
in interface InventoryServiceRemote
MXException
java.rmi.RemoteException
getMatReceiptSet(psdi.security.UserInfo, java.lang.String)
public void validateBinLot(Inventory inv, java.lang.String binnum, java.lang.String lotnum) throws MXException, java.rmi.RemoteException
validateBinLot
in interface InventoryServiceRemote
inv
- inventory objectbinnum
- frombin or tobinlotnum
- fromlot or tolotMXApplicationException("inventory","noBalanceRecord")
- if InvBalances record does not existMXException
java.rmi.RemoteException
FldMatRecTransBin
public MboRemote validateInventory(UserInfo userInfo, java.lang.String item, java.lang.String itemsetid, java.lang.String location) throws MXException, java.rmi.RemoteException
validateInventory
in interface InventoryServiceRemote
userInfo
- user information to instantiate Locations setitem
- itemnumitemsetid
- item set identifierlocation
- fromstoreloc or tostorelocMXApplicationException("inventory","invbalNotInInventory")
- if Inventory record does not existMXException
java.rmi.RemoteException
FldMatRecTransBin
public boolean isCourierOrLabor(UserInfo userInfo, java.lang.String location) throws MXException, java.rmi.RemoteException
isCourierOrLabor
in interface InventoryServiceRemote
userInfo
- user information to instantiate Locations setlocation
- key for the Locations object to test to see if
type is Courier or LocationMXApplicationException("locations","invalidlocation")
- if location does
not exist in the Locations objectMXException
java.rmi.RemoteException
FldMatRecTransToBin
public java.lang.String getDefaultLotNum(MboRemote mbo) throws MXException, java.rmi.RemoteException
getDefaultLotNum
in interface InventoryServiceRemote
MXException
java.rmi.RemoteException
FldMatUseTransItemNum.action()
public double getConversionFactor(UserInfo userInfo, java.lang.String fromUOM, java.lang.String toUOM, java.lang.String itemSetID, java.lang.String itemNum) throws MXException, java.rmi.RemoteException
getConversionFactor
in interface InventoryServiceRemote
UserInfo
- The userInfo of the calling Mbo.fromUOM
- The unit of measure(UOM) to be converted from.toUOM
- The unit of measure to be converted to.itemSetID
- The item set identifier to be used.itemNum
- The item identifier to be used.ParametesAreRequired
- if either UOM parameter is empty.FactorDoesNotExist
- if a valid relationship does not exist.MXException
java.rmi.RemoteException
getConversionFactor(psdi.security.UserInfo,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
public java.lang.String getUnitConversionFactor(UserInfo userInfo, java.lang.String fromUOM, java.lang.String toUOM, java.lang.String itemSetID, java.lang.String itemNum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getConversionFactor(UserInfo userInfo, java.lang.String fromUOM, java.lang.String toUOM, java.lang.String itemSetID) throws MXException, java.rmi.RemoteException
getConversionFactor
in interface InventoryServiceRemote
UserInfo
- The userInfo of the calling Mbo.fromUOM
- The unit of measure(UOM) to be converted from.toUOM
- The unit of measure to be converted to.itemSetID
- The item set identifier to be used.ParametesAreRequired
- if either UOM parameter is empty.FactorDoesNotExist
- if a valid relationship does not exist.MXException
java.rmi.RemoteException
getConversionFactor(psdi.security.UserInfo,java.lang.String,java.lang.String,java.lang.String)
public void adjustCurrentBalance(MboRemote invBalances, java.lang.String newBalance) throws MXException, java.rmi.RemoteException
newBalance
- The new balanceMXException
java.rmi.RemoteException
public MboRemote getConversionFactorToStoreroom(MboRemote mbo, java.lang.String tostoreloc, java.lang.String tositeid) throws MXException, java.rmi.RemoteException
mbo
- tostoreloc
- MXException
java.rmi.RemoteException
public void createInvbalances(MboRemote invMbo, java.lang.String itemnum, java.lang.String location, java.lang.String siteid, java.lang.String binnum, java.lang.String lotnum, java.lang.String conditioncode, java.lang.String itemsetid, java.lang.String curbal, UserInfo userInfo) throws MXException, java.rmi.RemoteException
invMbo
- itemnum
- location
- siteid
- binnum
- lotnum
- conditioncode
- itemsetid
- curbal
- userInfo
- MXException
java.rmi.RemoteException
public void adjustPhysicalCount(MboRemote invMbo, java.lang.String itemnum, java.lang.String location, java.lang.String siteid, java.lang.String binnum, java.lang.String lotnum, java.lang.String itemsetid, int physcnt, UserInfo userInfo) throws MXException, java.rmi.RemoteException
invMbo
- itemnum
- location
- siteid
- binnum
- lotnum
- itemsetid
- physcnt
- userInfo
- MXException
java.rmi.RemoteException
public MboRemote previewReconcile(MboRemote invMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void reconcile(MboRemote invMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote createReturnForIssueStoreloc(MboRemote issueMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote createPickList(MboSetRemote msr, java.lang.String pldescription, java.lang.String plnum, java.util.Date reqdate, java.lang.String storeroom, java.lang.String siteid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateInvUseLines(MboSetRemote msr, java.lang.String plnum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void changeStatus(MboRemote mbo, java.lang.String status, java.util.Date asOfDate, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException