public class InvoiceLineSet extends MboSet implements InvoiceLineSetRemote
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
keyForNewInvoiceLine |
dmDeploySet, dmDeploySkipFieldValidation, fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, mboVec, mrdVec, perfStats, strNoBaseLangValueEntered, toBeSavedCOMPANIES, INVBALANCES, INVENTORY, INVOICE, INVOICECOST, INVOICELINESPECCLASS, INVOICEMATCH, INVOICETRANS, MATRECTRANS, ORDERUNIT, PO, POLINE, SERVRECTRANSINSERTONLY, INSERTORUPDATE, UPDATEONLYALLROWS, 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, USERAPPLOGGER, 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 |
|---|
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.
|
protected Mbo |
getMboInstance(MboSet ms)
Generate a new InvoiceLine object
|
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, addAliasForML, addAliasForML, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addJoinedAttribute, addMbo, addMbo, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyAppSpecificAuthorization, 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, countAndCleanup, countAndCleanup, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, deleteMbo, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllAppAlwaysFieldFlags, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getFromClause, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboCtx, 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, getRetainRecordLimit, getRowRestrictions, getSecurityLogger, getSelectClause, getSelectClause, getSelection, getSelectionWhere, getSelectWhereClause, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTranslator, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, includeRelatedMbosOfOwnersChildren, incrementDeletedCount, init, init, initDataDictionary, insertDeltaRow, insertMbo, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEAuditFieldModified, isEAuditNeeded, isEmpty, isESigFieldModified, isESigNeeded, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isInMemorySort, isJoinedAttribute, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isRetainRecordEnabled, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeAllJoinedAttributes, removeCtx, removeJoinedAttribute, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setBindValueAsBytes, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDiscardableFlag, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboCtx, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setNoSaveFlag, setOrderBy, setOrderByNVL, setOverrideSelectClause, setOverrideSelectFromClause, setOverrideSelectWhereClause, 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, updateMbo, updateMboSetRetainMboPositionData, updateRelatedMboSetRetainMboPositionData, useStoredQuery, validate, validateTransaction, verifyESigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabortSql, 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, isDownloadSet, 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, setDownloadSet, 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, verifyESiggetBoolean, 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, setValueNullcommitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransactionpublic InvoiceLineSet(MboServerInterface ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
getMboInstance in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic InvoiceLineRemote addInvoiceLineWithKey(java.lang.String key) throws MXException, java.rmi.RemoteException
addInvoiceLineWithKey in interface InvoiceLineSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void createInvoiceLine(MboRemote receiptOrPOLine, double qty, double cost) throws MXException, java.rmi.RemoteException
createInvoiceLine in interface InvoiceLineSetRemotereceiptOrPOLine - 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.MXExceptionjava.rmi.RemoteExceptionpublic void clearAllocatedLines()
throws MXException,
java.rmi.RemoteException
clearAllocatedLines in interface InvoiceLineSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void allocateServices()
throws MXException,
java.rmi.RemoteException
allocateServices in interface InvoiceLineSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void allocateServices(InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
allocateServices in interface InvoiceLineSetRemoteacceptingLines - 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.MXExceptionjava.rmi.RemoteExceptionInvoiceLineSet.allocateServices(InvoiceLineSetRemote)public boolean hasAllocatedLines()
throws MXException,
java.rmi.RemoteException
hasAllocatedLines in interface InvoiceLineSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void canAdd()
throws MXException
canAdd in class MboSetMXApplicationException(invoice, - onlyAccessableByInvoice) is thrown when the owner is not InvoiceMXApplicationException(invoice, - cannotAdd) is thrown when the Invoice status is not ENTERED or WAPPRMXExceptionpublic MboRemote getInvoiceForQueryOnly(java.lang.String invoicenum, java.lang.String siteid) throws MXException, java.rmi.RemoteException
invoicenum - siteid - MXExceptionjava.rmi.RemoteExceptionpublic void setInvoiceforQueryOnly(MboRemote invoice) throws MXException, java.rmi.RemoteException
invoice - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getPOForQueryOnly(java.lang.String ponum, java.lang.String positeid, java.lang.String porevisionnum) throws MXException, java.rmi.RemoteException
getPOForQueryOnly in interface InvoiceLineSetRemoteponum - positeid - porevisionnum - MXExceptionjava.rmi.RemoteExceptionpublic void setPOforQueryOnly(MboRemote po) throws MXException, java.rmi.RemoteException
setPOforQueryOnly in interface InvoiceLineSetRemotepo - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getCompaniesForQueryOnly(java.lang.String vendor, java.lang.String orgid) throws MXException, java.rmi.RemoteException
companies - orgid - MXExceptionjava.rmi.RemoteExceptionpublic void setCompaniesforQueryOnly(MboRemote company) throws MXException, java.rmi.RemoteException
company - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getTaxTypeForQueryOnly(java.lang.String typeCode, java.lang.String orgid) throws MXException, java.rmi.RemoteException
getTaxTypeForQueryOnly in interface InvoiceLineSetRemotetypeCode - orgid - MXExceptionjava.rmi.RemoteExceptionpublic void setTaxTypeforQueryOnly(MboRemote taxType) throws MXException, java.rmi.RemoteException
setTaxTypeforQueryOnly in interface InvoiceLineSetRemotetaxType - MXExceptionjava.rmi.RemoteExceptionpublic 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 InvoiceLineSetRemotetypeCode - taxCode - orgID - currentDate - MXExceptionjava.rmi.RemoteExceptionpublic 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 InvoiceLineSetRemotetypeCode - taxCode - orgID - currentDate - rate - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getTaxForQueryOnly(java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgid) throws MXException, java.rmi.RemoteException
getTaxForQueryOnly in interface InvoiceLineSetRemotetaxCode - typeCode - orgid - MXExceptionjava.rmi.RemoteExceptionpublic void setTaxforQueryOnly(MboRemote tax) throws MXException, java.rmi.RemoteException
setTaxforQueryOnly in interface InvoiceLineSetRemotetax - MXExceptionjava.rmi.RemoteException