I am usually a Sage 200 developer but have recently been asked to work on a Sage 50 Invoicing issue.
Given the 3 type of data below, I would like to pull the various fields from the collection of all 3 types of data objects
I would appreciate if someone could give me a heads up on how I may go about this in perhaps a snippet of an example.
I am aware that under HeaderData the INV_REF is not always a numeric integer so I need to grab the INVOICE_NUMBER from InvoiceData or InvoicePost
PAYMENT_DUE_DATE is available in InvoiceData and InvoicePost and HeaderData as DATE_DUE
INVOICE_NUMBER is avalilable in InvoiceData and InvoicePost
InvoiceData
INVOICE_NUMBER
INVOICE_DATE
PAYMENT_DUE_DATE
HeaderData
INV_REF
DATE_DUE
InvoicePost
INVOICE_DATE
INVOICE_NUMBER
I believe all 3 data files are instrumental in creating an invoice.
I would like to know how to read all three data files together so that I can choose the salient parts for reading properties.
This is so that I can start work on a module to send email requests to customers where invoices are overdue.
can anyone assist please?
thanks
jON