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 |
checkLimitWhenApprove
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
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)
Check POLine ordered quantity.
|
void |
checkWAPPRStatus()
Checks if the PO status is WAPPR.
|
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 |
getFromOnePO()
Return true if it's coming from one individual PO.
|
java.util.Vector |
getInvoiceLineVector() |
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.
|
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 |
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.
|
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, showConsVendorWarningMessageForContracts
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyContarctTerm, copyContractToPOPR, copyTerms, getPOPRLineSet, noLimitWhenApprove, nullVendor, nullVendorContract, showConsVendorWarningMessageForContracts
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public PO(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getProcess() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setCancelFlag(boolean po) throws MXException, java.rmi.RemoteException
setCancelFlag
in interface PORemote
MXException
java.rmi.RemoteException
setCancelFlag(boolean)
public boolean getCancelFlag() throws MXException, java.rmi.RemoteException
getCancelFlag
in interface PORemote
MXException
java.rmi.RemoteException
getCancelFlag()
public void resetCancelFlag()
resetCancelFlag
in interface PORemote
resetCancelFlag()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public 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 MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
SignatureService.getLaborForUserAndOrg(java.lang.String, java.lang.String, psdi.security.UserInfo)
public boolean isApproved() throws MXException, java.rmi.RemoteException
isApproved
in interface PORemote
MXException
java.rmi.RemoteException
isApproved()
public boolean isInternal() throws MXException, java.rmi.RemoteException
isInternal
in interface PORemote
MXException
java.rmi.RemoteException
isInternal()
public MboRemote createReceipt(MboSetRemote existingReceiptSet, long polinenum, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
createReceipt
in interface PORemote
1:
- 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.MXException
java.rmi.RemoteException
createReceipt(psdi.mbo.MboSetRemote, long, java.lang.String)
public MboRemote createReturn(MatRecTransSet existingReceiptSet, long polinenum, MboRemote matRecTransMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote createReturn(MboSetRemote existingReceiptSet, long polinenum, java.lang.String ownersysid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void receive(MboSetRemote receiptSet, int lineNumber, double quantity, java.lang.String binnum) throws java.rmi.RemoteException, MXException
receive
in interface PORemote
lineNumber
- = The PO line number to receive.quantity
- = The quantity received.binnum
- = The bin into which the item is received.java.rmi.RemoteException
MXException
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 PORemote
lineNumber
- = 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.RemoteException
MXException
receiveRotatingItemOnInternalPO(psdi.mbo.MboSetRemote, int, java.lang.String, java.lang.String)
public void determineReceiptStatus() throws java.rmi.RemoteException, MXException
determineReceiptStatus
in interface PORemote
poLine
- The POLine the receipt is being created for. The information of this POLine
might not be saved yet.java.rmi.RemoteException
MXException
determineReceiptStatus()
public void determineReceiptStatus(POLineRemote poLine) throws java.rmi.RemoteException, MXException
determineReceiptStatus
in interface PORemote
java.rmi.RemoteException
MXException
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.RemoteException
MXException
public void setTotalCost() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void canCreateChangeOrder() throws java.rmi.RemoteException, MXException
canCreateChangeOrder
in interface PORemote
MXApplicationException(po,changeordertype)
- thrown when the PO is the wrong type.MXApplicationException(po,changeorderstatus)
- thrown when the PO is the wrong status.java.rmi.RemoteException
MXException
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.MXException
java.rmi.RemoteException
public void prorateServices() throws java.rmi.RemoteException, MXException
prorateServices
in interface PORemote
java.rmi.RemoteException
MXException
prorateServices()
public double getAvailableFunds() throws MXException, java.rmi.RemoteException
getAvailableFunds
in interface PORemote
MXException
java.rmi.RemoteException
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.MXException
java.rmi.RemoteException
public void copySelectedLinesToRelease(PORemote toPOMbo) throws MXException, java.rmi.RemoteException
PO
- remote object(release po)MXException
java.rmi.RemoteException
public void copyBlanketLinesToRelease(PORemote toPOMbo) throws MXException, java.rmi.RemoteException
PO
- remote object(release po)MXException
java.rmi.RemoteException
public void deleteDistributions() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isPOBuyAhead() throws MXException, java.rmi.RemoteException
isPOBuyAhead
in interface PORemote
MXException
java.rmi.RemoteException
isPOBuyAhead()
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXApplicationException(po,
- potypeisrequired) is thrown when potype is null.MXApplicationException(po,
- fromsiterequired) is thrown when it's internal po and fromsite or storeloc is null.MXException
java.rmi.RemoteException
public boolean isPOStatusAPPR() throws MXException, java.rmi.RemoteException
isPOStatusAPPR
in interface PORemote
none
- MXException
java.rmi.RemoteException
isPOStatusAPPR()
public boolean isPOStatusINPRG() throws MXException, java.rmi.RemoteException
isPOStatusINPRG
in interface PORemote
MXException
java.rmi.RemoteException
isPOStatusINPRG()
public java.util.Vector getPORecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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 MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
Mbo.isAutoKeyed(java.lang.String)
public MboRemote createChangeOrder(java.lang.String ponum, java.lang.String description) throws MXException, java.rmi.RemoteException
createChangeOrder
in interface PORemote
MXException
java.rmi.RemoteException
createChangeOrder(java.lang.String, java.lang.String)
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
java.rmi.RemoteException
MXException
Mbo.generateAutoKey()
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
MXException
java.rmi.RemoteException
public void setRelatedMboEditibility(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
relationName
- The relationship name of the related MboSet which need to set the read/only flag.MXException
java.rmi.RemoteException
#settings
,
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"MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void copyPRToCurrentPO(MboSetRemote sourcePRLineSet) throws MXException, java.rmi.RemoteException
copyPRToCurrentPO
in interface PORemote
sourcePRLineSet
- The PRLineSet being copied.MXException
java.rmi.RemoteException
copyPRToCurrentPO(psdi.mbo.MboSetRemote)
public void copyPRToNewPO(MboSetRemote sourcePRLineSet) throws MXException, java.rmi.RemoteException
copyPRToNewPO
in interface PORemote
sourcePRLineSet
- The PRLineSet being copied.MXException
java.rmi.RemoteException
copyPRToNewPO(psdi.mbo.MboSetRemote)
public void copySpareParts(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySpareParts
in interface PORemote
sparePartSet
- The set of spare parts from the UIMXException
java.rmi.RemoteException
copySpareParts(psdi.mbo.MboSetRemote)
public void addInvVendorItemsToPOLine(MboSetRemote invVendorSetRemote) throws MXException, java.rmi.RemoteException
addInvVendorItemsToPOLine
in interface PORemote
MXException
java.rmi.RemoteException
addInvVendorItemsToPOLine(psdi.mbo.MboSetRemote)
public void canDuplicate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addToReceiptVector(MboRemote receiptRemote) throws MXException, java.rmi.RemoteException
addToReceiptVector
in interface PORemote
MXException
java.rmi.RemoteException
addToReceiptVector(psdi.mbo.MboRemote)
public void addToInvoiceLineVector(MboRemote invoiceLineRemote) throws MXException, java.rmi.RemoteException
addToInvoiceLineVector
in interface PORemote
MXException
java.rmi.RemoteException
addToInvoiceLineVector(psdi.mbo.MboRemote)
public java.util.Vector getReceiptVector() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Vector getInvoiceLineVector() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value
), not
the internal status value (valuelist.maxvalue
).date
- The effective date of the new status (java.util.Date
). If null
the current date/time is used.memo
- A string briefly describing the circumstances of the change. The
memo can be null.accessModifier
- A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException
- Thrown if there is a problem.java.rmi.RemoteException
StatefulMbo.canChangeStatus(String)
public void createContractFromPO(java.lang.String contractNum, java.lang.String description, java.lang.String contractType) throws MXException, java.rmi.RemoteException
createContractFromPO
in interface PORemote
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 userMXException
java.rmi.RemoteException
ContractFromPOSet.execute()
public void checkingBeforeCreateContract() throws MXException, java.rmi.RemoteException
checkingBeforeCreateContract
in interface PORemote
MXApplicationException
- (po, internalpo) is thrown if it's an internal PO.MXException
java.rmi.RemoteException
psdi.jsp.app.po.Actions#createcont
public void checkWAPPRStatus() throws MXException, java.rmi.RemoteException
checkWAPPRStatus
in interface PORemote
MXApplicationException
- (po, onlyWapprPOs) is thrown if PO status is not WAPPR.MXException
java.rmi.RemoteException
psdi.jsp.app.po.Actions#viewagreements
public void copyDefaultTerms() throws MXException, java.rmi.RemoteException
copyDefaultTerms
in interface PORemote
MXException
java.rmi.RemoteException
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 objectMXException
java.rmi.RemoteException
public void createInvoicesForSchedule() throws MXException, java.rmi.RemoteException
createInvoicesForSchedule
in interface PORemote
MXException
java.rmi.RemoteException
createInvoicesForSchedule()
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException(po,
- cannotdeletepo) is thrown when trying to delete a PO.MXException
java.rmi.RemoteException
public void checkingBeforeCompleteReceipts() throws MXException, java.rmi.RemoteException
checkingBeforeCompleteReceipts
in interface PORemote
MXApplicationException
- (po, cannotCompleteLine) is thrown if PO status is not APPR or INPRG.MXException
java.rmi.RemoteException
POAppBean.COMPLRECPT()
public MboRemote getSharedWorkorder(MboRemote mboRemote, java.lang.String wonum) throws MXException, java.rmi.RemoteException
getSharedWorkorder
in interface PORemote
MXException
java.rmi.RemoteException
psdi.app.po.PO#getSharedWorkorder()
public void setFromOnePO(boolean flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getFromOnePO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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 userMXException
java.rmi.RemoteException
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 Mbo
public void canRevisePO() throws MXException, java.rmi.RemoteException
canRevisePO
in interface PORemote
MXApplicationException("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.MXException
java.rmi.RemoteException
canRevisePO()
public MboRemote revisePO() throws MXException, java.rmi.RemoteException
revisePO
in interface PORemote
MXException
java.rmi.RemoteException
revisePO(String)
public MboRemote revisePO(java.lang.String revDescription) throws MXException, java.rmi.RemoteException
revisePO
in interface PORemote
MXException
java.rmi.RemoteException
revisePO(String, boolean)
public MboRemote revisePO(java.lang.String revDescription, boolean allowReceipt) throws MXException, java.rmi.RemoteException
revisePO
in interface PORemote
MXException
java.rmi.RemoteException
canRevisePO()
public MboRemote getNextRevision() throws MXException, java.rmi.RemoteException
getNextRevision
in interface PORemote
MXException
java.rmi.RemoteException
getNextRevision()
public MboRemote getPreviousRevision() throws MXException, java.rmi.RemoteException
getPreviousRevision
in interface PORemote
MXException
java.rmi.RemoteException
getPreviousRevision()
public MboRemote getApprRevision() throws MXException, java.rmi.RemoteException
getApprRevision
in interface PORemote
MXException
java.rmi.RemoteException
getApprRevision()
public void updatePndRevPO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkPOLineQtyCost(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 costMXException
java.rmi.RemoteException
public java.lang.String useLineOrLoadedCost() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException