public class SplitUseLine extends NonPersistentMbo implements SplitUseLineRemote
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 |
---|
SplitUseLine(MboSet ms)
Construct the SplitUseLine object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
add()
Provides defaults for a new SplitUseLine Record.
|
void |
autoSplitRecords(MboSetRemote lineSplitSet)
This method calls the method to split the quantities for the usage line based on rotating
and non-rotating items.
|
boolean |
checkLot(MboRemote invBal)
This method checks if the lot has expired.
|
void |
delete(long accessModifier)
This method deletes the all split records corresponding to this line.
|
MboRemote |
getInvBalancesDefaultbin()
This method finds and returns the invbalances mbo for the default bin.
|
void |
init()
Initialization routine set the attributes itemnum, itemsetid, frombin, usetype, avbalBalance,
curbaltotal readonly.
|
boolean |
isIssue()
Returns true if usetype = the internal string for ISSUE, otherwise returns false.
|
void |
setFieldsForSplit(MboRemote linesplit,
MboRemote invBal,
double qty)
This method sets the fields for split records across the multiple bins for items.
|
void |
setFieldsForSplitRotating(MboRemote linesplit,
java.lang.String frombin,
java.lang.String rotassetnum)
This method sets the fields for split records across the multiple bins for rotating items.
|
java.util.LinkedHashMap<InvBalancesRemote,java.lang.Double> |
splitQty()
This method finds the available bins with balance greater than or equal to the quantity on the
usage line.
|
java.util.LinkedHashMap<InvBalancesRemote,java.lang.Double> |
splitQtyforLotItems()
This method finds the available bins with balance greater than or equal to the quantity on the
usage line and checks if the lot has expired.
|
java.util.ArrayList<MboRemote> |
splitQtyforRotating()
This method create a Array List for the rotating asset.
|
void |
splitRecords(MboSetRemote lineSplitSet)
This method splits the quantities across multiple bins for non rotating items.
|
void |
splitRecordsForLotItems(MboSetRemote lineSplitSet)
This method splits the quantities across multiple bins for lotted items.
|
void |
splitRecordsForRotItems(MboSetRemote lineSplitSet)
This method splits the quantities across multiple bins for rotating items.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, 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 SplitUseLine(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void autoSplitRecords(MboSetRemote lineSplitSet) throws MXException, java.rmi.RemoteException
autoSplitRecords
in interface SplitUseLineRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.virtual
public void splitRecords(MboSetRemote lineSplitSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void splitRecordsForRotItems(MboSetRemote lineSplitSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void splitRecordsForLotItems(MboSetRemote lineSplitSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setFieldsForSplitRotating(MboRemote linesplit, java.lang.String frombin, java.lang.String rotassetnum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setFieldsForSplit(MboRemote linesplit, MboRemote invBal, double qty) throws MXException, java.rmi.RemoteException
linesplit
- invBal
- MXException
java.rmi.RemoteException
public java.util.LinkedHashMap<InvBalancesRemote,java.lang.Double> splitQty() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getInvBalancesDefaultbin() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.ArrayList<MboRemote> splitQtyforRotating() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.LinkedHashMap<InvBalancesRemote,java.lang.Double> splitQtyforLotItems() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkLot(MboRemote invBal) throws MXException, java.rmi.RemoteException
invBal
- MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- MXException
java.rmi.RemoteException
Mbo.delete(long)
public boolean isIssue() throws MXException, java.rmi.RemoteException
none
- MXException
java.rmi.RemoteException