Claim statement
This page is for accounts receivable staff who send customers their Earmark claim statements, and for the accounting manager who sets up statement printing. Claim statement builds one customer's statement of Earmark credit from the books as they stand, prints it through standard print management, and logs the run so the same statement can be produced again later. Nothing is archived: the run log and its parameters are the record.
Runs: on demand, one customer at a time. There is no batch job to schedule. Set up by: Accounting manager (print management, statement parameters, the run id number sequence). Watched by: Accounts receivable clerk (the Statements due tile and the run log).
Why it exists
A customer holding Earmark credit wants to know what it is owed, what was approved, what was paid or applied, and what was reversed. The statement answers that from the claim lines and the customer transactions, so it always agrees with the ledger as of its date. Because it is rebuilt every time rather than stored, a statement the customer is holding is reproduced with Re-run as of instead of looked up, and the internal copy can show your own staff more than the customer sees.
When it runs
| Trigger | Where | Who |
|---|---|---|
| Run a statement | Accounts receivable > Customers > All customers, select the customer, Sell tab > Earmark group > Claim statement | Run Earmark claim statements: Accounts receivable clerk, Accounts receivable manager, Accounting manager, Sales manager |
| Run the internal copy | The same dialog, Internal copy ticked | Also needs View internal Earmark statement sections: Accounts receivable manager, Accounting manager, Sales manager |
| Reproduce a statement | Earmark > Claims > Claim statement runs: select one run, Re-run as of (the Recent statement runs list on the Earmark workspace has no such button). The re-run starts with Internal copy as the original run had it: clear it if you do not hold the internal sections, or the run is refused. | The four roles that run statements |
| Retry a failed render | Earmark > Inquiries and reports > Earmark execution exceptions, a Render claim statement row, Retry selected | Accounts receivable manager, Accounts payable manager, Accounting manager |
There is no scheduled statement run. The dialog's Mode can be set to Periodic, but that only labels the run in the log. To keep statements regular, work the Statements due tile on the Earmark workspace: it counts customers holding open Earmark credit (one row per customer and currency) who have had no logged statement within Statement period (days).
Settings
On the Run claim statement dialog
| Setting | Default | Effect |
|---|---|---|
| Invoice account | The customer you opened it from | The paying account the statement is for. Required. |
| Mode | On demand | Recorded on the run log only. |
| Period from, Period to | The period the summary, settlements and reversals cover. | |
| Balances as of | The period end | Open amounts are rewound to this date. |
| Statement currency | Blank, which uses the parameter, else the customer's currency, else the accounting currency | The currency the statement is shown in. |
| Language | Blank, which uses the parameter, else the customer's language, else your session's | The statement's language. |
| Include settled history | The parameter | Adds Credits fully applied in the period. |
| Internal copy | Cleared | Adds the internal sections and goes only to a print management Copy record. Available only if you hold the internal sections. |
In setup
| Setting | Where | Default | Effect |
|---|---|---|---|
| Print management for Earmark claim statement | The Claim statement print management not configured tile (Set up claim statement print management), or Accounts receivable > Setup > Forms > Form setup, General tab > Print management; also per customer | None | An Original record for the customer copy, a Copy record for internal copies. Destination Printer, File or Email; Screen works for a run by hand, but keeps the Claim statement print management not configured tile lit. Archive, a record with no destination, or no record at all for the document type, stops every statement. |
| Report format | The print management record | Earmark's statement report | Or an Electronic reporting format bound to the Earmark claim statement document type, over the same data. |
| Statement currency | Earmark > Setup > Earmark parameters, Claim statement tab | Blank | The dialog's default currency. |
| Include settled history | Claim statement tab | Cleared | The dialog's default. |
| Statement language | Claim statement tab | Blank | The dialog's default language. |
| Rate unit caption | Claim statement tab | Blank | Printed beside each rate; blank prints the deal's own rate unit. |
| Statement legal text | Claim statement tab | Blank | Printed at the foot. |
| Statement contact purpose | Claim statement tab | Blank | Which customer address and contact the statement is addressed to; blank uses the primary ones. |
| Statement period (days) | Claim statement tab | 30 | How long after a statement a customer counts as due again on the Statements due tile. |
| Statement run id number sequence | Number sequences | Not set | Required: without it no statement is produced. |
| Publish Earmark claim events | Events tab | Cleared | Set, each logged run sends the Earmark claim statement run business event. |
What it does
- If you ticked Internal copy without holding the internal sections, it refuses.
- It builds the statement data for the invoice account, as of Balances as of: no account, or the customer module switched off, is a refusal.
- It checks that the Earmark claim statement print management document type is installed.
- It checks every print management record for that document type, in any customer: an Archive destination, a record with no destination, (in batch) Screen, or no record at all refuses.
- It checks that print management resolves a record for this customer: an Original record for the customer copy, a Copy record for the internal copy.
- It draws a run id from the number sequence; none configured is a refusal.
- It prints the statement through print management, to each resolved record. The internal copy carries "INTERNAL COPY - Earmark license in grace period. Contact Magicite to renew." or "INTERNAL COPY - Earmark license has lapsed. Contact Magicite to renew." while the license is in grace or lapsed. The customer copy never carries a watermark.
- Only after a successful print, it logs the run (all its parameters, and for a re-run the run it reproduces), writes a Statement run row to the Earmark timeline, sends the Earmark claim statement run business event, and reports "Claim statement produced for <account> as of <date>: <n> lines, available balance <amount> <currency>."
A refusal at any step leaves the dialog open, prints nothing and logs nothing.
Before it can run
- The customer module is on.
- Print management is set up for Earmark claim statement, with no record that archives or has no destination (Claim statements in the installation guide). While it is not, the Claim statement print management not configured tile is lit on the Earmark configuration workspace.
- A number sequence is set up for the statement run id (Set up number sequences).
- The customer has approved claims whose credits have posted. A claim approved but not yet posted is never shown.
What goes in and what comes out
| In | Out |
|---|---|
| The customer's posted Earmark credits and charge-backs, read live from the customer transactions | The printed or sent statement, to each print management record |
| The claim lines, reversals and adjustments in the period | A row in Claim statement runs, marked Re-run with Re-run of when it reproduces one |
| For the internal copy: accrued but unclaimed deal money and the ledger columns | A Statement run row in the Earmark timeline |
| The Earmark claim statement run business event |
The statement itself is never stored. The OData collections MGCEarmarkClaimStatementRuns (the run
log) and MGCEarmarkClaimStatementLines (the open lines, live, not tied to a run) carry the data.
Watching it
- Statements due tile on the Earmark workspace: customers who need a statement.
- Claim statement runs (Earmark > Claims > Claim statement runs) and Recent statement runs on the Earmark workspace: who ran what, for whom, as of when. The Accounting manager can open Claim statement runs but not the Recent statement runs list.
- Earmark > Inquiries and reports > Earmark timeline: one Statement run row per logged run, naming the account, the as-of date and the available balance.
- Earmark execution exceptions: Render claim statement rows.
- Claim statement print management not configured tile on the Earmark configuration workspace, also a row of the setup checklist.
When it fails
| What you see | Kind | What to do |
|---|---|---|
| "No claim statement was produced for <account>, because print management for document type <type> resolves no <record> record for this customer. …" | Verdict | Add an Original record (customer copy) or a Copy record (internal copy). |
| "The claim statement cannot be rendered because print management for document type <type> would archive it. …" | Verdict | Change the record that archives or has no destination, or add a record if there is none at all (the same message). Any one such record, even on a single customer, stops every statement. |
| "…because no number sequence is configured for the statement run id. …" or "…because the print management document type <type> is not installed. …" | Verdict | Set up the number sequence; check the installation. |
| "The internal copy of the claim statement for <account> was not produced, because <user> does not hold the internal statement sections. …" | Verdict | Clear Internal copy, or ask someone who holds them. |
| "A claim statement cannot be built because no invoice account was given. …" | Verdict | Choose an account. |
| "The claim statement could not be rendered. Execution exception <id> was recorded …" | Failure; nothing logged | Fix the cause (for example reporting services), then Retry selected on the Render claim statement row, which prints the same statement, as of the same date. Retry marks the row Resolved even when the statement is refused again (for example, print management still archives), with no message: check Claim statement runs for the new run. |
| Notes such as "Customer <account> has no open Earmark credits as at <date> …", a past as-of date being rewound, or a control difference against the ledger | Information; the statement is still produced | Read them before sending. A control difference is also flagged on the statement. |
Re-running is safe. Nothing is stored except the log, so running the same parameters again produces the same statement (with figures moved only by what has been recorded since). A logged run is never changed or deleted. One figure does move: the summary's Opening balance is the available balance of the customer's most recent logged run that is not a re-run, internal copies included, whatever its date. So a second run, or a Re-run as of after later statements were logged, shows a different opening balance from the original.
The summary's Paid by cheque and Applied on account lines sort each settlement by the credit's current settlement preference, so a settled credit with no recorded preference appears in neither line.
Effects on the rest of Earmark
- A logged run takes the customer off the Statements due tile for Statement period (days).
- The statement writes nothing to claims, accruals or the ledger.
- The license never stops a statement: a grace or lapsed license only watermarks the internal copy (License check).
Related
- Guide: Send a claim statement, Reproduce a statement a customer is holding (Re-run as of), Export the statement lines.
- Roles: Accounts receivable clerk: run a claim statement for a customer, run the internal copy, Accounting manager: set up print management for claim statements, set the claim statement defaults.
- Pages: Run claim statement, Claim statement runs, Recent statement runs.
- Setup: Claim statements, Configuration reference.
- Reference: Entity reference, Business events.
- Other operations: Propose refunds, Setup checklist.