Skip to main content

Moving running trade deals into Earmark in the middle of the year

Summary: Ashgrove Larder, a regional food distributor, has run its customer trade deals in spreadsheets and an in-house rebate database for years. It goes live on Earmark on July 1, with 46 deals still running, 381,450.00 of accrued rebates in the ledger and 13 approved claim credits not yet used. The problem is moving the deals across without losing a deal, paying anything twice or letting anyone skip approval for good. Earmark carries the agreements in through a migration batch that is tied out and certified by a second person, and the bypass that let the load skip the approval workflow is taken away and recorded as gone. The features in play: the Earmark deal migration and Earmark claim migration entities, the migration bypass duty, the Migration batches and Migration tie-out pages, Certify, Record bypass privilege revoked, deals brought in as Planning, a reversed accrual and the first day of pricing and accruing. Read it if you lead, support or audit an Earmark implementation in a company that already has deals in force.

This story assumes you know the plain path of a deal from A deal's life, end to end and have skimmed Migrate deals and claims already in force, which lists the same stages as a checklist. Here the stages meet a real company's numbers and decisions. The company, people, deals, customers and accounts are invented.

The situation​

Ashgrove Larder distributes chilled and ambient groceries to independent grocers, cafe chains and caterers. It already runs Dynamics 365 for its orders, inventory and finance, in US dollars. Its trade deals do not live there: the commercial team writes them in spreadsheets, and an in-house database called DealBook holds the agreed terms, works out each month's accrual, and raises the claims. Finance posts DealBook's month-end figure as a general journal: a credit to 250210 Accrued customer rebates and a debit to 601250 Customer rebate expense. Approved claims become credit notes in accounts receivable.

On the cut-over date DealBook holds:

WhatCountAmount
Deals in force, of which:55
Second-quarter programs that end on June 309
Running deals (annual or rolling) with no cap30
Running deals with an annual cap8
Third-quarter programs, approved, starting July 13
Third-quarter programs still being negotiated, not approved5
Accrued and not yet claimed, all deals (balance of 250210 on June 30)381,450.00
Claims raised and waiting for a decision (on June 22)538,115.00
Approved claim credits posted in accounts receivable and not yet used952,980.00

The people, and the role each holds in Dynamics 365:

PersonJobRole
Noor HaddadPartner consultant, leads the migrationSales manager, plus a temporary cut-over role (stage 3)
Ji-ho ParkNoor's colleague, her backupThe same temporary cut-over role
Gwen TakahashiFinancial controller, owns the Earmark setup and certifies the batchAccounting manager, plus a temporary certifier role
Arturo BenitezIT, security and batch jobsSystem administrator
Callum ReyesTrade marketing manager, owns most dealsSales manager
Esther NwosuCommercial director, approves dealsEarmark deal approver
Pavel NovakGeneral ledger accountantAccountant
Mina SorensenOrder desk supervisorSales clerk
Lorna AchebeInternal auditEarmark auditor

Why it matters​

DealBook works, but nobody can see in Dynamics 365 why a customer was credited, the month-end accrual is an estimate typed into a journal, and an approval is an email. Ashgrove wants every new order line priced from an approved deal, every delivery accrued as it leaves, and every claim approved by someone who had no hand in it. What makes the cut-over hard is that the year is half over:

  • the running deals must keep their identity, terms and approver, without being approved a second time by people who never saw them;
  • the 381,450.00 already accrued must be paid out exactly once, whichever system pays it;
  • the claims half-way through must finish somewhere;
  • whoever loads the deals must not be the one who signs the load off, and the power to load approved deals must not outlive the cut-over.

Before they start​

  • The plan. Gwen and Noor agree the approach in a one-page cut-over plan: DealBook keeps everything that happened up to June 30 and runs it off; Earmark owns every delivery from July 1. Each decision below is in that plan, and the plan, with the evidence of each check, becomes the cut-over file the auditor reads.
  • The setup. Gwen sets the company up as for any go-live (stage 2), following Set up Earmark; every setting is in the configuration reference.
  • A rehearsal. Two weeks before, Noor runs the whole batch in a test environment copied from production. Two things come out of it, and both change the production plan. Two former DealBook approvers have left the company, and their deals are refused, because Approved by must name a user who exists in the environment: Arturo creates a user account for each, with no roles. And importing DealBook's accrued totals as each deal's Baseline balance blocks certification on every deal that had accrued anything (stage 6 explains why).
  • The license. Arturo checks Earmark > Setup > License status the week before. The deal loads are exempt from the license block, but approving the deals still in Planning is not (stage 9).

