public class PO extends PurchasingMbo implements PORemote
| Attribute Name | Description |
|---|---|
BillTo | Identifier of the company that will receive the bill. |
| BillToAttn | Person to whom the bill should be sent. |
| BuyAhead | Indicates if the buyahead rate is directly entered by the user and not calculated from the active exchange rate. |
| BuyerCompany | Links the buyers' address information to the order. |
| ChangeBy, ChangeDate | The name of the person who last modified the form and the date on which the form was last modified. |
| Contact | Vendors' contact name. |
CurrencyCode | Currencycode of the PO. |
| CustomerNum | Vendors' number identifying our company. |
| Description | Description of the Purchase Order. |
| ECommStatusDate | Date of the most recent e-commerce transaction |
| EndDate | Date when is PO is no longer valid. Used in the case of a Blanket PO End date. |
| ExchangeDate | Date on which the exchange rate was obtained. |
| ExchangeRate | Exchange rate at the time of approval. |
| ExchangeRate2 | Exchangerate in basecurrency2. |
| FOB | Freight on Board. The point where responsibility and liability are transferred. |
| FollowUpDate | Date the vendor should be contacted about the Purchase Order. |
| FreightTerms | The terms under which the shipment is made. For example, the field may contain "Perishable goods. Deliver ASAP" |
| HistoryFlag | Flag indicating history Purchase Orders. |
Inclusive1 | Flag indicating if the PO Total is inclusive of Tax1. |
Inclusive2 | Flag indicating if the PO Total is inclusive of Tax2 |
Inclusive3 | Flag indicating if the PO Total is inclusive of Tax3 |
Inclusive4 | Flag indicating if the PO Total is inclusive of Tax4 |
Inclusive5 | Flag indicating if the PO Total is inclusive of Tax5 |
| Internal | Flag to indicate if the PO is internal. Is the item's vendor the storeroom? |
| MNetSent | Indicates if the PO has been sent electronically. |
| OrderDate | Date the Purchase Order was Issued. |
OrgId | Identifier of the organization for this Purchase Order.
|
| OriginalPONum | The original purchase Order from which this Purchase Order was created. |
| PaymentTerms | Specified terms of payment for this vendor. For example we can say "TEN " which means the invoice will be paid with 10 days. |
| PayOnReceipt | Indicates if there is a payment on receipt agreement with the vendor. |
| PONum | Purchase Order Number. This is the key field. Each PONum must be unique as it the companies' internal tracking number. |
POType | Indicates whether this PO is a Standard or ChangeOrder or Blanket or Release PO also known as the type of PO. |
| Priority | Indicates the priority with which this Purchase Order should be handled. |
| PurchaseAgent | The name of the Purchase Agent. |
| Receipts | Have the line items on this PO been received. If all the lines have been received,this field has "COMPLETE". If none of the line items have been received, it has "NONE". If the line items were partially received it has "PARTIAL" |
| RequiredDate | The earliest date by which the items on this purchase order must be delivered. |
ShipTo | Identifier of the company to whom this PO will be shipped. Primary key of the Companies table. |
| ShipToAttn | Person to whom the items should be shipped. |
| ShipVia | Specifies how the goods should be shipped (FedEx,UPS etc) |
SiteId | Identifier of the site for the Purchase Order.
|
StartDate | Beginning of the Validity period of an agreementPO. Used in a Blanket PO start date. |
| Status | The status of the Purchase Order. Can be one of approved, inprg, waiting for approval, cancelled, closed |
| StatusDate | The date on which the status of this PO was changed. |
TotalCost | The Total Cost of this Purchase Order. |
TotalTax1 | Total amount of Tax1 owed. This is included in the Total Cost if Inclusive1 is Yes. |
TotalTax2 | Total amount of Tax2 owed. This is included in the Total Cost if Inclusive2 is Yes. |
TotalTax3 | Total amount of Tax3 owed. This is included in the Total Cost if Inclusive3 is Yes. |
TotalTax4 | Total amount of Tax4 owed. This is included in the Total Cost if Inclusive4 is Yes. |
TotalTax5 | Total amount of Tax5 owed. This is included in the Total Cost if Inclusive5 is Yes. |
| VenDeliveryDate | The earliest date by which the vendor is supposed to deliver the items on the lines. |
Vendor | Identifier of the Vendor to whom the PO would be sent to. |
| PO1 thru PO10 | Extra fields. |
| ExternalRefId, OwnerSysId, SenderSysId, SourceSysId | Columns used by MAXIMO E-Commerce Adapter (MEA). |
Last Update: Friday, March 22, 2002 - Ganesh - javadocs
| Modifier and Type | Field and Description |
|---|---|
boolean |
dontShowCloseMessage |
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| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a new Purchase Order
Required fields of the PO object are initialised in this method.Some date fields are initialised to current date.
|
void |
addInvVendorItemsToPOLine(MboSetRemote invVendorSetRemote)
Loops through the InvVendorSet that is passed in and creates a new POLine with the itemnum on the selected InvVendor
rows.
|
void |
addToInvoiceLineVector(MboRemote invoiceLineRemote) |
void |
addToReceiptVector(MboRemote receiptRemote) |
void |
appValidate()
This method is called before save for last minute validations.
|
void |
canCreateChangeOrder()
Can a Change Order be created?
This method checks to see if a change order can be
created for this PO.A change order cannot be created for a blanket, price or release type POs.Also, the PO must be in the approved
state when a change order is created.
|
void |
canDelete()
Throw exception when trying to delete a PO.
|
void |
canDuplicate()
Checks if the PO can be duplicated.
|
void |
canRevisePO()
Checks if a new revision can be created from the current PO.
|
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 |
checkingBeforeCompleteReceipts()
Before calling completed receipts, check PO status.
|
void |
checkingBeforeCreateContract()
Cannot create contract if it's an internal PO.
|
void |
checkPOLineQtyCost(MboRemote pndrevPOLine)
Deprecated.
|
void |
checkPOLineQtyCost(MboRemote apprPOLine,
MboRemote pndrevPOLine)
Check POLine ordered quantity.
|
void |
checkWAPPRStatus()
Checks if the PO status is WAPPR.
|
protected void |
clearChargeValues()
This method clears this POs POLine's attributes assetnum, location,
storeloc and wonum; sets issue to true; and sets these attributes
to readonly.
|
void |
copyBlanketLinesToRelease(PORemote toPOMbo)
This method copies all the lines of the blanket PO to the Release PO
called by createRelease.
|
void |
copyDefaultTerms()
Copy all TERMS with defaultpo selected
|
void |
copyPRToCurrentPO(MboSetRemote sourcePRLineSet)
Copy PR/PRLines to the current PO.
|
void |
copyPRToNewPO(MboSetRemote sourcePRLineSet)
Copy PR/PRLines to new POs.
|
void |
copySelectedLinesToRelease(PORemote toPOMbo)
This method copies all selected lines of the blanket PO, using line defaults,
to the Release PO.
|
void |
copySpareParts(MboSetRemote sparePartSet)
Adds the spare parts to the POs POLines.
|
MboRemote |
createChangeOrder(java.lang.String ponum,
java.lang.String description)
This method creates change orders(creates a PO from an existing PO and copies over the lines from the corresponding POLines)
Change order POs can be created only from approved or in progress POs(as long as no line items have been received)
The status of the original PO from which this change order has been created will be changed to cancelled.
|
void |
createContractFromPO(java.lang.String contractNum,
java.lang.String description,
java.lang.String contractType)
An interface for UI to create one contract from a PO.
|
void |
createInvoicesForSchedule()
Create invoices for payment schedules.
|
MboRemote |
createPOLineFromPR(MboRemote fromPR,
MboRemote fromPRLine,
MboSetRemote poLines)
Create a PO Line from information on the given PR/PRLine.
|
MboRemote |
createReceipt(MboSetRemote existingReceiptSet,
long polinenum,
java.lang.String ownersysid)
Returns a MatRecTrans mbo to the caller POService.createReceipt()
The method is created for API,Wireless, and GUI
It assumes that updates to other objects such as PO, POLINE,
INVENTORY, INVBALANCES, INVVENDOR, WORKORDER,ASSET are
performed in MatRecTrans.save()
|
MboRemote |
createReturn(MatRecTransSet existingReceiptSet,
long polinenum,
MboRemote matRecTransMbo) |
MboRemote |
createReturn(MboSetRemote existingReceiptSet,
long polinenum,
java.lang.String ownersysid) |
MboRemote |
createSoftwareContractHeader(java.lang.String contractNum,
java.lang.String description,
java.lang.String contractType)
This method copies the PO/PR infomation to the Contract Header and returns the Contract header.
|
void |
deleteDistributions()
Removes any distribtions that the POLine has and adds a new distribution that has a hunderd percent and
has the linecost and the loadedcost of the asoociated POLine.
|
void |
determineReceiptStatus()
Determines the PO's Receipt Status.
|
void |
determineReceiptStatus(POLineRemote poLine) |
MboRemote |
duplicate()
Duplicates an entire PO,its lines and also the related DOCLINKS.
Creates a duplicate Purchase Order. |
void |
generateAutoKey()
Purchase Order Object allows the generation of autokeys
Overrides the generateAutoKey() in the Mbo
|
void |
generateWO()
Generate required work orders if po is direct issue item line
|
MboRemote |
getApprRevision()
Returns the previous approved, in progress or hold revision PO.
|
double |
getAvailableFunds()
For the current Blanket PO, return the amount that is yet to be used.
|
boolean |
getCancelFlag()
Return APIFlag.
|
boolean |
getDontCheckCompleteFlag()
Return dontCheckCompleteFlag to see if it's OK to close PO form invoice
|
boolean |
getFromOnePO()
Return true if it's coming from one individual PO.
|
java.util.Vector |
getInvoiceLineVector() |
MboSetRemote |
getMboSet(java.lang.String name)
IV73901: during change status, the POLINE set on the scrren may be filtered.
|
MboRemote |
getNextRevision()
Returns the next revision of the PO.
|
java.util.Vector |
getPORecord()
Gets historical data from PO.
|
MboRemote |
getPreviousRevision()
Returns the previous revision of the PO.
|
java.lang.String |
getProcess()
Return the work flow process for POs.
|
java.util.Vector |
getReceiptVector() |
MboRemote |
getSharedWorkorder(MboRemote mboRemote,
java.lang.String wonum)
Retrieves the workorder referenced by the matrectrans or servrectrans objects for this PO.
|
protected StatusHandler |
getStatusHandler()
Return a status handler with the help of which the PO status changes can be done.
|
protected MboSetRemote |
getStatusHistory()
Return the postatus object.
|
java.lang.String |
getStatusListName()
Return the string "POSTATUS".
|
java.lang.String[] |
getValidateOrder()
Validation Order for PO attributes.
|
void |
hasReceipts()
If receipts exist for this po, throw an exception.
|
void |
init()
Initialize the Purchase Order.
|
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.
|
boolean |
isApproved()
This method will determine if the PO is approved.
|
boolean |
isInternal()
This method will determine if the PO is internal or external based on the database "internal" column.
|
boolean |
isPOBuyAhead()
This flag will affect the exchangerate2 calculation at po receipt time.
|
boolean |
isPOStatusAPPR()
Checks if the status of the PO is 'APPR'.
|
boolean |
isPOStatusINPRG()
Checks if the status of the PO is 'INPRG'.
|
void |
modify()
Called whenever a change is made to the attributes of a MBO.
|
void |
poSentToVendor()
This method should be called by the UI before cancelling a PO.
|
void |
prorateServices()
Allocate the service lines among the POLines.
|
void |
receive(MboSetRemote receiptSet,
int lineNumber,
double quantity,
java.lang.String binnum)
Receive a line item based on the parameter passed in..
|
void |
receiveRotatingItemOnInternalPO(MboSetRemote receiptSet,
int lineNumber,
java.lang.String binnum,
java.lang.String assetnum)
This method will do a receipt for one rotating item on an internal PO.
|
void |
resetCancelFlag()
Reset APIFlag to be true.
|
MboRemote |
revisePO()
Creates a new revision of the current PO.
|
MboRemote |
revisePO(java.lang.String revDescription)
Creates a new revision of the current PO.
|
MboRemote |
revisePO(java.lang.String revDescription,
boolean allowReceipt)
Creates a new revision of the current PO.
|
void |
save()
Saves the PO and also looks for POLines that have been marked for deletion.If any POLines
have been marked for deletion it gets the corresponding PR or RFQ from which this line came.
|
void |
setCancelFlag(boolean po)
The API would set this flag to true if they want the PO references on the PRLines to be deleted
|
void |
setDontCheckCompleteFlag(boolean flag)
Set dontCheckCompleteFlag flag from Invoice
|
protected void |
setEditibilityFlags(boolean flag)
sets the flags for fields in PO.
|
void |
setFromOnePO(boolean flag)
Set isFromPO flag to be true, if it's coming from one individual PO.
|
void |
setRelatedMboEditibility(java.lang.String relationName,
MboSetRemote mboSet)
Sets the read/only flag for the related set if the set exists.
|
void |
setTotalCost()
Set the Total Cost and Total Taxes.
|
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.
|
void |
updatePndRevPO()
Update Pending Revision PO's received information.
|
void |
updateReleasePO(MboRemote contractRemote)
Update fields for Release type of PO.
|
java.lang.String |
useLineOrLoadedCost()
11-16657/IV09276: added maxvars RECEIPLINEORLOADED to determine if receipt should use linecost or
loadedcost to update POLine.receivedtotalcost.
|
void |
validatePO()
Validate the Purchase Order to see if the PO has a vendor and also check if it has a valid MRNum..
|
addConsignmentItems, checkConsignmentItems, checkConsignmentItemsInContractSet, checkContractType, checkInvalidItemStatus, compareCopyTerms, copyAllTerms, copyContarctTerm, copyContractToPOPR, copyFromContract, copyTerms, createContractHeader, getContractAuth, getExchangeRate, getExchangeRate2, getInvoiceMgtMaxVar, getPOPRLineSet, getShowconswarningFlag, noLimitWhenApprove, nullVendor, 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, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, 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, 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, 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, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, 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, waitcopyContarctTerm, copyContractToPOPR, copyTerms, getPOPRLineSet, noLimitWhenApprove, nullVendor, nullVendorContract, showConsVendorWarningMessageForContractscanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, 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, 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, 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 PO(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getProcess()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setCancelFlag(boolean po)
throws MXException,
java.rmi.RemoteException
setCancelFlag in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.setCancelFlag(boolean)public boolean getCancelFlag()
throws MXException,
java.rmi.RemoteException
getCancelFlag in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.getCancelFlag()public void resetCancelFlag()
resetCancelFlag in interface PORemotePO.resetCancelFlag()protected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class StatefulMboMXExceptionjava.rmi.RemoteExceptionprotected StatusHandler getStatusHandler()
getStatusHandler in class StatefulMbopublic java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void init()
throws MXException
init in class MboMXExceptionpublic void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| billto | Site's billtoaddresscode |
| billtoattn | Site's billtolaborcode |
| buyahead | No |
| changeby | Current username |
| changedate | Current Date |
| currencycode | Base Currency |
| historyflag | No |
| inclusive1..5 | No |
| internal | No |
| orderdate | Current Date |
| payonreceipt | No |
| potype | Standard |
| potypemode | STD |
| priority | 0(zero) |
| receipts | NONE |
| shipto | Site's shiptoaddresscode |
| shiptoattn | Site's shiptolaborcode |
| status | Waiting for Approval |
| statusdate | Current Date |
| totalcost | 0(zero) |
| totaltax1..5 | 0(zero) |
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionSignatureService.getLaborForUserAndOrg(java.lang.String, java.lang.String, psdi.security.UserInfo)public boolean isApproved()
throws MXException,
java.rmi.RemoteException
isApproved in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.isApproved()public boolean isInternal()
throws MXException,
java.rmi.RemoteException
isInternal in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.isInternal()public MboRemote createReceipt(MboSetRemote existingReceiptSet, long polinenum, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
createReceipt in interface PORemote1: - existingReceiptSet: if existingReceiptSet is not null
we want to add a new receipt (MatRecTrans or ServRecTrans) mbo
to the existing set.
Otherwise, create a new setMXApplicationException(inventory, - mxcollabRC) is thrown when the integration rules specify that the
receipt cannot be created.MXApplicationException(po, - InvalidPOLineNum) is thrown when the polinenum that was passed into this
method as a parameter is an invalid polinenum.MXExceptionjava.rmi.RemoteExceptionPO.createReceipt(psdi.mbo.MboSetRemote, long, java.lang.String)public MboRemote createReturn(MatRecTransSet existingReceiptSet, long polinenum, MboRemote matRecTransMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createReturn(MboSetRemote existingReceiptSet, long polinenum, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void receive(MboSetRemote receiptSet, int lineNumber, double quantity, java.lang.String binnum) throws java.rmi.RemoteException, MXException
receive in interface PORemotelineNumber - = The PO line number to receive.quantity - = The quantity received.binnum - = The bin into which the item is received.java.rmi.RemoteExceptionMXExceptionPO.receive(psdi.mbo.MboSetRemote, int, double, java.lang.String)public void receiveRotatingItemOnInternalPO(MboSetRemote receiptSet, int lineNumber, java.lang.String binnum, java.lang.String assetnum) throws java.rmi.RemoteException, MXException
receiveRotatingItemOnInternalPO in interface PORemotelineNumber - = The PO line number to receive.binnum - = The bin into which the item is received.assetnum - = The existing asset number associated with the item.java.rmi.RemoteExceptionMXExceptionPO.receiveRotatingItemOnInternalPO(psdi.mbo.MboSetRemote, int, java.lang.String, java.lang.String)public void determineReceiptStatus()
throws java.rmi.RemoteException,
MXException
determineReceiptStatus in interface PORemotepoLine - The POLine the receipt is being created for. The information of this POLine
might not be saved yet.java.rmi.RemoteExceptionMXExceptionPO.determineReceiptStatus()public void determineReceiptStatus(POLineRemote poLine) throws java.rmi.RemoteException, MXException
determineReceiptStatus in interface PORemotejava.rmi.RemoteExceptionMXExceptionPO.determineReceiptStatus(POLineRemote)public void validatePO()
throws java.rmi.RemoteException,
MXException
MXApplicationException(po, - novendor) is thrown when the PO does not have a vendor.java.rmi.RemoteExceptionMXExceptionpublic void setTotalCost()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void canCreateChangeOrder()
throws java.rmi.RemoteException,
MXException
canCreateChangeOrder in interface PORemoteMXApplicationException(po,changeordertype) - thrown when the PO is the wrong type.MXApplicationException(po,changeorderstatus) - thrown when the PO is the wrong status.java.rmi.RemoteExceptionMXExceptionPO.canCreateChangeOrder()public void hasReceipts()
throws MXException,
java.rmi.RemoteException
MXApplicationException(po, - hasreceiptsitems) thrown when material receipts exist for the PO.MXApplicationException(po, - hasreceiptsservices) thrown when service receipts exist for the PO.MXExceptionjava.rmi.RemoteExceptionpublic void prorateServices()
throws java.rmi.RemoteException,
MXException
prorateServices in interface PORemotejava.rmi.RemoteExceptionMXExceptionPO.prorateServices()public double getAvailableFunds()
throws MXException,
java.rmi.RemoteException
getAvailableFunds in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.getAvailableFunds()public MboRemote createPOLineFromPR(MboRemote fromPR, MboRemote fromPRLine, MboSetRemote poLines) throws MXException, java.rmi.RemoteException
fromPR - = The PR being copied.fromPRLine - = The PRLine being copied.poLines - = The set of POLines for this PO.MXExceptionjava.rmi.RemoteExceptionprotected void setEditibilityFlags(boolean flag)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void copySelectedLinesToRelease(PORemote toPOMbo) throws MXException, java.rmi.RemoteException
PO - remote object(release po)MXExceptionjava.rmi.RemoteExceptionpublic void copyBlanketLinesToRelease(PORemote toPOMbo) throws MXException, java.rmi.RemoteException
PO - remote object(release po)MXExceptionjava.rmi.RemoteExceptionprotected void clearChargeValues()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void deleteDistributions()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isPOBuyAhead()
throws MXException,
java.rmi.RemoteException
isPOBuyAhead in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.isPOBuyAhead()public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXApplicationException(po, - potypeisrequired) is thrown when potype is null.MXApplicationException(po, - fromsiterequired) is thrown when it's internal po and fromsite or storeloc is null.MXExceptionjava.rmi.RemoteExceptionpublic boolean isPOStatusAPPR()
throws MXException,
java.rmi.RemoteException
isPOStatusAPPR in interface PORemotenone - MXExceptionjava.rmi.RemoteExceptionPO.isPOStatusAPPR()public boolean isPOStatusINPRG()
throws MXException,
java.rmi.RemoteException
isPOStatusINPRG in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.isPOStatusINPRG()public java.util.Vector getPORecord()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.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.RemoteExceptionMXExceptionPOLine.skipCopyField(psdi.mbo.MboValueInfo),
PO.loadSkipFieldCopyHashSet()public MboRemote createChangeOrder(java.lang.String ponum, java.lang.String description) throws MXException, java.rmi.RemoteException
createChangeOrder in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.createChangeOrder(java.lang.String, java.lang.String)public void save()
throws MXException,
java.rmi.RemoteException
save in class StatefulMboMXExceptionjava.rmi.RemoteExceptionpublic void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class Mbojava.rmi.RemoteExceptionMXExceptionMbo.generateAutoKey()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#settings,
PO.setEditibilityFlags(boolean)public void poSentToVendor()
throws MXException,
java.rmi.RemoteException
MXApplicationException(po,RequestWillBeSent) - will be thrown if the mnetsent field is neither null nor "ERROR"MXExceptionjava.rmi.RemoteExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic void copyPRToCurrentPO(MboSetRemote sourcePRLineSet) throws MXException, java.rmi.RemoteException
copyPRToCurrentPO in interface PORemotesourcePRLineSet - The PRLineSet being copied.MXExceptionjava.rmi.RemoteExceptionPO.copyPRToCurrentPO(psdi.mbo.MboSetRemote)public void copyPRToNewPO(MboSetRemote sourcePRLineSet) throws MXException, java.rmi.RemoteException
copyPRToNewPO in interface PORemotesourcePRLineSet - The PRLineSet being copied.MXExceptionjava.rmi.RemoteExceptionPO.copyPRToNewPO(psdi.mbo.MboSetRemote)public void copySpareParts(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySpareParts in interface PORemotesparePartSet - The set of spare parts from the UIMXExceptionjava.rmi.RemoteExceptionPO.copySpareParts(psdi.mbo.MboSetRemote)public void addInvVendorItemsToPOLine(MboSetRemote invVendorSetRemote) throws MXException, java.rmi.RemoteException
addInvVendorItemsToPOLine in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.addInvVendorItemsToPOLine(psdi.mbo.MboSetRemote)public void canDuplicate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addToReceiptVector(MboRemote receiptRemote) throws MXException, java.rmi.RemoteException
addToReceiptVector in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.addToReceiptVector(psdi.mbo.MboRemote)public void addToInvoiceLineVector(MboRemote invoiceLineRemote) throws MXException, java.rmi.RemoteException
addToInvoiceLineVector in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.addToInvoiceLineVector(psdi.mbo.MboRemote)public java.util.Vector getReceiptVector()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getInvoiceLineVector()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
throws MXException,
java.rmi.RemoteException
changeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbostatus - 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.RemoteExceptionStatefulMbo.canChangeStatus(String)public void createContractFromPO(java.lang.String contractNum,
java.lang.String description,
java.lang.String contractType)
throws MXException,
java.rmi.RemoteException
createContractFromPO in interface PORemotecontractNum - 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.RemoteExceptionContractFromPOSet.execute()public void checkingBeforeCreateContract()
throws MXException,
java.rmi.RemoteException
checkingBeforeCreateContract in interface PORemoteMXApplicationException - (po, internalpo) is thrown if it's an internal PO.MXExceptionjava.rmi.RemoteExceptionpsdi.jsp.app.po.Actions#createcontpublic void checkWAPPRStatus()
throws MXException,
java.rmi.RemoteException
checkWAPPRStatus in interface PORemoteMXApplicationException - (po, onlyWapprPOs) is thrown if PO status is not WAPPR.MXExceptionjava.rmi.RemoteExceptionpsdi.jsp.app.po.Actions#viewagreementspublic void copyDefaultTerms()
throws MXException,
java.rmi.RemoteException
copyDefaultTerms in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.add(),
PR.createPOHeaderFromPR(java.lang.String, java.lang.String, psdi.mbo.MboRemote),
RFQVendor.createPOHeaderFromRFQ(java.lang.String, java.lang.String)public void updateReleasePO(MboRemote contractRemote) throws MXException, java.rmi.RemoteException
contractRemote - The Contract objectMXExceptionjava.rmi.RemoteExceptionpublic void createInvoicesForSchedule()
throws MXException,
java.rmi.RemoteException
createInvoicesForSchedule in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.createInvoicesForSchedule()public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXApplicationException(po, - cannotdeletepo) is thrown when trying to delete a PO.MXExceptionjava.rmi.RemoteExceptionpublic void checkingBeforeCompleteReceipts()
throws MXException,
java.rmi.RemoteException
checkingBeforeCompleteReceipts in interface PORemoteMXApplicationException - (po, cannotCompleteLine) is thrown if PO status is not APPR or INPRG.MXExceptionjava.rmi.RemoteExceptionPOAppBean.COMPLRECPT()public MboRemote getSharedWorkorder(MboRemote mboRemote, java.lang.String wonum) throws MXException, java.rmi.RemoteException
getSharedWorkorder in interface PORemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.po.PO#getSharedWorkorder()public void setFromOnePO(boolean flag)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean getFromOnePO()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void generateWO()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createSoftwareContractHeader(java.lang.String contractNum, java.lang.String description, java.lang.String contractType) throws MXException, java.rmi.RemoteException
contractNum - 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.RemoteExceptionPO.createContractFromPO(java.lang.String, java.lang.String, java.lang.String),
PR.createContractFromPR(java.lang.String, java.lang.String, java.lang.String)public java.lang.String[] getValidateOrder()
getValidateOrder in class Mbopublic void canRevisePO()
throws MXException,
java.rmi.RemoteException
canRevisePO in interface PORemoteMXApplicationException("po", - "alreadyRevised") - thrown if the current PO is in the REVISED status.MXApplicationException("po", - "shouldBeAppr") - thrown if the current PO is not in the APPROVED status.MXApplicationException("po", - "revisionAlreadyCreated") - thrown if Revision has already been created from this PO.MXExceptionjava.rmi.RemoteExceptionPO.canRevisePO()public MboRemote revisePO() throws MXException, java.rmi.RemoteException
revisePO in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.revisePO(String)public MboRemote revisePO(java.lang.String revDescription) throws MXException, java.rmi.RemoteException
revisePO in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.revisePO(String, boolean)public MboRemote revisePO(java.lang.String revDescription, boolean allowReceipt) throws MXException, java.rmi.RemoteException
revisePO in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.canRevisePO()public MboRemote getNextRevision() throws MXException, java.rmi.RemoteException
getNextRevision in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.getNextRevision()public MboRemote getPreviousRevision() throws MXException, java.rmi.RemoteException
getPreviousRevision in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.getPreviousRevision()public MboRemote getApprRevision() throws MXException, java.rmi.RemoteException
getApprRevision in interface PORemoteMXExceptionjava.rmi.RemoteExceptionPO.getApprRevision()public void updatePndRevPO()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkPOLineQtyCost(MboRemote pndrevPOLine) throws MXException, java.rmi.RemoteException
pndrevPOLine - MXExceptionjava.rmi.RemoteExceptionpublic void checkPOLineQtyCost(MboRemote apprPOLine, MboRemote pndrevPOLine) throws MXException, java.rmi.RemoteException
pndrevPOLine - MXApplicationException - (po, qtycannotlessthanreceived) is thrown if ordered quantity is less than the total received quantityMXApplicationException - (po, costcannotlessthanreceived) is thrown if line cost is less than the total received costMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String useLineOrLoadedCost()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
getMboSet in interface MboRemotegetMboSet in class Mboname - The relationship provided to retrieve a
related mboSet, usually using foreign keys.
For example,
"psdi.app.workorder.WOSetRemote.ASSET" is
a relationship for the work order object to
access the asset Set where
"workorder.assetnum=asset.assetnum". The relationship can
also be chained. Such as ASSET.ASSETSTATUS.MXException - "A relationship called {0} does not exist
for the {1} business object" exception
will be thrown if the relationship was not
found.
"Unknown Object" exception will be thrown
if the database object can not be
found through the relationship.java.rmi.RemoteExceptionMbo.getMboSet(String)public void setDontCheckCompleteFlag(boolean flag)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean getDontCheckCompleteFlag()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException