Respond to a failed operation
Outcome. An Earmark operation that was refused is understood and, where the outcome is wrong, the deal or the input is changed; an operation that failed is found, its cause fixed, and it is retried (or dismissed with a reason) so the money it carries posts once. Who takes part: Accounting manager, Accountant, Accounts receivable, System administrator, Order taker, Deal manager, Claims approver, Accounts payable, Integration developer. How often: each time something is refused or fails.
1. Tell a refusal from a failure (whoever met it)
A refusal is a verdict, a policy outcome such as a cap reached, a deal that does not apply or an approver who may not approve (refused when they choose Approve, before the work item completes, so they can delegate it): it never reaches the workbench, there is nothing to retry, and if the outcome is wrong the deal or the input changes. A failure is a malfunction in a step that runs after the work that started it was saved, such as the accrual of a posted packing slip; that work is never refused or undone, and the failure usually waits on the execution exceptions workbench.
- I want to see why an accrual did not happen
- I want to understand why Build price was refused
- I want to understand why I was not allowed to approve
- I want to know why a claim I approved went back to Open
- I want to know why Re-propose was refused
- I want to tell an error from a verdict
- Pricing and accruals: tell a verdict from a failure
Done when: you know which it is: a verdict you have read (and, if it is wrong, passed to the deal manager to amend the deal), or a failure you expect to find on the workbench.
2. Find the failure (Accountant, Accounting manager, Accounts receivable or Accounts payable)
Most failures are one row on Earmark execution exceptions, which covers every company. Every Earmark role and every standard role Earmark extends can read it, except the Customer service representative and the Purchasing agent; only the Accounting manager, the Accounts receivable manager and the Accounts payable manager (and the System administrator) can retry or dismiss a row. A few failures never reach it:
-
A posted document whose accrual was never queued leaves no row and no message; only the Unaccrued transaction sweep puts it back on the queue.
-
Claim generation, from the dialog or on a schedule, stops at the first error, with the error in the infolog or its batch job's log: the claim it was building is rolled back, claims it had already raised stay, and no later group is tried. Only Run vendor settlement goes on to the next vendor group and leaves a row for the one that failed.
-
The Unaccrued transaction sweep reports a commitment it cannot repair as a warning in its log.
-
An automatic price build or purchase attach can leave its line unpriced with only a verdict.
-
I want to find a vendor claim missing after a settlement run
-
Installation guide, section 12 (Troubleshooting)
Done when: you have the Open row: its Company, Operation, Source document and Message (or, for a failure with no row, the message in the log, or for an accrual that was never queued, the commitment the sweep put back on the queue).
3. Fix the cause (Accounting manager, Accountant, Accounts receivable or System administrator, by case)
The Message names the cause, and the cause decides who fixes it:
-
Missing setup (a posting profile row, a journal name or the Vendor proposal journal name, a dimension rule, the reversal presentation): the Accounting manager. A movement type with no journal name or no dimension rule at all is also an Open row on the setup checklist. A missing posting profile row usually is not: that check reads Open only when a whole posting type has no row, so a gap for one item group or customer group shows only on the queue and the workbench. The same holds for dimension rules that exist but do not cover the case.
-
A held journal that cannot post (closed period, suspended dimension value): the Accountant or the Accounting manager, with Correct held journal.
-
Claim statements (print management not set up): the Accounting manager, from the Claim statement print management not configured tile, or Accounts receivable from its own form setup.
-
Nothing accruing (documents wait as Queued on Accrual event queue and no row is raised, because the Accrual event processor stopped or its job is on hold): the System administrator.
-
I want to set journal names and posting behavior for each movement type
-
I want to set up print management for claim statements (Accounts receivable)
-
Configuration reference: where each setting lives
Done when: the cause is gone where you can see it: Test account resolution on the posting profile resolves an account for the item and account the message named; after Re-evaluate (Accounting manager or System administrator), the setup checklist row for a missing journal name or dimension rule reads Complete (for the reversal presentation, Reversal presentation on the Accrual posting tab is no longer Not defined); the held journal's line carries a date in an open period and valid dimension values; or print management has a record for the Earmark claim statement and none of its records has no destination or sends it to Archive (or, for a batch run, to Screen).
4. Retry or dismiss (Accounting manager or Accounts receivable manager)
Retry selected runs the operation again in the company you are in, not the row's Company, so switch to the row's company first; a retry from another company can mark the row Resolved without doing the work. It never posts anything twice. Some operations need more care:
- A Journal post row for a journal held for review stays Open: a retry never posts a journal a person was meant to review (the Accountant or the Accounting supervisor posts it).
- An Accrual movement row whose event the processor has already taken back into its queue is refused; leave it, and a retry after the next processor run finds the event finished and closes the row. An event that keeps failing adds a new row each time the processor tries it again, so fix the cause before you retry.
- An Event publish row resolves only for a deal event other than an amendment's (the Message names the event); for an amendment's event the retry is refused and the row stays Open. For a claim, price build-up, mirror or vendor event, Retry never re-sends it and could send an unrelated deal's event instead: dismiss such a row with a reason. With the event family's switch off, a retry resolves the row and sends nothing.
- A Mirror vendor-side movement row: Retry pairs the commitment's newest movement, which may not be the one that failed, so it can close the row while the vendor side is still missing. The next accrual processed on that commitment pairs every customer movement that has no vendor side yet; check Mirror transaction pairs.
- An Inbound price build row is not retried while Inbound auto-pricing is off: the retry warns and the row stays Open.
An operation nobody will fix is dismissed with a reason flagged for Earmark (the only reasons the dialog offers), and the row stays as evidence until the retention cleanup removes it, Execution exception retention (days) later (90 as shipped; Resolved rows go the same way); the Accounts payable manager and the System administrator can retry and dismiss too.
- I want to retry or dismiss a failed Earmark operation
- I want to retry or dismiss a failed Earmark operation (Accounts payable)
- I want to review and retry execution exceptions
- I want to post Earmark journals that are held for review
- What Retry does for each operation: Background steps and Retry
Done when: the row reads Resolved, or Dismissed with a Dismiss reason. A retry never changes the row's Message: a retry that fails again leaves the row Open, with the new error in your infolog. Go back to stage 3.
5. Confirm the result (the person who started the operation)
A resolved row means the operation ran; check that what it carried arrived. The Accountant checks the accrual and its journal, the claims approver or the integration checks the credit, accounts payable checks that a vendor proposal arrived, and the order taker builds by hand any line whose automatic build was dismissed.
- I want to see what accrued and what is waiting to post
- I want to see whether the credits have posted
- I want to know when an approved claim has been credited
- I want to see the vendor claim credits waiting for accounts payable
- I want to price an integration line that was left unpriced
Done when: the movement reads Posted on Accrual transactions, the claim line reads Posted (a vendor claim line Proposed), or View price build-up on the line shows a build (the line's Price build-up FactBox shows it only while Price build-up on sales lines is on).
If something goes wrong
- Retry selected and Dismiss are disabled: your role reads the workbench but does not act on it. Pass the row to the Accounting manager. I want to retry or dismiss a failed Earmark operation.
- Retry selected is refused: only Open and Retrying rows can be retried, and a row another session is retrying must wait. Pricing and accruals: work the execution exceptions workbench.
- A row reads Resolved but nothing changed: it was retried from another company, or it is an Event publish or Mirror vendor-side movement row (stage 4). Check the result as in stage 5.
- Dismiss offers no reason code, or refuses the one given: only reasons flagged for Earmark can be used, so flag the reason first. I want to flag financial reasons for Earmark.
- The same failure keeps coming back: the cause is still there. A resolved or dismissed row is never reopened; a new row is raised each time.
- A verdict is wrong for the business (a cap too low, a deal that should apply): the deal changes. I want to amend an approved deal, I want to test why a deal does or does not apply.
Related
- Closing a month when trade accruals went wrong, a story with a posting profile gap fixed and 223 rows retried
- Background steps and Retry
- Check that accruals flowed today
- Close a period
- Pricing and accruals: fix a setup gap that stopped an accrual posting
- Installation guide, section 12 (Troubleshooting)