Post automatically
This page is for accounting managers who decide which Earmark journals post on their own, and for accountants who watch that they do. Every Earmark movement that moves money creates its own unposted general journal; for a movement type set to Post automatically, Earmark posts that journal itself once the movement has been saved. When the ledger refuses the post, the movement is kept as Journal pending and a Journal post row on the execution exceptions workbench says why.
Runs: by itself, straight after a movement that a person posts directly, and otherwise at the end of every Accrual event processor run, so it depends on that batch job being scheduled. There is nothing of its own to schedule. Set up by: Accounting manager. Watched by: Accountant and Accounting manager.
Why it exists
A journal is never posted inside the transaction that writes its movement. A ledger refusal (a closed period, a journal that needs approval, a blocked account) must not undo the movement, the deal balance or the document behind them, so the post is a separate step after the commit, and a refused post is a recoverable workbench row rather than a lost accrual.
The alternative is to hold the journal for review. That is how Earmark ships: Post automatically is off for every movement type, so a newly set up company stops visibly at Journal pending instead of posting into accounts nobody has checked yet. Turn it on per movement type once you trust the posting setup. The choice itself is explained in Post automatically, or hold for review.
When it runs
| Movement written by | When its journal is posted automatically |
|---|---|
| A person acting directly: Post manual accrual, Reverse or Reverse accruals | Straight after the movement is saved |
| The vendor side of a supplier-funded mirror (written in a session of its own after the customer's accrual) | Straight after the movement is saved |
| A step that writes movements inside a larger transaction: the accrual event processor itself, claim generation, claim approval, claim reversal and Adjust accrual | At the end of the next accrual event processor run |
| Run vendor settlement, for the claim journals of the vendor claims it has just raised | By the run itself, after it saves the claims, so it can submit them |
| Retry selected on a Journal post row | When you retry, if the journal was created to post automatically |
At the end of a processor run, Earmark posts up to Events to process per run journals that are waiting, oldest movement first. The infolog says "... Earmark journals were sent for automatic posting."
Settings
| Setting | Where | Default | Effect |
|---|---|---|---|
| Post automatically | Earmark > Setup > Earmark parameters, Posting control tab (one row per movement type) | Off | On: the journal for that movement type is posted automatically. Off: it waits for a person to post it. |
| Journal name | Same row | Blank | The journal name each movement type's journal is created on. The journal takes its type and voucher series from it. |
| Show infolog message | Same row | Off | One infolog line per posted movement of that type. |
| Auto-post claim approval journal | Earmark parameters, Claims tab | No | Also posts the customer claim approval journal automatically, even when Post automatically is off on the claim approval row. |
| Events to process per run | Accrual event processor dialog | 2,000 | Also the most journals one processor run sends for automatic posting. |
The setting is read when the journal is created and recorded with it. Switching Post automatically on later does not post journals that were created to be reviewed, and switching it off does not stop journals already created to post automatically.
A vendor claim's approval never posts automatically, whatever these settings say: it is a proposal on a vendor invoice journal that accounts payable reviews and posts (see Vendor deals, supplier funding and mirrors). Refund proposal journals are never posted by Earmark either (Refund proposal).
What it does
- When the movement is written, Earmark creates one general journal on the movement type's journal name, with its line already approved (as the journal page would), and records whether it is to post automatically. The movement reads Journal pending.
- After the movement is saved, if the journal is to post automatically and nothing else is still in progress, Earmark posts it with the standard general journal posting. Otherwise it leaves it for the next processor run.
- At the end of a processor run, Earmark lists the journals that are to post automatically, whose movement still reads Journal pending, whose journal has not posted, and whose movement has no Journal post workbench row in any status (a dismissed row counts too). It posts each one, up to the run's limit.
- After each post, Earmark reads the journal again to see whether it really posted.
- If it did, the movement becomes Posted; for an accrual, the deal balance moves the amount from Accrued, journal pending to Accrued and posted; a claim approval credits its claim line; and the accrual transaction's timeline gets an Accrual journal posted row ("Journal ... posted, voucher ...").
- If it did not, a Journal post row goes to the workbench (see When it fails).
A journal you post by hand in General ledger goes through the same step 4, so Earmark brings the movement up to date however the journal posts.
Before it can run
- Each movement type you use has a Journal name on the Posting control tab. The Journal names not set setup-gap tile shows when one is missing.
- The Accrual event processor is scheduled. Without it, every journal from a step in the third row of the table above waits indefinitely.
- The ledger accepts the post: the date is in an open period, the accounts and dimension values allow posting, and the journal name does not require approval.
What goes in and what comes out
| In | Out |
|---|---|
| Unposted Earmark general journals created to post automatically | Posted general journals and their vouchers in General ledger |
| Accrual transactions moved from Journal pending to Posted | |
| For an accrual, the deal balance amount moved to Accrued and posted | |
| For a claim approval, the claim line's credit marked as posted | |
| An Accrual journal posted timeline row per journal | |
| A Journal post workbench row for each journal the ledger refused |
Watching it
- Batch job history of the accrual event processor: "... Earmark journals were sent for automatic posting."
- Deal control workspace (Earmark > Workspaces > Deal control): Accruals pending posting counts the movements still waiting for the ledger and Journals pending review the journals. Both include journals that are to post automatically but have not posted yet, for example until the next processor run. The Pending journals list opens each journal with Open journal.
- Accrual execution exceptions tile on Deal control, and Earmark > Inquiries and reports > Earmark execution exceptions: rows with operation Journal post.
- Accrual transactions (Earmark > Inquiries and reports > Accrual transactions): the posting status of each movement.
- Earmark timeline (Earmark > Inquiries and reports > Earmark timeline), document type Accrual transaction: the Accrual journal posted row.
When it fails
What you see. The journal stays unposted, the movement stays Journal pending (nothing is reversed), and a Journal post row appears on the workbench. Its Message starts "The post-commit step for operation Journal post did not complete. The original failure was:", followed by whatever the ledger reported and then "Journal ... was sent for automatic posting but is still not posted. The Earmark movement behind it has been kept and is still marked Journal pending; nothing was reversed. Open the journal to see why posting was refused - for example a closed period, a journal that needs approval, or a blocked account - fix it, and retry this row from the execution-exceptions workbench, or post the journal by hand." This is a failure, not a verdict: the money is decided and the movement stands; only the ledger step is outstanding.
To recover:
- Open the journal (Open journal on Pending journals, or General ledger > Journal entries > General journals) and read why it did not post.
- Fix the cause. If the period has closed or a dimension value on the line was suspended, use Correct held journal on Accrual transactions (Accountant or Accounting manager); you cannot edit the line yourself, because an unposted Earmark journal is frozen. See Post or correct an accrual journal.
- Then either select Retry selected on the Journal post row (Accounting manager, Accounts receivable manager or Accounts payable manager), working in the company shown in the row's Company column (in any other company the movement is not found and the row stays open), or post the journal by hand in General ledger (this takes standard general journal posting rights, such as the Accountant's).
Once a journal has a Journal post row, the processor no longer tries it on its own: the row owns it. Retry it, or post the journal by hand. Dismissing the row leaves the journal unposted for a person to post.
Retry never posts a journal held for review. On a journal created with Post automatically off, Retry answers "Journal ... behind accrual transaction ... is not posted, and it was not created for automatic posting - it is being held for a person to review and post. Retry does not post it. ..." Post that journal by hand.
If the journal cannot be found at all, the row's message contains "The journal with record ID ... could not be found, so it could not be posted automatically. ..."; run the accrual reconciliation to find the movement.
A journal that posted but whose movement was not brought up to date. If the ledger posts the journal (by itself or by hand) but Earmark's step 4 then fails, the journal is complete and correct, the movement still reads Journal pending and its amount stays under Accrued, journal pending. A Journal post row says "Journal ... posted successfully, but the Earmark accrual behind it could not be brought up to date. ..." with the cause. Fix the cause and select Retry selected: it runs step 4 again without posting anything, and closes the row once the movement reads Posted.
Re-running is safe. Before posting, Earmark checks that the movement is still Journal pending and the journal is still unposted; after posting, it reads the journal again. A retry on a movement that has since posted simply closes the row, and a journal that posted while Earmark missed it is brought up to date without being posted twice.
Effects on the rest of Earmark
- Deal balances show an accrual's amount under Accrued, journal pending until its journal posts, then under Accrued and posted. The cap counts the amount either way.
- Closing a deal needs at least one accrual whose journal has posted; a journal still Journal pending does not count.
- Claims: a claim can be submitted for approval only once its claim journals have posted, and a customer claim reads Posted only once every line's approval credit has posted. See Claim generation and Approval workflows.
- Settlement: Earmark creates its lines approved, so the customer or vendor transactions they post can be settled.
- Reconciliation lists pending journals as one of the amounts that explain a ledger difference.
- Vendor settlement submits a vendor claim in the same run only when its claim journals posted automatically (Vendor settlement run).
Related
- Post or correct an accrual journal
- Post automatically, or hold for review
- I want to know which journals post on their own
- I want to post Earmark journals held for review
- I want to set journal names and posting behavior for each movement type
- Page reference: Earmark parameters
- Page reference: Pending journals
- Accrual event processor
- Background steps and retry
- Close a period
- Configuration reference