public interface IARInformation extends ERPInterface
ERROR_CONNECT, ERROR_NONE, ERROR_PROGRAM, WARN_DUPLICATE, WARN_NONE
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.
|
getContext, getErrorType, getWarningType, setContext, setErrorType, setWarningType
ARSummary getAR(boolean openInvoices, int daysOfInvoices, int monthsOfAging)
openInvoices
- (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.java.util.ArrayList<PaymentDetail> getInvoicePayments(java.lang.String paidbyCustId, java.lang.String invoiceNumber)
paidbyCustId
- (String) The paid-by customer for the desired
payment details.invoiceNumber
- (String) The invoice number for the desired
payment details.boolean createInvoicePDF(java.lang.String invoiceNumber)
invoiceNumber
- (String) Invoice number.true
if creating the invoice was successful,
otherwise false
.boolean writeInvoicePDFData(java.io.OutputStream out)
createInvoicePDF()
must be made before executing this method.out
- (OutputStream) The target output stream.true
if operation was successful,
otherwise false
.java.lang.String getErrorCode()