1. Choose the cut-over date​

Gwen and Callum pick Wednesday, July 1, the first day of the third quarter, for three reasons:

  1. The nine second-quarter programs end on June 30. They stay in DealBook, which raises and pays their claims in July. Nothing about them needs to move.
  2. The three approved third-quarter programs start on July 1, so they come into Earmark with nothing accrued and their full caps.
  3. June closes in DealBook as usual. DealBook's last accrual covers every delivery up to the warehouse's last dispatch on June 30 at 5:00 PM, so the line between the two systems is a clean date: a delivery belongs to DealBook if it left by June 30, and to Earmark if it leaves from July 1.

The load runs on Monday June 29 and the evening of Tuesday June 30. Certification is at 7:30 AM on July 1, before the order desk opens.

What they decide not to do matters as much. Earmark accrues only on order lines it priced, and a migrated deal's balance starts at zero unless step M-3 loads an opening balance for it: what the deal still owes in the old system and nobody has claimed, imported per deal and counterparty through the Earmark migration opening balance entity. Ashgrove loads none. DealBook raises and pays the claims for everything it accrued, so the 381,450.00 stays on 250210 and runs off there, and Earmark posts to a new account from day one, so that neither balance hides the other.

2. Set the company up​

Gwen, as Accounting manager, does what every company does before its first deal, with three additions for the cut-over:

  1. Earmark > Setup > Earmark parameters: Customer deals is switched on. The Migration pages appear only once a module is on.

  2. Earmark > Setup > Earmark posting profile: one row for each customer-side posting type, all for every item and every customer, on new accounts so that Earmark's money is never mixed with DealBook's:

    Posting typeMain account (example)
    Accrual250220 Accrued customer deals
    Accrual offset601250 Customer rebate expense (the account DealBook used)
    Claim250230 Customer claims payable
    Claim offset250220 Accrued customer deals
  3. Number sequences tab of Earmark parameters: a sequence for every reference, including the migration batch ID. Without it, New migration batch is refused: "No number sequence is set up for the migration batch ID, so no batch was created. ..."

  4. Reason codes for the cut-over, among them CUTOVER for reversals and dispositions made during it.

  5. Arturo activates the Earmark deal approval workflow (the five unapproved programs go through it), seeds the segregation-of-duties rules, and schedules the Accrual event processor every 30 minutes.

  6. Gwen works the Setup checklist until the only Open row is No deals in force, which the migrated deals clear. Then she selects Take snapshot on Earmark > Setup > Configuration register, with the Reason note "before cut-over load".

To do this yourself, follow Set up Earmark, then I want to set up number sequences, I want to see what Earmark setup is still missing, I want to seed the segregation-of-duties rules and I want to schedule the accrual event processor.

3. Give the cut-over its own security​

Earmark ships three migration duties on no role, so Arturo builds two temporary roles in System administration > Security > Security configuration:

Temporary roleDutiesGiven to
Earmark cut-over leadRun Earmark migration and Migrate Earmark deals and claims without approval workflowNoor and Ji-ho
Earmark cut-over certifierCertify Earmark migrationGwen

Run Earmark migration opens the two Migration pages and runs every step and the tie-out. Migrate Earmark deals and claims without approval workflow is the bypass: it lets the two migration entities create records, including deals that are already Approved. Noor also keeps her Sales manager role, because loading targeting rows on a deal needs Maintain Earmark deals. Gwen gets the certifier role and never the lead role: with the rules seeded, the two duties in one person are a segregation-of-duties conflict, and Arturo's conflict review before the load shows none.

The cut-over lead role is given for the cut-over only. Stage 8 takes it away again.

To do this yourself: I want to get the security a cut-over needs, I want to grant a duty that ships on no role, I want to review the segregation-of-duties rules and conflicts, and the Security reference: Duties that no role holds.

4. Create the batch and load the deals and claims​

