I have a simple process defined to send invoices as pdf file to customers:
FIND Invoices WHERE(Invoices.Send='No') IN BATCHES OF 1
EXPORT DOCUMENT 'Invoice' TO FILE 'C:/AwareIM/Invoice.pdf'
SEND NewReceiptEmail TO Members
When I run this I get an error on the second operation:
Document to export is not found in action EXPORT DOCUMENT 'Invoice' TO FILE 'C:/AwareIM/Invoice.pdf'
However, the following does work:
FIND Invoices WHERE(Invoices.Send='No') IN BATCHES OF 1
VIEW DOCUMENT 'Invoice' MERGE INTO ONE
I'm confused as to what I have done wrong. Any help would be appreciated.