public class RFQ extends StatefulMbo implements RFQRemote
An RFQ can be created manually, or it can be created from items/services on a PR.
The RFQ object contains the header information for a request, such as the date by which a response is desired, the date the request is closed, the freight and payment terms, the name and address of the company to which the RFQ is being sent and the name and address of the company/person to which the resulting quotation should be sent.
See RFQ Package description for details.
This is a site level object.
The key attributes for this object are SiteId and RFQNum.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
BillTo , BillToAttn | Identifier of the company or division to send the bill to; person to whom the bill should be sent. |
BuyerCompany | Identifier of the company sending the RFQ. Links the buyers address to the order. |
ChangeBy, ChangeDate | Identifier of the person who last changed this RFQ; date and time the RFQ was last changed. |
CloseOnDate | Date when no further quotations will be accepted from vendors and the RFQ is considered closed. |
Description | Description or purpose of the RFQ. Long description enabled. |
EnterBy, EnterDate | Identifier of the person who entered this RFQ; date and time the RFQ was entered. |
FOB | Free on board point. The point of time when ownership of goods transfers from vendor to purchaser. |
FreightTerms | Requested freight terms. |
HistoryFlag | Y/N field indicating whether or not the RFQ record is history. History flag will be true if RFQ status is CLOSE or CANCEL. |
LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
OrgId | Identifier of the organization for this RFQ.
|
PaymentTerms | requested terms of payment. |
PrintDate | Date the RFQ was printed and sent to vendors. |
Priority | Priority level to determine the order in which the RFQ should be processed. |
PurchaseAgent | Identifier of the buyer of the items. |
ReplyDate | Date by which the vendor should reply to this RFQ. |
ReplyTo , ReplyToAttn | Identifier of the company or division to send the reply to; person to whom the RFQ response should be sent. |
RequestedBy | Identifier of the person who requested the vendor quotations. |
RequiredDate | Date the RFQ line items are needed. |
RFQNum | Request for Quotation number. |
RFQType | Requested type of RFQ. |
ShipTo , ShipToAttn | Identifier of the company or division where items are to be shipped; person to whom the items are to be shipped. |
ShipVia | How the goods are to be shipped (FedEx, Priority Mail, UPS, etc.). |
SiteId | Identifier of the site for this RFQ.
|
Status, StatusDate | Current status of the RFQ; date and time the status was last changed. |
RFQ1 thru RFQ10 | Extra fields. |
onListTab, statusChangeButtonSigoption, targetStatusOption
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 |
---|
RFQ(MboSet ms)
Construct the RFQ object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new RFQ.
|
void |
canDelete()
Determines if the record can be deleted.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
This method is overridden to add a wrapper to exceptions thrown during change status
and to write warnings whether or not the status change is successful
|
void |
compareCopyTerms(MboRemote prMbo) |
void |
copyPRToCurrentRFQ(MboSetRemote sourcePRLineSet)
Copy PR/PRLines to the current RFQ.
|
void |
copySpareParts(MboSetRemote sparePartSet)
Adds the spare parts to the RFQs RFQLines.
|
void |
copyTerms(MboSetRemote termsSet)
This method will copy the selected terms to the set calling Mbo's corresponding Terms.
|
void |
createRFQLineFromPR(MboRemote fromPR,
MboRemote fromPRLine)
Create a RFQ Line from information on the given PR/PRLine.
|
void |
createRFQVendorFromPR(MboRemote fromPR)
Create an RFQ Vendor from information on the given PR.
|
void |
delete()
Deletes the RFQLINE & RFQVENDOR records.
|
MboRemote |
duplicate()
Creates a duplicate RFQ.
|
void |
generateAutoKey()
RFQ supports autokeying - sets the RFQNUM attribute.
|
java.lang.String |
getProcess()
Return the process for RFQ.
|
java.lang.String |
getStatusListName()
Return the name of the value list that contains all the status'.
|
void |
init()
Initialization routine.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initailized or reset from this Mbo to another MboSet.
|
void |
modify()
Called when a field is modified so the changedate/changeby fields can be updated.
|
void |
setRelatedMboEditibility(java.lang.String relationName,
MboSetRemote mboSet)
Sets the read/only flag for the related set if the set exists.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, 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, 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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, validateAttributes
public RFQ(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getProcess()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void init() throws MXException
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
Attribute Name | Attribute Value |
---|---|
replyto | Site's billtoaddresscode |
replytoattn | Site's billtolaborcode |
changeby | Current User |
changedate | Currnet Date |
enterby | Current User |
enterdate | Current Date |
historyflag | No |
priority | 0 (zero) |
requestedby | Current User |
shipto | Site's shiptoaddresscode |
shiptoattn | Site's shiptolaborcode |
status | INPRG |
statusdate | Current Date |
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
psdi.app.signature.SignatureService#getlaborForuserAndOrg
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
java.rmi.RemoteException
MXException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public void delete() throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
MXException
java.rmi.RemoteException
Mbo.delete(long)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException
- cannotDeleteRfq
GROUP | KEY | REASON | |
---|---|---|---|
rfq | cannotDeleteRfq | if the status of the RFQ is not 'INPRG' |
MXException
java.rmi.RemoteException
public void createRFQLineFromPR(MboRemote fromPR, MboRemote fromPRLine) throws MXException, java.rmi.RemoteException
createRFQLineFromPR
in interface RFQRemote
fromPR
- The PR being copied.fromPRLine
- The PRLine being copied.MXException
java.rmi.RemoteException
createRFQLineFromPR(MboRemote, MboRemote)
public void createRFQVendorFromPR(MboRemote fromPR) throws MXException, java.rmi.RemoteException
fromPR
- The PR being copied.MXException
java.rmi.RemoteException
public void copyPRToCurrentRFQ(MboSetRemote sourcePRLineSet) throws MXException, java.rmi.RemoteException
copyPRToCurrentRFQ
in interface RFQRemote
sourcePRLineSet
- The PRLineSet being copied.MXException
java.rmi.RemoteException
copyPRToCurrentRFQ(MboSetRemote)
public void copyTerms(MboSetRemote termsSet) throws MXException, java.rmi.RemoteException
copyTerms
in interface RFQRemote
termsSet
- the pass in Term Set.MXException
java.rmi.RemoteException
psdi.app.rfq
public void compareCopyTerms(MboRemote prMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public void copySpareParts(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySpareParts
in interface RFQRemote
sparePartSet
- The set of spare parts from the UIMXException
java.rmi.RemoteException
copySpareParts(psdi.mbo.MboSetRemote)
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
MXException
java.rmi.RemoteException
public void setRelatedMboEditibility(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
relationName
- The relationship name of the related MboSet which need to set the read/only flag.MXException
java.rmi.RemoteException
initRelationship(java.lang.String, psdi.mbo.MboSetRemote)
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value
), not
the internal status value (valuelist.maxvalue
).date
- The effective date of the new status (java.util.Date
). If null
the current date/time is used.memo
- A string briefly describing the circumstances of the change. The
memo can be null.accessModifier
- A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException
- Thrown if there is a problem.java.rmi.RemoteException
StatefulMbo.canChangeStatus(String)
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException