public class DepSched extends Mbo implements DepSchedRemote
This is a site level object.
The key attributes for this object are as follows: SiteId, Assetnum, PeriodNum.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
DepScheduleId | Unique ID |
Assetnum | Vehicle ID |
CurrentAssetValue | Depreciated value of the asset for this period. |
DepreciationAmt | Depreciation amount for this period. |
DepreciationDate | Date of this depreciation period. |
MeterLTD | Meter reading at which this depreciation period occurs. |
OrgId | Identifier of the organization for this depreciation period.
|
Periodnum | System generated sequential number identifying the period in the depreciation schedule. |
RecalcPoint | Non-persistent attribute. Point from which the depreciation schedule is recalculated. |
SiteId | Identifier of the site for this depreciation period.
|
TotalDep | Total depreciation for this asset up to and including this period. |
MULTILANGCOPY, phantomList, phantomQueue
CALCDAY_FIRST, CALCDAY_LAST, DOMAIN_DEPEXPLIFEUOM, DOMAIN_DEPMETHOD, DOMAIN_DEPPERIODTYPE, DOMAIN_DEPSTARTINGPOINT, EXPLIFE_UOM_MONTH, EXPLIFE_UOM_QTR, EXPLIFE_UOM_SEMIYEAR, EXPLIFE_UOM_YEAR, FIELD_ADJUSTED_DEPRECIATED_VALUE, FIELD_ASSETNUM, FIELD_CALCDAY, FIELD_CREATEGLTRANS, FIELD_CURRENTVALUE, FIELD_DEPAMT, FIELD_DEPDATE, FIELD_DEPMETERLTD, FIELD_DEPRECIATIONNUM, FIELD_DEPSCHEDNUM, FIELD_EXPECTEDLIFE, FIELD_EXPECTEDLIFEUOM, FIELD_FINANCIAL, FIELD_GLCREDITACCT, FIELD_GLDEBITACCT, FIELD_GLTRANSCREATED, FIELD_METERNAME, FIELD_METERSTART, FIELD_METHOD, FIELD_ORGID, FIELD_PERIODNUM, FIELD_PERIODS, FIELD_PERIODTYPE, FIELD_RATIO, FIELD_RECALCPOINT, FIELD_REMAININGALLOCNP, FIELD_SALVAGEAMT, FIELD_STARTDATE, FIELD_STARTINGCOST, FIELD_STARTINGPOINT, FIELD_TOTALDEP, MBOSET_DEPHISTORY, MBOSET_DEPPREVIEW, MBOSET_DEPRECIATION, MBOSET_DEPSCHEDHISTORY, MBOSET_DEPSCHEDPERIODS, MBOSET_DEPSCHEDULE, METHOD_SL, PERIOD_TYPE_DATE, PERIOD_TYPE_METER
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
Modifier and Type | Method and Description |
---|---|
void |
add()
sets field defaults for a new DepSchedule object
|
void |
generateDepreciationFinTransaction() |
void |
generateDepreciationSchedulePeriod()
Create a set of depreciation schedule periods to save on database
|
void |
generateDepreciationSchedulePreview()
Create a set of depreciation schedule preview
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Method for propagating key value.
|
boolean |
recalcPoint(DepSchedPeriodsSetRemote mboSetTarget)
Check if there is some period set as recalc point
|
void |
validatePreview() |
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public DepSched(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void validatePreview() throws MXException, java.rmi.RemoteException
validatePreview
in interface DepSchedRemote
MXException
java.rmi.RemoteException
validatePreview()
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
Mbo
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
MXException
java.rmi.RemoteException
public void init() throws MXException
Mbo
init
in class Mbo
MXException
public void generateDepreciationSchedulePeriod() throws MXException, java.rmi.RemoteException
generateDepreciationSchedulePeriod
in interface DepSchedRemote
MXException
java.rmi.RemoteException
generateDepreciationSchedulePeriod()
public void generateDepreciationSchedulePreview() throws MXException, java.rmi.RemoteException
generateDepreciationSchedulePreview
in interface DepSchedRemote
MXException
java.rmi.RemoteException
generateDepreciationSchedulePreview()
public boolean recalcPoint(DepSchedPeriodsSetRemote mboSetTarget) throws java.rmi.RemoteException, MXException
recalcPoint
in interface DepSchedRemote
mboSetTarget
- - depreciation schedule periodsjava.rmi.RemoteException
MXException
recalcPoint(DepSchedPeriodsSetRemote mboSetTarget)
public void generateDepreciationFinTransaction() throws MXException, java.rmi.RemoteException
generateDepreciationFinTransaction
in interface DepSchedRemote
MXException
java.rmi.RemoteException