Monday June 29, 9:00 AM. Noor opens Earmark > Migration > Migration batches, selects New migration batch, enters Source system DEALBOOK and Export date June 26 (the date of DealBook's extract), and selects OK. Earmark answers "Migration batch MIG-000001 created." The Steps tab lists ten steps, from M-1 Configuration to M-9 Built prices, all Staged.

The claims are decided first. A claim brought in through Earmark claim migration is a header with its totals and no lines, so the entity takes only an Approved claim ("Claim ... cannot be migrated with status ..."): a claim with no lines could never be submitted or approved in Earmark. So during the week of June 22 the five waiting claims are decided in DealBook, the old way: four are approved (31,410.00, posted as credit notes) and one is rejected (6,705.00, which stays accrued on 250210 for DealBook to settle with the customer). That leaves 13 approved credits not yet used, 9 + 4, for 84,390.00.

The deals that do not depend on June's last deliveries go in on Monday. In System administration > Workspaces > Data management, Noor imports 38 rows through Earmark deal migration, in an import project that stages the data (she never selects Skip staging, because step M-2 counts only deals that came through staging):

RowsDeal statusWhat the row carries
30 running deals with no capApprovedDealBook's deal number as Deal ID, the original Effective date (most are January 1), Approved by the DealBook approver and Approved with the approval's date and time, a Deal unit, the rate and accrual point
3 third-quarter programsApprovedThe same, with Effective July 1 and the full Lifetime cap
5 programs still being negotiatedPlanningNo Approved by or Approved: they go through approval in stage 10

Every row passes the deal's own checks, exactly as a deal typed on the page would; only the approval workflow is skipped. The original Effective dates are safe to keep: Earmark accrues only on order lines it prices, so a January start date does not reach back to January's deliveries.

Then Noor loads each deal's targeting rows (which customers and items it covers) through the everyday entity. On a deal that came in Approved, those rows can be written only by someone holding the bypass, and never deleted, so she loads and checks them all before stage 8 takes the bypass away. She imports the 13 credits through Earmark claim migration, each Approved with Posting status Posted, its approver and its totals. The credit notes themselves are already open transactions in accounts receivable and settle there as before; the claim headers give Earmark the record.

The capped deals wait for DealBook's final figures. A cap is the one term that changes with every delivery, and Earmark's own balance for a migrated deal starts at zero. So each of the eight capped deals goes in with what is left of its cap, not the cap itself. DealBook's June run at 6:00 PM on June 30 gives the final figures; Noor imports the eight deals at 7:00 PM. Deal DB-1107, for example, has an annual cap of 50,000.00 of which 49,600.00 was accrued by June 30, so it comes in with Lifetime cap 400.00. Its Headroom alert percentage of 10 now applies to that 400.00: the warning comes when 40.00 is left. One deal had a Minimum qualifying quantity that the customer crossed in May; it comes in blank, because Earmark counts toward a threshold only the quantities it accrues itself.

To do this yourself: I want to start a migration batch, I want to load deals and claims already in force, I want to load deal targets, funding rules and deal posting rows, and the Entity reference: Migration and cut-over entities.

5. Validate and load every step​

On the Steps tab of Migration batches, Noor selects each step in turn, then Validate step ("M-2 Deals validated.") and Load step. Five of the ten steps write nothing in this release; their message says so and says what to do instead, and each of those goes into the cut-over file as a manual check:

StepMessage (shortened)What Ashgrove does
M-1 Configuration"Earmark does not load configuration. Set up the Earmark parameters, posting profiles, dimension rules and number sequences in this company yourself."Done in stage 2
M-2 Deals"M-2 Deals: 38 record(s) loaded." on Monday; "M-2 Deals: 8 record(s) loaded." on Tuesday eveningThe Loaded column adds them up: 46, the Planning deals included
M-3 Opening balances"M-3 Opening balances: 0 record(s) loaded."Ashgrove imported no opening balances: the 381,450.00 runs off in DealBook (stage 1)
M-4 Currency re-statement proposal"Earmark does not propose the re-statement journal in this release. If one is needed, create it yourself as a general journal."Nothing to re-state: every deal is in US dollars
M-5 Double-claimed parents"Earmark cannot find accruals that were claimed twice in the source system, because it does not read the source system. Check for them there before you certify."Pavel runs DealBook's duplicate-claim report: none
M-6 Claims and credits"M-6 Claims and credits: 13 record(s) loaded."Matches the 13 credits
M-7 Balance rebuild"M-7 Balance rebuild: 46 record(s) loaded."One tie-out row per migrated deal (stage 6)
M-7b Control reconciliation"M-7b Control reconciliation: 0 record(s) loaded."No deal is near its cap in Earmark's own balance
M-8 General ledger tie-out"Earmark does not compare general ledger opening balances in this release. Compare them yourself before you certify."Gwen and Pavel's ledger tie-out (stage 6)
M-9 Built prices"Earmark does not re-price open order lines during the cut-over."The order desk builds prices on July 1 (stage 10)

Loading a step again is always safe: nothing is loaded twice. That is what let M-2 run on Monday and again on Tuesday evening. Noor loads M-7 and M-7b only after the second M-2, so that all 46 deals are in them.

The batch's status follows its least advanced step:

To do this yourself: I want to validate and load each migration step and Getting started: Go live: run and certify a cut-over migration batch.

6. Tie out against DealBook and the ledger​

Tuesday June 30, 9:30 PM. With every step Loaded, Noor selects Tie out on the batch. Earmark answers: "Migration batch MIG-000001 is tied out, but it cannot be certified yet. The Migration tie-out page still has a row with a variance that is not zero, or a disposition row with no decision. Resolve those rows first."

She opens Earmark > Migration > Migration tie-out. There are 46 rows of Row kind Tie-out, one per migrated deal, with the deal ID as Source key. Earmark leaves General ledger opening balance and Migrated movements empty in this release. Forty-five rows read Rebuilt balance 0.00, Baseline balance 0.00 and Variance 0.00. One does not:

Deal IDRebuilt balanceBaseline balanceVariance
DB-108886.400.0086.40

What happened. Pavel opens Earmark > Inquiries and reports > Accrual transactions for DB-1088 and finds one Accrual movement of 86.40, from a packing slip posted on June 30 for 288 bags of coffee at 0.30 a bag. A clerk who joined the order desk that month had seen the deal arrive on Monday and built a price on the line the same afternoon. DealBook's June run counted the same delivery, so the money is accrued twice.

How they correct it. A tie-out row takes no decision (Record disposition refuses it): its variance clears only when the data behind it is right and M-7 is loaded again. Earmark's accrual is the wrong one, because the delivery left before July 1, so:

  1. Pavel selects the movement, then Reverse, with Posting date June 30, Reason code CUTOVER and the Reason note "Delivered before cut-over; accrued in DealBook June run". The movement becomes Reversed and gains an Accrual reversal of the same amount with the opposite sign, so the pair nets to zero.
  2. Ashgrove holds accrual journals for review, so Pavel posts both Earmark journals. Account 250220 nets to 0.00.
  3. Noor loads M-7 again ("M-7 Balance rebuild: 46 record(s) loaded."). DB-1088 now reads 0.00 across. The step went back to Loaded, and the batch with it.
  4. Noor selects Tie out again: "Migration batch MIG-000001 is tied out and can now be certified."

The cut-over file records the decision and the reversal. The plan gains one rule: nobody builds a price before July 1.

Why the baseline stays at 0.00. Baseline balance is the figure each tie-out row is compared with, and it can be imported through the Earmark migration tie-out entity. In the rehearsal, Noor imported DealBook's accrued totals there, onto the rows M-7 had made (the import cannot add a row). The import does not recalculate Variance; once she loaded M-7 again, every deal that had accrued anything in DealBook showed a negative variance of the same size as its DealBook balance (Variance is the rebuilt balance less the baseline), because Ashgrove loads no opening balances and the rebuilt balance starts at zero. Those rows took no decision, so the batch could not be certified. A company that loads its open balances through M-3 imports them as the baseline too, and each deal then ties out at zero. Ashgrove does not, so in production the baseline stays at 0.00: the question this page answers is "has Earmark accrued anything for these deals that it should not have", and the answer must be nothing.

Dispositions. The page can also hold disposition rows, which take a decision instead of a correction. There are none here: M-5 writes nothing, and M-7b lists a capped deal only when Earmark's own balance for it has reached its headroom alert threshold, which no deal starting at zero has. What could have gone differently shows one.

The ledger tie-out. Earmark does not compare the general ledger (the M-8 message), so Gwen and Pavel do it themselves, after DealBook's June journal posts:

CheckDealBook or EarmarkGeneral ledgerResult
Accrued and not claimed, all 55 deals381,450.00250210: 380,270.00 creditDifference 1,180.00
After Pavel's correcting journal (a DealBook adjustment on deal DB-1019 that never reached the ledger)381,450.00250210: 381,450.00 creditAgrees
Approved credits not yet used13 claims loaded by M-6, 84,390.00Open credit notes in accounts receivable: 13, 84,390.00Agrees
Earmark's own liability before go-live0.00250220: 0.00 (the 86.40 and its reversal)Agrees

The DealBook difference is corrected where it belongs, with a general journal on 250210 in June, outside Earmark.

To do this yourself: I want to review the tie-out and record dispositions, I want to reverse accruals, I want to post Earmark journals that are held for review, and Balance rebuild for how a rebuilt balance is worked out.

7. Certify the batch​

Wednesday July 1, 7:30 AM. Gwen reads the cut-over file (the manual checks, the ledger tie-out, the reversal), opens Migration tie-out to see 46 rows at 0.00, then selects MIG-000001 on Migration batches and Certify. The dialog warns: "This signs off the migration batch, once and irreversibly. Confirm only after the batch has tied out with no blocking variance remaining." She selects Certify. Earmark answers "Migration batch MIG-000001 has been certified.", and the Certification tab shows Gwen in Certified by and the time in Certified. From now on no step of the batch can be validated, loaded, rolled back or tied out again, and no disposition can change. Anything found later is corrected with ordinary transactions.

A control Earmark does not enforce. Nothing in Earmark stops the person who loaded a batch from certifying it. Certify checks that the batch is Tied out with no blocking row; it does not compare the certifier with the user who ran the steps, and it does not check segregation of duties at that moment. Ashgrove makes the control procedural, and you should too:

  1. The two duties are on different roles held by different people (stage 3).
  2. Arturo's segregation-of-duties conflict review shows nobody holding both Run Earmark migration and Certify Earmark migration, before the load and again before certification.
  3. The auditor compares, on the timeline, the user who loaded the steps with the user who certified (stage 11).

To do this yourself: I want to tie out and certify a migration batch and the Forms guide: Certify migration batch.

8. Remove the bypass and record that it is gone​

The bypass is what let 41 deals arrive Approved without a workflow. Once the batch is certified it has no use, so it goes before the order desk opens.

  1. Before her access goes, Noor exports the Earmark migration batches and Earmark migration tie-out entities and the Data management job history of her imports into the cut-over file.
  2. 7:40 AM. Arturo removes the Earmark cut-over lead role from Noor. That takes Run Earmark migration as well as the bypass; Earmark checks only the bypass in the next step, so removing both is up to you.
  3. 7:45 AM. Gwen selects the batch, then Record bypass privilege revoked. The dialog explains that it records a revocation already made; it revokes nothing itself. She selects Record revocation, and Earmark refuses: "Migration batch MIG-000001 cannot record the bypass privilege as revoked: these users still hold the duty Migrate Earmark deals and claims without approval workflow through a role: ...", naming Ji-ho, who had the same role as Noor's backup.
  4. Arturo finds every holder on System administration > Inquiries > Security > Security duty assignments, removes the role from Ji-ho, and then deletes the role.
  5. 7:55 AM. Gwen records the revocation again: "Recorded that the time-boxed migration bypass privilege has been revoked for batch MIG-000001." Bypass privilege revoked reads Yes. It can be recorded once and never reversed.
  6. Gwen selects Take snapshot on Configuration register with the Reason note "go-live", and Arturo removes her certifier role. No one now holds any migration duty.

To do this yourself: I want to remove the migration bypass and record that it is gone, I want to find who holds a duty that ships on no role, I want to take a go-live baseline of the configuration, and Review access.

9. Know what a migrated deal is exempt from​

Callum asks the question every deal owner asks next: are these deals different now? Mostly not. A migrated deal skipped one thing, the approval workflow, and everything else applies:

A deal brought in through Earmark deal migration
Approval workflowSkipped for a deal loaded Approved: Approved by and Approved come from the file, and Submitted by stays empty, because nobody submitted it here
The deal's own checksNot skipped: every row is checked as a deal typed on the page is, a Deal unit is required, and Approved by must be a user
A deal loaded PlanningGoes through Submit and the Earmark deal approval workflow like any other; its approver may be neither the user who ran the import nor the one who submitted it
Caps and qualifying quantitiesApply, measured from zero: Earmark counts only what it accrues itself, which is why caps were loaded as what is left
AccrualOnly on order lines Earmark prices: lines priced from July 1, never DealBook's earlier deliveries
Changing termsTargeting rows of a deal loaded Approved could be written only while someone held the bypass, and never deleted. From now on, an Amend changes the name, end date, cap, headroom alert, deal group or owner through approval; anything else needs a copy
Claims brought in through Earmark claim migrationCame in Approved, the only status the entity takes, with no lines; they are the record of credits settled in accounts receivable

The license block. On a production environment, once Earmark's license reaches its block date, Earmark refuses to create or copy a deal, generate a claim, or approve a deal, an amendment or a claim ("Earmark's license has reached its block date on this production environment. New deals and claims cannot be created (the deal and claim migration loads are not refused), and deals, amendments and claims cannot be approved. ..."). A deal import through Earmark deal migration is exempt: it is not a new deal. The five Planning deals could not be approved, though, so a cut-over that leaves deals to approve needs a license in good standing. Deals already in Earmark keep pricing and accruing, and approved claims keep settling, whatever the license says. On every other environment type, such as the test environment of the rehearsal, the block only warns.

To do this yourself: I want to bring a migrated deal in as Planning and take it through approval, I want to amend an approved deal, I want to know what a license warning means for my work and License check.

10. Run the first day after go-live​

8:00 AM, the order desk. Earmark does not re-price open order lines (M-9), so Mina's team works through a list of 81 open sales order lines entered before July 1 for customers and items the migrated deals cover. On 64 of them nothing is reserved, picked, shipped or invoiced yet. For each, Mina selects Build price, confirms Base price at the price already on the line, includes the deal and selects Accept. Ashgrove's deals are all Off-invoice, so the invoice price stays as agreed and the deal money is accrued beside it. Each line now carries a commitment for its deal.

The other 17 lines are already reserved, picked or part-shipped, so their price can no longer be built. They stay with DealBook: its July run-off accrues their remaining deliveries until the lines are complete. Pavel considered creating accrual instances by hand for them, but a hand-made commitment on a line with goods already shipped can bring those earlier shipments in through the unaccrued transaction sweep, and DealBook had accrued them already.

9:00 AM, the five Planning deals. Callum opens each on Earmark > Deals > All deals and selects Submit. Esther approves them from Earmark > Deals > Deals pending my approval by 11:00. Noor ran their import and Callum submitted them, so neither could have approved them.

From 10:00 AM, the first accruals. Deliveries leave for the lines priced at 8:00. Every 30 minutes the Accrual event processor turns them into accrual movements, and Pavel posts the journals from the review list. By the end of the day Accrual transactions shows 23 Accrual movements for 2,316.50, all on 250220, and Deal control shows each deal's balance growing from zero.

A return. A cafe chain returns 12 cases delivered on June 18. Earmark has nothing to reverse, because the line was never priced by Earmark, so no accrual of it exists here. DealBook's run-off takes the return off 250210, as it always did.

To do this yourself: I want to build a deal price on a sales order line, I want to submit a deal for approval, I want to approve a deal, I want to watch deal money on Deal control and Accrual event processing.

11. Show the auditor the trail​

On July 15 Lorna, as Earmark auditor, reviews the cut-over. Her role cannot open the Migration pages or read the migration entities, so she works from the timeline, the deals and the cut-over file:

  1. Earmark > Inquiries and reports > Earmark timeline, Event type Migrated from AX 2012 (the event's name, whatever the source system was). There are 59 rows: 46 with Document type Deal and 13 with Claim, each with Detail MIG-000001 and Noor as Actor, the user who loaded M-2 and M-6.
  2. The same page, Document type Migration batch, Event type Certified: one row, with Gwen as Actor. Two different people: the procedural control from stage 7 held.
  3. A sample of migrated deals on All deals, Lifecycle tab: Approved by names the DealBook approver and Submitted by is empty. On the five former Planning deals, Callum submitted and Esther approved.
  4. Arturo shows her the segregation-of-duties conflicts (none) and the security duty assignments (nobody holds a migration duty).
  5. The cut-over file: the exported batch, with Certified by, Certified and Bypass privilege revoked Yes; the exported tie-out at 0.00; the ledger tie-out; the reversal of DB-1088 with its reason.
  6. Compare to snapshot on Configuration register, against the "go-live" snapshot, once Gwen has selected Rebuild register (the comparison reads the register as it was last rebuilt): nothing has changed since.

One thing she adds to the file: the retention cleanup deletes timeline rows older than Timeline retention (days) (365 days as shipped), and migration rows are not kept back. Certified by and Certified stay on the batch for good, but the per-deal Migrated from AX 2012 rows do not, so she asks Arturo for an export of the Earmark timeline entity for the cut-over rows.

To do this yourself: I want to read the approval history of a deal, I want to check the segregation-of-duties setup, I want to compare the configuration with an earlier snapshot and I want to export Earmark data for testing.

What they ended up with​

Where it lives after July 1
46 dealsIn Earmark, all Approved after day one, with their DealBook numbers and approvers, 8 of them with what was left of their caps
9 second-quarter programsIn DealBook, which raises and pays their claims
381,450.00 accrued before July 1On 250210, run off by DealBook's claims and journals until it reaches zero
Every delivery from July 1 on an Earmark-priced lineAccrued by Earmark on 250220, claimed and approved in Earmark
13 credits approved before July 1Open credit notes in accounts receivable, settled as before; recorded in Earmark as claim headers
Batch MIG-000001Certified by Gwen, Bypass privilege revoked Yes
Migration dutiesHeld by nobody
ConfigurationSnapshots taken before the load and at go-live

A customer on an annual deal gets two credits for this year: one from DealBook for January to June, and one from Earmark's claim for July to December. Ashgrove tells its customers so before the first Earmark claim statement.

What could have gone differently​

  • A deal close to its cap. Had DB-1131, one of the eight capped deals, gone in with Monday's file, its cap would have been the 90.00 left on June 26, with a 20 percent headroom alert. Had the new clerk's line been for it, Earmark would have accrued the 86.40 and M-7b would have listed DB-1131 as a Control reconciliation disposition row, because 86.40 reached its alert threshold of 72.00. After Pavel's reversal and a fresh load of M-7, the tie-out row would clear, but the disposition row would stay, Not dispositioned, and block certification. Noor would select it, then Record disposition, choose a Decision and a Reason code (CUTOVER; a reason code is required): here Cap amendment queued, because DealBook's June run had used 86.40 more of the cap, leaving 3.60. The decision only records what was agreed. Callum would still have to propose the amendment (Proposed lifetime cap 3.60) and Esther approve it. The other decision, Accepted with reason, records that the deal stands as loaded. I want to review the tie-out and record dispositions, I want to amend an approved deal.
  • A step loaded in the wrong batch. Suppose Ji-ho had created a second batch, MIG-000002, on Monday to try the dialog, and loaded M-2 in it before Noor did. M-2 stamps each deal once, in whichever batch loads it first, so MIG-000002 would have taken all 38 deals and Noor would have read "M-2 Deals: 0 record(s) loaded." The fix is a rollback: in MIG-000002, select M-2 Deals and Roll back step ("M-2 Deals rolled back."). That removes the batch's migration entries from the timeline and returns the step to Validated; it deletes no deal. Loading M-2 in MIG-000001 then counts the 38. Only M-2 and M-6 can be rolled back, and never after certification. A batch is never deleted, so MIG-000002 stays on the page, and the Migration batches uncertified tile on Earmark configuration counts it until it is certified. I want to roll back a migration step.
  • A deal that should not have been migrated. DealBook's list showed DB-1042 as in force, but its 20,000.00 cap had been used up in May. With nothing left, Noor would have had to load its Lifetime cap as 0.00, and 0.00 means no cap at all: from July 1 the deal would accrue without limit. Gwen spots it in her review before certifying. A rollback would not help, because it removes the migration entries of every deal in the step and deletes none. Instead, Callum ends the deal. While no order line has been priced for it he can Cancel it; once a line carries a commitment for it, Cancel is refused ("Deal DB-1042 cannot be canceled because ... accrual instances already reference it. Close or abort the deal instead ..."), Close needs a posted accrual, and Abort stops new prices but leaves the priced lines accruing, so those lines would be unbuilt first and any accrual reversed by Pavel. Abort also needs the Abort Earmark deals duty, which ships on no role, so Arturo would grant it to Callum for the occasion. The ended deal stays in the batch, with a tie-out row at 0.00. I want to end a deal with Close, Cancel or Abort, I want to unbuild a stale price.