gtAROverdueInvoicePrint
This function prints outstanding Accounts Receivable Invoices that belong to a specified period.
Company
The company code that the customer belongs to.
Customer
The customer code that invoices are to be printed for.
Period
The period that outstanding invoices are to be printed for. Valid periods are: Current, O1, O2, O3, and O4+.
Returns
- OK - When no error before printed
- Error message - If error encountered
Errors Returned
- The company must be specified
- The customer must be specified
- The period must be specified
- Period must be one of: Current, O1, O2, O3, O4+
- The default AR Invoice report could not be found
- The default printer could not be found
- This customer could not be found
- The specified period is invalid