public class InvoiceService extends AppService implements InvoiceServiceRemote
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 |
---|
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, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public InvoiceService() throws java.rmi.RemoteException
java.rmi.RemoteException
public InvoiceService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
public MboSetRemote getConsignmentTransactions(java.lang.String invGenType, UserInfo userInfo, java.lang.String vendor) throws MXException, java.rmi.RemoteException
getConsignmentTransactions
in interface InvoiceServiceRemote
invoice
- generation type comma separated string of types in quotes like "'FREQUENCY', 'MANUAL'"MXException
java.rmi.RemoteException
public MboSetRemote addConsignmentTransactions(MboRemote transMbo, UserInfo userInfo) throws MXException, java.rmi.RemoteException
addConsignmentTransactions
in interface InvoiceServiceRemote
transaction
- set (MatUseTrans, MatRecTrans, or InvTrans)MXException
java.rmi.RemoteException
public void setInventoryNextInvoiceDate(MboSetRemote consTransactionSet) throws MXException, java.rmi.RemoteException
setInventoryNextInvoiceDate
in interface InvoiceServiceRemote
consignment
- transaction records.MXException
java.rmi.RemoteException
public InvoiceLineRemote createInvoiceLine(InvoiceRemote invoice, java.lang.String linenum) throws MXException, java.rmi.RemoteException
createInvoiceLine
in interface InvoiceServiceRemote
invoice
- The invoice where the line is added to.linenum
- The invoiceline number of the new invoiceline to be created.MXException
java.rmi.RemoteException
public void changeStatus(InvoiceRemote invoice, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus
in interface InvoiceServiceRemote
Invoice
- Invoice Mbositeid
- SiteID of the Invoicestatus
- The new statusdate
- The datememo
- The memo.MXApplicationException("invoice",
- "invalidstatuschange");
MXApplicationException("invoice", "StatusDate")
MXApplicationException(""invoice", "CanCancelForSchedulePO")MXException
java.rmi.RemoteException
throws MXException, RemoteException
public InvoiceSetRemote createInvoicesForConsignment(UserInfo userInfo, MboSetRemote transSet, java.lang.String invGenType) throws MXException, java.rmi.RemoteException
createInvoicesForConsignment
in interface InvoiceServiceRemote
userInfo
- transSet
- MXException
java.rmi.RemoteException
createInvoicesForConsignment(psdi.security.UserInfo, psdi.mbo.MboSetRemote, java.lang.String)