we use vTiger 5.4.0.
In our sales orders, we have a custom date field. We want that vTiger generates an invoice from the sales order 14 days before that date. If less than 14 days, then vTiger should immediately create an invoice. Exception: A sales order is canceled.
The script must also query an other custom field if this is "True".
Cronjobs are running, the scheduler is working.
Who can help us?