Migrate deals and claims already in force
Outcome. The deals you ran in another system, and the claim credits approved there, are in Earmark under a batch that is tied out and certified by a second person, the legacy balances are tied out against your ledger, and the bypass that let the load skip the approval workflow is gone and recorded as gone. Who takes part: System administrator, Implementation consultant (as migration lead and as certifier), Accounting manager, Deal manager, Deal approver. How often: once per company, at go-live.
Earmark has no role for the cut-over. The three migration duties ship on no role, so the System administrator grants them to named people for the time the cut-over takes. In this guide the migration lead is the person given Run Earmark migration and Migrate Earmark deals and claims without approval workflow, and the certifier is a different person given Certify Earmark migration.
1. Grant the cut-over security (System administrator)
Put the run and bypass duties on a role for the migration lead, and the certify duty on a role for someone else; these duties open the pages under Earmark > Migration, which appear once an Earmark module is on in the company. The migration lead also needs a role that holds Maintain Earmark deals (Sales manager, Purchasing manager or Inventory accountant) to load each deal's targeting, funding and posting rows.
- I want to get the security a cut-over needs
- I want to grant a duty that ships on no role
- I want to seed the segregation-of-duties rules
Done when: the migration lead and the certifier can each open Earmark > Migration > Migration batches, and Run Earmark migration and Certify Earmark migration are held by two different users.
2. Prepare the company (Accounting manager)
The company is set up as for any go-live (see Set up Earmark), plus a number sequence for the migration batch identifier, or a new batch is refused; a new number sequence code itself is created by the System administrator. Take a configuration snapshot before anything is loaded, so you can see later what the cut-over changed. Take snapshot rebuilds the configuration register first, so the snapshot holds the settings as they are at that moment.
- I want to set up number sequences
- I want to see what Earmark setup is still missing
- I want to take and compare configuration snapshots
- How the register and snapshots work: Rebuild register; every setting: Configuration reference
Done when: the Setup checklist has no Open row other than No deals in force, which clears once each module you switched on has an approved deal in force (a migrated deal, or one approved in stage 5), the migration batch identifier has a number sequence on the Number sequences tab of Earmark parameters, and you have the snapshot's Configuration snapshot ID.
3. Start a batch and load the deals and claims (migration lead)
The batch is the record the cut-over runs under, with one row per step from M-1 Configuration to M-9 Built prices. Import the deals through Earmark deal migration (the only way to create a deal that is already Approved), unsettled approved credits through Earmark claim migration, both through staging, and then each deal's targeting, funding and posting rows; a deal not yet approved in the legacy system comes in as Planning and goes through approval in stage 5. Earmark claim migration loads claim headers only, with no lines, and refuses any claim that is not Approved, because a claim with no lines could never be submitted or approved in Earmark: decide a claim still waiting for a decision in the legacy system before the load. What a deal still owes and nobody has claimed comes across as its opening balance: import one row per deal and counterparty through Earmark migration opening balance, with the open amount in the deal currency and in Earmark's sign (an amount owed to a customer is negative), net of the approved credits you load through claim migration. Step M-3 loads it. Only a customer balance is loaded on a customer deal; a vendor row (a mirror's vendor share) is refused. The deal's cap and minimums do not touch an opening balance, but once it is loaded it is part of the deal balance the cap is measured against, so set a capped deal's cap with that in mind.
- I want to start a migration batch
- I want to load deals and claims already in force
- I want to load the open balances of migrated deals
- I want to load deal targets, funding rules and deal posting rows
Done when: the batch reads Staged with every step on its Steps tab, the Data management import jobs finished with no errors, and the migrated deals show on All deals with the status you gave them.
4. Validate, load and tie out each step (migration lead)
Validate and load every step in turn: loading again is safe, M-2 Deals and M-6 Claims and credits count only the deals and claims the migration entities loaded through staging, and those two steps can be rolled back and loaded again until the batch is certified (a rollback removes only the step's Migrated from AX 2012 timeline entries; it deletes no deal or claim). M-3 Opening balances loads each opening balance as one accrual with no order line, dated on the batch's export date. It posts nothing to the ledger (the legacy system already did) and can be claimed at once. M-3 takes only rows on deals that the same batch's M-2 stamped. If the export date falls in a closed period, the row is not loaded and the step raises an execution exception. Rolling M-3 back nets each opening balance to zero, and is refused once a claim was generated over one; a loaded row cannot be changed or deleted, so roll back to correct it. Five steps write nothing; their messages say so and what to do instead, such as the general ledger comparison that M-8 General ledger tie-out leaves to you. M-7 Balance rebuild rebuilds each migrated deal's balance from what Earmark holds for it (its opening balance, plus anything Earmark accrued for the deal after it was loaded) and writes one row per deal onto Migration tie-out, with Variance as the rebuilt balance less Baseline balance. Import each deal's legacy balance as its Baseline balance through Earmark migration tie-out once M-7 has made the rows (the import only updates rows M-7 made), then load M-7 again: Variance changes only when M-7 is loaded again, and a tie-out row takes no decision, so a variance that remains blocks certification. Correct any variance, record a decision on each disposition row and then tie out the batch.
- I want to validate and load each migration step
- I want to roll back a migration step
- I want to review the tie-out and record dispositions
- I want to tie out and certify a migration batch
- How a balance is rebuilt: Rebuild balances
Done when: every step was loaded, you have made the manual checks the step messages named, and Tie out reports that the batch can now be certified, with the batch reading Tied out.
5. Approve the deals brought in as Planning (Deal manager, Deal approver)
Only for deals that were not yet approved in the legacy system. A deal manager submits each one through the Earmark deal approval workflow like a deal made by hand, and an Earmark deal approver who neither ran the import nor submitted the deal approves it.
- I want to bring a migrated deal in as Planning and take it through approval
- I want to submit a deal for approval
- I want to approve a deal
- How the workflow runs: Approval workflows
Done when: each deal you brought in as Planning reads Approved on All deals.
6. Certify (certifier)
A different person reads the tie-out and signs the batch off. Certify checks only that the batch is Tied out with no blocking row (a batch that loads deals also needs a tie-out row for every deal it migrated); it does not compare the certifier with the user who ran the steps, so keeping them apart rests on the security from stage 1. Certification is final: after it, no step can be validated, loaded, rolled back or tied out again, and no disposition can change.
Done when: the batch reads Certified, with Certified by and Certified filled in on the Certification tab.
7. Remove the bypass (System administrator)
Remove Migrate Earmark deals and claims without approval workflow and Run Earmark migration from every role and user; Earmark never removes either for you, but it refuses to record the revocation in stage 8 while any user still holds the bypass duty through an enabled role assignment, and names them. Take a go-live snapshot of the configuration too, and leave Certify Earmark migration in place for the next stage.
- I want to find who holds a duty that ships on no role
- I want to remove the migration bypass and record that it is gone
- I want to take a go-live baseline of the configuration
Done when: Security duty assignments lists no role that holds the bypass or run duty, and you have the go-live Configuration snapshot ID.
8. Record the revocation (certifier)
The certifier, not the migration lead, attests on the certified batch that the bypass is gone, so nobody attests to their own bypass. Earmark checks the attestation: the record is refused, naming the users, while anyone still holds the bypass duty through a role. Once it is recorded the cut-over needs no migration duty, and the System administrator removes the certify duty as well (see Review access).
Done when: Bypass privilege revoked reads Yes on the batch.
If something goes wrong
- A new batch is refused for a missing number sequence: I want to set up number sequences.
- M-2 or M-6 does not count a deal or claim you loaded: it was made by hand, loaded with Skip staging or through OData, or its staging rows were cleaned up before the step ran. Load it again through the migration entity with staging (I want to load deals and claims already in force).
- A targeting, funding or posting row for an Approved migrated deal is refused: the user loading it needs the bypass duty as well as a role that holds Maintain Earmark deals, the deal must have come in through Earmark deal migration (a deal submitted and approved in this system stays locked), and no such row can be deleted on a deal past Planning (I want to load deal targets, funding rules and deal posting rows).
- Approving a migrated deal left in Planning is refused with the license message on a production environment: the license has reached its block date. The load itself is not affected, because a deal loaded through Earmark deal migration is exempt from the block. Restore the license, then approve (License check).
- Record bypass privilege revoked is refused and names users: they still hold the bypass duty through a role. Remove it as in stage 7, then record the revocation again (I want to find who holds a duty that ships on no role).
- A tie-out row shows a variance: Earmark has accrued for that deal since it was loaded, or its opening balance does not match its Baseline balance. A tie-out row takes no decision, so correct what is behind it (for example, reverse an accrual of a delivery the legacy system already counted, or roll back M-3, correct the opening balance and load M-3 again), then load M-7 again and tie out again (I want to review the tie-out and record dispositions).
- A Control reconciliation disposition row from M-7b stays after the balance behind it fell back: loading M-7b again never removes a row. Record a decision on it.
- Earmark claim migration refuses a claim ("Claim ... cannot be migrated with status ..."): only an Approved claim migrates, because claim lines cannot be loaded. Decide the claim in the legacy system, then load it approved. An amount nobody has claimed yet is not a claim to load: load it as the deal's opening balance.
- M-3 raised an execution exception for an opening balance ("Step M-3 of migration batch ... could not load the opening balance ..."): the accrual did not post, most often because the batch's export date is in a closed period or the deal's posting setup is incomplete. Correct the cause and load M-3 again; balances already loaded are not loaded twice.
- A migration step raised an execution exception: fix the cause and load the step again. Retry selected on a Migration step row only lowers the step's exception count; it does not run the step (Background steps and Retry, Respond to a failed operation).
Related
- Going live with deals already in force, a story of a cut-over from start to certification
- Getting started: Go live: run and certify a cut-over migration batch
- Entity reference: Migration and cut-over entities
- Configuration reference
- Set up Earmark
- Review access