ContractorInvoiceHandler
This class contains the functions to perform the following:
api | |
---|---|
package | simPROAPI |
subpackage | Invoice |
author | Nathan Muir, Michael West |
version | 2011-07-28 |
Retrieve(int $CompanyID, int $InvoiceNo) : array
This function retrieves a invoice with a specific Contractor Invoice ID
uses | \ContractorInvoiceHandler::RetrieveList() |
---|---|
used_by | \AccPayInvoiceHandler::Retrieve() |
int
the Company ID. In single company builds, this is 0.
int
The Invoice Number to retrieve
array
RetrieveList(int $CompanyID, array $InvoiceNos) : array
This function retrieves details on the provided list of contractor invoice ids
used_by | \AccPayInvoiceHandler::RetrieveExport() |
---|---|
used_by | \AccPayInvoiceHandler::RetrieveList() |
used_by | \ContractorInvoiceHandler::Search() |
used_by | \ContractorInvoiceHandler::SearchInvoice() |
used_by | \ContractorInvoiceHandler::SearchContractorJob() |
used_by | \ContractorInvoiceHandler::Retrieve() |
used_by | \ContractorJobHandler::Retrieve() |
int
the Company ID. In single company builds, this is 0.
array
list of Contractor Invoice ID's to retrieve.
array
Search(int $CompanyID, string $Search = '', string $StartDate = null, string $EndDate = null) : array
This function searches for the list of invoices for a specific time period
uses | \ContractorInvoiceHandler::RetrieveList() |
---|---|
used_by | \AccPayInvoiceHandler::Search() |
int
the Company ID. In single company builds, this is 0.
string
The search text for the accounts payable invoice. Can use % for wildcards.
string
Date start (inclusive) to search for the specified contractor. Null/Empty will ignore this parameter. {@link http://php.net/manual/en/function.strtotime.php}
string
Date end (inclusive) to search for the specified contractor. Null/Empty will ignore this parameter. {@link http://php.net/manual/en/function.strtotime.php}
array
SearchContractorJob(int $CompanyID, int $ContractorJobNo) : array
This function searches for contractor invoices with a specific contractor job number
uses | \ContractorInvoiceHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
int
The Contractor Job Number
array
SearchInvoice(int $CompanyID, string $InvoiceNo) : array
This function searches for contractor invoices with a specific contractor invoice number
uses | \ContractorInvoiceHandler::RetrieveList() |
---|---|
used_by | \AccPayInvoiceHandler::SearchInvoice() |
int
the Company ID. In single company builds, this is 0.
string
The Contractor Invoice Number
array