The issue is that the non-inventory item custom field is not being recognised when a Sales invoice receipt (or purchase invoice payment) has been used.
@lubos if this is easy to fix I would appreciate it. If not, I will workaround it/live with it and move on.
The custom field is embedded in the Non-inventory item. It does not appear in the transaction.
Whether or not the report is set to Accrual basis or Cash basis it is extracting the information from the sales invoice ( as both report types provide the dissection line items).
So my reference to the sales invoice receipt has confused the issue. The presence of a receipt against the sales invoice only determines whether the sales invoice is to be included in the Cash basis report (the relevant information is still extracted form the sales invoice).
If the Accrual basis report can extract all the information from the sales invoice, why does the Cash basis report extract all but the Non-inventory item custom field information from the sales invoice? (The Non-inventory item is named “Category” in this example).
Edit:
Cash receipts and cash payments (no invoice involved) report correctly in both reports.
The information is all there in the cash basis report except for the Non-inventory item of “Category” in the transactions referenced to the sales invoices.