public interface InvoiceRemote extends StatefulMboRemote, InvoiceAppActionInterface
| Modifier and Type | Method and Description |
|---|---|
void |
allocateServices(InvoiceLineSetRemote toBeAllocated,
InvoiceLineSetRemote acceptingLines) |
void |
canAllocateService() |
void |
cancelAllocateService() |
void |
canChangeVendor() |
void |
canCopyPOLines() |
void |
canDuplicateInvoice() |
void |
canReverseInvoice() |
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
boolean autoClosePo)
This method is to be called by the UI change status page.
|
void |
changeVendorTaxInfo(MboRemote mboRemote) |
void |
checkAndClearAllocatedLines() |
void |
checkForOpenStatus()
This method overwrites the method in the super class StateFulMbo.
|
void |
checkForPOLineTolerance() |
void |
checkForServiceLinePOTolerance() |
void |
checkForServiceLineTolerance() |
void |
checkForTaxTolerance() |
void |
confirmMatch(MboRemote invoiceLine,
java.util.Vector matchReceipts)
This method confirms that a previously found match by findMatch() is being confirmed.
|
MboSetRemote |
copyPOLineToInvoiceLine(MboSetRemote poLineSet)
Create the invoice lines based on the passed in PO Line set and copy over the related info.
|
MboSetRemote |
copyReceiptToInvoiceLine(MboSetRemote receiptSet)
Create the invoice lines based on the passed in receipts set and copy over the related info.
|
void |
copyTerms(MboSetRemote termsSet) |
MboRemote |
createInvoiceForLabTrans(MboRemote labTrans,
double quantity,
double lineCost,
boolean lineByLine) |
MboRemote |
createInvoiceForLeaseSched(MboRemote scheduleLine,
double quantity,
double lineCost,
boolean singleLine) |
MboRemote |
createInvoiceForPurchSched(MboRemote poLine,
MboRemote scheduleLine,
MboRemote receipt) |
MboRemote |
createInvoiceForReceipt(MboRemote receipt)
Create InvoiceLine, InvoiceCost, InvoiceMatch for receipt.
|
MboRemote |
createInvoiceForWarrSched(MboRemote schedule,
double quantity,
double lineCost) |
void |
createInvoiceLineForCons(java.util.ArrayList consTransByVendorList) |
void |
createInvoiceLineForCons(MboSetRemote transSet) |
void |
createInvoiceTransAfterAppr(MboRemote invoice,
double currencyVariance,
double priceVariance)
This method is to be used to create invoice variance transactions after approval.
|
void |
createInvoiceTransAfterAppr(java.lang.String invoicenum,
double currencyVariance,
double priceVariance)
This method is to be used to create invoice variance transactions after approval.
|
void |
createInvoiceTransForTaxes() |
void |
createInvoiceTransTotal() |
void |
createReverseInvoice(java.lang.String invoiceNum,
java.lang.String description,
java.lang.String revReason,
java.util.Date glPostdate,
java.lang.String status) |
java.util.Vector |
findMatch(boolean exactFirst,
java.util.Vector uninvoicedReceipts,
double value,
boolean byCost,
InvoiceLineRemote invoiceLine,
POLineRemote poline)
A simplified format of findMatch() method.
|
InvoiceLineSetRemote[] |
getAllocatePrepSets(InvoiceLineSetRemote toBeAllocated,
InvoiceLineSetRemote acceptingLines) |
java.util.Vector |
getAllUninvoicedMatReceipts(java.lang.String poNum,
java.lang.String poLineNum,
java.lang.String siteID,
boolean isNegativeLine,
java.lang.String receiptID)
Get all the uninvoiced material receipts.
|
java.util.Vector |
getAllUninvoicedServReceipts(java.lang.String poNum,
java.lang.String poLineNum,
java.lang.String siteID,
boolean isNegativeLine,
java.lang.String receiptID)
Get all the uninvoiced service receipts.
|
MboSetRemote |
getCopyPOLineSet(java.lang.String tbName) |
void |
isConditionEnabled(MboSetRemote poLineSet,
boolean copyFromPOLineTab) |
boolean |
isConsignmentInvoice() |
boolean |
isCreditInvoice() |
boolean |
isReverseInvoice() |
void |
nullVendor() |
void |
resetTotalAllocated(InvoiceLineSetRemote lineSet) |
void |
setPOReference(MboRemote poRemote) |
double |
totalInclusiveTax()
Calculates the total tax based on the inclusive tax flags.
|
void |
validateAndCompleteAllocation(InvoiceLineSetRemote toBeAllocated,
InvoiceLineSetRemote acceptingLines) |
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getStatusListName, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionadd, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributescreateReverseInvoicedouble totalInclusiveTax()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMboRemote createInvoiceForReceipt(MboRemote receipt) throws MXException, java.rmi.RemoteException
receipt - Receipt which needs an invoice line to be created for.MXExceptionjava.rmi.RemoteExceptionjava.util.Vector getAllUninvoicedMatReceipts(java.lang.String poNum,
java.lang.String poLineNum,
java.lang.String siteID,
boolean isNegativeLine,
java.lang.String receiptID)
throws MXException,
java.rmi.RemoteException
poNum - PO number for this invoice linepoLineNum - The POLine number.siteID - The site identifier.MXExceptionjava.rmi.RemoteException#getAllUninvoicedReceipts(String, int)java.util.Vector getAllUninvoicedServReceipts(java.lang.String poNum,
java.lang.String poLineNum,
java.lang.String siteID,
boolean isNegativeLine,
java.lang.String receiptID)
throws MXException,
java.rmi.RemoteException
poNum - PO number for this invoice linepoLineNum - The POLine number.siteID - The site identifier.MXExceptionjava.rmi.RemoteException#getAllUninvoicedReceipts(String, int)void confirmMatch(MboRemote invoiceLine, java.util.Vector matchReceipts) throws MXException, java.rmi.RemoteException
invoiceLine - The invoice line for which the invoice match is being confirmed.matchReceipt - A vector of the receipt and the matched qty or cost needs to be updated.MXExceptionjava.rmi.RemoteExceptionjava.util.Vector findMatch(boolean exactFirst,
java.util.Vector uninvoicedReceipts,
double value,
boolean byCost,
InvoiceLineRemote invoiceLine,
POLineRemote poline)
throws MXException,
java.rmi.RemoteException
Vector - A vector of uninvoiceReceipts with their uninvoiced cost and qty. The match
will be conducted from those receipts.They have to be ordered by their
transaction date.value - The quantity or cost the matched receipts have to have. If it
is a quantity, it should be in issue unit.byCost - If the match is based on cost or quantity.invoiceLine - Invoice line to be matched. It is null when invoice line is not involved
such as during trial match.MXExceptionjava.rmi.RemoteExceptionfindMatch(Vector, Vector, double, double, boolean, boolean, boolean, InvoiceLineRemote)void createInvoiceTransAfterAppr(MboRemote invoice, double currencyVariance, double priceVariance) throws MXException, java.rmi.RemoteException
invoice - The MboRemote of the invoice.currencyVariance - The currency variance.priceVariance - The price variance.MXExceptionjava.rmi.RemoteExceptionvoid createInvoiceTransAfterAppr(java.lang.String invoicenum,
double currencyVariance,
double priceVariance)
throws MXException,
java.rmi.RemoteException
invoice - The invoicenum of the invoice.currencyVariance - The currency variance.priceVariance - The price variance.MXExceptionjava.rmi.RemoteExceptionMboSetRemote copyPOLineToInvoiceLine(MboSetRemote poLineSet) throws MXException, java.rmi.RemoteException
poLineSet - The PO Line set from which the invoice lines are to be created.MXExceptionjava.rmi.RemoteExceptionMboSetRemote copyReceiptToInvoiceLine(MboSetRemote receiptSet) throws MXException, java.rmi.RemoteException
receiptSet - The receipt set from which the invoice lines are to be created.MXExceptionjava.rmi.RemoteExceptionvoid changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
boolean autoClosePo)
throws MXException,
java.rmi.RemoteException
status - The desired status.date - The current date.memo - Any notes by the user.autoClosePO - Indicates if the PO is to be closed.MXExceptionjava.rmi.RemoteExceptionvoid canAllocateService()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionInvoice.canAllocateService()void validateAndCompleteAllocation(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#validateAllocation()InvoiceLineSetRemote[] getAllocatePrepSets(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#getAllocatePrepSets()void resetTotalAllocated(InvoiceLineSetRemote lineSet) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#resetTotalAllocated()void allocateServices(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#allocateServices()void cancelAllocateService()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionInvoice.cancelAllocateService()void setPOReference(MboRemote poRemote) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionvoid checkForOpenStatus()
throws MXException,
java.rmi.RemoteException
checkForOpenStatus in interface StatefulMboRemoteMXApplicationException - (system, historyrecord) is thrown if the record is history
with status of PAID.MXExceptionjava.rmi.RemoteExceptionStatefulMbo.checkForOpenStatus()MboSetRemote getCopyPOLineSet(java.lang.String tbName) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#getCopyPOLineSet()void copyTerms(MboSetRemote termsSet) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#copyTerms()MboRemote createInvoiceForPurchSched(MboRemote poLine, MboRemote scheduleLine, MboRemote receipt) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#createInvoiceForPurchSched()MboRemote createInvoiceForLabTrans(MboRemote labTrans, double quantity, double lineCost, boolean lineByLine) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#createInvoiceForLabTrans()MboRemote createInvoiceForLeaseSched(MboRemote scheduleLine, double quantity, double lineCost, boolean singleLine) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#createInvoiceForLeaseSched()void changeVendorTaxInfo(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#changeVendorTaxInfo()void nullVendor()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionInvoice.nullVendor()MboRemote createInvoiceForWarrSched(MboRemote schedule, double quantity, double lineCost) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice.Invoice#createInvoiceForWarrSched()void checkAndClearAllocatedLines()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid canCopyPOLines()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid checkForPOLineTolerance()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid checkForServiceLinePOTolerance()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid checkForServiceLineTolerance()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid checkForTaxTolerance()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid createInvoiceTransTotal()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid createInvoiceTransForTaxes()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid isConditionEnabled(MboSetRemote poLineSet, boolean copyFromPOLineTab) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid createReverseInvoice(java.lang.String invoiceNum,
java.lang.String description,
java.lang.String revReason,
java.util.Date glPostdate,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid canReverseInvoice()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid canDuplicateInvoice()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid canChangeVendor()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoiceboolean isReverseInvoice()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoiceboolean isCreditInvoice()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid createInvoiceLineForCons(MboSetRemote transSet) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoicevoid createInvoiceLineForCons(java.util.ArrayList consTransByVendorList)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoiceboolean isConsignmentInvoice()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.invoice