How to regenerate billing schedule automatically after updating product's dates
After updating start and end dates on a Draft status Product, need to manually go and choose 'generate billing schedule' in order to update the billing lines.
Is there a way to generate the billing lines automatically after an update on a Draft line or maybe run a scheduled process to do this?
As we are using an API to update dates of a Product, we need also to re-generate the billing lines at the same time.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):