Running into a problem. I'm trying to see the invoice items on an invoice. I have pulled the invoice up in Netsuite and looked at the in through the UI and it definitely has items priced out on it. But when I access the invoice through C# and web services, it shows that the Invoice Item List is null. Any ideas?
Here is a sample of the code:
Record[] records = response.recordList;
for (int i = 0, j = (response.pageIndex - 1) * response.pageSize; i < records.Length; i++, j++)
{
Invoice PinnInvoice = (Invoice)records[i];
InvoiceItemList itemlist = PinnInvoice.itemList;
InvoiceItem[] items = itemlist.item;
for (int idx = 0; idx <= items.Length - 1; idx++)
{
InvoiceItem item = items[idx];
RecordRef itm = item.item;
}
}
There are invoices in the record list.