I would like to know the best practise on how to handle large data ex.
try
{
$InvoiceHandles = $client->Debtor_GetInvoices(array('debtorHandle' => $debtorHandle))->Debtor_GetInvoicesResult->InvoiceHandle;
$num_Invoices = count($InvoiceHandles);
if($num_Invoices > 0)
{
$Invoice .= "<h2>".$num_Invoices." faktura</h2>";
if($num_Invoices > 1)
{
$InvoiceDataObjects = $client->Invoice_GetDataArray(array('entityHandles' => $InvoiceHandles))->Invoice_GetDataArrayResult->InvoiceData;
}
else
{
$InvoiceDataObjects[] = $client->Invoice_GetData(array('entityHandle' => $InvoiceHandles))->Invoice_GetDataResult;
}.....
Can i limit this om date og number of invoices?
i need invoicesfor the last 14momth
max 30 invoices
try
{
$InvoiceHandles = $client->Debtor_GetInvoices(array('debtorHandle' => $debtorHandle))->Debtor_GetInvoicesResult->InvoiceHandle;
$num_Invoices = count($InvoiceHandles);
if($num_Invoices > 0)
{
$Invoice .= "<h2>".$num_Invoices." faktura</h2>";
if($num_Invoices > 1)
{
$InvoiceDataObjects = $client->Invoice_GetDataArray(array('entityHandles' => $InvoiceHandles))->Invoice_GetDataArrayResult->InvoiceData;
}
else
{
$InvoiceDataObjects[] = $client->Invoice_GetData(array('entityHandle' => $InvoiceHandles))->Invoice_GetDataResult;
}.....
Can i limit this om date og number of invoices?
i need invoicesfor the last 14momth
max 30 invoices