Updating Invoice custom fields according to certain datetime values

Updating Invoice custom fields according to certain datetime values

Hi,

I have a custom field in Invoice that must be updated with a certain datetime value as soon as the Invoice is created through the Recurring Invoice module.

I found that I cannot use the integrated placeholders ( %DD.MM.YYYY%) feature for updating the custom field, so I will appreciate your suggestion to do that in another way.


In particular, when the Recurring invoice is created my custom field should be updated with the value from RecurringInvoice. next_invoice_date field (which is the date when the next invoice will be sent).

How to achieve that (custom function? automation workflow?)

Thanks.