public class RFQVendor extends Mbo implements RFQVendorRemote
An RFQVendor (Request for Quotation Vendor) MBO stores information about a vendor to whom a request for quotation is intended to be sent. This includes such data as the vendor name, contact, phone number, and other vendor specific information. See RFQ Package description for details.
This is a site level object.
The key attributes for this object are SiteId, RFQNum and Vendor.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| BuyAhead | Y/N field indicating whether or not this is a buy ahead rate. Yes indicates the exchange rate was entered directly by the user and not calculated from the list of active exchange rates. |
Contact | Name of the person to contact at the company. |
CurrencyCode | Currency the vendor is using. |
| CustomerNum | Vendor's number identifying the purchasing company. |
| Vendor contact's email address. | |
| ExchangeDate | Date of exchange rate. |
| ExchangeRate | Exchange rate at time of quotation. |
| FaxPhone | Vendor's fax number. |
| FOB | Free On Board. The point of time when ownership of goods transfers from vendor to purchaser. |
| FreightTerms | Freight terms. Long description enabled. |
GLCreditAcct | Credit GL Account default for vendor. |
| Inclusive1 thru InclusiveN | Y/N field indicating if tax (Tax1 thru TaxN) is to be paid to vendor. |
| Internal | Y/N field indicating whether or not this is an internal PO. |
| LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
| OrgId | Identifier of the organization for this vendor.
|
| PaymentTerms | Payment terms. |
| Phone | Vendor's phone number. |
| RepliedDate | Date vendor replied to RFQ. |
| RFQNum | Request for Quotation (RFQ) Number. |
ShipVia | Specifies how the goods are shipped (FedEx, Priority Mail, UPS, etc.). |
| SiteId | Identifier of the site for this vendor.
|
Vendor | Company that is to receive the quotation. |
| VendorQuoteNum | Vendor's quote number. |
| RFQV1 thru RFQV5 | Extra fields. |
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 |
|---|
RFQVendor(MboSet ms)
Construct the RFQVendor object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Adds a new RFQVendor.
|
void |
canDelete()
Sets the condition on which the RFQVendor can be deleted.
|
void |
checkingBeforeCreatePOCont(boolean fromPO)
Checking for different conditions before creating a PO or Contract.
|
void |
checkSentCompStatus(java.lang.String message)
If RFQ status is not SENT or COMP, throw exception.
|
void |
checkSentStatus()
If RFQ status is not SENT, throw exception.
|
MboRemote |
copy(MboSetRemote mboset)
Over-ride the copy method of the Mbo.
|
void |
copyRFQToQuotation(MboSetRemote sourceRFQLineSet)
Copy RFQLines to QuotationLines.
|
void |
copyVendorTerms(MboSetRemote termsSet)
This method will copy the selected terms to the set calling Mbo's corresponding Terms.
|
void |
createNewMboFromRFQ(java.lang.String number,
java.lang.String description,
java.lang.String contractType)
Create a Contract/PO from information on the given RFQ/QuotationLine.
|
MboRemote |
createPOFromRFQ(java.lang.String ponum,
java.lang.String description)
Create a PO from information on the given RFQ/QuotationLine.
|
MboRemote |
createPOHeaderFromRFQ(java.lang.String ponum,
java.lang.String description)
This method copies the RFQ/RFQVendor infomation to the PO Header and
returns the PO header.
|
void |
delete(long accessmodifier)
This method is called to delete an RFQVendor, QuotationLine and RFQVendorTerm.
|
MboSetRemote |
getRFQLinesForQuotation()
Gets a set of RFQLine for this RFQVendor with the rfqlinenum not in quotationline and vendor = rfqvendor.vendor
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initailized or reset from this Mbo to another MboSet.
|
void |
setRelatedMboEditibility(java.lang.String relationName,
MboSetRemote mboSet)
Sets the read/only flag for the related set if the set exists.
|
void |
undelete()
This method is called to unmark the RFQVendor, QuotationLine and RFQVendorTerm for deletion.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, 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, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, init, initFieldFlagsOnMbo, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, 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, 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, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, 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, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic RFQVendor(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| rfqnum | RFQNum of the parent RFQ |
| buyahead | False |
| currencycode | The Base currency code |
| inclusive1....inclusiveN | False |
| internal | False |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createPOHeaderFromRFQ(java.lang.String ponum, java.lang.String description) throws MXException, java.rmi.RemoteException
vendor - The vendorponum - The ponumMXApplicationException - notfoundvendor
| GROUP | KEY | REASON | |
|---|---|---|---|
| rfq | notfoundvendor | if the vendor on the RFQ cannot be found in the RFQVENDOR table |
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getRFQLinesForQuotation() throws MXException, java.rmi.RemoteException
getRFQLinesForQuotation in interface RFQVendorRemoteMXExceptionjava.rmi.RemoteExceptiongetRFQLinesForQuotation()public void copyRFQToQuotation(MboSetRemote sourceRFQLineSet) throws MXException, java.rmi.RemoteException
copyRFQToQuotation in interface RFQVendorRemotesourceRFQLineSet - The RFQLineSet being copied.MXExceptionjava.rmi.RemoteExceptioncopyRFQToQuotation(MboSetRemote)public MboRemote createPOFromRFQ(java.lang.String ponum, java.lang.String description) throws MXException, java.rmi.RemoteException
createPOFromRFQ in interface RFQVendorRemote| GROUP | KEY | REASON | |
|---|---|---|---|
| rfq | noAwardedLine | if quotationLineSet is empty |
MXApplicationException - noawardedlineMXExceptionjava.rmi.RemoteExceptioncreatePOFromRFQ(String, String)public void checkSentCompStatus(java.lang.String message)
throws MXException,
java.rmi.RemoteException
checkSentCompStatus in interface RFQVendorRemotemessage - the error message to displayMXApplicationException - messageMXExceptionjava.rmi.RemoteExceptioncopyRFQToQuotation,
createPOFromRFQpublic void checkSentStatus()
throws MXException,
java.rmi.RemoteException
checkSentStatus in interface RFQVendorRemoteMXApplicationException - cannotSelectQuotaionMXExceptionjava.rmi.RemoteExceptioncheckSentStatus()public void checkingBeforeCreatePOCont(boolean fromPO)
throws MXException,
java.rmi.RemoteException
checkingBeforeCreatePOCont in interface RFQVendorRemotefromPO - To indicate is calling from Create PO or Create Contract. Based on the true/false value to display the proper error message.
True indicates is called from Create PO. False indicates is called from Create Contract.MXApplicationException - (rfq, cannotCreatePOFromRFQ) is thrown if RFQ status is not SENT or COMP.MXApplicationException - (rfq, noawardedline) is thrown if quotaion line set is emptyMXApplicationException - (rfq, savebeforecreate) is thrown if it's calling from Create PO/Contract and RFQVendor or quotation line is not saved.MXExceptionjava.rmi.RemoteExceptionpsdi.jsp.app.rfq.Actions#rfqtopo,
psdi.jsp.app.rfq.Actions#createcont,
psdi.app.rfq.RFQVendor#createPOFromRFQ()public void initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
throws MXException,
java.rmi.RemoteException
initRelationship in class MboMXExceptionjava.rmi.RemoteExceptionpublic 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.MXExceptionjava.rmi.RemoteException#setEditibilityFlagspublic void createNewMboFromRFQ(java.lang.String number,
java.lang.String description,
java.lang.String contractType)
throws MXException,
java.rmi.RemoteException
createNewMboFromRFQ in interface RFQVendorRemotecontractNum - the contract number to be created that can be specified by the userdescription - the contract descriptioncontractType - the contract type to be created that can be specified by the userMXExceptionjava.rmi.RemoteExceptionpsdi.app.rfq.createPOFromRFQ(),
ContractFromRFQSet.execute()public MboRemote copy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy in interface MboRemotecopy in class Mbomboset - The set into which the new mbo will be added.MXExceptionjava.rmi.RemoteExceptionMbo.copy(MboSetRemote, long)public void copyVendorTerms(MboSetRemote termsSet) throws MXException, java.rmi.RemoteException
copyVendorTerms in interface RFQVendorRemotetermsSet - the pass in Term Set.MXExceptionjava.rmi.RemoteExceptionpsdi.app.rfqvendor#copyVendorTerms()public void delete(long accessmodifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void undelete()
throws MXException,
java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteException