Question regarding recurring invoices

Hi All,

I am new to erpnext. There are few questions i need to ask about the recurring invoice process

1) I have a sales order  dated march-13 and the recurring invoice starting from March-13 to Feb-14. I have setup the recurring invoice system. After saving the first invoice I can see the next invoice will be generated on 1-4-13. I dont know how the system will generate the old invoices. Or I have to manually generate the invoices. Does it require any scheduler to run through cron. Anyways i have tries the scheduler lib/wnf.py --run_scheduler (The output shows ok)
2) What does the scheduler do if i put in the cron job

Thanks in advance for a wonderful product.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Scheduler will generate only future invoices, not back-dated scheduled invoices. Scheduler checks scheduled date with current date and creates new invoices if date matches.
To create back dated recurring invoices, you can call manage_recurring_invoices() function under sales invoice.py form console. Otherwise you can create them manually.


On 12-Nov-2013, at 10:36 AM, swati sra wrote:

Anyways



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Thanks Nabin,

Can you please elaborate the scheduler tasks what it performs like fetching emails, create invoice or guide me to a document mentioning all that

On Tuesday, November 12, 2013 11:00:21 AM UTC+5:30, Nabin Hait wrote:
Scheduler will generate only future invoices, not back-dated scheduled invoices. Scheduler checks scheduled date with current date and creates new invoices if date matches.
To create back dated recurring invoices, you can call manage_recurring_invoices() function under sales invoice.py form console. Otherwise you can create them manually.


On 12-Nov-2013, at 10:36 AM, swati sra wrote:

Anyways



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
https://github.com/webnotes/erpnext/blob/master/startup/schedule_handlers.py



On Tuesday, November 12, 2013 11:12:26 AM UTC+5:30, swati sra wrote:
Thanks Nabin,

Can you please elaborate the scheduler tasks what it performs like fetching emails, create invoice or guide me to a document mentioning all that

On Tuesday, November 12, 2013 11:00:21 AM UTC+5:30, Nabin Hait wrote:
Scheduler will generate only future invoices, not back-dated scheduled invoices. Scheduler checks scheduled date with current date and creates new invoices if date matches.
To create back dated recurring invoices, you can call manage_recurring_invoices() function under sales invoice.py form console. Otherwise you can create them manually.


On 12-Nov-2013, at 10:36 AM, swati sra wrote:

Anyways



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.