public class ARInformation extends ERPInterfaceBogus implements IARInformation
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivConfigivHashCode, ivHashFlds, ivObjAttrsERROR_CONNECT, ERROR_NONE, ERROR_PROGRAM, WARN_DUPLICATE, WARN_NONE| Constructor and Description |
|---|
ARInformation()
Constructs a new ERP accounts receivable information interface.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
createInvoicePDF(java.lang.String invoiceNumber)
Creates an existing invoice as a PDF.
|
ARSummary |
getAR(boolean openInvoices,
int daysOfInvoices,
int monthsOfAging)
Returns accounts receivable information for the current shopping user.
|
java.lang.String |
getErrorCode()
Returns the retrieved error code.
|
java.util.ArrayList<PaymentDetail> |
getInvoicePayments(java.lang.String paidbyCustId,
java.lang.String invoiceNumber)
Returns a collection of payment details for an invoice.
|
boolean |
writeInvoicePDFData(java.io.OutputStream out)
Writes the invoice PDF data to the supplied output stream.
|
equals, getContext, getErrorType, getQueueKey, getWarningType, setContext, setErrorType, setQueueKey, setWarningTypecloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetContext, getErrorType, getWarningType, setContext, setErrorType, setWarningTypeprivate static final long serialVersionUID
public ARInformation()
public ARSummary getAR(boolean openInvoices, int daysOfInvoices, int monthsOfAging)
getAR in IARInformation.getAR in interface IARInformationopenInvoices - (boolean) A flag that designates whether open
invoices are retrieved true or all invoices are retrieved
false.daysOfInvoices - (int) Limits the invoices retrieved to this many
days in the past.monthsOfAging - (int) Limits the aging retrieved to this many
months in the past.public java.util.ArrayList<PaymentDetail> getInvoicePayments(java.lang.String paidbyCustId, java.lang.String invoiceNumber)
getInvoicePayments in interface IARInformationpaidbyCustId - (String) The paid-by customer for the desired
payment details.invoiceNumber - (String) The invoice number for the desired
payment details.public boolean createInvoicePDF(java.lang.String invoiceNumber)
createInvoicePDF in interface IARInformationinvoiceNumber - (String) Invoice number.true if creating the invoice was successful,
otherwise false.public boolean writeInvoicePDFData(java.io.OutputStream out)
createInvoicePDF() must be made before executing this method.writeInvoicePDFData in interface IARInformationout - (OutputStream) The target output stream.true if operation was successful,
otherwise false.public java.lang.String getErrorCode()
getErrorCode in interface IARInformation