Check that accruals flowed today
Outcome. Every packing slip, receipt and invoice posted since the last check has accrued (or has a verdict that says why not), every Earmark journal has posted or is waiting for a reviewer on purpose, no failure is left unworked, and every stale built price has an answer. Who takes part: System administrator, Accountant, Accounting manager, Accounts receivable, Order taker, Deal manager. How often: every working day, in each company where an Earmark module is on.
1. Confirm the batch jobs ran (System administrator)
Posting a document only queues its accrual: the Accrual event processor turns the queue into accruals and, at the end
of each run, posts the journals set to post automatically, and the Unaccrued transaction sweep catches what a hook
missed. Start by making sure both ran since yesterday. Nothing in Earmark checks that the sweep is scheduled; its
batch task shows the generic class SysOperationServiceController, so find it by its description.
- I want to check that the Earmark batch jobs are running
- I want to schedule the accrual event processor
- How the jobs run: Accrual event processor, Unaccrued transaction sweep, Post automatically
Done when: Batch jobs shows the Accrual event processor and the Unaccrued transaction sweep with a recent successful run and a next run time, and the Earmark configuration workspace does not show the Accrual event processor not scheduled tile (a job on hold counts as not scheduled, and so does one that recurs less often than Event sweep cadence, 15 minutes as shipped).
2. Empty the accrual queue (Accountant or Accounting manager)
Read what accrued and what is still queued, and read the verdict on each document that did not accrue. A verdict (cap reached, below the qualifying quantity) is a policy outcome and needs no fix; a row left in Processing with an error in Last message is a failure, which also waits on the workbench for stage 4. Two kinds of Processing row are neither: rows a run claimed but did not reach because it hit its Events to process per run limit (a later run takes them once the staleness window, 60 minutes as shipped, has passed) and a return waiting for its shipment's accrual. To catch up without waiting for the next scheduled run, run the processor once from Earmark > Periodic tasks > Accrual event processor; Process now on the queue works only rows a run has already claimed.
One verdict does need a person: a shipment whose row reads Superseded because its date falls in a closed or on-hold ledger period. Neither the queue nor the sweep tries it again (the sweep goes on counting it as found), so the Accountant posts it as a manual accrual dated in an open period.
- I want to see what accrued and what is waiting to post
- I want to process queued accruals now
- I want to process the accrual queue straight away
- I want to catch accruals the hooks missed
- I want to see why an accrual did not happen
- I want to post a manual accrual
Done when: after a processor run, Accrual event queue has no Queued row older than that run, and every Processing row either names a failure in Last message (worked in stage 4), is a waiting return, or was claimed within the staleness window; and an Unaccrued transaction sweep run after the queue was processed puts 0 commitments back on the queue. A commitment it still finds already has an event (a verdict you have read, a closed-period one answered with a manual accrual, or a failure waiting for stage 4) or is a warning in the sweep's log. The sweep looks only for commitments that have never accrued, so it cannot find a lost later delivery on a line that has already accrued once. The Unaccrued transactions tile on Deal control carries no number; it opens the accrual instances.
3. Post the journals held for review (Accountant)
Movement types with Post automatically off leave their journal unposted for a person to check and post: the Accountant (or the Accounting supervisor) posts them, because the Accounting manager role opens general journals read-only. A journal that can no longer post (closed period, suspended dimension value) is corrected, never edited, with Correct held journal, which the Accounting manager holds too.
- I want to post Earmark journals that are held for review
- I want to know which journals post on their own
- I want to fix a held journal that can no longer post
- How automatic posting runs: Post automatically
Done when: the Journals pending review and Accruals pending posting tiles on Deal control read zero, or count only journals you have decided to leave for a later review (a vendor claim's proposal also counts until accounts payable posts it, and a journal set to post automatically counts until the next processor run).
4. Work the failures (Accounting manager or Accounts receivable manager)
Most failures after a document posted (an account that did not resolve, a journal post the ledger refused) are a row on Earmark execution exceptions, which the Accountant reads too and passes to the Accounting manager unless it is a held journal the Accountant can post or correct. Not every failure gets a row: an automatic price build or purchase attach can fail and leave its line unpriced with only a verdict, and the sweep reports a commitment it cannot repair as a warning in its own log. The Accounting manager (or the Accounts receivable manager; the Accounts payable manager holds the same act for the vendor-side rows) fixes the cause and retries or dismisses the row, from the company the row names. Dismissing asks for a reason flagged for Earmark, and only those reasons are offered; Respond to a failed operation walks the whole case.
- I want to see which Earmark operations failed
- I want to retry or dismiss a failed Earmark operation
- I want to work Earmark execution exceptions
- How retry works for each operation: Background steps and Retry
Done when: Earmark execution exceptions shows no Open row for your company (read the Company column: the list covers every company).
5. Answer stale prices (Order taker, Deal manager)
A built price goes stale when its sales order line changes after the build; it never blocks the order, but each one needs an answer. With the shipped settings the person who made the change was warned at the time, so some answers may already be in hand (posting a packing slip or invoice with the line warns again only while Price build-up on sales lines is on, and it ships off). The Customer service representative keeps the price with Acknowledge stale price, or the Sales manager unbuilds it and the Sales clerk (or the Sales manager) builds the line again. A line whose goods have been reserved, picked, shipped or invoiced, or whose commitment has already accrued, cannot be unbuilt: keep its price. On a line of a supplier-funded program, unbuilding does not end the supplier's vendor-side twin.
- I want to see which built prices are stale
- I want to keep a stale price
- I want to unbuild a stale price
- I want to rebuild a stale price
Done when: the Stale prices list, with Show acknowledged off, is empty (the Stale prices tile on the Earmark workspace, shown only while Price build-up on sales lines is on, then reads zero). Unbuilding a line clears its stale reasons just as acknowledging does; each line you unbuilt and built again shows its new build under View price build-up.
If something goes wrong
- The queue keeps filling and nothing accrues: the processor is not running. I want to check that the Earmark batch jobs are running, then run the processor once (I want to process queued accruals now).
- A large backlog drains slowly: each run works at most Events to process per run events, and the rows it claimed but did not reach wait for the staleness window (60 minutes as shipped) before a later run takes them. If backlogs are regular, raise the limit in the scheduled job's own parameters, which keep the values the job was saved with (Accrual event processor).
- The same event fails on every run, and the workbench gains a row each time: its cause is not fixed. Fix it, then retry (Respond to a failed operation).
- An accrual is smaller than expected or zero: that is usually a verdict. I want to see why an accrual did not happen.
- A journal will not post: I want to fix a held journal that can no longer post, or Respond to a failed operation.
- An integration line came in unpriced: I want to price an integration line that was left unpriced.