public class FinControl extends Mbo implements FinControlRemote
See Financial Package description.
This is an organization/site level object.
The key attributes for this object are OrgId and FinCntrlID.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| ActualCost | Actual amount. |
| AllocatedCost | Allocated cost. |
| AsOfDate | Date last reported. |
| BudgetCost | Budgeted Amount. |
| BudgetID | Budget Identifier. |
| BudgetLineID | Budget Line Identifier. |
| BudgetLineType | Budget line type. |
| BudgetType | Budget type. |
| BurdenedCost | Burdened Amount. |
| ChangeBy | The name or user ID of the person who last modified the financial control entity. |
| ChangeDate | The date and time when financial control entity was last modified. |
| CommittedCost | Committed Amount. |
| Description | Description of the financial control entity. |
| Disabled | Indicates whether the financial control entity has been disabled from use. |
EndDate | Effective finish date for the financial control entity. |
| FCStatus | Status of the financial control entity. |
| FCType | Financial control type. |
| IsChargeAble | Indicates whether costs can be collected for this cost entity. |
| IsSummary | Indicates whether this is a summary reporting cost entity. |
| LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
| OrgId | Identifier of the organization
for this financial control entity.
|
| OwnerSysID | Application system managing the financial control entity. |
FldFinControlParentFCID | Parent Financial Control Identifier. |
ParentProjectID | Non-persistent attribute which stores the parent projectid for this financial control entity. |
ParentTaskID | Non-persistent attribute which stores the parent taskid for this financial control entity. |
ProjectID | Project Identifier. |
| ProjectType | Project type. |
| RemainingCost | Remaining Amount. |
| SenderSysID | Column used by ERP-Integration (APIs). |
| SiteId | Identifier of the site for this financial control entity.
|
| SourceID | Source Identifier. |
| SourceSysID | Souce application system for this financial control entity. |
StartDate | Effective start date for the financial control entity. |
| TaskID | Task Identifier. |
| TaskLevel | Level from the top in a parent-child task-subtask relationship. |
| TaskType | Task type. |
| TemplateID | Template Identifier. |
MULTILANGCOPY, phantomList, phantomQueueALLROWS, 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| Constructor and Description |
|---|
FinControl(MboSet ms)
Construct the FinControl object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
This is called when a new financial control identifier is added to the FinControl MboSet
collection.
|
void |
appValidate()
This method is called by the framework before save.
|
void |
canDelete()
This method will be called before the actual deletion of the mbos.
|
void |
checkChildren(MboRemote fcMbo)
Since cost management has a hierarchy which can be several levels deep, we have to check
if any of the children's fincntrlid is the same as the parentfincntrlid which is being set.
|
void |
delete(long accessModifier)
Deleting a Project will result in all the Tasks for that Project being deleted.
|
void |
generateAutoKey()
Financial Control supports autokeying - sets the FINCNTRLID attribute.
|
java.lang.String[] |
getValidateOrder()
Override the system method.
|
void |
init()
Initialize rountine.
|
void |
modify()
This is called whenever a change is made to the attributes of FinControl.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, 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, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, 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, 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, propagateKeyValue, 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, validateAttributespublic FinControl(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| actualcost | 0.0(zero) |
| changeby | Current username |
| changedate | Current date |
| disabled | No |
| fcstatus | APPR |
| fctype | PROJECT/TASK |
| ischargeable | Yes |
| issummary | No |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class MboMXAccessException - (access, CantGenAutoKey) Cannot generate auto key.java.rmi.RemoteExceptionMXExceptionMboValue.autoKey(),
MboValue.generateUniqueID()public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXApplicationException - (financial, CannotDeleteParentProject) Cannot delete a parent project.MXApplicationException - (financial, CannotDeleteParentTask) Cannot delete a parent task.MXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class Mbolong - accessModifierMXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXApplicationException - (financial, ProjectRequired) Project is required.MXApplicationException - (financial, TaskRequired) Task is required.MXApplicationException - (financial, DuplicateTask) The Task already exists.MXExceptionjava.rmi.RemoteExceptionpublic void checkChildren(MboRemote fcMbo) throws MXException, java.rmi.RemoteException
MboRemote - fcMbo The financial control mbo whose children are to be checked.MXApplicationException - (financial, CannotUseAsParent) Cannot use child as parent.MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] getValidateOrder()
getValidateOrder in class Mbo