public class RFQLine extends Mbo implements RFQLineRemote
See RFQ Package description for details.
This is a site level object.
The key attributes for this object are SiteId and RFQLineId.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
AwardDate | Date the line was awarded to a vendor. |
Category | Category of item: Stocked, Non-Stocked or Special Order. |
ChargeStore | Indicates whether line cost should be added to the asset. |
Conversion | Conversion factor between issue and order units. |
Description | Description of the line item. Long description enabled. |
EnterBy, EnterDate | Identifier of the person who entered this RFQ line; date and time the line was entered. |
EnteredAsTask | Indicates whether or not this line item is needed for a work order task. |
AssetNum | Asset to charge the cost of this line item to. |
FinCntrlId | Financial Control Identifier. |
GLDebitAcct | GL Debit Account. Account code for the general ledger (GL) account debited with the cost of this line item. |
InspectionRequired | Indicates whether inspection of item is required upon receipt. |
Issue | Y/N field indicating whether this item should be issued on receipt. |
ItemNum | Identifier of the item. |
LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
LineCost | Extended or lump sum cost of this transaction line. |
LineType | The type of RFQ line. It could be ITEM, MATERIAL or SERVICE type. |
Location | Location where the item or service is intended to be used. |
Manufacturer | Company that manufactured item. |
ModelNum | Manufacturer's model number. |
MRLineNum | MR line number. |
MRNum | Material request number. |
OrderQty | Number of units of the needed item. |
OrderUnit | Unit for ordering item, for example, DOZEN or CASE. Not required on the RFQLine. |
OrgId | Identifier of the organization for this RFQ.
|
POLineId | Internal PO line identifier. This attribute is unique and does not change. |
POLineNum | Purchase order line number corresponding to the RFQ line. |
PONum | Purchase order number to which the item is assigned once the RFQ has been awarded. |
ProrateService | Y/N field indicating whether or not the cost of a service should be prorated (loaded) to line items cost when invoicing. |
QuotationOrderUnit | Non-persistent Order Unit to be copied to the QuotationLine. Set from RFQLINE.ORDERUNIT when selecting RFQLines to copy to QuotationLine. Required if StoreLoc is not null. |
ReceiptReqd | Y/N field indicating whether or not a material receipt required for Invoice Matching. |
RefWO | Referenced workorder number for which the RFQ line is used. This value is determined by this RFQ line's non-persistent WONum
and TaskId attributes. If this line's TaskId is non-null, RefWO is a child of WONum. RefWO is set to the WONum from the work order whose Parent and TaskId match this line's WONum and TaskId. If this line's TaskId is null, then RefWO is set to this line's WONum value. |
Remark | Description for RFQ line. Long description enabled. |
ReqDeliveryDate | Required Delivery Date. |
RequestedBy | The person who requested the RFQ line item. |
RFQLineId | Internal RFQ line identifier. This attribute is unique and does not change. |
RFQLineNum | RFQ Line Item Number. |
RFQNum | Request for quotation (RFQ) Number. |
SiteId | Identifier of the site for this RFQ line.
|
StoreLoc | Storeroom location of the item. |
Supervisor | Valid labor code representing the person responsible for approving the work to be done. |
TaskId | Non-persistent attribute used to maintain WorkOrder.TaskId through the RFQLine object. The TaskId and WONum attributes determine the RefWO attribute. See the TaskId attribute defined in WorkOrder for more information.
|
UnitCost | Unit Cost. |
Vendor | Vendor to whom the line item is awarded. |
VendorPackCode | The vendor's pack code for the product. Indicates how the items will be packed. For example, BOX (12 to a box) or PALLET (30 to a pallet). |
VendorPackQuantity | Indicates the number of items included in a pack. |
VendorWarehouse | Vendor warehouse that the product will come from. |
WONum | Non-persistent attribute used to maintain WorkOrder.WONum through RFQLine object. The WONum and TaskId attributes determine the RefWO attribute. If the TaskId is null, then RefWO will be equal to this attribute. If you specify a work order number, MAXIMO takes information from the work order to fill in location, asset and Debit GL account fields. See the WONum attribute defined in WorkOrder for more information.
|
RFQL1 thru RFQL10 | Extra fields. |
RFQLIN1 thru RFQLIN9 | Extra fields. |
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 |
---|
RFQLine(MboSet ms)
Construct the RFQLine object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new RFQLine.
|
void |
appValidate()
This method is used to perform last minute validations and/or actions before saving the RFQLine.
|
void |
canDelete()
Sets the initial conditions to allow deletion.
|
void |
clearClassification()
This method clears the classtructureid of the poline.
|
MboRemote |
copy(MboSetRemote mboset)
Over-ride the copy method of the Mbo.
|
void |
copyLineValuesFromContractLine(MboRemote contractLine,
MboRemote createRelInput)
Copies values from the passed in ContractLine and to the RFQLine.
|
void |
copyRFQLinesToQuotationLines(java.lang.String vendor)
Copies the contents of this RFQLine to a new QuotationLine.
|
void |
delete(long accessmodifier)
This method is called to delete an RFQLine.
|
java.lang.String[] |
getValidateOrder()
Validation Order for RFQLine attributes.
|
void |
init()
Initialization routine.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for RFQ number.
|
void |
relinkPRLineToModifiedRFQLineNum()
Maintains link between the RFQLine and PRLine (if this line originated from a
PRLine) by updating the RFQLinenum when this line's line number is modified.
|
void |
save()
This saves the RFQLine and all related Mbos
|
void |
setNullValuesToPOVariables()
Sets the values of the PO variables (ponum,polinenum,polineid) to null.
|
void |
setOrderUnit(MboRemote inventory,
java.lang.String orderOrIssueUnitAttr)
sets the OrderUnit attribute.
|
void |
setRecentItemNum(java.lang.String itemNum)
If go to Inventory from ItemNum field and in Inventory App,
trying to trying back the inventory record but had an exception in Storeloc
but itemnum had already set - need to remember the itemnum
|
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()
This method undeletes an RFQLine that has been marked for deletion.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, 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, 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, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, 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, 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, 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, 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, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public RFQLine(MboSet ms) throws MXException, java.rmi.RemoteException
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 |
---|---|
chargestore | False |
enterby | Current User |
enterdate | Current Date |
inspectionrequired | False |
issue | False |
linetype | ITEM |
prorateservice | False |
receiptreqd | True |
requestedby | Current User |
rfqnum | RFQNum of parent RFQ |
rfqlinenum | New linenum (max + 1) |
rfqlineid | Uniquely generated line id |
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void setNullValuesToPOVariables() throws MXException, java.rmi.RemoteException
setNullValuesToPOVariables
in interface RFQLineRemote
MXException
java.rmi.RemoteException
public void delete(long accessmodifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessmodifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.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 canDelete() throws MXException, java.rmi.RemoteException
If the RFQLine has assigned to a POLine, cannot delete the RFQLine.
canDelete
in class Mbo
MXApplicationException
- deleteOnlyIfCertainStatus - INPRGMXApplicationException
- (pr, alreadyinPO) is thrown when the RFQLine has assigned to a POLine.MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void relinkPRLineToModifiedRFQLineNum() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXApplicationException(po,
- ItemOrDescIsRequired) is thrown when the RFQLine is a not a service line, yet does not
have both the itemnum or description.MXApplicationException(po,
- assetwolocglNull) is thrown if it's a direct issue and at least one of assetnum, location, wonum, or
gldebitacct does not have a valueMXApplicationException(po,
- StoreLocIsNull) is thrown when this RFQLine is not a direct issue and if
the storeloc is nullMXApplicationException(po,
- AssetNumNull) is thrown when the chargestore flag is true but the RFQLine does not have an asset.MXApplicationException(po,
- NoItemForLineType) is thrown when line type is ITEM and does not have an item number associate with it.MXException
java.rmi.RemoteException
public void copyRFQLinesToQuotationLines(java.lang.String vendor) throws MXException, java.rmi.RemoteException
The following rule is used to get the taxcode for the QuotationLine
copyRFQLinesToQuotationLines
in interface RFQLineRemote
vendor
- The vendorMXException
java.rmi.RemoteException
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
keyName
- Should equal "RFQNum" or else nothing will be propagated.keyValue
- The new value of rfqnum.MXException
java.rmi.RemoteException
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public void copyLineValuesFromContractLine(MboRemote contractLine, MboRemote createRelInput) throws MXException, java.rmi.RemoteException
copyLineValuesFromContractLine
in interface RFQLineRemote
MXException
java.rmi.RemoteException
public void setOrderUnit(MboRemote inventory, java.lang.String orderOrIssueUnitAttr) throws MXException, java.rmi.RemoteException
setOrderUnit
in interface RFQLineRemote
MXException
java.rmi.RemoteException
setOrderUnit(MboRemote inventory,String orderOrIssueUnitAttr)
public void clearClassification() throws java.rmi.RemoteException, MXException
clearClassification
in interface RFQLineRemote
java.rmi.RemoteException
MXException
clearClassification()
public MboRemote copy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy
in interface MboRemote
copy
in class Mbo
mboset
- The set into which the new mbo will be added.MXException
java.rmi.RemoteException
Mbo.copy(MboSetRemote, long)
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 setRecentItemNum(java.lang.String itemNum) throws MXException, java.rmi.RemoteException
itemNum
- MXException
java.rmi.RemoteException