public class InvoiceLineSet extends MboSet implements InvoiceLineSetRemote
Modifier and Type | Field and Description |
---|---|
java.lang.String |
keyForNewInvoiceLine |
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
COMPANIES, INVBALANCES, INVENTORY, INVOICE, INVOICECOST, INVOICELINESPECCLASS, INVOICEMATCH, INVOICETRANS, MATRECTRANS, ORDERUNIT, PO, POLINE, SERVRECTRANS
INSERTONLY, INSERTORUPDATE, UPDATEONLY
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
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 |
---|
InvoiceLineSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
InvoiceLineRemote |
addInvoiceLineWithKey(java.lang.String key)
Create an invoice line with the input invoicelinenum.
|
void |
allocateServices()
This method is called by the GUI to prorate the cost of the selected service lines to the
selected lines to which the cost is to be prorated.
|
void |
allocateServices(InvoiceLineSetRemote acceptingLines)
This method is called by the GUI to allocate all the cost of the lines in this Mbo set to the
spedified material or service lines which are ready to accept the allocation.
|
void |
canAdd()
Can an object be added to the InvoiceLine?
The owner of InvoiceLine must be Invoice and the status should be ENTERED and WAPPR.
|
void |
clearAllocatedLines()
Clear the prorated info from the lines which have been prorated.
|
void |
createInvoiceLine(MboRemote receiptOrPOLine,
double qty,
double cost)
This method creates the new default invoiceline and calls the method to populate its attributes.
|
MboRemote |
getCompaniesForQueryOnly(java.lang.String vendor,
java.lang.String orgid)
IV35816/71201: multiple invoicecost may query one company.
|
MboRemote |
getInvoiceForQueryOnly(java.lang.String invoicenum,
java.lang.String siteid)
IV35816/71201: multiple invoice lines may query one invoice.
|
MboRemote |
getPOForQueryOnly(java.lang.String ponum,
java.lang.String positeid,
java.lang.String porevisionnum)
IV35816/71201: multiple invoice lines may query one PO.
|
MboRemote |
getTaxForQueryOnly(java.lang.String typeCode,
java.lang.String taxCode,
java.lang.String orgid)
IV35816/71201: multiple invoiceline may query only a small number of taxes(maybe just one) for its typeCode-up to 5.
|
java.lang.Double |
getTaxRateForQueryOnly(java.lang.String typeCode,
java.lang.String taxCode,
java.lang.String orgID,
java.lang.String currentDate)
IV35816/71201: multiple invoicelines may query one tax for its typeCode-up to 5.
|
MboRemote |
getTaxTypeForQueryOnly(java.lang.String typeCode,
java.lang.String orgid)
IV35816/71201: multiple invoicelines may query one taxType for its typeCode-up to 5.
|
boolean |
hasAllocatedLines()
Check if the set has any prorated lines.
|
void |
setCompaniesforQueryOnly(MboRemote company)
IV35816/71201: for performance
|
void |
setInvoiceforQueryOnly(MboRemote invoice)
IV35816/71201: for performance
|
void |
setPOforQueryOnly(MboRemote po)
IV35816/71201: for performance
|
void |
setTaxforQueryOnly(MboRemote tax)
IV35816/71201:for performance
|
void |
setTaxRateforQueryOnly(java.lang.String typeCode,
java.lang.String taxCode,
java.lang.String orgID,
java.lang.String currentDate,
double rate)
IV35816/71201:for Performance
|
void |
setTaxTypeforQueryOnly(MboRemote taxType)
IV35816/71201: for performance
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public InvoiceLineSet(MboServerInterface ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public InvoiceLineRemote addInvoiceLineWithKey(java.lang.String key) throws MXException, java.rmi.RemoteException
addInvoiceLineWithKey
in interface InvoiceLineSetRemote
MXException
java.rmi.RemoteException
public void createInvoiceLine(MboRemote receiptOrPOLine, double qty, double cost) throws MXException, java.rmi.RemoteException
createInvoiceLine
in interface InvoiceLineSetRemote
receiptOrPOLine
- The receipt or poline mbo from which the values will be copied.qty
- The quantity which the user will calculate and pass in.cost
- The linecost which the user will calculate and pass in.MXException
java.rmi.RemoteException
public void clearAllocatedLines() throws MXException, java.rmi.RemoteException
clearAllocatedLines
in interface InvoiceLineSetRemote
MXException
java.rmi.RemoteException
public void allocateServices() throws MXException, java.rmi.RemoteException
allocateServices
in interface InvoiceLineSetRemote
MXException
java.rmi.RemoteException
public void allocateServices(InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
allocateServices
in interface InvoiceLineSetRemote
acceptingLines
- The Mbo Set containing the lines which are about to accept the
allocation. The validity of this set is not checked. Whoever calls this method
need to make sure the acceptingLines has to contain only those line whose prorateservice
is false.MXException
java.rmi.RemoteException
allocateServices(InvoiceLineSetRemote)
public boolean hasAllocatedLines() throws MXException, java.rmi.RemoteException
hasAllocatedLines
in interface InvoiceLineSetRemote
MXException
java.rmi.RemoteException
public void canAdd() throws MXException
canAdd
in class MboSet
MXApplicationException(invoice,
- onlyAccessableByInvoice) is thrown when the owner is not InvoiceMXApplicationException(invoice,
- cannotAdd) is thrown when the Invoice status is not ENTERED or WAPPRMXException
public MboRemote getInvoiceForQueryOnly(java.lang.String invoicenum, java.lang.String siteid) throws MXException, java.rmi.RemoteException
invoicenum
- siteid
- MXException
java.rmi.RemoteException
public void setInvoiceforQueryOnly(MboRemote invoice) throws MXException, java.rmi.RemoteException
invoice
- MXException
java.rmi.RemoteException
public MboRemote getPOForQueryOnly(java.lang.String ponum, java.lang.String positeid, java.lang.String porevisionnum) throws MXException, java.rmi.RemoteException
getPOForQueryOnly
in interface InvoiceLineSetRemote
ponum
- positeid
- porevisionnum
- MXException
java.rmi.RemoteException
public void setPOforQueryOnly(MboRemote po) throws MXException, java.rmi.RemoteException
setPOforQueryOnly
in interface InvoiceLineSetRemote
po
- MXException
java.rmi.RemoteException
public MboRemote getCompaniesForQueryOnly(java.lang.String vendor, java.lang.String orgid) throws MXException, java.rmi.RemoteException
companies
- orgid
- MXException
java.rmi.RemoteException
public void setCompaniesforQueryOnly(MboRemote company) throws MXException, java.rmi.RemoteException
company
- MXException
java.rmi.RemoteException
public MboRemote getTaxTypeForQueryOnly(java.lang.String typeCode, java.lang.String orgid) throws MXException, java.rmi.RemoteException
getTaxTypeForQueryOnly
in interface InvoiceLineSetRemote
typeCode
- orgid
- MXException
java.rmi.RemoteException
public void setTaxTypeforQueryOnly(MboRemote taxType) throws MXException, java.rmi.RemoteException
setTaxTypeforQueryOnly
in interface InvoiceLineSetRemote
taxType
- MXException
java.rmi.RemoteException
public java.lang.Double getTaxRateForQueryOnly(java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgID, java.lang.String currentDate) throws MXException, java.rmi.RemoteException
getTaxRateForQueryOnly
in interface InvoiceLineSetRemote
typeCode
- taxCode
- orgID
- currentDate
- MXException
java.rmi.RemoteException
public void setTaxRateforQueryOnly(java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgID, java.lang.String currentDate, double rate) throws MXException, java.rmi.RemoteException
setTaxRateforQueryOnly
in interface InvoiceLineSetRemote
typeCode
- taxCode
- orgID
- currentDate
- rate
- MXException
java.rmi.RemoteException
public MboRemote getTaxForQueryOnly(java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgid) throws MXException, java.rmi.RemoteException
getTaxForQueryOnly
in interface InvoiceLineSetRemote
taxCode
- typeCode
- orgid
- MXException
java.rmi.RemoteException
public void setTaxforQueryOnly(MboRemote tax) throws MXException, java.rmi.RemoteException
setTaxforQueryOnly
in interface InvoiceLineSetRemote
tax
- MXException
java.rmi.RemoteException