I am using Invantive Control to create an Excel report with some outstanding invoices information from Exact Online.
I have created a model with the block designer and I have the outstanding invoices information I need. Now I also want to know the payment condition of the account which is in debt, but there is no information on the payment condition on the AROutstandingItems
table.
This is the query I have so far:
select division_code
, division_name
, number_attr
, outstandingitems_ar_account_code_attr
, outstandingitems_ar_account_name
, description
, invoicedate
, duedate
, currency_code_attr
, invoiceamtfc
, outstandingamtfc
, invoiceamtdc
, outstandingamtdc
from aroutstandingitems
order
by division_code
, outstandingamtdc desc
How can I add the payment condition to my report?