public class POLine extends PurchasingLineMbo implements POLineRemote
Attribute Name | Description |
---|---|
CatalogCode | Vendor's catalog or product list number. The default is taken from inventory. |
Category | Indicates if the item on the line is either stocked , non-stocked or a special order part (STK, NS, SP) |
ChargeStore | Indicates whether the cost of this line should be added to the asset. |
Conversion | Filled based on the order unit. For example if the orderunit is a "BOX" the conversion factor is 250 indicating that the box has a 250 qty. If there is no orderunit, conversion is defaulted to 1. |
Description | Description of the item or service of this POLine. Also accomodates a long description. |
EnterBy, EnterDate | Name of the user who entered the PO and the date the PO was entered. |
AssetNum | Asset to charge the cost of this line item. |
FinCtrlId | Financial Control Identifier. |
GLCreditAcct | Any refunds or credits from the vendor or storeroom go to this gl account. |
GLDebitAcct | Code for the GL Account to be debited for this line item's cost. |
InspectionRequired | Indicates wheteher this item requires inspection upon receipt. |
Issue | Flag to indicate if the items being ordered should be directly issued to a work order or asset or location. |
ItemSetID | Identifier of the itemset identifier for this object.
|
ItemNum | Identifier for the item number on the POLine. |
LineCost | Cost of the line item calculated as qty * unitcost. For service lines, this field is directly entered by the user. |
LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
LineCost2 | LineCost in Base Currency2. |
LineType | The type of PO Line. It could be ITEM, MATERIAL, SERVICE or EXTERNAL type. |
LoadedCost | Contains the sum of linecost, taxes and special charges |
Location | Location where the item or service will be used. If a Work Order is entered, the location is taken from the corresponding Work Order. |
Manufacturer | Code for the manufacturer who manufactures the item. |
ModelNum | Manufacturer's model number for the item. It is defaulted from inventory. |
MRLineNum | Line number of the Material Requisition from which the POLine was created. This Material Requisition was created in Desktop Requisitions. |
MRNum | Material Requisition number that is linked to this POLine. The PO was created from an MR in desktop requisitions. |
OrderQty | The number of units of the item that have been ordered. If this PR was generated from Inventory, the default is the reorder quantity calculated in inventory. |
OrderUnit | Standard unit by which this item is ordered. If you are requisitioning an item that has an orderunit, that unit(such as dozen or box) is copied from the corresponding inventory record. |
OrgId | Identifier of the organization for this Purchase Order line.
|
PCardExpDate | The date on which the Procurement card expires. Synonymous with the credit card expiration date. Crosses over from PRLine.PCardExpDate. |
PCardType | Type of Procurement card. Example VISA, MASTERCARD etc.Crosses over from PRLine.PCardType. |
PCardNum | The number on the Procurement card. Crosses over from PRLine.PCardNum. |
PCardVerification | Procurement card verification value. |
PONum | Identifier of the Purchase Order to which this line belongs. |
POLineNum | The line number of this POLine. This is unique to every line in a set of POLines that belong to a PO. |
POLineId | Unique identifier for every POLine in the database. Every POLine has a unique POLineId. |
ProrateCost | Amount of special charges loaded on the line item. |
ProrateService | Should cost of service be prorated (loaded) to line items cost when invoicing? |
ReceiptReqd | Flag to indicate if a receipt is required for Invoice Matching. |
ReceiptsComplete | Flag to indicate the receipts for the line are complete. |
ReceivedQty | Quantity that has been received till date. |
ReceivedTotalCost | The total cost that has been received till date. |
ReceivedUnitCost | The unit cost of each commodity that was received. |
RefWO | The referenced work order number |
RejectedQty | Number of items or special order parts that were rejected. |
Remark | Any additional description, remarks that need to be specified for this POLine. |
ReqDeliveryDate | Date on which the delivery is required. |
RequestedBy | The LaborCode of the person who requested this POLine. |
Storeloc | The storeroom location that currently stocks the item. |
SiteId | Identifier of the site for this Purchase Order.
|
Supervisor | The LaborCode of the person who is the supervisor. |
TaskID | The task id for the work order |
Tax1 | Amount of Tax1 due on goods being purchased. Tax1 is added to the grand tax-total only if Inclusive1 is "Yes" |
Tax2 | Amount of Tax2 due on goods being purchased. Tax2 is added to the grand tax-total only if Inclusive2 is "Yes" |
Tax3 | Amount of Tax3 due on goods being purchased. Tax3 is added to the grand tax-total only if Inclusive3 is "Yes" |
Tax4 | Amount of Tax4 due on goods being purchased. Tax4 is added to the grand tax-total only if Inclusive4 is "Yes" |
Tax5 | Amount of Tax5 due on goods being purchased. Tax5 is added to the grand tax-total only if Inclusive5 is "Yes" |
Tax1Code | The code associated with the Tax1. It is used to calculate the value of Tax1. |
Tax2Code | The code associated with the Tax2. It is used to calculate the value of Tax2. |
Tax3Code | The code associated with the Tax3. It is used to calculate the value of Tax3. |
Tax4Code | The code associated with the Tax4. It is used to calculate the value of Tax4. |
Tax5Code | The code associated with the Tax5. It is used to calculate the value of Tax5. |
Taxed | Flag to indicate of the line can be taxed. |
UnitCost | Cost of each unit on the POLine. |
VenDeliveryDate | Estimated Delivery date by the Vendor. |
VendorPackCode | The pack code of the product. It is the code of how the items will be packed. For example, BOX (12 to a box) or PALLET (30 to a pallet). |
VendorPackQuantity | The quantity of the pack code. For example, pack code is "DOZEN", pack quantity is 12. |
VendorWarehouse | Vendor warehouse that the product will come from. |
WoNum | Work Order number for this line item. If a wonum is specified, MAXIMO takes information from the WorkOrder to fill in Location, Asset, GLDebitAcct fields since this PRLine is linked to the WorkOrder. |
POLALN1 thru POLALN5 | Extra fields. Crosses over from PRLINE.PRLALN1 thru PRLINE.PRLALN5 |
PO
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 Line.
|
void |
afterAdd()
Called right after the new POLine mbo is added to the POLineSet.
|
void |
appValidate()
This method is used to perform last minute validations and/or actions before saving the poline.
|
double[] |
calculateUnInvoicedQtyCost()
This method is use by the Invoice's Copy PO Line page to calculate the uninvoiced
quantity and cost.
|
void |
canCancelIfScheduleInvoice()
Cannot cancel the owner PO if there are polines with invoices created from payment schedules
and in the staus of SCHED.
|
void |
cancelScheduleInvoice()
If the owner PO is cancelled, go ahead and cancel all the invoices that have been created
for payment schedules belonging to its polines.
|
void |
canDelete()
This method is automatically called by the framework before delete() is called.The
delete process stops if there are any exceptions thrown in this method
POLine can be deleted if
The status of the PO is Waiting for Approval If there are no receipts against this line |
void |
canDistribute()
Determines if any POCost lines can be created for a POLine, based on certain business rules.
|
void |
checkInvUseStatus()
Check Inventory Usage status for Internal PO.
|
void |
checkPOCostValidity()
Checks if the POCost lines associated with this POLine have correct values for percentage and loadedcost.
|
void |
checkPOLineReceipts(int source)
Check POLine receipt status.
|
void |
clearClassification()
This method clears the classtructureid of the poline.
|
MboRemote |
copy(MboSetRemote mboset)
Over-ride the copy method of the Mbo.
|
void |
delete(long accessmodifier)
This method is called to delete a poline.It deletes the poline after updating the tax values
and totalcost for the corresponding po.
|
void |
deleteReservation()
Delete the inventory reservations created by this POLine.
|
boolean |
doPOLineReceiptsExist()
Does this POLine have receipts? Checks if this is a material POLine or a service line.
|
void |
generateWO()
Generating required work orders when approving PO.
|
static java.util.HashSet |
getHashSet()
Return the skipFieldCopy HashSet.
|
java.lang.String |
getInternalLineType()
Returns the internal representation of the Line Type field.
|
java.lang.String |
getInternalRevStatus()
Get the internal representation of the POLine.REVSTATUS
|
MboRemote |
getPOFromReceipt()
10-17510/10-16749
|
double[] |
getQtyAndCostsFromReceipt()
10-17510/10-16749
|
java.lang.String[] |
getValidateOrder()
Validation Order for PRLine attributes.
|
boolean |
getVendorItem()
Return true if the action is from Vendor Item page.
|
void |
init()
initialize the poline.
|
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 |
isInspectionRequired()
This method will determine if the POLine requires inspection.
|
boolean |
isPOLineReceived()
If it's PNDREV, check the APPR POLine receivedtotalcost.
|
boolean |
isServicePOLineByCost()
The method checks to find if the POLine that is a Service, has a linecost
and no qty and unitcost and if so returns TRUE.
|
boolean |
isServiceType()
The method checks to find if the POLine is a Service or STDService type.
|
static void |
loadSkipFieldCopyHashSet()
The following is a list of fields that are not copied from the source POLine to the target POLine.
enterby enterdate mrlinenum mrnum polineid ponum proratecost receiptscomplete receivedqty receivedtotalcost receivedunitcost rejectedqty reqdeliverydate requestedby vendeliverydate vendorpackcode vendorpackquantity vendorwarehouse The above fields are added to the hashset so that |
void |
modify()
This called whenever a change is made to the attributes of a MBO.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for PONUM.
|
void |
receiptComplete()
Attempt to set receiptscomplete flag of the poline.
|
void |
save()
This saves the POLine and all related Mbos
|
void |
setConsignmentFlags()
This method sets the editibility flag for charge fields.
|
void |
setReceiptQtyAndCostInfo(double receivedQty,
double rejectedQty,
double receivedTotalCost,
MboRemote po)
10-17510/10-16749
|
void |
setVendorItem(boolean value)
Set fromVendorItem variable.
|
void |
undelete()
This method undeletes a POLine that has been marked for deletion
It added the linecost of the undeleted line to the Pretax total on the PO Header
The pretax total field validation updates the total cost and also the
base total cost.
|
void |
updateCost1s()
This updates the POLine linecost1 and loadedcost1 fields with
linecost1 = linecost * exchangerate
and
loadedcost1 = loadedcost * exchangerate
|
MboRemote |
updateInvVendor()
Update invvendor during aprove.
|
void |
updatePOPOLine(double receivedQty,
double rejectedQty,
double receivedTotalCost,
MboRemote po)
Update PO and POline information with received quantities and cost.
|
void |
updatePOPOLine(double receivedQty,
double rejectedQty,
double receivedTotalCost,
MboRemote po,
double conversion)
Update PO and POline information with received quantities and cost
taking into consideration the conversion.
|
void |
updatePOPOLine(double receivedQty,
double rejectedQty,
double receivedTotalCost,
MboRemote po,
double conversion,
boolean fromMeaUsingUpdateReceipt)
Update PO and POline information with received quantities and cost.
|
void |
updateWOAssetOnReceipt(double cost)
Called by servrectrans and matrectrans to update the workorder related information
|
checkConsignment, compareContractWithPOPR, copyLeaseSuspAcct, createContractLine, foundOtherLines, getDefaultTaxCodes, getDefaultTaxExempt, getInvVendorValues, getInvVendorValues, getMRPassedIn, getRecentItemNum, getTaxCodes, isAddLinesOnUse, isValidAssetIfAny, isValidLocationIfAny, isValidMRIfAny, isValidRefWOIfAny, isValidStoreLocIfAny, setConversionFactor, setDefaultOrderPrice, setDefaultValues, setFieldsInitDuplicate, setMRPassedIn, setOrderUnit, setPriceQtyFields, setReceiptTolerance, setRecentItemNum, setUnitCost, validateDeliveryDate
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyLeaseSuspAcct, getMRPassedIn, getTaxCodes, isAddLinesOnUse, isValidAssetIfAny, isValidLocationIfAny, isValidMRIfAny, isValidRefWOIfAny, isValidStoreLocIfAny, setConversionFactor, setFieldsInitDuplicate, setMRPassedIn, setOrderUnit, setPriceQtyFields
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public POLine(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class PurchasingLineMbo
MXException
public void add() throws MXException, java.rmi.RemoteException
Attribute Name | Attribute Value |
---|---|
chargestore | No |
conversion | 1.0 |
enterby | Current User |
enterdate | Current Date |
inspectionrequired | No |
issue | false |
linecost | 0(zero) |
linecost2 | No |
loadedcost | No |
orderqty | No |
polinenum | Max of POLineNum in this set + 1 |
polineid | Unique key. |
proratecost | 0(zero) |
prorateservice | No |
receiptreqd | No |
receiptscomplete | No |
receivedtotalcost | 0(zero) |
receivedunitcost | 0(zero) |
rejectedqty | 0(zero) |
requestedby | 0(zero) |
tax1 thru tax5 | 0(zero) |
tax1code | companies.tax1code |
tax2code | companies.tax2code |
tax3code | companies.tax3code |
tax4code | companies.tax4code |
tax5code | companies.tax5code |
taxed | No |
unitcost | 0(zero) |
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public boolean isInspectionRequired() throws MXException, java.rmi.RemoteException
isInspectionRequired
in interface POLineRemote
MXException
java.rmi.RemoteException
isInspectionRequired()
public void updatePOPOLine(double receivedQty, double rejectedQty, double receivedTotalCost, MboRemote po, double conversion) throws MXException, java.rmi.RemoteException
updatePOPOLine
in interface POLineRemote
MXException
java.rmi.RemoteException
updatePOPOLine(double, double, double, MboRemote, double)
public void updatePOPOLine(double receivedQty, double rejectedQty, double receivedTotalCost, MboRemote po) throws MXException, java.rmi.RemoteException
updatePOPOLine
in interface POLineRemote
MXException
java.rmi.RemoteException
updatePOPOLine(double, double, double, MboRemote)
public void updatePOPOLine(double receivedQty, double rejectedQty, double receivedTotalCost, MboRemote po, double conversion, boolean fromMeaUsingUpdateReceipt) throws MXException, java.rmi.RemoteException
updatePOPOLine
in interface POLineRemote
MXException
java.rmi.RemoteException
updatePOPOLine(double, double, double, MboRemote, double, boolean)
public void receiptComplete() throws MXException, java.rmi.RemoteException
receiptComplete
in interface POLineRemote
MXException
java.rmi.RemoteException
receiptComplete()
public void updateWOAssetOnReceipt(double cost) throws MXException, java.rmi.RemoteException
updateWOAssetOnReceipt
in interface POLineRemote
loadedcost.
- MXException
java.rmi.RemoteException
psdi.app.po.POLine#updatePOPOLine(double)
public void delete(long accessmodifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
None
- MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXApplicationException(po,OwnerMustBePO)
- is thrown when the owner of the line being undeleted is not a PO.MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException(pr,
- cannotDelete) is thrown when we try to delete a line from a PO which is
is not waiting for approval.MXApplicationException(po,
- hasReceipts) is thrown when we try to delete a POLine that has receipts against it.MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class PurchasingLineMbo
MXApplicationException(po,
- ItemOrDescIsRequired) is thrown when the POLine is a not a service line, yet does not
have both the itemnum or description.MXApplicationException(po,
- assetwolocglNull) is thrown when at least one of assetnum, location, wonum, 
gldebitacct does not have a valueMXApplicationException(po,
- StoreLocIsNull) is thrown when this POLine is a direct issue and if
the storeloc is nullMXApplicationException(po,
- AssetNumNull) is thrown when the chargestore flag is true but the POLine does not have an asset.MXException
java.rmi.RemoteException
public void checkPOCostValidity() throws MXException, java.rmi.RemoteException
checkPOCostValidity
in interface POLineRemote
MXException
java.rmi.RemoteException
checkPOCostValidity()
public boolean isServicePOLineByCost() throws MXException, java.rmi.RemoteException
isServicePOLineByCost
in interface POLineRemote
MXApplicationException(po,
- polinenotservice) is thrown when the POLine is not a serviceMXException
java.rmi.RemoteException
isServicePOLineByCost()
public boolean doPOLineReceiptsExist() throws MXException, java.rmi.RemoteException
doPOLineReceiptsExist
in interface POLineRemote
MXException
java.rmi.RemoteException
doPOLineReceiptsExist()
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateCost1s() throws MXException, java.rmi.RemoteException
updateCost1s
in interface POLineRemote
MXException
java.rmi.RemoteException
updateCost1s()
public MboRemote updateInvVendor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static void loadSkipFieldCopyHashSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.util.HashSet getHashSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void afterAdd() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
MXException
java.rmi.RemoteException
public void canDistribute() throws MXException, java.rmi.RemoteException
canDistribute
in interface POLineRemote
MXException
java.rmi.RemoteException
isServicePOLineByCost()
public MboRemote copy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy
in interface MboRemote
copy
in class PurchasingLineMbo
mboset
- The set into which the new mbo will be added.MXException
java.rmi.RemoteException
Mbo.copy(MboSetRemote, long)
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
keyName
- Should equal "PONUM" or else nothing will be propagated.keyValue
- The new value of ponum.MXException
java.rmi.RemoteException
public double[] calculateUnInvoicedQtyCost() throws MXException, java.rmi.RemoteException
calculateUnInvoicedQtyCost
in interface POLineRemote
MXException
java.rmi.RemoteException
calculateUnInvoicedQtyCost()
public void setVendorItem(boolean value) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getVendorItem() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getInternalLineType() throws MXException, java.rmi.RemoteException
getInternalLineType
in interface POLineRemote
MXException
java.rmi.RemoteException
getInternalLineType()
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public boolean isServiceType() throws MXException, java.rmi.RemoteException
isServiceType
in interface POLineRemote
MXException
java.rmi.RemoteException
isServiceType()
public void canCancelIfScheduleInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void cancelScheduleInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
canCancelIfScheduleInvoice()
public void deleteReservation() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearClassification() throws java.rmi.RemoteException, MXException
clearClassification
in interface POLineRemote
java.rmi.RemoteException
MXException
clearClassification()
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public java.lang.String getInternalRevStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkInvUseStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setConsignmentFlags() throws MXException, java.rmi.RemoteException
setConsignmentFlags
in interface POLineRemote
MXexception
java.rmi.RemoteException
MXException
setConsignmentFlags()
public void setReceiptQtyAndCostInfo(double receivedQty, double rejectedQty, double receivedTotalCost, MboRemote po) throws MXException, java.rmi.RemoteException
receivedQty
- rejectedQty
- receivedTotalCost
- po
- MXException
java.rmi.RemoteException
public double[] getQtyAndCostsFromReceipt() throws MXException, java.rmi.RemoteException
getQtyAndCostsFromReceipt
in interface POLineRemote
MXException
java.rmi.RemoteException
getQtyAndCostsFromReceipt()
public MboRemote getPOFromReceipt() throws MXException, java.rmi.RemoteException
getPOFromReceipt
in interface POLineRemote
MXException
java.rmi.RemoteException
getPOFromReceipt()
public boolean isPOLineReceived() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkPOLineReceipts(int source) throws MXException, java.rmi.RemoteException
source
- to indicate where to call this methodMXException
java.rmi.RemoteException