On this page
Recurring journals
What it's for
A recurring journal is a balanced entry template that's posted on a schedule, automatically or by hand. Typical uses are spreading a prepaid expense over 12 months or a monthly rent instalment. Each posting is called an occurrence, and it creates an entry in the journal dated on its due date.
Where to find it
- Menu: General ledger → Recurring journals.
- Link:
/gl/recurring-journals. A specific journal:/gl/recurring-journals/<id>. A new one:/gl/recurring-journals/new.
Permissions
| Action | Key | Label |
|---|---|---|
| View | gl.recurring_journal.view | Recurring journals - View |
| New recurring journal | gl.recurring_journal.create | Recurring journals - Create |
| Edit | gl.recurring_journal.update | Recurring journals - Update |
| Delete | gl.recurring_journal.delete | Recurring journals - Delete |
| Post due occurrences and Skip occurrence | gl.recurring_journal.run | Recurring journals - Post due instalments |
| Run log | gl.recurring_journal.view | Recurring journals - View |
The list
The screen lists every recurring journal in the company, with a New recurring journal button. The columns are Code, Name, Frequency, Posted (posted / total occurrences), Next due and Active. Select a row to open the journal. The Run log button opens the run log for all journals.
The recurring journal page
The page has four sections: General information (the general details and schedule settings), Template lines, Schedule (the occurrences, once saved) and Recurring posting run log for this journal.
Fields
General information
| Field | Description | Required | Default | Constraints |
|---|---|---|---|---|
| Branch | The branch of the posted entries | Yes | The session branch | One of the company's branches (P12) |
| Code | The recurring journal's code | Yes | — | Unique in the company. Letters, digits, -, _ and ., up to 30 characters |
| Description (Arabic) | The Arabic name | At least one of the two | — | — |
| Description (English) | The English name | At least one of the two | — | — |
| Start date | The due date of the first occurrence | Yes | Today | YYYY-MM-DD |
| Frequency | The interval between occurrences | Yes | Monthly | Monthly, Quarterly, Half-yearly or Yearly |
| Occurrences | How many times to post | Yes | 12 | 1 to 360 |
| Amounts | What the line amounts mean | Yes | Same amount each time | Same amount each time or Split the total |
| Post automatically | The system posts due occurrences by itself | No | No | — |
| Active | Nothing is posted from an inactive journal | No | Yes | — |
Template lines
These are the same lines as a journal voucher, without the rate column: Account code, Account name, Currency, Debit, Credit, Cost centre and Line comment. You need between 2 and 200 lines, and they must balance.
Below the lines, a Total row shows total debit and total credit, as on a journal voucher. It's hidden when the lines use more than one currency (UX16).
Schedule (occurrences)
| Column | Contents |
|---|---|
# | The occurrence number |
| Due date | The occurrence date |
| Status | Pending, Posted or Skipped |
| Entry no. | The entry number once posted |
| Failure reason | The translated error text of the last failed attempt (such as "the period is not open"). All messages are in the messages index |
| — | A Skip occurrence button for a Pending occurrence |
Schedule and amount rules
- Occurrence n is due on the start date plus (n − 1) intervals, on the same day of the month, or on the last day of the month if the month is shorter. For example, a monthly journal starting on 31 January is due on 28 (or 29) February, 31 March, 30 April and so on.
- Same amount each time: each occurrence is posted with the line amounts as they are.
- Split the total: the line amounts are a total that's divided by the number of occurrences and rounded to the currency's decimal places (D6). The last occurrence takes the rounding difference. Each occurrence must still balance after the split.
- Each occurrence is posted on its due date, in an open period (D7a), at that day's exchange rate (D7b).
Buttons and actions
| Button | What it does |
|---|---|
| New recurring journal | Opens a new recurring journal with two empty lines |
| Edit / Save / Ctrl+S | Edits and saves the recurring journal |
| Post due occurrences | Posts every pending occurrence due up to today, right now |
| Delete | Deletes the recurring journal after you confirm (Delete recurring journal: Delete …?) |
| Skip occurrence | Shown on a pending occurrence's row. It opens the Skip the occurrence? dialog. Once skipped, the occurrence isn't posted, now or later, and becomes Skipped |
| Run log | Shown on the list. Opens the log of every posting attempt |
How to
Create a recurring journal
- Select New recurring journal.
- Choose the Branch, and enter the Code and a description in at least one language.
- Enter the Start date, choose the Frequency and enter the number of Occurrences.
- Choose the Amounts option: Same amount each time, or Split the total if you entered the total.
- Select Post automatically if you want the system to post occurrences by itself.
- Enter balanced Template lines.
- Select Save. The Schedule section appears with every occurrence and its date.
Post due occurrences by hand
- Open the recurring journal.
- Select Post due occurrences.
- You see Nothing was due., 1 occurrence posted. or "… occurrences posted."
Due occurrences are posted all together or not at all. If one occurrence fails, none is posted: the error message appears, and the failed attempt is recorded in the run log with the trigger Manual.
Deal with an occurrence that failed to post automatically
- The journal's owner (the person who created it) receives the notification A recurring journal could not be posted, with the occurrence number and date, the journal code and a link to the journal. If the journal has no owner, the notification goes to the users who can edit recurring journals. It's sent no more than once a day for each occurrence and error (Notifications).
- Open the recurring journal. The failed occurrence stays Pending, the error appears under Failure reason, and the details are in the Recurring posting run log section.
- Fix the cause (for example, open the period or enter the exchange rate), then select Post due occurrences or wait for the next automatic run.
- If the occurrence shouldn't be posted at all, select Skip occurrence on its row. Later occurrences carry on.
Run log
Link: /gl/recurring-journals/runs (the Run log button on the list). Each journal's page also has its own run log section. The hint reads: Every attempt to post an occurrence of a recurring journal, by the hourly automatic run or a manual run. A failed occurrence stays pending and is retried on the next run; only that journal's later occurrences wait.
| Column | Contents |
|---|---|
| Run at | The time of the attempt |
| Code | The recurring journal's code (in the overall log only) |
| Occurrence / Due date | The occurrence |
| Trigger | Automatic or Manual |
| Outcome | Posted or Failed |
| Entry no. | For a posted occurrence |
| Failure reason | The translated error text |
If there are no attempts yet, you see No posting attempts yet.
Deactivate a recurring journal
Select Edit, clear Active, then select Save. From then on no occurrence is posted, automatically or by hand.
Business rules
- Automatic posting (G18) runs every hour (at minute 15). It posts the pending occurrences due up to today, in the time zone of the journal's branch (P8), for every active recurring journal that has Post automatically selected. Each occurrence is posted separately, in due-date order. If an occurrence fails (for any reason, even an unexpected error), the error is saved on it, it's recorded in the run log, the journal's owner is notified, and only that journal's occurrences stop; other journals carry on. The next run tries again automatically.
- Once any occurrence has been posted, the schedule and the lines can't be changed. Only the name, branch, automatic posting and the active flag stay editable.
- A recurring journal with a posted occurrence can't be deleted. Deactivate it instead.
- Occurrence entries appear in the journal with the kind Entry, and can't be changed after posting (D5).
- Accounts and cost centres follow the same rules as journal vouchers (MA1, MA3).
Accounting effect
Each occurrence creates an entry from the template lines. For example, spreading a prepaid insurance of 1,200 over 12 months with Split the total:
| Account | Debit | Credit |
|---|---|---|
| Insurance expense | 100.000 | |
| Prepaid insurance | 100.000 |
Common error messages
| Message | Cause | What to do |
|---|---|---|
| The template lines are not balanced. | The lines don't balance | Correct the amounts |
| Split amounts do not balance for every occurrence. | The split produces an unbalanced occurrence | Use totals that split evenly into balanced occurrences |
| The schedule is not valid. | An invalid frequency or number of occurrences | Use between 1 and 360 occurrences |
| Occurrences were posted: the schedule and lines can no longer change. | An edit after posting | Create a new recurring journal |
| The recurring journal has postings; deactivate it instead. | A delete after posting | Clear Active |
| This code is already used. | A duplicate code | Choose another code |
| The occurrence is not pending. | You tried to skip a posted or skipped occurrence | Nothing to do; only pending occurrences can be skipped |