public class InvVendor extends Mbo implements InvVendorRemote
This is a organization level object.
The key attributes in this object are as follows: OrgId, ItemNum, ItemSetID, Vendor, Manufacturer, ModelNum.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| Biddate | Date of vendor's bid price. |
| Bidprice | Price promised by vendor for this item, manufacturer, model and catalog code. |
| Catalogcode | Identification code for this item object in the vendor's catalog. |
| Catalogwebpage | Vendor's catalog URL. |
Isdefault | Used by material requisition to determine if this invvendor object is the default for this item. |
Itemnum | Primary item number.
|
ItemSetID | Identifier of the itemset identifier for this object.
|
| Lastcost | Vendor's price the last time an order was placed for this item, manufacturer, model and catalog code combination. |
| Lastdate | Last date an order was placed for this item, manufacturer, model and catalog code combination. |
| Ldkey | Long description key |
Manufacturer | Manufacturer identification code. Manufacturer need not exist in Companies table. However, the manufacturer can be selected from the Companies table. |
| Modelnum | Vendor's or manufacturer's identification number for this item. |
Orderunit | Order unit associated with vendor's bid price. |
| OrgId | Identifier of the organization for this InvVendor.
|
| Promdeliverytime | Vendor's promised delivery time for this item, manufacturer, model and catalog code. |
Tax1code - TaxNcodeTax1code - TaxNcode | Tax 1 code to tax N code - N is defined by System Administrator |
Vendor | Vendor identification code. Vendor must exist in Companies table. |
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 |
|---|
InvVendor(MboSet ms)
Construct the InvVendor object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
set default values and field flags
|
void |
appValidate()
appValidate()
Application validation routine called before the invvendor object is saved
Method validates if there are multiple invvendor records for this item
are set as default vendor.
|
java.lang.String |
getBasicInvVendorSql()
Get a basic sql statement for getting invvendor records from the database.
|
InventorySetRemote |
getInventorySet()
getInventorySet- (a remote public method)
-WHAT: this method will provide the complete set of inventory records where...
|
double |
getLastCost()
return the lastcost for thie invvendor record
|
java.lang.String |
getPOStatusString()
Get the external statuses of the PO for approved, in progress, waiting for approval and
closed statuses to be used in the where clause.
|
void |
init()
issue#025207CR added init() to set readonlyness
Initialization rountine.
|
protected boolean |
isConditionEnabled()
Is the inventory item condition enabled?
|
boolean |
isUnique()
Check for the uniqueness in the current set
|
void |
updateLastCost(double unitcost,
java.util.Date lastdate)
Update LastCost and/or LastDate
|
void |
validateDefaultVendor()
This method validates if there are multiple vendor records set as default for
this item.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, deleteDoclinks, 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, 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, initRelationship, 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, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, save, 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, skipCopyField, 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, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic InvVendor(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void updateLastCost(double unitcost,
java.util.Date lastdate)
throws MXException,
java.rmi.RemoteException
updateLastCost in interface InvVendorRemoteunitcost - lastdate - MXExceptionjava.rmi.RemoteExceptionInvVendor.updateLastCost(double unitcost, Date lastdate)public double getLastCost()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic InventorySetRemote getInventorySet() throws MXException, java.rmi.RemoteException
getInventorySet in interface InvVendorRemoteMXExceptionjava.rmi.RemoteExceptionInvVendor.getInventorySet()public void validateDefaultVendor()
throws MXException,
java.rmi.RemoteException
MXApplicationExceptionMXExceptionjava.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isUnique()
throws MXException,
java.rmi.RemoteException
isUnique in interface InvVendorRemoteMXExceptionjava.rmi.RemoteExceptionInvVendor.isUnique()public java.lang.String getBasicInvVendorSql()
throws MXException,
java.rmi.RemoteException
getBasicInvVendorSql in interface InvVendorRemoteMXExceptionjava.rmi.RemoteExceptionInvVendor.getBasicInvVendorSql()public java.lang.String getPOStatusString()
throws MXException,
java.rmi.RemoteException
getPOStatusString in interface InvVendorRemoteMXExceptionjava.rmi.RemoteExceptionInvVendor.getPOStatusString()protected boolean isConditionEnabled()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException