Skip to main content

Earmark processes, and where they touch standard Dynamics 365

This document answers one question: what does Earmark change about the way your people already work? Each section takes a process, shows the standard Dynamics 365 steps, and marks the steps Earmark adds or alters. Everything else in the process is untouched. Read from the shipped model on 2026-10-29 and corrected on 2026-11-06; anything that could not be confirmed is marked (not verified). The step-by-step walkthroughs are in the user guide; the guides by process follow each process from start to end and name who does each stage, the guides by role list what each role does, the periodic and automated processes describe each background job, and the stories follow fictional companies through whole deals.

Two facts frame all of it:

  • Earmark adds no field to any standard table. Its data lives in its own tables. Each Earmark record points at the standard record it belongs to and also stores that record's business key (for example the order number and line), so the link survives an export or a data migration.
  • Earmark never refuses a standard document. It applies no rule of its own to a packing slip, product receipt or invoice. Its only step inside that posting is to add one row to its accrual queue. If Earmark later cannot accrue, the document has already posted, and the problem goes to a workbench where it can be fixed and retried.

Where Earmark appears on a standard page, it is through one of thirteen page extensions, and they are the complete list of places the product surfaces inside someone else's process:

Standard pageWhat Earmark adds
Sales orderBuild price, View price build-up, Unbuild price and Stale prices on the line; Accrual instances and Accrual transactions on the header and the line; the Price build-up, Earmark accruals and Earmark claims FactBoxes
Purchase orderBuild price and View price build-up on the line; Accrual instances and Accrual transactions on the header and the line; the Earmark accruals FactBox
Return orderAccrual instances and Accrual transactions; the Earmark accruals FactBox
CustomersDeals, Deal control and Claim statement; the Earmark accruals and Earmark claims FactBoxes; the Earmark claim statement document in the customer's own print management
VendorsDeals and Deal control; the Earmark accruals and Earmark claims FactBoxes
Customer transactions, Vendor transactionsThe Earmark claims FactBox
Vendor invoice journal linesThe Earmark claims FactBox
Journal list pages (for example General journal)The Earmark accruals FactBox
Product detailsDeals
Financial reasonsApplicable to Earmark
Print management setupA note to leave archiving off for the Earmark claim statement
Workflow list pageCheck approval workflows

Buttons and FactBoxes appear only while the matching Earmark module is on and the user has the duty for them.


1. Setting up a trade deal​

Standard Dynamics 365: nothing. This process is entirely Earmark's.

StepWhere
1. Create the dealEarmark > Deals > All deals, then New
2. Set the rate and rate basis, deal unit, currency, validity window, who can claim and account sourceDeal details
3. Add targeting rows: which items, which customers or vendorsDeal details, targeting grid
4. Add posting rows, if the deal nominates its own accounts; add funding rules, if a supplier funds itDeal details
5. Test before committingTest deal resolution and Validate accounts on the deal; Test account resolution on the posting profile; Test dimension resolution on the accrual dimension rules
6. Submit for approvalSubmit → workflow
7. ApproveWorkflow actions on the deal (Approve, Reject, Request change, Delegate). Approvers find their deals and amendments under Earmark > Deals > Deals pending my approval. An approver who raised the deal or amendment is refused when they choose Approve, before the work item completes, so they can delegate it. See Deal and claim approval workflows

Step 5 is the part worth knowing about. The Test … actions run the same logic the accrual engine runs, in what-if mode, and write nothing. They exist so that "will this deal actually match the orders I think it will, and will it post where I think it will" is answerable before the deal is approved rather than after the first accrual goes wrong. The deal approver can run Test deal resolution and Validate accounts too, to check a deal before deciding.

A deal cannot be edited once approved. Changes go through Amend (a governed, approved change to specific fields) or Copy (a new deal in Planning, which is the supported route to everything an amendment refuses: a different rate, different targeting, a different window start).

A deal ends by Close, Cancel or Abort. Close needs at least one posted accrual on the deal; a deal that never accrued is Canceled if it never priced an order line, or Aborted if it did. The deal managers (Sales manager, Purchasing manager, Inventory accountant) and the Earmark deal approver can cancel and close; Abort ships on no role, so an administrator grants it to a named person when it is needed.


2. Selling: sales order to invoice​

Standard Dynamics 365 is unchanged end to end. Earmark adds one optional step and some inquiry surfaces.

StepStandardEarmark
Create sales orderunchangedLines created by an integration can be priced automatically by an inbound pricing policy, while Inbound auto-pricing is on (Earmark parameters, Price build-up tab; it ships off). See Inbound auto-pricing and headless auto-attach
Build deal prices onto the linesBuild price in the Price build-up group on the order line, one line at a time
Review what the price is made ofView price build-up, and the Price build-up FactBox
Confirm / pick / packunchanged
Post packing slipunchangedEarmark adds one row to its accrual queue as part of the posting
Post invoiceunchangedEarmark adds one row to its accrual queue as part of the posting

Build price resolves which approved deals apply to the selected line, prices them into the line, and keeps the components so the price can be explained later. It appears whenever the Customer deals module is on, for the Sales clerk and the Sales manager. Two companions sit beside it in the same group: Unbuild price, which reverses it until the line's commitment has accrued or its goods have been reserved, picked, shipped or invoiced (Sales manager and Purchasing manager; it does not end a supplier-funded mirror's vendor side), and Stale prices, which lists builds whose order line or header changed after the price was built, where you can acknowledge (keep the price) or unbuild the price and build it again. The Stale prices button on the line is shown to the people who can acknowledge a stale price (the Customer service representative); everyone else who may see stale prices opens Earmark > Inquiries and reports > Stale prices. The Price build-up on sales lines setting (it ships off) shows the Price build-up FactBox and the Stale prices tile and enables the posting warning below; it does not hide Build price, and inbound auto-pricing runs whatever it is set to. With the shipped settings, the person whose change makes a line stale is warned at once (Stale-price warning). While Price build-up on sales lines is on, posting a packing slip or invoice that includes a stale line also writes a warning for that line (Warn at posting for stale lines, which ships on). A stale price never stops or changes the posting.

Inventory deals attach on their own. While the Inventory deals module is on, a new sales order line (not a return) for an item that an approved inventory provision deal targets, matched by item, date and currency, gets that deal attached as a commitment as soon as the line is saved. It never changes the line's price, it accrues on the line's packing slip or invoice like any other commitment, and a return reverses it. The order's Accrual instances and Accrual transactions buttons show even when inventory provisions are the only Earmark module on.

The accrual steps are invisible to the order taker, deliberately. The queue row is the only thing Earmark does inside the posting. It is committed with the document, so a posting that fails or is canceled queues nothing, and the accrual itself is never part of the document's voucher. What happens next is in §3.

Inquiry surfaces added to the order: Accrual instances and Accrual transactions buttons on both the header and the line, plus the Earmark accruals FactBox. Each button opens its list filtered to that order (header) or that line; the full lists are under Earmark > Inquiries and reports.


3. Accruing: what happens after a document posts​

This is the engine, and no user drives it. It is documented because when something goes wrong, this is the shape of what went wrong.

packing slip / product receipt / invoice posts
↓ (inside the same posting)
ONE row into the accrual event queue ← the same document line cannot be queued twice
↓ (Accrual event processor batch job)
the processor takes queued rows in the order they were created
↓ (one transaction per row; there is no half-posted accrual)
accrual transaction + deal balance + an Earmark journal of its own
↓
journal posted by Earmark (Post automatically on) or held for review (Journals pending review)

Four standard postings are observed: sales packing slip, sales invoice, product receipt and vendor invoice. Returns and cancellations reverse the accruals of the document they belong to. An inventory status change is never a trigger.

The Accrual event processor must be scheduled as a recurring batch job. Nothing accrues without it; a setup-gap tile stays lit until it is. Process now on the Accrual event queue is not a substitute: it only finishes selected rows a run has already claimed (Processing), and leaves Queued rows for the next run. The same job posts the Earmark journals that are set to post automatically. See Accrual event processor and Post automatically. Whether each movement type's journal posts automatically or waits for review is set per movement type on Earmark parameters > Posting control, which also decides whether each posted movement of a type writes a line to the infolog (Show infolog message) and whether people may create their own journals on an Earmark journal name (Allow manual journals on this name; when it is off, a hand-made journal on that name is refused, while Earmark's own journals are not). When a journal posts, the Earmark timeline records an Accrual journal posted row.

An Earmark journal waiting to post cannot be edited. If it cannot post because its date is in a closed period or a dimension value has been suspended, the Accountant or the Accounting manager uses Correct held journal on Accrual transactions (Earmark > Inquiries and reports), which moves the journal and the accrual behind it together.

Where to look when it goes wrong, in this order:

  1. Accrual event queue (Earmark > Inquiries and reports): did the document queue at all, and has the queue been processed? A row whose accrual failed stays Processing, with the error in Last message.
  2. Earmark execution exceptions (Earmark > Inquiries and reports): did processing or a journal post fail? The Accounting manager, the Accounts receivable manager and the Accounts payable manager can retry a row. A retry runs in the company you are working in, and not every kind of row is repaired by one: see Every operation and what Retry does.
  3. Journals pending review tile (Deal control workspace): journals created but not posted.
  4. Unaccrued transactions tile (Deal control workspace): commitments whose goods have moved but which have accrued nothing. The Unaccrued transaction sweep puts them back on the queue; it does not catch a second lost delivery on a line that has already accrued once. See Unaccrued transaction sweep.

Two things that are deliberately not errors. A verdict is a policy outcome (cap reached, below qualifying quantity, unit not convertible), and it lands in the infolog and the verdict register, not the exceptions workbench. A failure is a malfunction and lands in the workbench. They never share wording, and a configuration gap at posting time produces an exception, posting nothing: never a suspense posting, and never an error on the standard document. A setup-gap tile lights as well only for a gap the tile checks: the Posting profile incomplete tile, for example, lights when a posting type has no row at all, and stays dark when only one item group or customer group is missing.


4. Claiming: turning accruals into a customer credit​

StepWhere
1. Generate claims from posted accrualsGenerate claims on Accrual transactions, or Earmark > Periodic tasks > Generate claims (Generate claims). In the periodic task, one group that fails ends the whole run, and the groups after it are not tried
2. Review what was excluded, and whyThe Generate claims dialog, before you confirm
3. Take / assign a claimTake, Assign (managers: Reassign) on Earmark > Claims > All claims or the workspace tiles
4. Submit for approvalSubmit for approval, once the claim's journal has posted
5. ApproveWorkflow Approve / Reject (Deal and claim approval workflows)
6. The credit is createdOn approval, in an unposted journal on the Claim approval journal name. The accrual event processor posts it when Post automatically is on for Claim approval or Auto-post claim approval journal is on (both ship off); otherwise someone posts it by hand
7. Settle against the customer's open itemsStandard AR settlement, unchanged
7a. Or pay the customerPropose refunds writes an unposted customer payment journal (it needs a refund journal name and a method of payment); AR reviews and posts it (Propose refunds)
8. Send the customer a statementClaim statement on the Customers page (Accounts receivable, the Accounting manager or the Sales manager), delivered through print management (document Earmark claim statement, set up from the Claim statement print management not configured tile, and per customer from the customer's own print management). One print management record of the document, anywhere, that archives or has no destination blocks every customer's statement. A statement lists the customer's claims only. Past runs are on Earmark > Claims > Claim statement runs (Claim statement)

Step 7 is the point of the design. Earmark creates a customer credit and then gets out of the way: settlement is standard accounts receivable, with no Earmark-specific settlement screen for the customer side. Earmark marks the credit's journal line as approved so the posted credit can be settled. The claim's remaining and settled amounts are derived from the standard settlement, never stored separately. Posting the journals and settling use the standard journal and settlement duties, which Earmark does not grant.

Step 2 matters more than it looks. A run that claimed thirty of forty selected transactions and said nothing about the other ten would leave a processor to work out which ten, one at a time. The dialog lists every excluded row with the reason it was excluded.

Where claims appear beside standard data: the Earmark claims FactBox on the Customers and Vendors pages, customer and vendor transactions, sales orders and vendor invoice journal lines.


5. Buying: vendor deals and mirrors​

The vendor side mirrors the customer side rather than duplicating it.

StepStandardEarmark
Purchase orderunchangedBuild price / View price build-up on the line (purchase price build-up shape); Accrual instances / Accrual transactions buttons. Eligible vendor deals can also be attached to purchase lines automatically (Headless auto-attach on purchase lines, which ships off; once on, it builds the lines a buyer types too)
Post product receipt / vendor invoiceunchangedOne row added to the accrual queue, like the sales side
Vendor settlementRun vendor settlement (Earmark > Periodic tasks, or Accounts payable > Earmark) raises vendor claims and submits them
Vendor claim approvalEarmark writes the vendor credit as a proposal for accounts payable, never posted by Earmark
Review and post the proposalstandard invoice register posting by accounts payable (Accounts payable > Invoices > Invoice register)Posting it completes the claim. If AP deletes it, Re-propose vendor journal on the claim writes a new one

A vendor settlement run submits what it raises when its claim journals post automatically. When Post automatically is on for the Claim movement type, the run posts each new claim's journals and submits the claim for approval. A claim journal held for review stays held: someone posts it, and the claim is then submitted from the claim page by a holder of Process Earmark claims (the Accounts receivable clerk, or the Accounts payable manager who runs settlement). The Accounts payable manager also retries a failed run item on the execution exceptions workbench (a retry marks the row Resolved even when it raises no claim) and can reverse an approved vendor claim. See Run vendor settlement.

A vendor claim's approval is a proposal, not a posting. It is written to an invoice register journal on the Vendor proposal journal name, never posted automatically and with its line left unapproved, so accounts payable reviews, approves and posts it as part of its own work. The claim reads Proposed until then. Accounts payable > Earmark > Vendor proposals awaiting AP and the tile of the same name on the Earmark workspace list these claims. Reversing a vendor claim whose proposal has not been posted withdraws the proposal instead of proposing its reversal, so accounts payable is never left with a one-sided journal.

A mirror is a vendor-side twin of a customer accrual: the case where you accrue to a customer and recover the cost from a supplier. Each customer accrual on a supplier-funded deal is paired with a vendor receivable for the supplier's share, until the funding rule's cap is used up: a customer accrual the cap declines gets no vendor side. The pairs can be reviewed under Mirror links and Mirror transaction pairs (Earmark > Inquiries and reports), where a declined accrual shows with a blank vendor voucher.

The Vendors page gets Deals and Deal control buttons, and the accrual and claims FactBoxes. Purchase order lines have no stale-price handling and no Unbuild price button. Detail: Vendor deals and mirrors. Two stories follow the vendor side end to end: Claiming a supplier volume rebate and A promotion the supplier helps pay for.


6. Going live: configuration and cut-over​

Driven from Earmark > Setup and the Earmark configuration workspace, which exists so that an implementation consultant and an accounts receivable clerk are not looking at the same page. The workspace appears once an Earmark module is on; Earmark > Setup (parameters, posting profile, setup checklist, configuration register and snapshots, license status) is there from the start, and its actions work before any module is on. The Migration pages appear once a module is on.

StepWhere
1. Switch on the modules and shapesEarmark > Setup > Earmark parameters, Modules tab
2. Configure the rest of the parameters, including journal names and Post automaticallyEarmark > Setup > Earmark parameters
3. Configure the posting profileEarmark > Setup > Earmark posting profile
4. Create the approval workflowsStandard workflow editor; Check approval workflows (added to the workflow list page) checks them
5. Flag which reasons apply to EarmarkEarmark > Setup > Financial reasons, Applicable to Earmark
6. Seed the segregation-of-duties rulesSegregation rules not seeded tile (Seed rules), which installs twelve duty pairs. The rules apply to the whole environment, so this is done once, not per company. Run it again in an environment that was seeded by an earlier build, so that the pairs added since are installed
7. Schedule the batch jobsAt least the Accrual event processor; see the installation guide
8. Work the setup checklist until every row is completeEarmark > Setup > Setup checklist: fourteen rows, each with a matching tile. A row that does not apply to you can be marked Not applicable with a reason, whether or not its module is on, and Remove not applicable mark hands it back to its check. Saving parameters and Seed rules refresh the checklist; after other changes, click Re-evaluate. See Setup checklist
9. Migrate opening positionsMigration data entities → Earmark > Migration > Migration batches → Certify
10. Compare against a snapshotEarmark > Setup > Configuration register, Take snapshot / Compare to snapshot. Take snapshot rebuilds the register first; Compare to snapshot does not, so select Rebuild register before comparing. See Rebuild register

The setup checklist and the setup-gap tiles ask the same question for each gap, but they can disagree for a while: a tile asks afresh each time its workspace opens, while the checklist keeps its answers until they are cleared. Re-evaluate on the checklist brings it back in step. Every setting is described in the configuration reference.

Step 9 is time-boxed on purpose. Migration writes through two dedicated data entities under a duty that is meant to be granted for the cut-over and removed afterwards: deliberately separate entities, so the everyday deal entity cannot be talked into migration behavior. While that duty is held, an approved migrated deal can also take its targeting rows, funding rules and posting rows through the standard deal entities; a deal approved through the workflow in this system stays locked. Recording that the duty was revoked is refused while anyone still holds it. A migrated position is excluded from catch-up accruals for the rest of its life, because the old system already accrued and paid it. The migration duties ship on no role, and the person who certifies a batch should not be the person who loaded it. See the cut-over section of Getting started and setup before loading, and the story Moving running trade deals into Earmark in the middle of the year.


7. Licensing​

A license problem warns first, then stops new work on production. A license in grace or lapsed shows a tile on the Earmark configuration workspace and a watermark on the internal copy of a claim statement. Only on production, at the license's block date, does Earmark refuse: creating or copying a deal, generating a claim (by the dialog, the periodic task or a vendor settlement run), and approving a deal, an amendment or any claim not yet approved. A migrated deal is exempt. It never stops pricing, an accrual, a posting or a settlement on what already exists; ending, rejecting, recalling and reversing stay open; and every other environment type only warns. A refused act leaves the document where it was, so it can go through once the license is restored. See Check the license status for the dates.

Earmark registers with the licensing service each time the application starts. Its License status page (Earmark > Setup > License status) gets its first answer after the license refresh has run (the daily license refresh job, whose first run is a day after it is created, or System administration > Setup > Magicite > License refresh run by hand), and is refreshed after every run. Re-check now on that page records the latest stored answer; it does not contact the licensing service itself, so to check straight away run License refresh first. See Check the license status and License check.