public class InvoiceService extends AppService implements InvoiceServiceRemote
APPLOGGER, 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 |
|---|
InvoiceService() |
InvoiceService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
MboSetRemote |
addConsignmentTransactions(MboRemote transMbo,
UserInfo userInfo)
Add consignment transaction records to consignment transaction set
|
void |
changeStatus(InvoiceRemote invoice,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
InvoiceLineRemote |
createInvoiceLine(InvoiceRemote invoice,
java.lang.String linenum)
Create Invoice Line of an invoice through Invoice Service.
|
InvoiceSetRemote |
createInvoicesForConsignment(UserInfo userInfo,
MboSetRemote transSet,
java.lang.String invGenType)
Creates invoices for the passed in transaction mbo set.
|
MboSetRemote |
getConsignmentTransactions(java.lang.String invGenType,
UserInfo userInfo,
java.lang.String vendor)
Get "uninvoiced" consignment transaction records from MatRecTrans, MatUseTrans, and Invtrans objects
|
void |
setInventoryNextInvoiceDate(MboSetRemote consTransactionSet)
Set next invoice date (inventory) for the passed in consignment transaction records
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic InvoiceService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic InvoiceService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic MboSetRemote getConsignmentTransactions(java.lang.String invGenType, UserInfo userInfo, java.lang.String vendor) throws MXException, java.rmi.RemoteException
getConsignmentTransactions in interface InvoiceServiceRemoteinvoice - generation type comma separated string of types in quotes like "'FREQUENCY', 'MANUAL'"MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote addConsignmentTransactions(MboRemote transMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
addConsignmentTransactions in interface InvoiceServiceRemotetransaction - set (MatUseTrans, MatRecTrans, or InvTrans)MXExceptionjava.rmi.RemoteExceptionpublic void setInventoryNextInvoiceDate(MboSetRemote consTransactionSet) throws MXException, java.rmi.RemoteException
setInventoryNextInvoiceDate in interface InvoiceServiceRemoteconsignment - transaction records.MXExceptionjava.rmi.RemoteExceptionpublic InvoiceLineRemote createInvoiceLine(InvoiceRemote invoice, java.lang.String linenum) throws MXException, java.rmi.RemoteException
createInvoiceLine in interface InvoiceServiceRemoteinvoice - The invoice where the line is added to.linenum - The invoiceline number of the new invoiceline to be created.MXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(InvoiceRemote invoice, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus in interface InvoiceServiceRemoteInvoice - Invoice Mbositeid - SiteID of the Invoicestatus - The new statusdate - The datememo - The memo.MXApplicationException("invoice", - "invalidstatuschange");
MXApplicationException("invoice", "StatusDate")
MXApplicationException(""invoice", "CanCancelForSchedulePO")MXExceptionjava.rmi.RemoteExceptionthrows MXException, RemoteExceptionpublic InvoiceSetRemote createInvoicesForConsignment(UserInfo userInfo, MboSetRemote transSet, java.lang.String invGenType) throws MXException, java.rmi.RemoteException
createInvoicesForConsignment in interface InvoiceServiceRemoteuserInfo - transSet - MXExceptionjava.rmi.RemoteExceptioncreateInvoicesForConsignment(psdi.security.UserInfo, psdi.mbo.MboSetRemote, java.lang.String)