public class WarrantyView extends Contract implements WarrantyViewRemote
| Attribute Name | Description |
|---|---|
| AutoExtendPeriod | Auto extend period in days. |
| BuyAhead | Is this a buy ahead rate, ie entered directly by the user and not calculated from the list of active exchange rates. |
| ChangeBy, ChangeDate | The name of the person who last modified the form and the date on which the form was last modified. |
| CondForExt | Conditions for extension. |
| Contact | Vendors' contact name. |
| ContractId | Unique identifier for every Contract in the database. Every Contract has a unique ContractID.* |
| ContractNum | Contract Number. This is one of the key fields. Each ContractNum need not be unique. Every new revision of the same contract will carry the same contract number. |
| ContractType | Indicates whether the type of the contract is Labor or Lease or Maintenance or Purchase or Rental or Software License or Warranty. |
CurrencyCode | Currencycode of the Contract. |
| CustNotifyPeriod | Customer notification period in days. |
| CustomerNum | Vendors' number identifying our company. |
| CustomerTermAllowed | Flag to indicate if early termination is allowed by the customer. |
| Description | Description of the Purchase Contract. |
| Description_LongDescription | Long description of the Purchase Contract. |
| EndDate | Date when is Contract is no longer valid. |
| ExchangeDate | Date on which the exchange rate was obtained. |
| ExchangeRate | Exchange rate at the time of contract approval. |
| ExchangeRate2 | Exchangerate in basecurrency2. |
| Extendable | Is the contract extendable? |
| FOB | Freight on Board. The point where responsibility and liability are transferred. |
| FreightTerms | The terms under which the shipment is made. For example, the field may contain "Perishable goods. Deliver ASAP" |
| HasInsurance | Does this vendor have a current insurance policy ? |
| HistoryFlag | Flag indicating history Purchase Contracts. |
| Inclusive | Flag indicating if the Contract Total is inclusive of the same number Tax field. (e.g. Inclusive1 ... Tax1, Inclusive2 .. Tax2, etc.) |
| InsuranceExpDate | Expiration date of the vendors insurance policy. |
| MasterNum | Master Contract Number. |
OrgId | Identifier of the organization for this Contract.
|
| PaymentSched | Is there a payment schedule for this contract? |
| PaymentTerms | Specified terms of payment for this vendor. For example we can say "TEN " which means the invoice will be paid with 10 days. |
| PORequired | Will a PO be required for this contract? |
| PurchaseAgent | The name of the Purchase Agent. |
| RenewalDate | Date that the contract can be renewed. |
| RevComments | Revision Comments. |
| RevisionNum | Revision number of the contract. |
| ShipVia | Specifies how the goods should be shipped (FedEx,UPS etc) |
StartDate | Beginning of the Validity period of a contract. |
| Status | The status of the Contract. Can be one of approved, draft, waiting for approval, canceled, closed, waiting to start, expired. |
| StatusDate | The date on which the status of this contract was changed. |
| TotalBaseCost | The total cost of the contract in Base Currency 1. |
TotalCost | The Total Cost of the Contract. |
| VendNotifyPeriod | Vendor notice of termination in days. |
Vendor | Identifier of the vendor code. |
| VendorRefNum | Vendor reference number. |
| VendorTermAllowed | Is early termination allowed by vendor? |
checkLimitWhenApproveonListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, 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 |
|---|
WarrantyView(MboSet ms)
Construct the LeaseView object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add method on the Leave Contract View.
|
void |
canAddAssetToContractAsset()
Method to check if a row can be added to the associated assets tab.
|
void |
cancelInvoicesForSchedule()
Cancel all the unpaid invoices which were created for the schedule.
|
void |
canCreateSchedule()
Cannot create a payment schedule for a warranty contract which has the
payment schedule flag as false.
|
void |
copyAssetsToContractAsset(AssetSetRemote assetSetRemote)
Copies the selected Asset values to the WARRANTYASSET.
|
void |
copyContractTermsToInvoice(MboSetRemote contractTermsSetRemote,
MboSetRemote invoiceTermSetRemote) |
void |
copyLocationsToContractAsset(LocationSetRemote locationSetRemote)
Copies the selected Asset values to the WARRANTYASSET.
|
void |
createInvoicesForSchedule()
Create invoices for payment schedules for this warranty contract.
|
void |
createSchedule()
Create a new payment schedule header if none exists for warranty contract.
|
MboRemote |
duplicate()
Duplicates a Contract,its lines and cost lines
Creates a duplicate Purchase Order.
|
protected StatusHandler |
getStatusHandler()
Return the status handler object to be used for the actual changing of the status.
|
protected MboSetRemote |
getStatusHistory()
Return the CONTRACTSTATUS object.
|
java.lang.String |
getStatusListName()
Return the string "CONTRACTSTATUS".
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initialized or reset from this Mbo to another MboSet.
|
void |
nullVendor()
Throws an exception if the vendor on the LEASEVIEW Header is null.
|
double |
reCalcLeaseViewCost()
This method recalculates the warranty view's total cost if the line cost on any of its
payment schedule lines changes.
|
MboRemote |
reviseContract(java.lang.String revDescription)
Creates a new revision of the current contract.
|
protected void |
setEditibilityFlags(boolean flag)
sets the editibility flags for fields in Contract.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
This method overrides the skipCopyField() in the Mbo.Since this method takes the MboValueInfo as its parameter
just check to see if this field needs to be copied or skipped by using the data
from the static HashTable.
|
addInvVendorItemsToContractLine, canAuthSites, cancelOrSusupndPreviousRevision, canChangeLineStatus, canDelete, canEditContractLine, canPerformAction, canReviseContract, changeLineStatus, changeStatus, checkMasterMaxValue, copySitesToContractAuth, copySLAToSLAContract, doesContractReferenceExistOnPO, findLatestMasterRevision, getAssetList, getAvailableFunds, getContractReleaseSeqNumber, getInternalContractType, getInvoiceCreationFlag, getLocationsList, getNextRevision, getNextRevisionReference, getPreviousRevision, getRouteWF, init, isRevisionInProgress, modify, prevStatusRemainApproved, revisionInProgress, setContractTypeEditibilityAndValues, setContractTypeTerm, setInvoiceCreationFlag, setNextRevisionReference, setRouteWF, useLineOrLoadedCost, validateContract, validateDatesaddConsignmentItems, checkConsignmentItems, checkConsignmentItemsInContractSet, checkContractType, checkInvalidItemStatus, compareCopyTerms, copyAllTerms, copyContarctTerm, copyContractToPOPR, copyFromContract, copyTerms, createContractHeader, getContractAuth, getExchangeRate, getExchangeRate2, getInvoiceMgtMaxVar, getPOPRLineSet, getShowconswarningFlag, noLimitWhenApprove, nullVendorContract, recalculateTotalCost, recalculateTotalTax, setPOPRLineSet, setShowconswarningFlag, showConsVendorWarningMessage, showConsVendorWarningMessageForContractscanChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, save, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, deleteDoclinks, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, 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, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, 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, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, 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, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInvVendorItemsToContractLine, canAuthSites, canChangeLineStatus, canPerformAction, canReviseContract, changeLineStatus, copySitesToContractAuth, copySLAToSLAContract, getAssetList, getAvailableFunds, getContractReleaseSeqNumber, getInternalContractType, getLocationsList, getRouteWF, isRevisionInProgress, revisionInProgress, setRouteWF, validateDatescopyContarctTerm, copyContractToPOPR, copyTerms, getPOPRLineSet, noLimitWhenApprove, nullVendorContract, showConsVendorWarningMessageForContractscanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, 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, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic WarrantyView(MboSet ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionprotected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class ContractMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class Contractprotected StatusHandler getStatusHandler()
StatefulMbogetStatusHandler in class Contractpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class ContractMXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicate() throws MXException, java.rmi.RemoteException
save() method checks for the key and throws an exception
if the key is not entered.
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionMbo.isAutoKeyed(java.lang.String)protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class Mbo- - The MboValueInfo object of the MboValue that needs to be copied.java.rmi.RemoteExceptionMXExceptionContractLine.skipCopyField(psdi.mbo.MboValueInfo),
ContractLine.loadSkipFieldCopyHashSet()public void nullVendor()
throws MXException,
java.rmi.RemoteException
nullVendor in interface PurchasingMboRemotenullVendor in interface ContractRemotenullVendor in class ContractMXApplicationException("po", - "vendorIsNull");MXExceptionjava.rmi.RemoteExceptionPurchasingMbo.nullVendor()public void initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
throws MXException,
java.rmi.RemoteException
initRelationship in class ContractrelationName - the relationship namemboSet - the mbosetMXExceptionjava.rmi.RemoteExceptionprotected void setEditibilityFlags(boolean flag)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canCreateSchedule()
throws MXException,
java.rmi.RemoteException
canCreateSchedule in interface WarrantyViewRemoteMXApplicationException("contract", - "paymentSchedFlag")MXApplicationException("contract", - "CannotCreatePmtApprContact")MXExceptionjava.rmi.RemoteExceptionWarrantyView.canCreateSchedule()public void createSchedule()
throws MXException,
java.rmi.RemoteException
createSchedule in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionWarrantyView.createSchedule()public void cancelInvoicesForSchedule()
throws MXException,
java.rmi.RemoteException
cancelInvoicesForSchedule in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.contract.warranty.WarrantyView#ccancelInvoicesForSchedulepublic void createInvoicesForSchedule()
throws MXException,
java.rmi.RemoteException
createInvoicesForSchedule in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionWarrantyView.createInvoicesForSchedule()public void copyContractTermsToInvoice(MboSetRemote contractTermsSetRemote, MboSetRemote invoiceTermSetRemote) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void copyAssetsToContractAsset(AssetSetRemote assetSetRemote) throws MXException, java.rmi.RemoteException
copyAssetsToContractAsset in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionWarrantyView.copyAssetsToContractAsset(psdi.app.asset.AssetSetRemote)public void copyLocationsToContractAsset(LocationSetRemote locationSetRemote) throws MXException, java.rmi.RemoteException
copyLocationsToContractAsset in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionWarrantyView.copyLocationsToContractAsset(psdi.app.location.LocationSetRemote)public double reCalcLeaseViewCost()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canAddAssetToContractAsset()
throws MXException,
java.rmi.RemoteException
canAddAssetToContractAsset in interface WarrantyViewRemoteMXExceptionjava.rmi.RemoteExceptionWarrantyView.canAddAssetToContractAsset()public MboRemote reviseContract(java.lang.String revDescription) throws MXException, java.rmi.RemoteException
reviseContract in interface ContractRemotereviseContract in interface WarrantyViewRemotereviseContract in class ContractMXExceptionjava.rmi.RemoteExceptioncanReviseContract