public class FinancialService extends AppService implements FinancialServiceRemote
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 | 
|---|
| FinancialService()Construct the FinancialService object. | 
| FinancialService(MXServer mxServer)Construct the FinancialService object. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAccountDefaults(UserInfo user,
                  java.lang.String defaultGroup,
                  java.lang.String orgID)Gets the GL Account default from ACCOUNTDEFAULTS that are tied to specific columns in
 the database. | 
| java.lang.String | getAccountDefaults(UserInfo user,
                  java.lang.String defaultGroup,
                  java.lang.String groupValue,
                  java.lang.String orgID)Gets the GL Account default from ACCOUNTDEFAULTS that are tied to specific columns in
 the database. | 
| java.lang.String | getActiveFinancialPeriod(UserInfo user,
                        java.util.Date transDate,
                        java.lang.String orgID)Gets an active Financial Period, if transaction date is not between periodstart and
 periodend, use where transaction date < periodend and (current date < periodclosedate
 or periodclosedate is null). | 
| java.util.Vector | getActiveFinancialPeriodInfo(UserInfo user,
                            java.util.Date transDate,
                            java.lang.String orgID)This method returns a vector of the derived financial period and it's related
 mbo remote. | 
| int | getAddTaxIndcr(UserInfo user,
              java.lang.String typeCode,
              java.lang.String orgID,
              MboRemote mbo)Get the add tax indicator using typecode. | 
| boolean[] | getIncludeTax(UserInfo user,
             java.lang.String typeCode,
             java.lang.String orgID,
             MboRemote mbo)Get the INCLUDETAX1 thru INCLUDETAX5 using typecode. | 
| java.lang.String | getSpecificFinancialPeriod(UserInfo user,
                          java.util.Date transDate,
                          java.lang.String orgID)Gets a specific Financial Period if transaction date is between periodstart and periodend
 and (current date <= periodclosedate or periodclosedate is null). | 
| double | getTaxRate(UserInfo user,
          java.lang.String typeCode,
          java.lang.String taxCode,
          java.lang.String orgID)Gets the tax rate using a combination of taxcode and typecode. | 
| MboSetRemote | getTaxSet(UserInfo user,
         java.lang.String typeCode,
         java.lang.String taxCode,
         java.lang.String orgID,
         MboRemote mbo)Get Tax MboSetRemote using typecode and taxcode. | 
| MboSetRemote | getTaxTypeSet(UserInfo user,
             java.lang.String typeCode,
             java.lang.String orgID,
             MboRemote mbo)Get TaxType MboSetRemote using typecode. | 
| boolean | glRequiredForTrans(UserInfo user,
                  java.lang.String orgID)Validate if the GL Account is required for transactions. | 
| boolean | isFullySpecified(UserInfo user,
                java.lang.String account,
                java.lang.String orgID)This method is to check if the GL account has all the components filled in or specified. | 
| void | setGLDefaultDescription(MboRemote chartOfAccount)Create a description for a GL Account based on its component descriptions. | 
| void | update(UserInfo user,
      java.lang.String updateDBCriteria,
      java.lang.String orgID)This method is called when using the action Update Database in Chart of Accounts application. | 
| boolean | validateFullGLAccount(UserInfo user,
                     java.lang.String account,
                     java.lang.String orgID)Validate if the GL Account is fully specified. | 
| boolean | validatePartialGLAccount(UserInfo user,
                        java.lang.String account,
                        java.lang.String orgID)Validate if the GL Account is partially specified. | 
| boolean | validateTax(UserInfo user,
           java.lang.String typeCode,
           java.lang.String taxCode,
           java.lang.String orgID)Validate a tax using a combination of typecode and taxcode. | 
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 FinancialService()
                 throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic FinancialService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - java.rmi.RemoteExceptionpublic boolean validateFullGLAccount(UserInfo user, java.lang.String account, java.lang.String orgID) throws MXException, java.rmi.RemoteException
validateFullGLAccount in interface FinancialServiceRemoteuser - UserInfo object to get the user.account - GL Account to be validated.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptionvalidateFullGLAccount(psdi.security.UserInfo, java.lang.String, java.lang.String)public boolean validatePartialGLAccount(UserInfo user, java.lang.String account, java.lang.String orgID) throws MXException, java.rmi.RemoteException
validatePartialGLAccount in interface FinancialServiceRemoteuser - UserInfo object to get the user.account - GL Account to be validated.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptionvalidatePartialGLAccount(psdi.security.UserInfo, java.lang.String, java.lang.String)public java.lang.String getSpecificFinancialPeriod(UserInfo user, java.util.Date transDate, java.lang.String orgID) throws MXException, java.rmi.RemoteException
getSpecificFinancialPeriod in interface FinancialServiceRemoteuser - UserInfo object to get the user.transDate - Date on which the transaction occurs.orgID - The organization identifier.MXApplicationException - (financial, invalidfinperiod) The financial period for this
                transaction is invalid.MXExceptionjava.rmi.RemoteExceptiongetSpecificFinancialPeriod(psdi.security.UserInfo, java.util.Date, java.lang.String)public java.lang.String getActiveFinancialPeriod(UserInfo user, java.util.Date transDate, java.lang.String orgID) throws MXException, java.rmi.RemoteException
getActiveFinancialPeriod in interface FinancialServiceRemoteuser - UserInfo object to get the user.transDate - Date on which the transaction occurs.orgID - The organization identifier.MXApplicationException - (financial, invalidfinperiod) The financial period for this
                transaction is invalid.MXApplicationException - (financial, closedfinperiod) The financial period for this
                date is closed.MXExceptionjava.rmi.RemoteExceptiongetActiveFinancialPeriod(psdi.security.UserInfo, java.util.Date, java.lang.String)public java.lang.String getAccountDefaults(UserInfo user, java.lang.String defaultGroup, java.lang.String groupValue, java.lang.String orgID) throws MXException, java.rmi.RemoteException
