FINANCIAL_RECEIPT_INVOICE_SEARCH | FINANCIAL Endpoint | |
/rpc/financial/?method=FINANCIAL_RECEIPT_INVOICE_SEARCH | ||
The searches the link between Receipts and Invoices. For information on how to use Advanced Searches, click here |
DETAILS | |||
Prefix | ReceiptInvoice |
SUB SEARCHES | |||
Invoice | FINANCIAL_INVOICE_SEARCH | ||
InvoiceLineItem | FINANCIAL_LINE_ITEM_SEARCH | ||
Receipt | FINANCIAL_RECEIPT_SEARCH | ||
ReceiptLineItem | FINANCIAL_LINE_ITEM_SEARCH |
PARAMETERS | TYPE | NOTES | |
Amount | Numeric | ||
AppliesDate | Date | ||
Id | Numeric | ||
Invoice | Numeric | Id of the Invoice | |
InvoiceText | Text (50) | ||
InvoiceLineItem | Numeric | ||
InvoiceLineItemText | Text (50) | ||
Notes | Text (2000) | ||
Receipt | Numeric | Id of the Receipt | |
ReceiptText | Text (50) | ||
ReceiptLineItem | Numeric | ||
ReceiptLineItemText | Text (50) | ||
Tax | Numeric | ||
Standard System Parameters | Click here for more information |
EXAMPLE | |
1. Get the Amount, Receipt's Reference, and Invoice's Reference | |
var oAdvancedSearch = new AdvancedSearch(); oAdvancedSearch.endPoint = 'financial'; oAdvancedSearch.method = 'FINANCIAL_RECEIPT_INVOICE_SEARCH'; oAdvancedSearch.addField('receiptinvoice.amount,receiptinvoice.receipt.reference,receiptinvoice.invoice.reference'); |