Getting started and setting up Earmark
This chapter is for administrators, implementation consultants and accounting managers who switch Earmark on in a company and keep its setup healthy. It covers who does what, how to find your way round, turning modules on, the parameters, number sequences, the posting profile, journal names and automatic posting, dimension rules, reasons, inbound pricing policies, deal groups, the setup checklist, workflows, segregation of duties, the configuration register and snapshots, the license page, and the cut-over (migration) surfaces. For installing Earmark, the license and the batch jobs to schedule, see the installation guide. For a click-path reference to every form see Forms guide; for how Earmark changes your existing processes see How Earmark changes your processes.
Two facts are worth knowing before you start, because people ask about them:
- Earmark never blocks a standard document. If Earmark setup is missing when a packing slip or invoice posts, the document still posts. Earmark records a failure in the execution exceptions workbench and, where a setup check covers the gap, lights a setup-gap tile. It does not create a suspense posting or show an error on the document.
- A license problem warns first, and never stops a document or the money already in motion. It adds a tile on the configuration workspace and a line on the internal copy of a claim statement. Only on production, at the license's block date, are new deals and claims and their approvals refused. See Check the license status.
Who does what in Earmark
Earmark ships three roles of its own. Its other duties are added to standard roles, so most people need no new role. System administrator can do everything, as in any Dynamics 365 module. The security reference lists every duty and privilege.
| Role (as shown in Dynamics 365) | Earmark ships it? | What they do in Earmark |
|---|---|---|
| Earmark deal approver | Yes | Approves, rejects, requests a change to or delegates deal approvals, and can Cancel and Close deals (Approve Earmark deals). Opens the Earmark and Deal control workspaces and can read deals, accruals and price build-up before deciding, including the read-only Test deal resolution and Validate accounts. |
| Earmark claims approver | Yes | Approves Earmark claims (Approve Earmark claims). Approving a customer claim creates the customer credit; approving a vendor claim creates a proposal for accounts payable. Also opens the Earmark and Deal control workspaces and can inquire into deals, accruals and claims, so it can see the accruals behind a claim before approving. It cannot raise, change or reverse a claim. |
| Earmark auditor | Yes | Read-only access to deals, accruals, price build-up, claims, vendor shapes and configuration, including the Earmark, Deal control and Earmark configuration workspaces and the Setup checklist. Cannot change anything. |
| System administrator | Adds duties | Maintain Earmark configuration and Maintain Earmark licensing. Licensing gives the Re-check now button on the license status page. |
| Accounting manager | Adds duties | Owns setup: parameters, posting profile, deal groups, reason flags, accrual dimension rules, inbound pricing policies and claim settings. Takes snapshots, rebuilds the configuration register, applies example configurations, runs the setup actions (Seed rules, Enable field-level audit, Check approval workflows, Re-evaluate, Mark not applicable, Remove not applicable mark) and Earmark retention cleanup, and processes execution exceptions. Sets up print management for the claim statement (Set up claim statement print management, from the Claim statement print management not configured tile or checklist row). Runs accrual processing: schedules the Accrual event processor batch job, uses Process now, runs the Unaccrued transaction sweep and uses Correct held journal. Uses Rebuild balances on the Deal balances list and Save run on Accrual reconciliation. Runs claim statements, including the internal copy. Opens the Earmark, Deal control and Earmark configuration workspaces and can inquire into deals and accruals. |
| Accounting supervisor | Adds duties | Inquiry only: deals, accruals, claims and vendor shapes. Opens the Earmark and Deal control workspaces and the Setup checklist. |
| Accountant | Adds duties | Posts manual accruals (Post manual accrual on Accrual instances, Accrual transactions or the Deal balances list), reverses accruals (Reverse on Accrual transactions, one or many rows, or Reverse accruals on Deal balances for a whole deal), resolves credit-review verdicts (Resolve on Breaches) and creates accrual instances by hand (Create accrual instance, only while Allow manual accrual instances is on). Runs accrual processing: the Accrual event processor, Process now, the Unaccrued transaction sweep and Correct held journal. Opens the Earmark and Deal control workspaces and can inquire into deals, accruals and vendor shapes. |
| Inventory accountant | Adds duties | Maintains Earmark deals and ends them (Cancel, Close). Opens the Earmark and Deal control workspaces and can inquire into deals and accruals, including the Accrual instances and Accrual transactions lists. |
| Sales manager | Adds duties | Maintains deals, ends them (Cancel, Close) and monitors the Deal control workspace. Builds and unbuilds line prices, and holds Attach non-targeted deal (Add deal on the Build price page). Runs claim statements, including the internal copy. Opens the Earmark workspace and can inquire into deals, price build-up and claims. |
| Sales clerk | Adds duties | Builds deal prices on sales lines. Can inquire into deals, accruals, price build-up and claims, and opens the Earmark and Deal control workspaces. |
| Customer service representative | Adds duties | Acknowledges stale prices. Can inquire into price build-up. |
| Purchasing manager | Adds duties | Maintains deals, ends them (Cancel, Close), builds purchase prices and unbuilds them (the purchasing agent builds them). Opens the Earmark and Deal control workspaces and can inquire into deals, accruals (including on its own purchase orders) and vendor shapes. |
| Purchasing agent | Adds duties | Builds purchase prices. Can inquire into accruals, including the Accrual instances and Accrual transactions buttons and the Earmark accruals FactBox on its own purchase orders, and opens the Deal control workspace. |
| Accounts receivable clerk | Adds duties | Works claims (including interactive Generate claims from Accrual transactions), records settlement preferences, proposes refunds and runs claim statements (customer copy). Opens the Earmark and Deal control workspaces and can inquire into deals, accruals, price build-up and claims. |
| Accounts receivable manager | Adds duties | Reassigns claims, reverses approved claims (Reverse approval) and processes execution exceptions. Runs claim statements including the internal copy. Opens the Earmark and Deal control workspaces and can inquire into deals, accruals and claims. |
| Accounts payable clerk | Adds duties | Re-propose vendor journal on a vendor claim whose accounts payable proposal was deleted (Re-propose Earmark vendor journals). Opens the Earmark and Deal control workspaces and can inquire into deals, accruals, claims and vendor shapes, including the Vendor proposals awaiting AP list (Accounts payable > Earmark). |
| Accounts payable manager | Adds duties | Runs vendor settlement, and generates, submits and reverses open claims (Process Earmark claims), so the vendor claims a settlement run raises can be submitted without an accounts receivable role. Reverses approved claims (Reverse approval) and processes execution exceptions (Retry selected, Dismiss), for example a failed vendor settlement run item. Opens the Earmark and Deal control workspaces and can inquire into deals, accruals, claims and vendor shapes. |
Three things to know when you assign the shipped roles:
- Every role that can inquire into accruals opens the Deal control workspace and its lists (Deal balances, Threshold status, Breaches, Pending journals and Pending amendments), and so does Sales manager. The buttons on those lists still need their own duties: Post manual accrual, Reverse accruals and Resolve are the Accountant's, Rebuild balances is the Accounting manager's, Close deal belongs to the deal-manager roles and the Earmark deal approver, and Abort deal to no role.
- Some setup is done on standard pages that Earmark's duties do not open. Creating number sequences (Number sequences) and creating the approval workflows (User workflows) need the System administrator or Information technology manager role. Activating Earmark's business events needs the System administrator role or the Business events security role.
- Some duties are on no role at all (below).
Duties that ship on no role. You must grant them on purpose to a role of your own. The ones that matter for setup and go-live are:
- Reset Earmark parameters, which gives the Reset to install default button
- Run Earmark migration, which gives the migration batches and tie-out pages and the New migration batch, Validate step, Load step, Roll back step, Tie out and Record disposition buttons
- Certify Earmark migration, which gives the same two pages (to review) and the Certify and Record bypass privilege revoked buttons
- Migrate Earmark deals and claims without approval workflow, which gives write access through the two migration data entities, and through the standard deal targeting, funding rule and deal posting entities for a migrated deal that is already approved
Two more duties also ship on no role by design, because they are exceptional acts an administrator grants to a named person and then revokes: Abort Earmark deals and Settle third party by reference. With the four above, that is six duties on no role.
Find your way around
Where: Modules > Earmark. The menu has seven groups:
| Group | Entries |
|---|---|
| Setup | Earmark parameters · Deal groups · Earmark posting profile · Financial reasons · Inbound pricing policies · Accrual dimension rules · Setup checklist · Configuration register · Configuration snapshots · License status |
| Deals | All deals · Deals pending my approval |
| Claims | All claims · Reversed claims · Claim aging · Claim statement runs |
| Inquiries and reports | Earmark timeline · Earmark execution exceptions · Accrual event queue · Mirror links · Mirror transaction pairs · Third-party settlements · Vendor settlement runs · Accrual transactions · Accrual instances · Open accruals at close · Accrual reconciliation · Price build-up · Stale prices |
| Periodic tasks | Earmark retention cleanup · Accrual event processor · Unaccrued transaction sweep · Generate claims · Propose refunds · Run vendor settlement · Rebuild register |
| Migration | Migration batches · Migration tie-out |
| Workspaces | Earmark · Deal control · Earmark configuration |
Earmark also adds a submenu named Earmark to three standard modules. Each All deals entry opens the deal list filtered to that module's deals, and each entry disappears while that module is switched off:
- Accounts receivable > Earmark: All deals (customer deals)
- Accounts payable > Earmark: All deals (vendor deals), Run vendor settlement, Vendor settlement runs, Vendor proposals awaiting AP
- Inventory management > Earmark: All deals (inventory deals)
While every module is off, All deals and the claim lists, claim aging and the claim statement runs, the accrual and price build-up inquiries, the accrual event queue, the accrual and claim periodic tasks, the Migration batches and Migration tie-out pages and all three workspaces are hidden. A few entries stay on the menu whatever the modules: Deals pending my approval, Earmark timeline, Earmark execution exceptions, Mirror links, Mirror transaction pairs, Third-party settlements, Vendor settlement runs, Earmark retention cleanup and Rebuild register. The Setup group is never hidden, so you can always reach Earmark parameters to switch a module on, the Setup checklist, the configuration register and License status, and every button on those pages works while every module is off: Re-evaluate, Mark not applicable, Remove not applicable mark, Rebuild register, Take snapshot, Compare to snapshot, Apply example, Reset to install default and Re-check now. The migration pages and their buttons appear together once a module is on.
The three workspaces:
| Workspace | For | Tiles |
|---|---|---|
| Earmark | Day-to-day deal and claim work | Planning · Deals pending my approval · Expiring soon · Stale prices · Execution exceptions · Setup checklist · My claims · Unassigned claims · Claims pending my approval · Awaiting settlement · Approved - posting pending · Returned after claim · Vendor proposals awaiting AP (vendor module only) · Preferences outstanding · Statements due · Mirrors out of step. Lists: Oldest claim credits, Recent statement runs |
| Deal control | Accountants watching deal money accrue | Deals over cap · Deals near cap · Quantity threshold reached · Below qualifying quantity · Per-transaction breaches · Accruals pending posting · Journals pending review · Unaccrued transactions · Accrual execution exceptions, plus setup-gap tiles: Posting profile incomplete · Dimension rules missing for movement type · Journal names not set · Headroom alert % not set (two more, Locked-rate mode with revaluing accrual accounts and Revaluation policy with non-revaluing accrual accounts, are on the page but never light, because their checks are not built). Action pane: Reconcile. Lists: Deal balances (with Post manual accrual, Reverse accruals and Rebuild balances among its buttons), Threshold status, Breaches, Pending journals, Pending amendments |
| Earmark configuration | Whoever sets Earmark up | Setup checklist · No deals in force · Number sequences missing · Approval workflow inactive · No deal approver assigned · Segregation rules not seeded · Reasons not flagged for Earmark · Posting profile incomplete · Field-level audit not enabled · Claim approval workflow inactive · Claim statement print management not configured · Journal names not set · Accrual event processor not scheduled · Configuration differs from default · Migration batches uncertified · License: grace or lapsed |
A setup-gap tile is shown only while its gap is open, so a finished setup shows no gap tiles at all.
Each workspace has Related links:
- Earmark: Setup (Earmark parameters, Earmark posting profile, Deal groups, Financial reasons), Inquiries (Earmark timeline, Earmark execution exceptions) and Tools (Test deal resolution).
- Deal control: Inquiries (Accrual instances, Accrual transactions, Accrual reconciliation, Accrual event queue, Open accruals at close, Earmark execution exceptions), Setup (Earmark parameters, Earmark posting profile, Accrual dimension rules) and Periodic tasks (Unaccrued transaction sweep, Accrual event processor).
- Earmark configuration: Setup (Earmark parameters, Earmark posting profile, Setup checklist), Registers and status (Configuration register, Configuration snapshots, License status) and Cut-over and exceptions (Migration batches, Migration tie-out, Earmark execution exceptions).
Turn on contextual help (the Help icon)
Who: System administrator · Where: System administration > Setup > Magicite > Documentation help
Earmark registers its pages for contextual help each time the system starts. No documentation address is set when Earmark is installed, so no Help icon appears on Earmark pages until an administrator sets one.
- Open Documentation help. Find the Earmark row (form prefix
MGCEarmark). - Enter the Documentation base URL and make sure Show the Help icon is selected.
What happens: A Help icon appears on the command bar of every Earmark page. It opens the
address you entered, followed by /help/ and the page's name, in a new browser tab. Clear Show the
Help icon to remove the icon without losing the address. See also
Contextual help in the configuration
reference.
Turn Earmark modules and vendor shapes on
Who: Accounting manager, System administrator · Where: Earmark > Setup > Earmark parameters, Modules tab
Each module and vendor shape is off when Earmark is installed. While a module is off, most of its menu items, columns and tiles are not shown at all (a few lists stay reachable; see Find your way around). You do not see an empty tile; you see no tile. Its posting hooks also do nothing. Each switch is described in the configuration reference.
- Open Earmark parameters and go to the Modules tab ("Decide which parts of Earmark exist in this company").
- Set the modules this company uses:
- Customer deals: customer deals, price build-up on the sales line and customer claims.
- Vendor deals: required by every vendor shape below.
- Inventory deals: inventory provisions. These accrue on the item's sales packing slip or invoice, have no counterparty and are never claimed.
- If Vendor deals is on, switch on only the vendor shapes you need:
- Supplier rebate on purchases
- Supplier-funded customer program (mirror). This needs both Customer deals and Vendor deals.
- Purchase price build-up
- Sales-triggered vendor accrual
- To have the Price build-up FactBox on sales orders show a line's build, and to show the Stale prices tile, also switch on Price build-up on sales lines on the Price build-up tab (off at install). The Build price buttons appear with Customer deals alone.
- Save.
What happens: The matching menus, tiles and buttons appear. Switching a module on lets people write deals. It prices nothing by itself, because a deal must still be approved. Switching a module or a shape off again does more than hide its pages: Earmark then refuses every new movement on the existing deals of that module or shape ("No movement was posted for accrual instance %1 because the %2 module is switched off in Earmark parameters. ..."), so nothing more accrues on order lines already priced, and their accruals cannot be claimed, adjusted or reversed until it is switched back on. Documents posted meanwhile queue nothing, and events already queued are marked Superseded. The message says the unaccrued transaction sweep picks the missed points up once the switch is back on; for a superseded event it does not (the sweep's new event for the same point is ignored), so do not switch a module or shape off while its deals are still trading. Deals of that module or shape cannot be submitted either, though they can still be ended. Credits already posted settle in accounts receivable as usual. The setup-gap tiles show the change the next time a workspace opens; on the Setup checklist, click Re-evaluate to see which rows now apply.
If it is refused:
- "A vendor shape cannot be enabled while the Vendor deals module is off. Enable Vendor deals first, then enable the individual shapes the company needs - each shape is independently switchable."
- "The supplier-funded customer program (mirror) shape needs both the Customer deals and the Vendor deals modules to be on. ..." Switch both modules on first.
- "Earmark keeps exactly one parameters record per legal entity, and one already exists. ..." Edit the existing record. Do not create a second one.
- "The Earmark parameters record cannot be deleted. ... To switch Earmark off in this company, clear the Customer deals, Vendor deals and Inventory deals toggles on the Modules tab ..." Turn the three module toggles off instead of deleting the record.
Set company defaults and posting behaviour
Who: Accounting manager · Where: Earmark > Setup > Earmark parameters
Each tab has a short heading that says what it is for. These are the settings an implementer usually reviews before going live. Every field, its install default and what reads it is listed tab by tab in the configuration reference.
| Tab | Key settings |
|---|---|
| Defaults | Price mode (Gross-up or Off-invoice), Allow per-deal price mode, Accrual amount unit, Default deal unit, Accrual point for each module (Ship, Invoice or Manual), Deal currency, Currency policy, Locked rate basis, Claimable by and Account source for each module, Targeting category hierarchy |
| Price build-up | Price build-up on sales lines, Auto-select all proposed deals, Eligibility date basis, Stale-price warning, Warn at posting for stale lines, Inbound auto-pricing |
| Lifecycle | Deal expiry warning (days), Headroom alert %, Allow amendments on approved deals |
| Number sequences | The Earmark number sequence references (see the next section) |
| Retention | How many days the timeline, execution exceptions, accrual events and proposal sessions are kept |
| Events | Publish deal events, Publish accrual events, Publish Earmark claim events |
| Accrual posting | Reversal presentation, Allow manual accrual instances, Return after claim behavior, Alert on balance rebuild variance |
| Posting control | One row per movement type: Journal name, Post automatically, Show infolog message, Allow manual journals on this name (see Set journal names) |
| Accrual processing | Event processing mode, Event sweep cadence, Accrual event drain cap (per run), Event staleness timeout (minutes), Unaccrued transaction sweep cadence, Reconciliation tolerance |
| Claims | Default claim assignee rule, Default claim owner, Auto-post claim approval journal, Block claim approval by the deal's approver, Block claim approval of return-flagged lines, Preferences outstanding after (days), Minimum accrual age for generation (days), Maximum accruals per generation run, Aging bucket 1 to 4 (days) |
| Claim settlement | Vendor proposal journal name, Refund proposal journal name, Refund proposal method of payment, Net charge-backs in refund proposal |
| Claim statement | Statement currency, Include settled history, Statement language, Rate unit caption, Statement legal text, Statement contact purpose, Statement period (days) |
| Vendor deals | Headless auto-attach on purchase lines, Purchase price mode default (under Purchase price build-up), Out-of-step tolerance (amount) and (percent) for supplier-funded mirrors, Settle by reference allowed, Settle-by-reference match severity. See Vendor deals, supplier funding and mirrors. |
Settings that catch people out:
- Reversal presentation ships set to Not defined. Until you choose Flip debit and credit or Flip account and offset, every reversal is refused, posts nothing and creates an execution exception. Earmark does this on purpose so that it never guesses a ledger convention for you.
- Default deal unit ships as ea. Every deal needs a deal unit: a deal with none cannot be saved or submitted ("A deal unit is required. ..."), because no order line's unit could be converted to it. If the deal unit differs from an item's inventory unit, a unit conversion must exist before a price can be built.
- Price mode cannot be Company default on the parameters record. The refusal reads: "The company price mode must be Gross-up or Off-invoice. ..."
- Event processing mode has no effect today: both values behave the same. It does not schedule anything either. In either mode, posting a document only queues its accrual; the Accrual event processor batch job turns the queue into accruals (Accrual event processing).
- Some settings are read by nothing today, so changing them changes nothing: Locked rate basis (Defaults), Return after claim behavior (Accrual posting), Unaccrued transaction sweep cadence and Reconciliation tolerance (Accrual processing; the reconciliation reports every difference). Deal expiry warning (days) only decides which deals the Expiring view and the Expiring soon tile show; it sends no warning. Statement period (days) only drives the Statements due tile; it sets no default period on a statement run. See the Defaults, Accrual processing and Claim statement tabs in the configuration reference.
- Retention day counts (Retention tab) take effect only when Earmark retention cleanup runs. A count of 0 turns that kind of cleanup off, so those records are kept forever. Execution exceptions are shared by every company: a cleanup run in any company deletes every company's old Resolved and Dismissed rows using the running company's Execution exception retention (days), so keep the same value in every company (Retention tab, Earmark retention cleanup).
- Publish deal events (Events tab) controls more than deal events: the pricing, vendor and platform events have no switch of their own and follow it, so it decides 17 of Earmark's 26 business events. Publish Earmark claim events ships off. Each event must also be activated in the standard business events catalog (Events tab, Business events).
- Changing a default affects new deals and builds only. Values already committed, including the journal names, are stored on each accrual instance when it is built and are never re-priced, re-timed or re-pointed.
- Auto-post claim approval journal on the Claims tab posts a customer claim's approval journal automatically (by the next Accrual event processor run); Post automatically on the Claim approval row of Posting control does the same, and either is enough.
- Show infolog message on a Posting control row writes one infolog line for each posted movement of that type, to whoever ran it or to the log of the batch job that processed it.
- Allow manual journals on this name on a Posting control row decides whether people may create journals by hand on that row's journal name. While it is off, a hand-made journal on an Earmark journal name is refused ("Journal name %1 is the Earmark journal name for %2 on the Posting control tab of the Earmark parameters, and manual journals are not allowed on it. ..."). Earmark's own journals are never refused.
- Alert on balance rebuild variance (Accrual posting tab) sends the deal owner an Action center notification when Rebuild balances finds a difference. The Balance variance verdict is written either way.
- Allow manual accrual instances (Accrual posting tab) ships off. While it is off, Create accrual instance on the Accrual instances list is refused.
- Aging bucket 1 to 4 (days) on the Claims tab are the boundaries of the Aging bucket column on Claim aging. They must ascend, and the first must be at least 1: "The aging bucket boundaries must ascend: Aging bucket 1 (days) must be at least 1, and each of buckets 2, 3 and 4 must be greater than the one before it. ..."
- Statement language on the Claim statement tab sets the language of every claim statement when the person running it does not choose one. A language chosen on the run wins; with the parameter blank, the statement uses the customer's language, else the language of the person running it.
- Statement currency on the same tab works the same way: a currency chosen on the run wins, then this parameter, then the customer's own currency, then the company's accounting currency. Rate unit caption is printed beside the deal rate on each statement line (blank prints the deal's own rate unit), Statement legal text is printed as it stands at the foot of every statement, and Statement contact purpose picks the customer's address and contact (an email address, else a phone number) the statement is addressed to. With no purpose set, or none of that purpose on the customer, the primary ones are used.
- Stale-price warning (Price build-up tab, on as shipped) decides only whether the person whose change makes a built sales line stale is warned at that moment. The line is flagged and listed on Stale prices either way. Warn at posting for stale lines (on as shipped) writes one warning for each line of a sales packing slip or invoice being posted whose build is stale, while Price build-up on sales lines is on. It never stops or changes the posting. A canceled or corrected packing slip does not warn again.
- Purchase price mode default (Vendor deals tab) is the price mode of a purchase line whose deal does not set one (or while Allow per-deal price mode is off). Left at Company default, purchase lines are built Off-invoice; the sales Price mode is never used for a purchase line. A Purchase price build-up deal is always Off-invoice.
Any parameter change is shown in the configuration register (below). Your edits on this form are saved directly, like any other parameters form.
If it is refused: numeric fields reject negative values, and Headroom alert % must be between 0 and 100. For example: "The headroom alert percentage must be between 0 and 100. ..."
The Licensing tab holds no settings. It points you to the License status page and states what a license problem shows and what stops at the block date; see Check the license status below and License in the configuration reference.
Set up number sequences
Who: Accounting manager (assigns sequences); System administrator or Information technology manager (creates them) · Where: Earmark > Setup > Earmark parameters, Number sequences tab. The Number sequences missing tile and its checklist row open the same page.
Earmark has ten references: Deal ID, Accrual instance ID, Accrual transaction ID, Claim ID, Statement run ID, Vendor settlement run ID, Reconciliation run ID, Migration batch ID, Configuration snapshot ID and Exception ID. The first nine are set per company; Exception ID is one shared sequence. What each one numbers, and what happens without it, is in the configuration reference.
- Create the sequences on the standard Number sequences page. Earmark's duties do not open that page: it needs the System administrator or Information technology manager role.
- On the Number sequences tab, set a Number sequence code for each reference.
What happens: The Number sequences missing gap clears once Deal ID and Exception ID both have a sequence. Exception ID is shared across companies, because one execution exceptions workbench serves every company. A new deal never takes its ID from the Deal ID sequence: the person creating it types the ID. The sequence is drawn only when someone copies a deal, and Copy is refused without it.
If it is refused: The gap checks only those two references, so set all ten anyway. Without a Configuration snapshot ID sequence, Take snapshot fails with: "No number sequence is set up for the configuration snapshot identifier, so no snapshot can be taken. ..."
Set up the posting profile
Who: Accounting manager · Where: Earmark > Setup > Earmark posting profile (also the Posting profile incomplete tile)
The posting profile is the one place every Earmark movement gets its ledger accounts from, for both the customer and the vendor side, unless a deal nominates its own accounts. Earmark never reads the standard inventory posting setup.
- Click New. In the Posting type field, choose the posting type the row is for. Every deal shape, customer and vendor alike, posts through Accrual, Accrual offset, Claim and Claim offset. The vendor-side mirror of a deal on the Supplier-funded customer program (mirror) shape also uses Program funding receivable and Funding recovery. Vendor rebate receivable, Purchase rebate income offset, Third-party expense and Accrued third-party payable can be set up, but no posting reads them today.
- Under Item, set Item code (Table, Group or All) and Item relation. Under Account, set Account code (Table, Group or All) and Account relation. Leave the relation blank for All.
- Under Posting, enter the Main account. It is required.
- Click Test account resolution. Choose Module, Posting type, Item number and Account, then click Test. The answer shows whether a row resolved, which account it is, and a message. Nothing is written.
What happens: Earmark uses the most specific row it finds. For items it tries Table, then Group, then All. For accounts it does the same. The Posting profile incomplete gap clears once Accrual, Accrual offset, Claim and Claim offset each have at least one row. It checks nothing finer: a profile that covers one item group but not another leaves the tile dark, and an accrual for the uncovered items posts nothing and raises an execution exception. To check every movement type for one deal, use Validate accounts on the deal. Each field of the profile is described in the configuration reference.
If it is refused: a row with item code Category is refused, because the profile selects items by item, item group or all items. A row with no main account is refused ("A main account is required. ..."), as is a relation that does not match its code, and a second row with the same posting type, item selection and account selection.
Set journal names for Earmark movements
Who: Accounting manager · Where: Earmark > Setup > Earmark parameters, Posting control tab and Claim settlement tab (also the Journal names not set tile)
Every accrual, reversal, adjustment, claim and claim approval that Earmark posts goes through a journal of its own: Earmark never adds lines to the voucher of the packing slip or invoice that caused it. The journal names decide which journals those are.
- On Posting control, click New to add one row for each of these movement types: Accrual, Accrual reversal, Adjustment, Claim, Claim reversal and Claim approval.
- Set Journal name to a journal name in this company whose journal type is Daily (a general journal). Earmark marks the lines of the journals it creates as approved, the way the general journal page does for that type, so that a posted customer credit can be settled. A name that does not exist is refused: "There is no general journal named %1 in this company. ..."
- Choose Post automatically for each row (see below). It is off as shipped.
- You may also add rows for Return reversal and Claim approval reversal to set Post automatically for them. Leave their Journal name blank: a return reversal posts on the Accrual reversal name and a claim approval reversal on the Claim approval name, so that a movement and its reversal net inside one journal. A name on those rows is refused ("Movement type %1 does not use a journal name of its own, ...").
- If Vendor deals is on, set Vendor proposal journal name on the Claim settlement tab (below).
- For customer refunds, set Refund proposal journal name (a journal name of type Customer payment) and Refund proposal method of payment on the Claim settlement tab. Both are needed: a run with no journal name, or with no method of payment (neither in the parameter nor chosen on the run's dialog), is refused and writes nothing. See Propose refunds.
What happens: The Journal names not set gap clears once all six movement types in step 1 have a journal name and, while Vendor deals is on, Vendor proposal journal name is set. Each accrual instance copies the six names when it is built and keeps them, so a commitment already made still posts where it was set up to post after you change a name. A name that was blank when the instance was built stays blank for it: its movement is refused with "No journal name is set for a %1 movement on commitment %2. ..." and lands in the execution exceptions workbench.
The customer line of a claim approval journal uses the default customer posting profile from Accounts receivable parameters; Earmark does not choose one. Settling that credit later follows that profile's settings.
Post automatically, or hold for review
Post automatically is read for each movement type when its journal is created, and the answer is kept with the journal, so switching it on later never posts journals that were created to be reviewed.
- Off (as shipped): the journal is created and left unposted. The accrual transaction reads Journal pending and the deal balance holds the amount as accrued but pending. The journal appears on the Journals pending review tile on the Deal control workspace until someone posts it with the standard journal posting. Posting it brings the accrual up to date.
- On: Earmark posts the journal after the accrual has been saved: straight away when nothing else is in progress, otherwise on the next run of the Accrual event processor. Accruals created by the processor itself, and journals from claim generation, claim approval, claim reversal and Adjust accrual, are posted by the processor's next run, which reports "%1 Earmark journals were sent for automatic posting." If posting fails, the accrual is kept, stays Journal pending, and the failure appears in the execution exceptions workbench under the Journal post operation, where it can be retried once fixed. The whole sequence is in Journal auto-post.
A held Earmark journal is never edited. Earmark refuses a new line, a deleted line, or a change to anything that affects what the journal posts, on any Earmark journal that has not posted yet. If the journal cannot post because its date is now in a closed period or one of its dimension values has been suspended, use Correct held journal on Accrual transactions (Accounting manager and Accountant). See Pricing and accruals.
The vendor proposal journal name
A vendor claim's approval (supplier rebates, supplier-funded programs and other vendor shapes) is not posted by Earmark. It is written into a vendor journal as a proposal for accounts payable, whose lines are left unapproved: approving and posting them is accounts payable's review. The journal name must exist in this company with the journal type Invoice register, the journals listed under Accounts payable > Invoices > Invoice register.
- If it is blank: "No vendor proposal journal name is set, so the %1 movement on commitment %2 cannot be proposed to Accounts payable. ..."
- If it has another type: "Journal name %1 is a %2 journal, so it cannot hold an AP proposal. ..."
Both refusals land in the execution exceptions workbench and can be retried once the name is fixed. The name is read when the proposal is made, not frozen on the instance. How accounts payable works the proposal, and Re-propose vendor journal, are in Vendor deals and mirrors.
Set up accrual dimension rules
Who: Accounting manager · Where: Earmark > Setup > Accrual dimension rules (also Related links > Accrual dimension rules and the Dimension rules missing for movement type tile on the Deal control workspace)
Dimension rules decide where each journal line's financial dimensions come from. Each movement type has its own ordered list.
- Click New. Set the Movement type, the Sequence, the Source (Deal, Transaction line, Transaction header, Counterparty master, Journal, Parent movement or Fixed value) and the Side (Account, Offset or Both). Leave Active on.
- For Fixed value, enter the Fixed dimension. Every other source refuses a fixed dimension.
- Optionally set Effective from and Effective to.
- Click Test dimension resolution. Supply the movement type, side, module, posting type and, optionally, an item, counterparty, accrual instance, parent movement, journal name and posting date. The test asks the posting profile first, then walks your rules. Nothing is written.
What happens: The walk runs from the lowest sequence up, and the first rule that gives a value for a dimension wins. Sequences are renumbered for you: adding a rule at a position already in use pushes the others down. The gap clears once Accrual, Accrual reversal, Claim, Claim reversal and Claim approval each have a rule at sequence 1. Each field is described in the configuration reference.
Flag financial reasons for Earmark
Who: Accounting manager · Where: Earmark > Setup > Financial reasons (the standard page; also the Reasons not flagged for Earmark tile)
Earmark requires a reason when someone cancels, closes, aborts, amends or recalls a deal, or dismisses an exception. Those dialogs only accept reasons flagged for Earmark.
- Open Financial reasons and select a reason.
- Set Applicable to Earmark to Yes. The check box sits next to the account type.
What happens: The reason appears in Earmark's reason lookups. The Reasons not flagged for Earmark gap clears once at least one reason is flagged. Until one is, those Earmark acts cannot be completed, because their mandatory reason list is empty. See also Financial reasons in the configuration reference.
Set up inbound pricing policies
Who: Accounting manager · Where: Earmark > Setup > Inbound pricing policies
These tell Earmark what to do with a sales line that an integration created, rather than a person. A policy applies only to sales lines that the standard sales order line data entity creates - through OData, a data management import, dual-write or the Dynamics 365 Sales integration. Lines a person enters (in the order form or with Copy from), credit notes, return and RMA lines, negative lines, lines on an order to a customer with an active intercompany trading relationship and Commerce channel orders are never priced automatically, whatever the policy says. Lines inserted by custom code or older entities are not either. Lines entered through the Excel add-in count as integration lines, because the add-in posts through OData.
Policies are read only while Inbound auto-pricing is on (Earmark parameters, Price build-up tab). It is off as shipped. It works whether or not Price build-up on sales lines is on, because that switch only governs the price build-up FactBox and the stale price check.
- Click New. Under Scope, set Customer code and Customer relation, Sales origin code and Sales origin, and a Priority.
- Under Behavior, set the Action: Do nothing (the default), Propose and hold, or Build and accept all eligible. Only Build and accept all eligible prices the line. Propose and hold leaves it unpriced: the proposal it records is shown on no page, and Build price on the line works out a fresh one. Also set the Base price source: Payload, else native price or Native price only. The choice has no effect today; both values give the same result.
- Set Effective from and Effective to.
- Click Test inbound pricing resolution. Enter a customer, a sales origin and a date to see which policy applies.
What happens: The most specific policy wins. Priority only breaks ties between policies that are equally specific. If no policy applies, the line is left alone. The test then reports: "No inbound pricing policy is in scope for that customer, origin and date. A line created there would be left alone." Order creation is never blocked: if pricing fails, the order stands. Some failures go to the execution exceptions workbench, where they can be retried; others leave the line unpriced with only a verdict and no workbench row, so check lines that should have been priced. See Inbound auto-pricing and Inbound pricing policies in the configuration reference.
Create deal groups
Who: Accounting manager · Where: Earmark > Setup > Deal groups
- Click New. Enter a Deal group code and a Name.
What happens: Deals can quote the group. The name prints on customer claim statements as a subtotal caption, so write it for a customer to read. You cannot change the code after you create the group. See also Deal groups in the configuration reference.
Work the setup checklist and clear setup gaps
Who: the three Earmark roles and every standard role Earmark extends except Customer service representative and Purchasing agent can open it. Re-evaluate, Mark not applicable and Remove not applicable mark need Maintain Earmark configuration (Accounting manager, System administrator). · Where: Earmark > Setup > Setup checklist (also the Setup checklist tile and Related links > Setup checklist on the Earmark configuration workspace, and a tile on the Earmark workspace)
The page is on the Setup menu even while every module is off, and its buttons work then too. The workspaces, and so their tiles, appear only once a module is on.
The checklist and the setup-gap tiles ask the same questions, but not at the same moment. The checklist keeps the answers it last worked out, while each tile asks again every time a workspace opens, so for a while a tile can be dark while its row still reads Open (or the reverse). Click Re-evaluate to bring the checklist up to date. A gap's tile is shown only while that gap is open. How each check works is in Setup checklist, and a tile that stays lit is covered in the installation guide's troubleshooting section, Setup gap tiles that stay lit.
- Open the Setup checklist. Each row shows Item, Status (Open, Complete or Not applicable), Opens and Not-applicable reason.
- For each Open row, clear it using the table below. Usually the quickest way is to click the row's Opens link or the matching tile.
- Click Re-evaluate to refresh the statuses. The page keeps the answers it last worked out until you do, or until one of these clears them for you: saving Earmark parameters, Seed rules, Mark not applicable, Remove not applicable mark, Apply example and Reset to install default. After any other change (a posting profile row, a dimension rule, a flagged reason, an approved deal, an activated workflow, an assigned approver, enabling field-level audit), click Re-evaluate.
The checklist has fourteen rows. The Item text and the tile name differ slightly for some:
| Checklist item (tile) | Clears when | How to clear it |
|---|---|---|
| No deals in force | Each module that is on has an approved deal whose dates cover today | Approve a deal in each module you switched on. The tile opens the deal list. |
| Number sequences missing | Deal ID and Exception ID have sequences | Set up number sequences. The tile and the row open Earmark parameters. |
| Approval workflow inactive | An active Earmark deal approval workflow exists in any company (the check does not look at the company, but submitting a deal needs one in the company you are in) | Activate the approval workflows, in each company. The tile runs Check approval workflows. |
| No deal approver assigned | At least one user holds a role with the Approve Earmark deals duty | Assign a user to the Earmark deal approver role. The tile opens Security configuration. |
| Segregation rules not seeded | Earmark's twelve rules exist. The rules belong to the whole environment, so seeding once clears this row in every company | Click the tile (below). |
| Reasons not flagged for Earmark | At least one reason is flagged | Flag financial reasons. |
| Posting profile incomplete | Accrual, Accrual offset, Claim and Claim offset each have a row | Set up the posting profile. |
| Field-level audit not enabled | The database log covers Earmark's deal table. The database log setup belongs to the whole environment, not to a company, and the check looks at the deal table only | Click the tile (below). |
| Dimension rules missing for movement type (Deal control tile only) | Five movement types each have a rule at sequence 1 | Set up dimension rules. |
| Journal names not set for accrual posting (tile: Journal names not set) | Six movement types have a journal name, plus the vendor proposal journal name while Vendor deals is on | Set journal names. |
| Headroom alert percentage not set (tile: Headroom alert % not set; Deal control only) | Headroom alert % is not 0 (it ships as 10) | Set it on the Lifecycle tab of Earmark parameters. |
| No claim approval workflow active (tile: Claim approval workflow inactive) | An active Earmark claim approval workflow exists in any company (as for the deal workflow, submitting a claim needs one in the company you are in) | Activate the approval workflows, in each company. Until then claims cannot leave Open. |
| Claim statement print management not configured | Print management for the Earmark claim statement has at least one setting, and none sends it to Archive or Screen or leaves the destination empty | The tile and the row run Set up claim statement print management (Accounting manager), which opens the standard print management setup showing only the Earmark claim statement. Give it an Original record with a destination such as email or printer (Send a claim statement). A batch run turns Screen into Archive, and Earmark refuses to render a statement that would be archived. The check reads every print management record for the statement, customer-specific ones included: one record anywhere sent to Archive, or with no destination, blocks the statement for every customer, and one sent to Screen keeps the row open. Until this is done, no statement can be issued. See Claim statements in the installation guide and Claim statement print management in the configuration reference. |
| Accrual event processor not scheduled as a recurring batch job (tile: Accrual event processor not scheduled) | A recurring Accrual event processor job for this company is waiting, scheduled or running, and recurs at least every N minutes, where N is Event sweep cadence (15 as shipped) | Open Earmark > Periodic tasks > Accrual event processor (the tile opens the same dialog), go to Run in the background, switch Batch processing on and set a Recurrence. A job on hold, a one-off job, or one that recurs less often than the cadence does not clear it. Until this is done, postings only queue accruals and nothing accrues. More · All batch jobs |
What happens: The checklist is complete when no row reads Open. Every row applies as soon as any Earmark module is on. A row reads Not applicable while all three modules are off, or once someone has marked it not applicable (below).
Per company or once per environment. Most rows are answered for the company you are in. Some are not: the segregation-of-duties rules and the field-level audit setup belong to the whole environment, the two workflow rows clear when a workflow is active in any company, and the Exception ID sequence is shared. So a row can read Complete in a company that has not done that setup itself. The full list is in the configuration reference, Per company or once per environment, and the installation guide, Once per environment or once per company, whose steps give the order for setting up each company.
The Opens column shows the internal name of the page or action that clears the row, and it is a link: click it to go straight to the fix. The No deals in force row has no link; use its tile, which opens the deal list. If you do not have access to the page a row opens, you see "You do not have access to %1, the page this setup checklist row opens. ..."
Record why a row does not apply
Who: Accounting manager, System administrator · Where: Setup checklist > Mark not applicable
Use this for a check that does not apply to your company. It works on any row, whether or not its module is on.
- Select the row and click Mark not applicable.
- Enter the Reason and click Mark not applicable.
What happens: The row reads Not applicable and shows your reason in Not-applicable reason. It no longer counts as open, so its setup-gap tile goes dark. Earmark re-evaluates the checklist at once and the grid refreshes. Marking the same row again replaces the reason.
If it is refused: "A reason is required to mark a setup gap not applicable."
Remove a not applicable mark
Who: Accounting manager, System administrator · Where: Setup checklist > Remove not applicable mark
Use this when a check you marked does apply after all, for example after you switch on a module.
- Select the marked row and click Remove not applicable mark. No reason is asked for.
What happens: The mark and its reason are removed, and the row is answered by its own setup check again: the infolog says "The not applicable mark on the setup check %1 was removed. The row now reads %2.", the grid refreshes, and the row's tile lights again if the gap is open. On a row that has no mark nothing changes, and you see "The setup check %1 is not marked not applicable, so there was no mark to remove."
Activate the approval workflows
Who: System administrator or Information technology manager (creates the workflows); Accounting manager (runs the check) · Where: System administration > Workflow > User workflows, as Earmark's own messages name it. The Approval workflow inactive and Claim approval workflow inactive tiles, and the Check approval workflows button that Earmark adds to the workflow list page, all run the same check.
Earmark does not create the workflows for you. You create them yourself in the standard workflow editor, the same as any other workflow in Dynamics 365. A workflow belongs to the company it is created in, so do this in each company that uses Earmark:
- Open User workflows and click New.
- Choose Earmark deal approval.
- Add one approval step and assign it to the Earmark deal approver role.
- Activate the workflow.
- Do the same for Earmark claim approval, assigning the step to the Earmark claims approver role.
To check them: click either tile, or Check approval workflows. You see one line for each workflow, for example "Earmark deal approval: an active workflow is in place. Nothing was changed." or "Earmark claim approval: there is no active workflow, so claims cannot be submitted for approval. To create it, ..." followed by the steps above. If either workflow is missing, the User workflows page opens (unless you are already on a workflow list page). If you do not have access to it, you see: "You do not have access to System administration > Workflow > User workflows. Ask a system administrator to create the missing workflow."
What happens: Each tile clears as soon as its workflow is active. The check never creates, changes or replaces a workflow, so running it again is always safe. It does not look at which company a workflow belongs to: a workflow active in one company clears the tiles, the checklist rows and Check approval workflows in every company, while submitting a deal or claim in a company with no active workflow of its own is still refused. So check User workflows in each company rather than relying on the tiles. How the workflows move a deal or claim, and what the approver sees, is in Approval workflows and the configuration reference.
Seed the segregation-of-duties rules
Who: Accounting manager, System administrator · Where: Earmark configuration workspace > Segregation rules not seeded tile (shown only while rules are missing), or the Opens link on that row of the Setup checklist. Its action is Seed rules.
- Click the tile.
What happens: Earmark adds its rule pairs to the standard segregation-of-duties rules:
- Maintain Earmark deals × Approve Earmark deals
- Approve Earmark deals × Approve Earmark claims
- Process Earmark claims × Approve Earmark claims
- Reverse Earmark accruals × Approve Earmark claims
- Maintain Earmark accrual posting setup × Post manual Earmark accruals
- Run Earmark migration × Certify Earmark migration
- Attach non-targeted deal × Approve Earmark deals
- Monitor Earmark deal control × Approve Earmark deals
- Unbuild line price × Approve Earmark claims
- Maintain Earmark configuration × Post manual Earmark accruals
- Maintain price build-up setup × Post manual Earmark accruals
- Maintain Earmark claim settings × Post manual Earmark accruals
Seeding is once per environment. The segregation-of-duties rules are not kept per company, so once they are seeded in one company the tile and the checklist row are clear in every company. See Segregation-of-duties rules in the configuration reference.
If the rules were seeded in this environment by an earlier Earmark build, before the last six pairs existed, the Segregation rules not seeded tile lights again: click it once more to add the missing pairs.
Pairs that already exist, in either order, are left alone, so running it again is always safe. You see: "Earmark segregation-of-duties rules seeded. %1 rule pairs were created; ..." Earmark then runs the standard compliance check over existing role assignments and reports any role that now conflicts. Rules are retrospective: a role that held both duties before was compliant until this moment. One timeline row is written for the run.
If it is refused or partial:
- "The duty %1 is not published in this environment, so the rule %2 was not created. ..." The rule is created the next time the action runs after the duty is available.
- "Earmark segregation-of-duties rules cannot be seeded inside another transaction. ... Run the seed action on its own." This appears only if seeding is started from inside another process. Start it from the tile.
- A rule that cannot be written becomes a row in the execution exceptions workbench, where it can be retried. The other rules are still written.
- If the compliance check itself cannot finish, the rules stand, and the message tells you to run Verify compliance from the segregation of duties rules page.
Enable field-level audit
Who: Accounting manager, System administrator · Where: Earmark configuration workspace > Field-level audit not enabled tile, or the Opens link on that row of the Setup checklist
- Click the tile. Its action is Enable field-level audit.
What happens: Earmark adds the standard database log settings for eight of its tables. The database log setup belongs to the whole environment, not to one company, so this is done once and covers every company. Changes to deals, their targeting, posting and amendment rows, parameters, posting profiles, deal groups and reason flags are then logged with before and after values. Accrual transactions, claims and the other Earmark tables are not covered. Running it again adds only what is missing. The Field-level audit not enabled check looks at the deal table only, so it reads Complete even if the log setup for another of the eight tables was later removed. See Field-level audit in the configuration reference.
If it is refused or partial: if the cached log setup cannot be reloaded, the message tells you to open System administration > Setup > Database log > Database log setup or sign in again. If a table cannot be configured, the message names it. Run the action again once the cause is cleared.
Review the configuration register and snapshots
Who: Accounting manager, Earmark auditor (view); Accounting manager (rebuild, take snapshot) · Where: Earmark > Setup > Configuration register (also Related links > Configuration register and the Configuration differs from default tile on the Earmark configuration workspace). Snapshots are under Earmark > Setup > Configuration snapshots.
The register lists every Earmark parameter in this company, one row each. The columns are Parameter, Owner package, Group, Parameter type, Current value, Install default, Differs, Example, Example value, Parameter last changed by and Parameter last changed. You cannot edit it. To change a setting, use the form that owns it. Parameter last changed by and Parameter last changed are who last saved the parameters record and when, so they are the same on every parameter row; they do not say which setting changed. For the history of one setting, use the database log (see Enable field-level audit). How the rebuild works is in Rebuild register, and every column in the configuration reference.
To bring the register up to date:
- On the register, click Rebuild register (or use Earmark > Periodic tasks > Rebuild register).
- Click OK to rebuild now. To keep it current automatically, open Run in the background instead, turn on Batch processing and set a Recurrence (for example, nightly).
What happens: Earmark reads every parameter and setup table again and you see "The configuration register was rebuilt: %1 rows." The register only changes when it is rebuilt, so rebuild it (or schedule it) after changing settings if you want to read it right away. Saving Earmark parameters, Apply example and Reset to install default do not rebuild it.
To take a snapshot:
- On the register, click Take snapshot. It needs a Configuration snapshot ID number sequence (Set up number sequences).
- Optionally enter a Reason note, then confirm.
What happens: The register is rebuilt first, so the snapshot always matches the settings as they are at that moment. Then every register row is copied into a permanent snapshot, and you see "Configuration snapshot %1 taken." Snapshots are listed under Configuration snapshots.
To compare with a snapshot:
- On the register, click Compare to snapshot.
- Enter the snapshot id shown on the Configuration snapshots list.
What happens: The Compare to snapshot page lists each parameter in the snapshot with its Current value, its value in the snapshot and whether they differ. It reads the register as it stands and does not rebuild it, so rebuild the register first for a true comparison. A parameter added since the snapshot was taken is not listed. If the id is wrong you see: "Snapshot %1 was not found. Check the id against the configuration snapshot list."
Apply an example configuration
Who: Accounting manager, System administrator · Where: Configuration register > Apply example · Before you start: rebuild the register, then import the example through the Earmark configuration registers data entity. An import can only fill rows a rebuild has already written, and Apply example acts only on the parameters the register lists without rebuilding it first, so after installing or updating Earmark rebuild before importing. Importing only puts the example values beside the current ones. It does not apply them.
- On the register, check the Example and Example value columns.
- Click Apply example. Enter the Example name, a Reason and, optionally, a Note.
- Click Apply example.
What happens: Each value is written through the form that owns it, with that form's own checks, so nothing is set that the form itself would refuse. One timeline row is written for each parameter that actually changed. Unchanged values are not written or logged. Afterwards the setup checklist is re-evaluated.
What is skipped: settings made on standard forms (approval workflows, revaluation, print management, business events) are never written. They appear as checklist items instead. List-type setup tables are also skipped, because you load them through their own data entities. Each skipped row is reported in the infolog and the run continues. For example: "%1 is configured in a standard form and was not written by the worked example. ..."
If it is refused:
- "No worked example called %1 has been imported into this legal entity. Import the example through the configuration register entity first; ..."
- "Give a reason for applying this worked example. ..."
- "%1 was refused by %2 and has been left unchanged. ..." The owning form's own message is shown above this one.
Reset parameters to their install defaults
Who: whoever you grant the Reset Earmark parameters duty to (no role has it as shipped) · Where: Configuration register > Reset to install default · Before you start: rebuild the register. The reset acts only on the parameters the register lists and does not rebuild it first.
- Click Reset to install default.
- Enter a Reason and, optionally, a Note, then click Reset to install default.
What happens: Every parameter that differs from its install default is set back to the default, through the form that owns it. That includes the modules, which ship off, so a reset switches every Earmark module off in the company. One timeline row is written for each parameter changed. Settings made on standard forms and list-type tables are skipped with a message, for example "Parameter %1 was skipped: it is a [Configure] native setting and cannot be reset from here." The setup checklist is then re-evaluated.
If it is refused: "A reason is required to reset Earmark parameters to their install default."
Check the license status
Who: Earmark auditor, Accounting manager (view); System administrator (re-check) · Where: Earmark > Setup > License status (also Related links > License status and the License: grace or lapsed tile on the Earmark configuration workspace). The page and its Re-check now button work even before any module is on.
Earmark registers itself with the licensing service each time the system starts. There is nothing to enter. The licensing service checks the license; see the installation guide and License check for how.
What you see: one row with Product code, License verdict (Entitled, Grace period or Lapsed), Verdict source (Live check or Cached), Grace period ends, Last checked and Last successful check. Earmark records its verdict in every company after each license refresh, a daily batch job that the licensing module creates itself (its first run is a day after it is created), so the row appears after the first refresh that gets an answer. Nothing needs to be scheduled. The startup registration records nothing.
To check straight away, run System administration > Setup > Magicite > License refresh by hand: it checks in with the licensing service and Earmark then records the answer in every company. Re-check now is quicker, but it never contacts the licensing service: it copies the answer already held into the current company only, and creates the row only once there is an answer. Each server re-reads the stored answer at most every five minutes, so a Re-check now just after a refresh can still record the answer from before it.
Until there is a verdict, the page stays empty and Earmark treats the license as Entitled: the License: grace or lapsed tile does not appear (unless a block date is set; see below) and claim statements carry no license line. Re-check now then says: "The licensing service has no verdict for %1 yet, so nothing was recorded. Earmark reads as entitled until a check succeeds. On production, if no license has arrived 14 days after registration, new deals and claims and their approvals are refused until one does. ..."
What a verdict does: it stops nothing by itself. While the verdict is Grace period or Lapsed, or while the license has a block date (even with the verdict still Entitled), the tile appears on the configuration workspace. While the verdict is Grace period or Lapsed, the internal copy of a claim statement carries "INTERNAL COPY - Earmark license in grace period. Contact Magicite to renew." or "INTERNAL COPY - Earmark license has lapsed. Contact Magicite to renew." The customer copy never does. A license service that cannot be reached is not treated as a lapse until a license has been missing for 14 days.
The block date. A license problem warns first, then stops new work on production only. Every other environment type only ever warns. How Earmark tells production from other environments is in the installation guide, Production, sandbox and development environments.
| Situation | Warns | Blocked on production |
|---|---|---|
| The license expired (trial or paid) | Up to day 90 after expiry | Day 91 |
| Contact lost, with a license held | From day 30 after the license was issued | Day 90 |
| The licensing service was never reached, or the stored license cannot be verified | Up to day 14 | Day 15 |
| The license was suspended or revoked | No warning period | At once |
When two apply, the earlier block date wins. Administrators see the status and the date on License status, Earmark parameters and the Earmark configuration workspace from the first day. Other users see a warning once per session on the Earmark workspaces and the deal and claim lists, during the last 14 days and after the block date.
| At the block date, refused | Keeps working |
|---|---|
| Creating or copying a deal | Existing deals keep pricing and accruing, and their accruals can be reversed |
| Approving a deal or an amendment | Rejecting, recalling, closing, canceling or aborting a deal |
| Generating a claim, by hand, by the claim sweep or by the vendor settlement run | Claims already approved keep posting and settling |
| Approving any claim not yet approved, whenever it was raised | Reversing a claim, rejecting or recalling an approval, inquiries and statements |
Nothing refused is lost. An accrual stays claimable, and a deal, amendment or claim waiting for approval stays pending with its work item, so it can go through once the license is restored. A refused Approve writes no timeline row, and delegating the work item does not help.
Migration loads are not refused. A deal loaded through the Earmark deal migration entity is exempt from the block, on production too, because it is not a new deal. Approving a migrated deal left in Planning is still refused.
If a workflow approves automatically, with no person acting on a work item, there is no work item left to wait. The workflow ends and a deal or claim stays Pending approval, not approved, with nobody told why. An amendment's workflow stops with an error instead. Once the license is restored, recall the deal or claim and submit it again. For an amendment, cancel its stopped workflow in the standard workflow history, which closes the amendment as Rejected, then raise it again.
Re-check messages: "License entitlement for %1 was re-checked.", a message that the licensing service could not be reached for %1 and "The last-known verdict stands.", or a message that the environment has not been registered (%1) and "nothing was checked." Read the second as "no fresh answer is held": Re-check now never contacts the licensing service itself, and the row is marked Cached. If it persists, run License refresh by hand and check that the environment can reach the licensing service. The third appears only when the License status row could not be saved, together with a License state write row in the execution exceptions workbench. See License check.
Go live: run and certify a cut-over migration batch
Who: the migration lead, granted Run Earmark migration, runs the batch; a different person, granted Certify Earmark migration, certifies it (no role has either as shipped, and the seeded rules keep the two duties apart). · Where: Earmark > Migration > Migration batches and Earmark > Migration > Migration tie-out (also Related links and the Migration batches uncertified tile on the Earmark configuration workspace). Both pages, like their buttons, appear once an Earmark module is on.
For a cut-over worked through from start to finish, read the story Moving running trade deals into Earmark in the middle of the year; the installation guide's section 9, Deals already in force: the cut-over, gives the overview.
The license block and the cut-over. A deal load through the Earmark deal migration entity is exempt from the license block, but approving a deal left in Planning is not (see Check the license status).
Deals and claims are brought in with the Earmark deal migration and Earmark claim migration data entities, using standard Data management. Writing through them needs the Migrate Earmark deals and claims without approval workflow duty, which ships on no role: assign it by hand for the cut-over and remove it afterwards through standard security (Earmark records that you removed it, and refuses to record it while anyone still holds the duty). The Migration batches page then reconciles, checks and signs off what was brought in.
A migrated deal that arrives Approved gets its targeting rows, funding rules and deal-nominated posting rows through the standard Earmark deal targeting, Earmark deal funding rule and Earmark deal-nominated posting set entities. Writing through them needs Maintain Earmark deals (the deal-manager roles), and for a deal past Planning they accept new and changed rows only from someone who also holds the migration duty above, and only for a deal that came in through the Earmark deal migration entity (one that was never submitted for approval in this system). A deal approved through the workflow here keeps its terms locked even for that person. For anyone else such a deal's terms stay locked, as they are on the deal page, and rows are never deleted this way.
Try a small load first. The two migration entities create records on load, including a deal's status and approval details and a claim's identifying fields, which can be set when the record is created and not changed afterwards. Load a few records, check them on the batch and the tie-out page, then load the rest. Which fields can be set, and when, is in the entity reference.
Create a batch:
- On Migration batches, click New migration batch.
- Enter the Source system and the Export date, then click OK.
What happens: You see "Migration batch %1 created." The batch is Staged, with one row for each step, M-1 to M-9, on the Steps tab. If you see "No number sequence is set up for the migration batch ID, so no batch was created...", set up the Migration batch ID sequence first (see number sequences earlier in this chapter).
Validate and load each step:
- Select the batch. On the Steps tab, select a step and click Validate step. You see "%1 validated."
- Click Load step. You see "%1: %2 record(s) loaded." M-2 marks each migrated deal with a Migrated from AX 2012 timeline entry, M-3 loads each migrated deal's opening balance (below), M-6 does the same as M-2 for claims, M-7 rebuilds each migrated deal's balance onto the tie-out page, and M-7b lists migrated deals that are over their cap or inside their alert threshold.
- Repeat for every step. The batch status follows its least advanced step.
Which records count as migrated: M-2 and M-6 take only deals and claims that a Data management import through the Earmark deal migration or Earmark claim migration entity brought in (the import's staging row reads completed). A deal or claim made by hand is never claimed as migrated. Neither is one written through OData, imported with Skip staging, or whose staging rows were cleaned up before the step ran: it is not marked and not tied out. Compare the step's loaded count with the number of records you brought in.
Opening balances (M-3): what a migrated deal still owes and nobody has claimed comes across as its opening balance. Import one row per deal and counterparty through the Earmark migration opening balance entity: Migration batch ID, Deal ID, Counterparty type, Counterparty, Open amount, Currency and, optionally, Source key. The open amount is in the deal currency and in Earmark's sign (an amount owed to a customer is negative), net of the approved credits loaded through claim migration. The entity refuses a deal the deal migration entity did not load, another currency, a zero amount and a vendor row on a customer deal (a mirror's vendor share). Load step on M-3 turns each row into one accrual with no order line, dated on the batch's Export date. It posts nothing to the ledger, is not limited by the deal's cap or minimums, counts in the deal balance and can be claimed at once; the row's Accrual instance, Accrual transaction, Loaded and Rolled back columns are filled in. M-3 takes only rows on deals this batch's M-2 stamped. If the export date is in a closed period, or an account cannot be found, the row is not loaded and goes to Earmark execution exceptions; fix it and load again. A loaded row cannot be changed or deleted.
Some steps have nothing for Earmark to load in this release: M-1 (configuration), M-4 (currency re-statement journal), M-5 (double-claimed accruals), M-8 (general ledger tie-out) and M-9 (re-pricing open order lines). Load step on one of them writes nothing, marks the step Loaded with 0 records, and tells you what to do yourself, for example "M-8 General ledger tie-out: Earmark does not compare general ledger opening balances in this release. Compare them yourself before you certify. ..." Do those checks before the batch is certified.
Loading a step again is always safe: nothing is loaded twice.
If it is refused:
- "%1 has not been validated yet. Validate the step, then load it."
- "Migration batch %1 is certified, so its steps can no longer be validated, loaded or tied out. Certification is final."
Roll back a step (before certification):
- Select the step and click Roll back step.
What happens: The step's Migrated from AX 2012 timeline entries for this batch are removed, its loaded count goes back to 0, and it returns to Validated, so you can correct the data and load it again. Rolling back M-3 Opening balances asks for a reason code; it reverses every opening balance it loaded to zero and voids its accrual instance, and is refused, with nothing rolled back, once an opening balance has moved since it was loaded (for example, a claim was generated over it). Only M-2 Deals, M-3 Opening balances and M-6 Claims and credits can be rolled back; for any other step you see "... cannot be rolled back. Only M-2 Deals, M-3 Opening balances and M-6 Claims and credits record what they loaded. Load the step again instead...". Rolling back does not delete the deals or claims themselves. On a certified batch you see: "Migration batch %1 is certified, and a certified batch cannot be rolled back. ..."
Review the tie-out and record dispositions:
- Open Migration tie-out. Each row shows, for the batch, the General ledger opening balance, Migrated movements, Rebuilt balance, Baseline balance and the Variance. In this release General ledger opening balance and Migrated movements are never filled, so compare the ledger yourself (see M-8 above). Variance is worked out only when M-7 loads: if you import baseline balances, the import fills only rows M-7 has already created and does not recalculate the variance, so load M-7 again afterwards. Disposition rows show their double-claim or control-reconciliation decision, the reason, the note and who recorded it. Because M-5 writes nothing, no double-claim disposition rows are created. A migrated deal's Rebuilt balance is its opening balance from M-3, plus anything it has accrued in Earmark since it was loaded. Import the old system's balance as Baseline balance and load M-7 again: a deal whose opening balance was loaded in full ties out at zero. A variance keeps the batch from being certified, and no decision can be recorded against a tie-out row to clear it, so correct the data behind it.
- For each disposition row that is Not dispositioned, select it and click Record disposition. Choose the Decision, enter a Reason code and, optionally, a note, then click OK.
What happens: You see "Decision recorded for row %2 of migration batch %1." Your user and the time are stored with the decision, and the row no longer blocks certification. You can change the decision until the batch is certified.
If it is refused:
- "Row %2 of migration batch %1 is a tie-out comparison, not a disposition row, so no decision can be recorded on it. ..." A tie-out row blocks while its variance is not zero. Correct the data and load the step again.
- "A reason code is required to record a disposition." or "Choose a decision for row %2 of migration batch %1. Not dispositioned is not a decision."
- "Migration batch %1 is certified, so its dispositions can no longer be changed."
Tie out the batch:
- When every step is Loaded, select the batch and click Tie out.
What happens: The batch and its steps become Tied out, and you see "Migration batch %1 is tied out and can now be certified." If the tie-out page still has a row with a variance, or a disposition row with no decision, you see "Migration batch %1 is tied out, but it cannot be certified yet. ..." instead. If a step is not loaded yet you see "Migration batch %1 cannot be tied out yet: step %2 is %3. Load every step first." Validating, loading or rolling back a step after tie-out moves the batch back down.
Review a batch:
- Open Migration batches and select a batch. The list shows Migration batch ID, Source system and Status. The status is Staged, Validated, Loaded, Tied out or Certified.
- The Steps tab shows each step, M-1 Configuration through M-9 Built prices. For each step you see its status, rows staged, validated, loaded, rejected and dispositioned, the last run time and the exception count.
- Open Migration tie-out to see, for each batch, the balances and the Variance described under Review the tie-out and record dispositions above (the general ledger opening balance and migrated movements are not filled in this release). Disposition rows show their control-reconciliation dispositions and who recorded them.
Certify a batch (the certifier, not the migration lead):
- Select a Tied out batch and click Certify.
- Read the warning: "This signs off the migration batch, once and irreversibly. ...". Then click Certify.
What happens: The batch becomes Certified, with Certified by and Certified stamped on the Certification tab, and a timeline row is written. Certification is final.
If it is refused:
- "Migration batch %1 cannot be certified while a tie-out difference or an undispositioned row remains. Resolve every blocking row on the tie-out grid, then certify again." A tie-out row blocks while its variance is not zero. A disposition row blocks while it is Not dispositioned; record a decision with Record disposition.
- "Migration batch %1 cannot be certified: it loads deals (step M-2) but has no tie-out row, so nothing was compared with the legacy system. ..." Load the balance baseline and run M-7, then certify again.
- "Migration batch %1 cannot be certified: deal %2 was migrated by this batch but has no tie-out row, ..." Run M-7 again, then certify.
- "Migration batch %1 cannot move from %2 to %3. ..." The batch is not Tied out yet. Load every step and click Tie out first.
- "Migration batch %1 has already been certified. Certification is final and cannot be repeated."
Record that the migration bypass was revoked (the certifier, who holds Certify Earmark migration):
- First remove the Migrate Earmark deals and claims without approval workflow duty from users and roles through standard security maintenance. This button does not revoke anything itself.
- Select the batch and click Record bypass privilege revoked, then Record revocation.
What happens: Bypass privilege revoked is set to Yes on the batch, and you see "Recorded that the time-boxed migration bypass privilege has been revoked for batch %1."
If it is refused: while any user still holds the duty through an enabled, unexpired role assignment, nothing is recorded and the message names them: "Migration batch %1 cannot record the bypass privilege as revoked: these users still hold the duty Migrate Earmark deals and claims without approval workflow through a role: %2. ..." Remove the duty from their roles, or those roles from the users, then record the revocation again.
Where to look when something seems wrong
- A tile on the Earmark configuration workspace is lit: click it. Most setup-gap tiles open the form that fixes them, or run the fix. The Setup checklist shows the full list; click Re-evaluate after making changes elsewhere (saving parameters and Seed rules refresh it for you). A tile can stay dark while its checklist row still reads Open, or the reverse, until you click Re-evaluate. Two setup-gap tiles (dimension rules and headroom alert) are on the Deal control workspace instead; the two revaluation tiles there never light. If a tile will not clear, see the installation guide, Setup gap tiles that stay lit.
- A posting did not accrue, or a setup action partly failed: go to Earmark > Inquiries and reports > Earmark execution exceptions. Failures land there and most can be retried. Policy outcomes, such as a cap being reached, do not land there. Retry selected runs in the company you are in, not the row's Company, so switch to the row's company first. See Background steps and retry.
- Nothing accrues at all: check the Accrual event processor not scheduled tile and the Accrual event queue (Earmark > Inquiries and reports). See Accrual event processing and the installation guide's troubleshooting section, Nothing accrues, or journals do not post.
- Earmark journals are piling up unposted: check Post automatically on Posting control, and the Journals pending review tile on the Deal control workspace.
- Who changed a setting, and when: use Earmark > Inquiries and reports > Earmark timeline for Apply example, Reset to install default, Enable field-level audit, SoD seeding and certification, which each write rows there. A plain save of Earmark parameters writes no timeline row. The Parameter last changed by column on the configuration register names who last saved the parameters record as a whole, not who changed a given setting; for one setting's history, use the database log once field-level audit is on.
- A button or tile is greyed out or missing: you are missing the duty, or the module is off. Check the role table at the top of this chapter. The reset and migration duties are not on any role until you grant them. See also the installation guide's Menus, pages or buttons are missing.
- No Help icon on Earmark pages: no documentation address is set. See Turn on contextual help.