Auto Repeat

Auto Repeat feature helps you create certain documents automatically in a given time period.

From version 12, you can Customize any Form to make the documents repeatable.

For Example: Assuming that you follow deferred expense system for some items. It requires you to create same Journal Entry every month to credit Deferred Expense account and debit Expense Account. You can create first Journal Entry manually for it, and then create auto-repeat transaction for it.

To access Auto Repeat, go to:

Home > Settings > Automation > Auto Repeat

1. How to set up Auto Repeat

1.1 Customize the Form

  1. Go to: Home > Customization > Form Customization > Customize Form.
  2. Select the form in which you want to allow creation of repeatable documents.
  3. Check 'Allow Auto Repeat' to allow the creation of repeatable documents for that Form. This is necessary for the document type to show up in the Reference Document field under the Auto Repeat doctype.

    Allow Auto Repeat

1.2 Set up Auto Repeat

  1. Go to Home > Settings > Automation > Auto Repeat > New.
  2. Select the Reference Document Type, like Journal Entry or Sales Invoice, etc.
  3. Select the Reference Document. This is the individual document that you want to repeat.
  4. Set the Start Date and End Date (optional). If End Date is not specified, recurring documents will be created, unless the Auto Repeat is disabled.
  5. Set the Frequency for creating repeatable documents (Daily, Weekly, Monthly, Quarterly, Half-yearly, Yearly).
  6. Save.

1.3 Set up Auto Repeat directly from the document

You can also set a document on Auto Repeat by clicking the Repeat option from the Menu in the Toolbar.

Note: If a document is already on Auto Repeat, the Repeat option is not available.

Repeat in Transactions

Once you click on Repeat, a prompt for Auto Repeat will show up. Fill in the details and click on Save.

Auto Repeat Prompt

2. Features

2.1 Submit on Creation

If the reference document type is submittable, you get an option called _Submit on Creation_. If this is checked, your document will be submitted on creation.

Auto Repeat Submit on Creation

2.2 Notify by Email

If you want to notify certain contacts whenever the recurring documents are created, you can check 'Notify by Email' in the Notification section of Auto Repeat. This will send the auto-generated recurring documents to the specified Email Addresses. Fields for the same are explained below:

  • Recipients: Defines the Email IDs of the recipients for recurring document creation emails.
  • Get Contacts: This button will fetch the contacts linked to the document that is set on Auto Repeat and fill up the Recipients field with the same.
  • Template: You can choose an Email Template for the email. This will fill up the Subject and Message fields as well.
  • Subject: Subject for your Email (example: Recurring ToDo created successfully).
  • Message: Message to be sent in the Email.
  • Preview Message: This button will show a preview of the message.
  • Print Format: Select a print format to define document view which should be emailed to customer.

Note: If the document you are setting up Auto Repeat for, is submittable, ensure that "Allow Print for Draft" is enabled in Print Settings to receive the new recurring document in Auto Repeat Notification Email. If this is not enabled, you will be notified about the recurring document creation without the document.

2.3 Repeat on a particular day

If the frequency is set as Monthly, Quarterly, Half-yearly or Yearly, then it will create recurring documents in the respective months on the same day as the 'Start Date' of Auto Repeat. If you want to create recurring documents on some other day then you can set one of the following:

  • Repeat on Day: Day of the month on which recurring document will be created. For example, if frequency is Monthly and you enter 7 then it will generate recurring document on 7th of the respective month.
  • Repeat on Last Day of the Month: This option is available as the last day of every month is different. For example, in a leap year last day of Feb is 29th, and it is 28th otherwise. If you check this option, it will create recurring documents on the last day of the respective months.

2.4 Ability to select weekdays for Auto Repeat

Introduced in version 13

Auto Repeat with Weekly frequency allows you to select the days on which you want the recurring documents to be created.

Auto Repeat Weekdays

2.5 Dashboard

You can see the Auto Repeat schedule in the Dashboard of Auto Repeat document. If you don't specify the End Date then the schedule will show only the Next Schedule Date.

Auto Repeat Dashboard

2.6 Auto Repeat Frequency on the sidebar

When a document is set on Auto Repeat you can see the Auto Repeat frequency on the sidebar. You can click on the status to see the linked Auto Repeat document.

Auto Repeat Frequency

2.7 Disable Auto Repeat

If you check this field it will stop creating recurring documents and unlink the Auto Repeat document from the Reference Document.

Discard
Save
Was this article helpful?

On this page