I want to create a sales order to sales invoice using a schedule

I want to create a sales order to sales invoice using a schedule, with all fields from the sales order transferred to the sales invoice.

Try to find the method which is called when in “Sales Order” → “Create” → “Sales Invoice”.

Try to call that method in a server script (cron type).

Remember: You should call that method for only non-invoiced orders.

1 Like