public class InventoryService extends AppService implements InventoryServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlADJUST_AVERAGE_COST, ADJUST_CURRENT_BALANCE, ADJUST_PHYSICAL_COUNT, ADJUST_STANDARD_COST, RECONCILE_CURRENT_BALANCEAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, 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 |
|---|---|
MboRemote |
addReservation(MboSetRemote msr,
java.lang.String pl_num,
java.lang.String siteid,
UserInfo userInfo,
MXTransaction trans) |
void |
adjustCurrentBalance(MboRemote invBalances,
java.lang.String newBalance,
double stdcost,
double avgcost,
java.lang.String conditioncode)
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,
double physcnt,
UserInfo userInfo) |
MboSetRemote |
autoSplitRecordSet(MboRemote invUseLineMbo,
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 |
createIssueForNonStock(UserInfo userInfo,
MboSetRemote issueSet,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String siteid,
java.lang.String ownersysid1)
IJ23801:TS003101968:new method to create matusetrans for non-stock items
|
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,
MXTransaction trans) |
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 |
getLineSplitForRotItems(MboSetRemote assetmsr,
MboRemote invUseLineMbo,
UserInfo userInfo) |
MboSetRemote |
getLineSplitRecords(MboSetRemote invbalmsr,
MboRemote invUseLineMbo,
UserInfo userInfo) |
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.
|
MboRemote |
getStoreroom(UserInfo userInfo,
java.lang.String location,
java.lang.String siteid)
Method to update all Gl Account for current Storeroom
|
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
|
boolean |
isZeroNewPhysCnt(long uniqueId)
IJ29192 returns true if this passed invuselineid exists in the vector
|
void |
previewReconcile(MboSetRemote invBalSetMbo) |
void |
previewReconcile4InventoryCounting(UserInfo userinfo) |
MboSetRemote |
reconcile(MboSetRemote invBalSetMbo) |
void |
setAdjustmentType(int type,
MboRemote invAdjust)
Sets adjustmenttype based on the passed type to the INVADJUSTMENT object.
|
void |
setZeroNewPhysCnt(long uniqueId,
boolean toRemove)
IJ29192:
|
MboSetRemote |
updateAllInventory(MboSetRemote invBalSetMbo,
UserInfo userInfo) |
MboRemote |
updateInventory(MboRemote invMbo,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid,
java.lang.String itemsetid,
UserInfo userInfo)
Method to update GL Account
|
void |
updateInvUseLines(MboSetRemote msr,
java.lang.String plnum,
MXTransaction trans) |
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, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic InventoryService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic InventoryService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
init in interface Serviceinit in class AppServiceThis listener gets setup.public void destroy()
destroy in interface Servicedestroy in class AppServiceAppService.destroy()public void setAdjustmentType(int type,
MboRemote invAdjust)
throws MXException,
java.rmi.RemoteException
setAdjustmentType in interface InventoryServiceRemotetype - Adjustment based on valuelist ITTYPEinvAdjust - the non-persistent mbo InvAdjustmentMXExceptionjava.rmi.RemoteExceptionInventoryService.setAdjustmentType(int, psdi.mbo.MboRemote)public MboSetRemote getItemsInStore(UserInfo userInfo, java.lang.String storeroom) throws MXException, java.rmi.RemoteException
getItemsInStore in interface InventoryServiceRemotestoreroom - the storeroom for which you seek a list of itemsuserInfo - passed by the callernoneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - 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 MaximononeMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfor - 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.nonejava.rmi.RemoteExceptionMXExceptionpsdi.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 InventoryServiceRemoteuserInfo - siteid - MXExceptionjava.rmi.RemoteExceptionInventoryService.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 InventoryServiceRemoteUserInfo - 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 usagenoneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - 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.
noneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - 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.noneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteinventorySet - the set of itemnum/(store)location combinations for which the InvBalances set
is requestedMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteUserInfo - The userInfo of the calling mbo.toBeIssued - quantity to be issued out of the storeroom binitemnum - Item Numberitemsetid - Item Set Identifierlocation - The storeroomMXExceptionjava.rmi.RemoteExceptionInventoryService.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 InventoryServiceRemoteUserInfo - The userInfo of the calling mbo.toBeIssued - quantity to be issued out of the storeroom binitemnum - Item Numberitemsetid - Item Set Identifierlocation - The storeroomMXExceptionjava.rmi.RemoteExceptionInventoryService.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
MXExceptionjava.rmi.RemoteExceptionpublic 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 lotMXExceptionjava.rmi.RemoteExceptionpublic 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".MXExceptionjava.rmi.RemoteExceptionpublic boolean isSameStoreroomTransfer(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
sourceMbo - MXExceptionjava.rmi.RemoteExceptionpublic 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".MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote findItemsForPhysCount(UserInfo userInfo, java.lang.String location) throws MXException, java.rmi.RemoteException
findItemsForPhysCount in interface InventoryServiceRemoteuserInfo - User Information to instantiate the mbo setlocation - storeroom where the count is taking place.noneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - user informationlocation - Locationbinnum - binnumnoneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - user informationitemnum - item numberitemsetid - item set identifierlocation - Locationbinnum - binnumnoneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - user information to instantiate the mbo setwonum - work order numbernoneMXExceptionjava.rmi.RemoteExceptionpsdi.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 InventoryServiceRemoteuserInfo - user information to instantiate the mbo setwonum - mr numnoneMXExceptionjava.rmi.RemoteExceptionpsdi.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.noneMXExceptionjava.rmi.RemoteExceptionpublic void isMRValid(UserInfo userInfo, java.lang.String mrnum) throws MXException, java.rmi.RemoteException
UserInfo - user information to initiate the mbosetmrnum - The mr numbernoneMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getMatReceiptSet(UserInfo ui, java.lang.String ponum) throws MXException, java.rmi.RemoteException
getMatReceiptSet in interface InventoryServiceRemoteMXExceptionjava.rmi.RemoteExceptionInventoryService.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 InventoryServiceRemoteinv - inventory objectbinnum - frombin or tobinlotnum - fromlot or tolotMXApplicationException("inventory","noBalanceRecord") - if InvBalances record does not existMXExceptionjava.rmi.RemoteExceptionFldMatRecTransBinpublic MboRemote validateInventory(UserInfo userInfo, java.lang.String item, java.lang.String itemsetid, java.lang.String location) throws MXException, java.rmi.RemoteException
validateInventory in interface InventoryServiceRemoteuserInfo - user information to instantiate Locations setitem - itemnumitemsetid - item set identifierlocation - fromstoreloc or tostorelocMXApplicationException("inventory","invbalNotInInventory") - if Inventory record does not existMXExceptionjava.rmi.RemoteExceptionFldMatRecTransBinpublic boolean isCourierOrLabor(UserInfo userInfo, java.lang.String location) throws MXException, java.rmi.RemoteException
isCourierOrLabor in interface InventoryServiceRemoteuserInfo - 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 objectMXExceptionjava.rmi.RemoteExceptionFldMatRecTransToBinpublic java.lang.String getDefaultLotNum(MboRemote mbo) throws MXException, java.rmi.RemoteException
getDefaultLotNum in interface InventoryServiceRemoteMXExceptionjava.rmi.RemoteExceptionFldMatUseTransItemNum.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 InventoryServiceRemoteUserInfo - 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.MXExceptionjava.rmi.RemoteExceptionInventoryService.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
MXExceptionjava.rmi.RemoteExceptionpublic double getConversionFactor(UserInfo userInfo, java.lang.String fromUOM, java.lang.String toUOM, java.lang.String itemSetID) throws MXException, java.rmi.RemoteException
getConversionFactor in interface InventoryServiceRemoteUserInfo - 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.MXExceptionjava.rmi.RemoteExceptionInventoryService.getConversionFactor(psdi.security.UserInfo,java.lang.String,java.lang.String,java.lang.String)public void adjustCurrentBalance(MboRemote invBalances, java.lang.String newBalance, double stdcost, double avgcost, java.lang.String conditioncode) throws MXException, java.rmi.RemoteException
newBalance - The new balanceMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getConversionFactorToStoreroom(MboRemote mbo, java.lang.String tostoreloc, java.lang.String tositeid) throws MXException, java.rmi.RemoteException
mbo - tostoreloc - MXExceptionjava.rmi.RemoteExceptionpublic 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 - MXExceptionjava.rmi.RemoteExceptionpublic 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, double physcnt, UserInfo userInfo) throws MXException, java.rmi.RemoteException
invMbo - itemnum - location - siteid - binnum - lotnum - itemsetid - physcnt - userInfo - MXExceptionjava.rmi.RemoteExceptionpublic void previewReconcile(MboSetRemote invBalSetMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void previewReconcile4InventoryCounting(UserInfo userinfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote reconcile(MboSetRemote invBalSetMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createReturnForIssueStoreloc(MboRemote issueMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote updateInventory(MboRemote invMbo, java.lang.String itemnum, java.lang.String location, java.lang.String siteid, java.lang.String itemsetid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
invMbo - itemnum - location - siteid - itemsetid - userInfo - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getStoreroom(UserInfo userInfo, java.lang.String location, java.lang.String siteid) throws java.rmi.RemoteException, MXException
userInfo - location - siteid - java.rmi.RemoteExceptionMXExceptionpublic MboSetRemote updateAllInventory(MboSetRemote invBalSetMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createIssueForNonStock(UserInfo userInfo, MboSetRemote issueSet, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String siteid, java.lang.String ownersysid1) throws MXException, java.rmi.RemoteException
userInfo - issueSet - itemnum - itemsetid - location - siteid - ownersysid1 - MXExceptionjava.rmi.RemoteExceptionpublic 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, MXTransaction trans) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateInvUseLines(MboSetRemote msr, java.lang.String plnum, MXTransaction trans) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(MboRemote mbo, java.lang.String status, java.util.Date asOfDate, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote autoSplitRecordSet(MboRemote invUseLineMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getLineSplitRecords(MboSetRemote invbalmsr, MboRemote invUseLineMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getLineSplitForRotItems(MboSetRemote assetmsr, MboRemote invUseLineMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addReservation(MboSetRemote msr, java.lang.String pl_num, java.lang.String siteid, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void setZeroNewPhysCnt(long uniqueId,
boolean toRemove)
throws MXException,
java.rmi.RemoteException
uniqueId - toRemove - - true if to remove the invuselindid from vectorMXExceptionjava.rmi.RemoteExceptionpublic boolean isZeroNewPhysCnt(long uniqueId)
throws MXException,
java.rmi.RemoteException
uniqueId - MXExceptionjava.rmi.RemoteException