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, setTargetStatusOption
add, 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, 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
createReverseInvoice
double totalInclusiveTax() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboRemote createInvoiceForReceipt(MboRemote receipt) throws MXException, java.rmi.RemoteException
receipt
- Receipt which needs an invoice line to be created for.MXException
java.rmi.RemoteException
java.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.MXException
java.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.MXException
java.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.MXException
java.rmi.RemoteException
java.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.MXException
java.rmi.RemoteException
findMatch(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.MXException
java.rmi.RemoteException
void 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.MXException
java.rmi.RemoteException
MboSetRemote copyPOLineToInvoiceLine(MboSetRemote poLineSet) throws MXException, java.rmi.RemoteException
poLineSet
- The PO Line set from which the invoice lines are to be created.MXException
java.rmi.RemoteException
MboSetRemote copyReceiptToInvoiceLine(MboSetRemote receiptSet) throws MXException, java.rmi.RemoteException
receiptSet
- The receipt set from which the invoice lines are to be created.MXException
java.rmi.RemoteException
void 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.MXException
java.rmi.RemoteException
void canAllocateService() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Invoice.canAllocateService()
void validateAndCompleteAllocation(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#validateAllocation()
InvoiceLineSetRemote[] getAllocatePrepSets(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#getAllocatePrepSets()
void resetTotalAllocated(InvoiceLineSetRemote lineSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#resetTotalAllocated()
void allocateServices(InvoiceLineSetRemote toBeAllocated, InvoiceLineSetRemote acceptingLines) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#allocateServices()
void cancelAllocateService() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Invoice.cancelAllocateService()
void setPOReference(MboRemote poRemote) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void checkForOpenStatus() throws MXException, java.rmi.RemoteException
checkForOpenStatus
in interface StatefulMboRemote
MXApplicationException
- (system, historyrecord) is thrown if the record is history
with status of PAID.MXException
java.rmi.RemoteException
StatefulMbo.checkForOpenStatus()
MboSetRemote getCopyPOLineSet(java.lang.String tbName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#getCopyPOLineSet()
void copyTerms(MboSetRemote termsSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#copyTerms()
MboRemote createInvoiceForPurchSched(MboRemote poLine, MboRemote scheduleLine, MboRemote receipt) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#createInvoiceForPurchSched()
MboRemote createInvoiceForLabTrans(MboRemote labTrans, double quantity, double lineCost, boolean lineByLine) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#createInvoiceForLabTrans()
MboRemote createInvoiceForLeaseSched(MboRemote scheduleLine, double quantity, double lineCost, boolean singleLine) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#createInvoiceForLeaseSched()
void changeVendorTaxInfo(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#changeVendorTaxInfo()
void nullVendor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Invoice.nullVendor()
MboRemote createInvoiceForWarrSched(MboRemote schedule, double quantity, double lineCost) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice.Invoice#createInvoiceForWarrSched()
void checkAndClearAllocatedLines() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void canCopyPOLines() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void checkForPOLineTolerance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void checkForServiceLinePOTolerance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void checkForServiceLineTolerance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void checkForTaxTolerance() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void createInvoiceTransTotal() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void createInvoiceTransForTaxes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void isConditionEnabled(MboSetRemote poLineSet, boolean copyFromPOLineTab) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void 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
MXException
java.rmi.RemoteException
psdi.app.invoice
void canReverseInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void canDuplicateInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void canChangeVendor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
boolean isReverseInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
boolean isCreditInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void createInvoiceLineForCons(MboSetRemote transSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
void createInvoiceLineForCons(java.util.ArrayList consTransByVendorList) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice
boolean isConsignmentInvoice() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.app.invoice