public class PDSpec extends SpecificationMbo implements PDSpecRemote
This is a system level object.
The key attributes in this object are as follows: RefObjectD, AssetAttrID, Section, RefObjectName.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
ALNValue | Alphanumeric(text) value in entered units for the attribute specified. Editable only when the attribute is of ALN type. Defaults from ClassSpec.DefaultALNValue. |
AssetAttrID | Asset attribute identifier.
|
ChangeDate | Name of the user who last modified this object. This attribute defaults to the current user unless another value is provided. |
ChangeDate | The date and time when this object was last modified. This attribute defaults to the MXServer date/time unless another value is provided. |
ClassSpecID | The identifier of the classification specification from which the attributes are copied. |
ClassStructureID | Identifier of the class structure associated with this item specification.Class structures are the hierarchies of
classifications (for example, centrifugal or rotarty pumps) around which assets can be organized.
|
DisplaySequence | A number to indicate this object's display sequence in the job task's specification. Value is copied from corresponding class specification when the job task specificition is created. |
PDSpecID | System generated unique identification of this object. |
LinkedToAttribute | The attribute to which this object is linked. |
LinkedToSection | The section to which this object is linked. |
Mandatory | Indicates whether value is needed. |
MeasureUnitID | Unit of Measure for the AlnValue or NumValue entered.
Value is initially copied from ClassSpec but can be edited after the copy.
|
NUMValue | Numeric value in entered units for the attribute specified. Editable only when the attribute is of NUMERIC type. |
OrgID | Identifier of the organization for this specification.
|
RefObjectID | Identifier of the Purchasing app to which this PDSpec is linked. |
RefObjectName | The name or object (POLine) to which this PDSpec is linked. |
Section | Section for a group of attributes. |
SiteID | Identifier of the site for this specification.espectively
|
PDOwnerID | Reference Object Owner ID. * |
copyValueChanged, numValueBeforeFormat, oldSpecMarkedUnDeleted
MULTILANGCOPY, phantomList, phantomQueue
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
Constructor and Description |
---|
PDSpec(MboSet ms)
Construct the PDSpec object.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Set default values for a new PDSpec object.
|
void |
addDetailInfor(MboRemote mbo,
MboRemote classspec)
Copying more information from owning object and ClassSpec to this PDSpec record.
|
MboRemote |
getCorrectOwner() |
MboRemote[] |
sortThisSetByRefObjectLineNum(MboSetRemote thisSet)
IV42077/89697: This spec set may be new mbos, need to sort in mboset
|
void |
updateDesc()
IV42077/89697: override here to handle pdspec's description.set the description field to be the generated value obtained from
the setup of the classstructureid (in asset catalog setup)
and the values/measureunits in the pdspec set - The PDSpecSet contains different polines with different classstructureid..
|
appValidate, canGenerateDesc, copy, generateDesc, getAssetAttributeMbo, getClassSpecRecord, getClassSpecUseWith, getClassSpecUseWith, getClassSpecUseWith, getDataType, getDomainId, getMaxTableDomainObject, getMeasureUnitId, getNumValueBeforeFormat, getTableDomainObject, init, initFieldFlagsOnMbo, modify, notifyDescChange, save, setALNOrNUMReadOnly, setAssetAttributeMbo, setCopyValueChanged, setMaxTableDomainObject, setOldSpecMarkedUndeleted, setValue, setValue, undelete, validateKeyUniqueness
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, 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, 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, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, 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, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, 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, 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, validateAttributes
public PDSpec(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
pdownerid | Current pdownerid |
refobjectid | Current refobjectid |
reobjectname | Current reobjectname |
changeby | Current username |
changedate | Current date |
add
in interface MboRemote
add
in class SpecificationMbo
MXException
java.rmi.RemoteException
public void addDetailInfor(MboRemote mbo, MboRemote classspec) throws MXException, java.rmi.RemoteException
addDetailInfor
in interface SpecificationMboRemote
addDetailInfor
in class SpecificationMbo
MXException
java.rmi.RemoteException
public void updateDesc() throws MXException, java.rmi.RemoteException
updateDesc
in class SpecificationMbo
MXException
java.rmi.RemoteException
public MboRemote[] sortThisSetByRefObjectLineNum(MboSetRemote thisSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getCorrectOwner() throws MXException, java.rmi.RemoteException
getCorrectOwner
in class SpecificationMbo
MXException
java.rmi.RemoteException