AccRecInvoiceHandler

api
package simPROAPI
subpackage Accounts
author Michael West
version 2012-03-21

 Methods

AccRecInvoiceFlag

Flag(int $CompanyID, int $AccRecInvoiceID) : bool
Static

This function flags a particular accounts receivable invoice as exported

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceID

int

The accounts receivable invoice to flag as exported

Returns

bool

AccRecInvoiceFlagList

FlagList(int $CompanyID, array $AccRecInvoiceIDs) : bool
Static

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceIDs

array

The accounts receivable invoice list to flag as exported

Returns

bool

AccRecInvoiceRetrieve

Retrieve(int $CompanyID, mixed $AccRecInvoiceID) : array
Static

This function retrieves an accounts receivable invoice with a specific ID

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceID

mixed

the accounts receivable invoice id

Returns

array

AccRecInvoiceRetrieveExport

RetrieveExport(int $CompanyID) : array
Static

This function retrieves a list of accounts receivable invoices that are ready for export

uses \AccRecInvoiceHandler::RetrieveList()

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

Returns

array

AccRecInvoiceRetrieveList

RetrieveList(int $CompanyID, array $AccRecInvoiceIDs) : array
Static
used_by \AccRecInvoiceHandler::Search()
used_by \AccRecInvoiceHandler::RetrieveExport()

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceIDs

array

list of AccRecInvoice ID's to retrieve.

Returns

array

AccRecInvoiceUnFlag

UnFlag(int $CompanyID, int $AccRecInvoiceID) : bool
Static

This function Unflags a particular accounts receivable invoice as exported

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceID

int

The accounts receivable invoice to Unflag as exported

Returns

bool

AccRecInvoiceUnFlagList

UnFlagList(int $CompanyID, array $AccRecInvoiceIDs) : bool
Static

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$AccRecInvoiceIDs

array

The accounts receivable invoice list to Unflag as exported

Returns

bool