public interface CountBookServiceRemote extends AppServiceRemote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_ITEMS_CRIT |
static java.lang.String |
ALLITEMS |
static java.lang.String |
NOBALANCE |
static java.lang.String |
NOISSUES |
static java.lang.String |
ROTATING_ITEMS_CRIT |
static java.lang.String |
TOOLS_CRIT |
Modifier and Type | Method and Description |
---|---|
MboSet |
clearSet(MboSet set)
Clear the given mboset
|
MboSetRemote |
clearSet(MboSetRemote setRemote)
Clear the given mboset remote
|
MboSetRemote |
findItemsForPhysCount(UserInfo userInfo,
ProfileRemote profileRemote,
java.lang.String location,
java.util.Date userDate)
Find the eligible balances records for physical 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) |
Inventory |
getInventory(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String location,
java.lang.String siteid)
Gets Inventory mbo based on the itemnum/location passed.
|
Inventory |
getInventory(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String location,
java.lang.String siteid) |
MboSetRemote |
getItemsInGroupForStore(UserInfo userInfo,
ProfileRemote profileRemote,
java.lang.String storeroom,
java.lang.String invGroup)
Returns an MboSetRemote of ITEM's in the specified group of inventory in a specified Storeroom
|
MboSetRemote |
getItemsInStore(UserInfo userInfo,
ProfileRemote profileRemote,
java.lang.String storeroom,
java.lang.String criteria)
Returns an MboSetRemote of Rotating ITEM's in the specified Storeroom.
|
int |
getLastDaysQuantityForNoIssue(MboRemote countBook)
NOISSUE excludes items that have had no issues or receipts in the last 30 days.
|
MboSetRemote |
getRotatingAssetForItem(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String storeRoom,
java.lang.String binNum,
java.lang.String conditioncode)
Get the equipment set for rotating items
|
boolean |
isCountValid(MboRemote invBal,
UserInfo userInfo,
MboRemote countBook)
Check from the Multisite set up if you do have to count items with zero balance, or items who have been issues or received in the last 30 days.
|
boolean |
isItemIssuedOrReceived(MboRemote item,
MboRemote countBook)
This method checks if the item is issued or received in the last 30 days
|
CountBookLineSetRemote |
populateCBLine(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSetRemote,
java.lang.String countBookNum) |
CountBookLineSetRemote |
populateCBLineForAItem(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSetRemote,
java.lang.String countBookNum,
java.lang.String itemNum)
This method populates the count book line for a particular item with the required data.
|
CountBookLineSetRemote |
populateCBLineForBinInCriteria(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote countBookLinesSetRemote,
java.lang.String countBookNum,
MboRemote countBookSelType)
This method populates the count book line for items which binnum match the binCriteria.
|
CountBookLineSetRemote |
populateCBLineForCountFrequency(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSetRemote,
java.lang.String countBookNum,
java.util.Date userDate)
This method is used to generate count book line from Count Frequency
|
CountBookLineRemote |
populateCBLineForInvBalance(java.lang.String storeRoom,
UserInfo userInfo,
CountBookLineSetRemote cbLineSetRemote,
java.lang.String countBookNum,
boolean isRotating,
MboRemote itemRemote,
java.lang.String itemNum,
java.lang.String internalItemType,
MboRemote invBalances)
This method populates the count book line for given inventory balance object.
|
CountBookLineSetRemote |
populateCBLineForItem(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSetRemote,
ItemRemote itemRemote,
java.lang.String countBookNum)
This method populates the count book line for given item.
|
CountBookLineSetRemote |
populateCBLineForItemInGroup(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSet,
java.lang.String countBookNum,
java.lang.String invGroup)
This method populates the count book line for items in a specified group of the inventory with the required data.
|
CountBookLineSetRemote |
populateCBLineForItems(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSetRemote,
ItemSetRemote itemSetRemote,
java.lang.String countBookNum)
This method populates the count book line for given ItemSet
|
CountBookLineSetRemote |
populateRotableCBLines(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSet,
java.lang.String countBookNum)
This method populates the CBLines for all rotating items with the required data.
|
CountBookLineSetRemote |
populateToolsCBLines(java.lang.String storeRoom,
UserInfo userInfo,
ProfileRemote profileRemote,
CountBookLineSetRemote cbLineSet,
java.lang.String countBookNum)
This method populates the count book line for all 'tool' items with the required data.
|
boolean |
validateInventory(UserInfo userInfo,
java.lang.String item,
java.lang.String location)
Checks the ITEMNUM/LOCATION combination against the Inventory table.
|
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
static final java.lang.String ALLITEMS
static final java.lang.String NOBALANCE
static final java.lang.String NOISSUES
static final java.lang.String ALL_ITEMS_CRIT
static final java.lang.String ROTATING_ITEMS_CRIT
static final java.lang.String TOOLS_CRIT
MboSet clearSet(MboSet set) throws MXException, java.rmi.RemoteException
set
- MXException
java.rmi.RemoteException
CountBookService.clearSet(MboSet)
MboSetRemote clearSet(MboSetRemote setRemote) throws MXException, java.rmi.RemoteException
setRemote
- MXException
java.rmi.RemoteException
CountBookService.clearSet(MboSetRemote)
MboSetRemote findItemsForPhysCount(UserInfo userInfo, ProfileRemote profileRemote, java.lang.String location, java.util.Date userDate) throws MXException, java.rmi.RemoteException
userInfo
- User Information to instantiate the mbo setlocation
- storeroom where the count is taking place.MXException
java.rmi.RemoteException
CountBookService.findItemsForPhysCount(UserInfo, ProfileRemote, String, Date)
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
userInfo
- itemnum
- itemsetid
- location
- siteid
- MXException
java.rmi.RemoteException
CountBookService.getBalances(UserInfo, String, String, String, String)
int getLastDaysQuantityForNoIssue(MboRemote countBook) throws java.rmi.RemoteException
countBook
- java.rmi.RemoteException
CountBookService.getLastDaysQuantityForNoIssue(MboRemote)
Inventory getInventory(UserInfo userInfo, java.lang.String itemnum, java.lang.String location, java.lang.String siteid) throws MXException, java.rmi.RemoteException
userInfo
- the User informationitemnum
- the itemnum of the inventory record for which a balance is requested.location
- the location of the inventory record for which a balance is requested.MXApplicationException
- GROUP | KEY | REASON | |
---|---|---|---|
inventory | invbalNotInInventory | if an inventory record can not be found. |
MXException
java.rmi.RemoteException
CountBookService.getInventory(UserInfo, String, String, String)
Inventory getInventory(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String location, java.lang.String siteid) throws MXException, java.rmi.RemoteException
userInfo
- itemnum
- itemsetid
- location
- siteid
- MXException
java.rmi.RemoteException
CountBookService.getInventory(UserInfo, String, String, String, String)
MboSetRemote getItemsInGroupForStore(UserInfo userInfo, ProfileRemote profileRemote, java.lang.String storeroom, java.lang.String invGroup) throws MXException, java.rmi.RemoteException
storeroom
- the storeroom for which you seek a list of itemsuserInfo
- passed by the callerMXException
java.rmi.RemoteException
CountBookService.getItemsInGroupForStore(UserInfo, ProfileRemote, String, String)
MboSetRemote getItemsInStore(UserInfo userInfo, ProfileRemote profileRemote, java.lang.String storeroom, java.lang.String criteria) throws MXException, java.rmi.RemoteException
userInfo
- passed by the callerprofileRemote
- storeroom
- the storeroom for which you seek a list of itemscriteria
- MXException
java.rmi.RemoteException
CountBookService#getItemsInStore(UserInfo userInfo, ProfileRemote profileRemote, String storeroom, boolean isRotable)
MboSetRemote getRotatingAssetForItem(UserInfo userInfo, java.lang.String itemnum, java.lang.String storeRoom, java.lang.String binNum, java.lang.String conditioncode) throws MXException, java.rmi.RemoteException
userInfo
- itemnum
- storeRoom
- binNum
- conditioncode
- MXException
java.rmi.RemoteException
CountBookService.getRotatingAssetForItem(UserInfo, String, String, String, String)
boolean isCountValid(MboRemote invBal, UserInfo userInfo, MboRemote countBook) throws MXException, java.rmi.RemoteException
invBal
- userInfo
- countBook
- MXException
java.rmi.RemoteException
CountBookService.isCountValid(MboRemote, UserInfo, MboRemote)
boolean isItemIssuedOrReceived(MboRemote item, MboRemote countBook) throws MXException, java.rmi.RemoteException
item
- countBook
- MXException
java.rmi.RemoteException
CountBookService.isItemIssuedOrReceived(MboRemote, MboRemote)
CountBookLineSetRemote populateCBLine(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSetRemote, java.lang.String countBookNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSetRemote
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService#populateCBLine(String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSet cbLineSet, String countBookNum)
CountBookLineSetRemote populateCBLineForAItem(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSetRemote, java.lang.String countBookNum, java.lang.String itemNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSetRemote
- countBookNum
- itemNum
- MXException
java.rmi.RemoteException
CountBookService#populateCBLineForAItem(String storeRoom, UserInfo userInfo, CountBookLineSet cbLineSet, String countBookNum, String itemNum)
CountBookLineSetRemote populateCBLineForCountFrequency(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSetRemote, java.lang.String countBookNum, java.util.Date userDate) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSetRemote
- countBookNum
- userDate
- MXException
java.rmi.RemoteException
CountBookService.populateCBLineForCountFrequency(String, UserInfo, ProfileRemote, CountBookLineSetRemote, String, Date)
CountBookLineSetRemote populateCBLineForItem(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSetRemote, ItemRemote itemRemote, java.lang.String countBookNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSetRemote
- itemRemote
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService.populateCBLineForItem(String, UserInfo, ProfileRemote, CountBookLineSetRemote, ItemRemote, String)
CountBookLineSetRemote populateCBLineForItemInGroup(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSet, java.lang.String countBookNum, java.lang.String invGroup) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSet
- countBookNum
- invGroup
- MXException
java.rmi.RemoteException
CountBookService#populateCBLineForItemInGroup(String storeRoom, UserInfo userInfo, CountBookLineSet cbLineSet, String countBookNum, String invGroup)
CountBookLineSetRemote populateCBLineForItems(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSetRemote, ItemSetRemote itemSetRemote, java.lang.String countBookNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSetRemote
- itemSetRemote
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService.populateCBLineForItems(String, UserInfo, ProfileRemote, CountBookLineSetRemote, ItemSetRemote, String)
CountBookLineRemote populateCBLineForInvBalance(java.lang.String storeRoom, UserInfo userInfo, CountBookLineSetRemote cbLineSetRemote, java.lang.String countBookNum, boolean isRotating, MboRemote itemRemote, java.lang.String itemNum, java.lang.String internalItemType, MboRemote invBalances) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- cbLineSetRemote
- countBookNum
- translate
- cbLine
- isRotating
- itemRemote
- Cannot be null.itemNum
- internalItemType
- invBalances
- Can be null.MXException
java.rmi.RemoteException
CountBookService#populateCBLineForInvBalance(String, UserInfo, CountBookLineSetRemote, String, Translate, CountBookLineRemote, boolean, MboRemote, String, String, MboRemote)
CountBookLineSetRemote populateRotableCBLines(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSet, java.lang.String countBookNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSet
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService#populateRotableCBLine(String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSet cbLineSet, String countBookNum)
CountBookLineSetRemote populateToolsCBLines(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote cbLineSet, java.lang.String countBookNum) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- cbLineSet
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService#populateToolsCBLine(String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSet cbLineSet, String countBookNum)
boolean validateInventory(UserInfo userInfo, java.lang.String item, java.lang.String location) throws MXException, java.rmi.RemoteException
userInfo
- user information to instantiate Locations setitem
- itemnumlocation
- fromstoreloc or tostorelocMXException
java.rmi.RemoteException
MXApplicationException("inventory","invbalNotInInventory")
- if Inventory record does not existCountBookService.validateInventory(UserInfo, String, String)
CountBookLineSetRemote populateCBLineForBinInCriteria(java.lang.String storeRoom, UserInfo userInfo, ProfileRemote profileRemote, CountBookLineSetRemote countBookLinesSetRemote, java.lang.String countBookNum, MboRemote countBookSelType) throws MXException, java.rmi.RemoteException
storeRoom
- userInfo
- profileRemote
- countBookLinesSetRemote
- countBookNum
- MXException
java.rmi.RemoteException
CountBookService.populateCBLineForBinInCriteria(String, UserInfo, ProfileRemote, CountBookLineSetRemote, String, MboRemote)