The type of accounts or resource codes passed for the method parameter defaultGroup are:
 see AccountDefaults for details on these default accounts.
 
getAccountDefaults in interface FinancialServiceRemoteuser - UserInfo object to get the user.groupValue - defaultGroup - orgID - MXExceptionjava.rmi.RemoteExceptiongetAccountDefaults(UserInfo, String, String)public java.lang.String getAccountDefaults(UserInfo user, java.lang.String defaultGroup, java.lang.String orgID) throws MXException, java.rmi.RemoteException
getAccountDefaults in interface FinancialServiceRemoteuser - UserInfo object to get the user.groupValue - defaultGroup - orgID - MXExceptionjava.rmi.RemoteExceptionpsdi.app.financial.FinancialService#getAccountDefaults(UserInfo, String)public boolean validateTax(UserInfo user, java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgID) throws MXException, java.rmi.RemoteException
validateTax in interface FinancialServiceRemoteuser - UserInfo object to get the user.typeCode - The tax type.taxCode - The tax code to be validated.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptionvalidateTax(psdi.security.UserInfo, java.lang.String, java.lang.String, java.lang.String)public double getTaxRate(UserInfo user, java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgID) throws MXException, java.rmi.RemoteException
getTaxRate in interface FinancialServiceRemoteuser - UserInfo object to get the user.taxCode - The tax code.typeCode - The tax type.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptiongetTaxRate(psdi.security.UserInfo, java.lang.String, java.lang.String, java.lang.String)public int getAddTaxIndcr(UserInfo user, java.lang.String typeCode, java.lang.String orgID, MboRemote mbo) throws MXException, java.rmi.RemoteException
getAddTaxIndcr in interface FinancialServiceRemoteuser - UserInfo object to get the user.typeCode - The tax type.orgID - The organization identifier.mbo - The passed in mbo remote.MXExceptionjava.rmi.RemoteExceptiongetAddTaxIndcr(psdi.security.UserInfo, java.lang.String, java.lang.String, psdi.mbo.MboRemote)public boolean[] getIncludeTax(UserInfo user, java.lang.String typeCode, java.lang.String orgID, MboRemote mbo) throws MXException, java.rmi.RemoteException
getIncludeTax in interface FinancialServiceRemoteuser - UserInfo object to get the user.typeCode - The tax type.orgID - The organization identifier.mbo - The passed in mbo remote.MXExceptionjava.rmi.RemoteExceptiongetIncludeTax(psdi.security.UserInfo, java.lang.String, java.lang.String, psdi.mbo.MboRemote)public MboSetRemote getTaxTypeSet(UserInfo user, java.lang.String typeCode, java.lang.String orgID, MboRemote mbo) throws MXException, java.rmi.RemoteException
getTaxTypeSet in interface FinancialServiceRemoteuser - UserInfo object to get the user.typeCode - The tax type.orgID - The organization identifier.mbo - The passed in mbo remote.MXExceptionjava.rmi.RemoteExceptiongetTaxTypeSet(psdi.security.UserInfo, java.lang.String, java.lang.String, psdi.mbo.MboRemote)public MboSetRemote getTaxSet(UserInfo user, java.lang.String typeCode, java.lang.String taxCode, java.lang.String orgID, MboRemote mbo) throws MXException, java.rmi.RemoteException
getTaxSet in interface FinancialServiceRemoteuser - UserInfo object to get the user.typeCode - The tax type.taxCode - The tax code.orgID - The organization identifier.mbo - The passed in mbo remote.MXExceptionjava.rmi.RemoteExceptiongetTaxSet(psdi.security.UserInfo, java.lang.String, java.lang.String, java.lang.String, psdi.mbo.MboRemote)public boolean isFullySpecified(UserInfo user, java.lang.String account, java.lang.String orgID) throws MXException, java.rmi.RemoteException
isFullySpecified in interface FinancialServiceRemoteUserInfo - user UserInfo object to get the user.String - account The GL account string.MXExceptionjava.rmi.RemoteExceptionisFullySpecified(psdi.security.UserInfo, java.lang.String, java.lang.String)public void update(UserInfo user, java.lang.String updateDBCriteria, java.lang.String orgID) throws MXException, java.rmi.RemoteException
update in interface FinancialServiceRemoteuser - The user info.updateDatabase - The criteria used for the update.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptionupdate(psdi.security.UserInfo, java.lang.String, java.lang.String)public boolean glRequiredForTrans(UserInfo user, java.lang.String orgID) throws MXException, java.rmi.RemoteException
glRequiredForTrans in interface FinancialServiceRemoteuser - UserInfo object to get the user.orgID - The organization identifier.MXExceptionjava.rmi.RemoteExceptionglRequiredForTrans(psdi.security.UserInfo, java.lang.String)public void setGLDefaultDescription(MboRemote chartOfAccount) throws MXException, java.rmi.RemoteException
setGLDefaultDescription in interface FinancialServiceRemotechartOfAccount - Chart of accounts MboRemote.MXExceptionjava.rmi.RemoteExceptionsetGLDefaultDescription(psdi.mbo.MboRemote)public java.util.Vector getActiveFinancialPeriodInfo(UserInfo user, java.util.Date transDate, java.lang.String orgID) throws MXException, java.rmi.RemoteException
getActiveFinancialPeriodInfo in interface FinancialServiceRemoteMXExceptionjava.rmi.RemoteExceptiongetActiveFinancialPeriodInfo(psdi.security.UserInfo, java.util.Date, java.lang.String)