Keeping Derived Electronic Reporting Formats Alive Across Microsoft Updates
How rebase works, how to resolve the conflicts it raises without losing custom fields, and a maintenance routine with version notes and a reference test file for every format.
Rebase moves your derived Electronic Reporting configuration onto a new version of Microsoft's base while keeping your own changes. Import the new base version, create a new draft version of your derived format, and run Rebase on that draft against the new base. Open the draft in the format designer, where conflicts between your changes and Microsoft's are listed; for each one, keep your value or take the base value, then check every custom field binding that the new base renamed or moved. Make it a routine: write version notes for every derived version, keep a reference test file per format, and compare the output before you complete the version.
Why do custom fields disappear when Microsoft ships a new base version?
Usually for one of four reasons, and only one of them is the rebase itself. The format was copied rather than derived, so it has no link to the base and cannot be rebased at all; every Microsoft fix has to be retyped. The format was derived, but someone pointed the method of payment, the report setup or the parameters at the new Microsoft format instead of rebasing the derivation, so production now runs a format that never had your fields. The new base renamed, moved or removed a model field or format element your custom fields were bound to, and the rebase kept the binding pointing at a path that no longer exists. Or the custom field comes from your own model mapping, and after the import a different mapping is used for the model.
The last two are why output can look normal except for blank custom fields. Electronic Reporting does not fail loudly when a binding resolves to nothing, so the first person to notice is often the bank, the tax authority or a customer.
What does rebase actually do to a derived configuration?
A derived configuration stores only your changes on top of a specific base version. Rebase takes a draft version of your derivation and replays those changes on a newer base version: where only Microsoft changed something, you get Microsoft's change; where only you changed something, you keep yours; where both of you changed the same element or property, it becomes a conflict for you to decide. Microsoft describes the procedure on upgrading your format by adopting a new base version.
Rebase works on a draft version, so your completed and shared versions stay as they were until you complete the rebased draft. That is what makes it safe to try in a sandbox: if the result is wrong, you discard the draft and production still runs the old derived version.
In what order should the configuration tree be rebased?
From the data model down. An Electronic Reporting solution is a tree: a data model, one or more model mappings that fill the model from application tables, and formats that write the model out as a file. If you derived more than one level, for example a derived model with an extra field, a derived mapping that fills it and a derived format that outputs it, rebase each level in that order, because the format can only bind to a model field that exists in the version it now depends on.
| Level | What you typically derived | What to check after rebase |
|---|---|---|
| Data model | Extra fields or record lists for data Microsoft does not carry | Your fields still exist and no Microsoft field with the same purpose now duplicates them |
| Model mapping | Data sources and bindings that fill your fields, often from extension tables | Bindings still resolve; the intended mapping is the default for the model |
| Format | Bank, customer or authority specific elements, formats and conditions | Every element is bound; Validate shows no errors; output matches the reference file |
How do you resolve rebase conflicts in the format designer?
One conflict at a time, with the change log of the new base open beside you. After a rebase, the designer lists the conflicts between your changes and the new base; for each one you keep your own value or take the base value. Labels vary slightly between versions, so follow the wording on your screen. Then run Validate, because a conflict-free rebase can still leave bindings that point at a renamed path.
- Both sides changed a property, such as a formula, format mask or condition: keep yours only if Microsoft's change does not fix the same problem; otherwise take the base value and reapply the part of your change that is still needed.
- Microsoft removed or moved an element you changed: find where its content now lives in the new base and move your change there, rather than keeping an orphaned element.
- Microsoft added an element that does what your custom element did: take Microsoft's and retire yours, so you have less to maintain next time.
- A custom field binding now shows as an error: rebind it to the new model path and note the change in the version notes.
Why does a rebased format still produce blank custom fields?
Because the format is correct and the data never reaches it. Check three things before touching the format again. First, which model mapping runs: where several mappings exist for one model, the one marked as the default for the model mapping is used, and importing a new Microsoft mapping can change which one that is. Second, which format version runs: production uses completed or shared versions, so a fix that exists only in a draft is invisible outside a user running drafts for testing. Third, whether the data is there at all: a custom field filled from an extension table depends on that extension being deployed and populated in the environment you are testing.
When the format is used for payments or statutory reporting, also check the setup that selects it, such as the export format on the method of payment, still points at your derived configuration and not at the new Microsoft one. The per-bank set-up is described on Finance and Operations bank payment integration.
What should version notes record for every derived version?
Enough for someone else to repeat the next rebase without you. Electronic Reporting gives each version a description; use it for the summary and keep the full notes with the exported configuration in source control.
- The base version the derivation now depends on, for every level of the tree.
- Each custom field or element, what it is for and who asked for it, so it can be retired when Microsoft covers it.
- Each conflict in the rebase and the decision taken, with the reason.
- The reference test file used, the result of the comparison and who signed it off.
- The production change: date, environment and who completed and moved the version.
How does a reference test file per format catch problems before production?
It turns the question of whether the format still works into a comparison.For each format, keep a small reference data set in a sandbox, such as a payment journal with domestic and cross-border lines, a credit note, a vendor with an unusual address and every custom field filled, plus the output file the current production version produces from it. After a rebase, run the draft against the same data and compare the two files line by line. Every difference is either an expected Microsoft change from the version notes or a defect.
Store the reference data description and the expected file with the configuration in source control. Where the receiving party offers a test service, such as a bank test endpoint, send the new output there as well before completing the version. Electronic Reporting also has features for comparing generated output with baseline files in some versions; check Microsoft Learn for what your version supports before building your own comparison.
What are the steps to rebase a derived Electronic Reporting configuration?
Read, import, draft, rebase, resolve, check, test, complete. Do it in a sandbox, never directly in production.
- Read what changed in the base: Before importing, read the version notes for the new Microsoft version of the data model, model mapping and format, and list which of your custom fields sit near the changes.
- Import the new base versions: Import the new versions of the base configurations from the configuration repository into a sandbox, model first, then model mapping, then format.
- Create a draft of your derived configuration: Complete the current version of your derived configuration if it is still a draft, so a new draft version exists to rebase.
- Rebase the draft onto the new base: On the Configurations page, select your derived configuration, select the draft version and run Rebase, choosing the new base version. Rebase each derived level in order: model, then mapping, then format.
- Resolve conflicts in the designer: Open the draft in the designer, work through each listed conflict, keep your value or take the base value, then run Validate and fix every error and warning.
- Check custom field bindings and the default mapping: Confirm every custom field is still bound to a model path that exists, and that the intended model mapping is the one marked as the default for the model.
- Run the reference test file: Run the draft against the reference data set with the run draft setting, compare the output with the stored reference file, and explain every difference.
- Complete the version and record the notes: Complete the version with version notes (base version, conflicts and decisions, test result), export it to source control and only then move it to production.
How often should derived formats be checked against Microsoft updates?
Every time a new base version arrives, and on a calendar tied to service updates rather than to the day something fails. Microsoft publishes new Electronic Reporting configuration versions independently of application service updates, often for legal or format changes with their own effective dates, so check the repository for new versions of the configurations you derive from as a fixed task. Rebasing one version at a time is far easier than jumping several versions after a year of ignoring them.
Add the reference test file for every derived format to the regression set run before each service update, as described on Finance and Operations regression testing. For e-invoicing formats across many countries, the ownership model is on the Dynamics 365 Finance e-invoicing roadmap.
What does Solzet deliver for Electronic Reporting format maintenance?
Solzet takes ongoing ownership of your derived Electronic Reporting configurations, not only the first build. We inventory your formats and how each one is derived, convert copied formats into proper derivations where possible, rebase each new Microsoft version in a sandbox, resolve conflicts, rebind custom fields, maintain the reference test file and version notes per format, and move completed versions to production with your sign-off. Model mapping extensions in X++ are built by the same team. The service line is Dynamics 365 Finance and Operations, with Dynamics 365 Finance for the finance processes the formats serve.
Where a CRM sits next to Finance and the business would rather not carry Microsoft licensing for it, a custom CRM connects through Finance APIs. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
What does rebase do in Electronic Reporting?
Rebase moves a draft version of your derived configuration onto a newer version of its base. Changes made only by Microsoft are taken, changes made only by you are kept, and elements changed by both sides are listed as conflicts for you to resolve in the designer.
Why did my custom fields disappear after importing a new Microsoft format version?
Usually because production was pointed at the new Microsoft format instead of a rebased derivation, because the new base renamed or moved a path your field was bound to, or because a different model mapping became the default for the model. Check those before editing the format.
Can I rebase a configuration that was copied instead of derived?
No. Only a derived configuration keeps a link to its base. A copied format has to be compared and changed by hand at every update; the lasting fix is to rebuild it as a derivation of the current Microsoft base, carrying only your differences.
In which order should I rebase a data model, model mapping and format?
Top down: the data model first, then the model mapping, then the format, because each level can only bind to elements that exist in the version of the level it depends on.
How do I test a rebased format before production?
Run the draft against a fixed reference data set in a sandbox, using the run draft setting, and compare the output with the stored reference file from the current production version. Every difference must be an expected Microsoft change or a defect to fix.
How often should derived Electronic Reporting formats be rebased?
Whenever Microsoft publishes a new version of a base you derive from, one version at a time, and checked as part of the regression run before each service update. Skipping several versions makes the conflicts much harder to resolve.
Does Solzet maintain Electronic Reporting formats?
Yes. Solzet rebases derived configurations, resolves conflicts, maintains the version notes and a reference test file per format, builds model mapping extensions where needed and moves completed versions to production with your sign-off.
Where should you go next?
Dynamics 365 Finance and Operations
Implementation, X++ extensions, integrations and support.
Bank payment integration
One derived payment format per bank and approval in the payment journal.
E-invoicing roadmap for Dynamics 365 Finance
One operating model for e-invoicing formats across countries.
Finance and Operations regression testing
The regression calendar for service updates.
Dynamics 365 Finance
Ledger, payables, receivables, tax and financial reporting.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.