public class LabTrans extends Mbo implements LabTransRemote
This is a Site level object.
The key attributes for this object are SiteId and LabTransID.
The attributes in this object are as follows:
Attribute Description
Attribute | Description |
---|---|
AssetNum | Asset Number |
Contractnum | Labor Contract that an outside Laborer was working under. |
Craft | Craft |
EnterBy | Approved By (Authorized Manager Signature) |
EnterDate | Date Labor Was Reported |
EnteredAsTask | Was this transaction created against a work order task? |
ExchangeRate2 | Base Exchange Rate 2 |
ExternalRefID | External Reference ID |
FinancialPeriod | Financial period in a format corresponding to that required by the accounting system. |
FinCntrlID | Financial Control Identifier |
FinishDate | Finish Date For Transaction |
FinishTime | Finish Time For Transaction |
GenApprServReceipt | Indicates whether or not this transaction has been approved and a service receipt can be written |
GLCreditAcct | GL Contra Account. |
GLDebitAcct | GL Account. |
LaborCode | Labor Code |
LabtransID | Primary key for the table |
LineCost | Extended or lump sum cost of transaction line. |
LineCost2 | Base Currency Line Cost 2. |
Location | Charge Location. |
Memo | A memo field that can be used to make any notes about work carried out. |
OrgId | Identifier for the Organization of this Labor Transaction |
Outside | Should Transactions be Tracked as Outside Costs? |
OwnerSysID | Owner System ID |
PaymentTransDate | Indicates the date and time a payment transaction has been created |
PayRate | Rate At Which Labor Is Paid |
POLineNum | PO line item number. |
PONum | Purchase order number that is labor is being purchased on. |
PremiumPayCode | Premium Pay Code for labor transaction. |
PremiumPayHours | Premium Pay Hours for labor transaction. |
PremiumPayRate | Premium Pay Rate for labor transaction. |
RegularHrs | Regular Hours Worked |
Revisionnum | The Active Revision Number of the defined Contract for this Labor Transaction. |
RefWO | Referenced Work Order |
Rollup | Indicates whether this transaction has been rolled up. |
SenderSysID | Column used by ERP-Integration (APIs) |
ServRecTransID | Created when Create service Receipt is used |
SiteId | Identifier for the site of this Labor Transaction |
SourceSysID | Source System ID |
SkillLevel | Defines the Skill used by the laborer |
StartDate | Start Date For Transaction |
StartTime | Start Time For Transaction |
TransDate | Timestamp - Key To Table |
TransType | Transaction Type For Transaction |
Vendor | Vendor for the labor transaction |
WONum | Work Order Number. This is a non-persistent column. |
Attendance
,
psdi.app.labor.LaborAuth
,
Labor
,
ServRecTrans
Modifier and Type | Field and Description |
---|---|
boolean |
isSetFromLabtrans
Flag used to prevent FldClass Validation from triggering when setting the Regularhrs value.
|
int |
numberOfTimesSetByLabTransNotByUser
12-13761/IV24110:since the three instance values are very closely interacted, the
logic is very specific to fix 12-13761: In Select Planned Labor, the regularhrs copied
from assignment.laborhrs is setValue with NONE flag.
|
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 |
---|
LabTrans(MboSet ms)
Construct the Labor Transactionobject
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add a new Labtrans Object.
|
void |
approveLaborTransaction()
This function will attempt to approve those rows selected from WoList (Labor Transactions).
|
void |
appValidate()
Based on a maxvar value check if the GL debit and credit accounts are required for this transaction.
|
void |
canDelete()
Check that only unapproved labor transaction can be deleted
|
void |
checkDates()
Check startdate, starttime, finishdate and finishtime validity
If the startdate is later than the finishdate or if the combination of startdate and starttime
is laterthan than the combination of finishdate and finishtime, then throw the exception
|
void |
checkFinishDateTime()
Validation for FinishDate and FinishTime
If the finishdate is null, finishtime and starttime are not null, then the calculate and set the
value for finishdate
If the finishtime is null, finishdate and starttime are not null, then calculate and set the
value for finishtime.
|
void |
checkForApprContractAsOfStartDate()
Checks to see if a contract exists that is APPR before the entered start date.
|
boolean |
checkforPORequired()
This method will check if a PO and POLine are required before saving or approving.
|
void |
checkOwner()
set rdonly fields based on the owner of this set (workorder or labtrans)
|
void |
checkRegularAndPremiumHrs()
Validation for Regular hrs.
|
void |
checkStartDateTime()
Validation for Startdate and Starttime
If the starttime is null, finishdate, finishtime, regularhrs are not null, then calculate and set the
the starttime value.
|
void |
checkTransType()
When the transtype = 'WORK', either of the fields refwo, assetnum, location, gldebitacct or glcreditacct
should be filled in.
|
void |
checkValidFinishDtTm()
Validate finish date and time, if it is manually entered or calculated.
|
void |
checkValidStartDtTm()
Validate start date and time, if it is manually entered or calculated.
|
void |
delete(long accessModifier)
Subtracts the line cost from WO.ActLabCost.
|
int |
getContractCountPrompt() |
java.lang.String |
getCriteriaForContract()
Create sql for contract criteria
|
java.lang.String |
getCriteriaForContractWithRevision()
Create sql for contract criteria.
|
double |
getDatesDiff()
Return the time difference between the startdate, starttime, finishdate and finishtime.
|
double |
getExchangeRate()
Sets exchangerate2 field
|
java.util.Date |
getOffsetDateTime(java.util.Date dateValue,
java.util.Date timeValue,
boolean plus) |
double |
getPayRate()
Return payrate depending on labor, craft combination
|
PORemote |
getPO()
Deprecated.
|
double |
getTotalHrs()
Return the totalhrs for regularhrs and othrs
|
int |
getTotalHrsinMinutes()
Return the totalhrs in minutes for regularhrs and othrs
|
java.lang.String[] |
getValidateOrder()
Validate order of LabTrans order attributes.
|
void |
init()
init overridden to make existing records read/only
|
boolean |
isUncommitted()
Does this LabTrans have values not committed to the database?
|
void |
modify()
The first time a field of a labtrans object is modified.
|
void |
setContractCountPrompt(int count) |
void |
setContractException(MXApplicationYesNoCancelException mxe) |
void |
setContractRevision()
Set the revisionnum when contractnum is not null and for the valid startdate and starttime
|
void |
setDateTimeEntered() |
void |
setLineCost()
Calculates the line cost for the labor transaction record
|
void |
setSelectedValues(MboRemote mbo)
This method will set the values from the selected record from the source mbo to the multiple fields
in the target mbo.
|
void |
setUncommitted(boolean uncommitted)
Set the uncommitted flag
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
12-13761/IV24110: in Select Planned Labor from wotrack or quick rep WO.copyPlanLaborToLabTransSet,
the add() method defaults regularhours to 0 and then copies the assignment.laborhrs to labtrans.regularhrs.
|
void |
setValuesForFinishDtTm()
This will set the values for finish date and time when there is a change
in the comination of start date and time or regularhrs and othrs
|
void |
setValuesForRegularPremiumHrs()
This will set the values for regularhrs and othrs when there is a change
in the date and time values
|
void |
setValuesForStartDtTm()
This will set the values for start date and time when there is a change
in the comination of finish date and time or regularhrs and othrs
|
MboSetRemote |
smartFindByObjectName(java.lang.String sourceObj,
java.lang.String targetAttrName,
java.lang.String value,
boolean exact)
Find a set of records of the object of the specified the application
by the specified attribute and values of the current record.
|
void |
undelete()
Adds the line cost to WO.ActLabCost.
|
void |
updateActualLabCost()
Updates Actual labor cost on workorder when the linecost is updated for this transaction,
if the workorder owns this labor transaction
|
void |
updateActualLabwithPremiumHrs()
Updates Actual labor hrs on workorder when the premiumpay hours are entered,
if the workorder owns this labor transaction
|
void |
updateActualLabwithRegularHrs()
Updates Actual labor hrs on workorder when the regularhrs are entered,
if the workorder owns this labor transaction
|
java.util.Date |
validateDateTime(java.util.Date date,
java.util.Date time)
This method will take two dates as a parameters and remove the date section from
one and combine it with the time section from the other.
|
java.util.Date |
validateDateTimeWithTimeZone(java.util.Date date,
java.util.Date time)
This method will take two dates as a parameters and remove the date section from
one and combine it with the time section from the other.
|
java.util.Date |
validateDateTimeWithUserTimeZone(java.util.Date date,
java.util.Date time)
IJ07852: Fix per Sarika.
|
void |
validateFutureTolerance()
Validation for future tolerance.
|
void |
validatePOforApproval()
Validate PO before approving labor transaction.
|
POLineRemote |
validatePOLineforApproval()
The PoLine specified must be a service line and the PoLine must not be complete for approval and the POLINE
must not be PRORATED.
|
void |
validateVendor()
Labor and Vendor mismatch is not allowed any time.
|
void |
validateWOAcceptsCharges()
Check to validate the workorder associated with this transactions has the acceptscharges true.
|
boolean |
validDates()
Return true if startdate, starttime, finishdate and finishtime are not null
|
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, 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, 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, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, 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, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, 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, 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, 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, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public boolean isSetFromLabtrans
public int numberOfTimesSetByLabTransNotByUser
public LabTrans(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
Attribute Name | Attribute Value |
---|---|
enterdate | current date |
enterby | current user |
transdate | current date |
startdate | current date |
starttime | current time |
regularhrs | 0.0 |
transtype | transtype (DefaultValue("lttype","WORK")) |
linecost | 0.0 |
rollup | No |
outside | No |
genapprservreceipt | No |
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void checkOwner() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXApplicationException
- (financial, GLRequiredForTrans) The debit and credit GL accounts
require a value.MXException
java.rmi.RemoteException
checkforPORequired()
public void approveLaborTransaction() throws MXException, java.rmi.RemoteException
approveLaborTransaction
in interface LabTransRemote
MXException
java.rmi.RemoteException
validatePOforApproval()
,
validatePOLineforApproval()
public void validatePOforApproval() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public POLineRemote validatePOLineforApproval() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setLineCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getExchangeRate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public PORemote getPO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public boolean checkforPORequired() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public void checkTransType() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getPayRate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateActualLabwithRegularHrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateActualLabwithPremiumHrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateActualLabCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateVendor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateWOAcceptsCharges() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setSelectedValues(MboRemote mbo) throws MXException, java.rmi.RemoteException
setSelectedValues
in interface LabTransRemote
MXException
java.rmi.RemoteException
public java.lang.String getCriteriaForContract() throws MXException, java.rmi.RemoteException
getCriteriaForContract
in interface LabTransRemote
MXException
java.rmi.RemoteException
public java.lang.String getCriteriaForContractWithRevision() throws MXException, java.rmi.RemoteException
getCriteriaForContractWithRevision
in interface LabTransRemote
MXException
java.rmi.RemoteException
public void setContractRevision() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getTotalHrsinMinutes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getTotalHrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValuesForRegularPremiumHrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValuesForStartDtTm() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValuesForFinishDtTm() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkStartDateTime() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkFinishDateTime() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkValidFinishDtTm() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkValidStartDtTm() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getDatesDiff() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean validDates() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkDates() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkRegularAndPremiumHrs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date validateDateTime(java.util.Date date, java.util.Date time) throws MXException, java.rmi.RemoteException
validateDateTime
in interface LabTransRemote
time
- date
- MXException
java.rmi.RemoteException
public java.util.Date validateDateTimeWithUserTimeZone(java.util.Date date, java.util.Date time) throws MXException, java.rmi.RemoteException
validateDateTimeWithUserTimeZone
in interface LabTransRemote
time
- date
- MXException
java.rmi.RemoteException
public java.util.Date validateDateTimeWithTimeZone(java.util.Date date, java.util.Date time) throws MXException, java.rmi.RemoteException
validateDateTimeWithTimeZone
in interface LabTransRemote
time
- date
- MXException
java.rmi.RemoteException
public void validateFutureTolerance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isUncommitted()
public void setUncommitted(boolean uncommitted)
uncommitted
- What to set the flag to.public MboSetRemote smartFindByObjectName(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindByObjectName
in interface MboRemote
smartFindByObjectName
in class Mbo
MXException
java.rmi.RemoteException
psdi.mbo.Mbo#smartFindByObjectName()
public void checkForApprContractAsOfStartDate() throws MXException, java.rmi.RemoteException
MXException
- If a contract exists, but does not have a status of APPR.java.rmi.RemoteException
public void setValue(java.lang.String attributeName, java.lang.String val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
setValue
in class Mbo
attributeName
- The attribute name within the current object.val
- The string value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a string value of characters to an
attribute which has datatype of YORN.java.rmi.RemoteException
Mbo.setValue(String,String,long)
public void setContractException(MXApplicationYesNoCancelException mxe)
setContractException
in interface LabTransRemote
public void setContractCountPrompt(int count)
public int getContractCountPrompt()
public java.util.Date getOffsetDateTime(java.util.Date dateValue, java.util.Date timeValue, boolean plus) throws java.rmi.RemoteException
getOffsetDateTime
in interface LabTransRemote
java.rmi.RemoteException
public void setDateTimeEntered() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException