Advisory & Architecture

Dynamics 365 Finance & Operations solution architecture

We design the technical and functional foundation of your Dynamics 365 Finance & Operations environment — so configuration, development, integrations and reporting are built on decisions that hold up for years, not just until go-live.

Microsoft Dynamics 365

Finance & Operations

X++ extensions · data entities · batch framework · security model

  • Synapse Link / Fabric (data lake export) Power BI
  • Dataverse: dual-write, virtual entities, business events Power AppsPower Automate
  • OData, custom services, DMF recurring jobs, business events Microsoft Azure
  • BYOD entity export to Azure SQL SQL Server
Standard integration paths around D365 F&O. Which ones a project uses is an architecture decision.

Architecture in action

How Codefine Architects a Connected Dynamics 365 Solution

Watch an enterprise Dynamics 365 architecture take shape — from business processes and the application landscape to data, integrations, security and ALM — then explore the finished design.

  1. Designing the architecture · step 1 of 7

    Business needs appear

    Your business Finance Close the month faster Procurement Control what we buy Warehouse Ship accurately, on time People Hire and manage people Projects Deliver projects profitably
    Your business Finance Close the month faster Procurement Control what we buy Warehouse Ship accurately, on time People Hire and manage people Projects Deliver projects profitably

    What it means

    Finance, procurement, warehouse, people and projects each bring goals and pain points.

    Why it matters

    Requirements decide everything later — licences, design and cost.

    How Codefine helps

    Discovery workshops that capture processes, volumes and today's workarounds.

    Scene 1 of 7

    Business needs appear

    Every architecture starts with what the business has to achieve — not with modules or technology.

  2. Designing the architecture · step 2 of 7

    Choosing the application landscape

    Finance Procurement Warehouse People Projects Dynamics 365 Finance Ledger · payables · receivables · projects Dynamics 365 Supply Chain Mgmt Sales · purchasing · stock · warehouse Dynamics 365 Human Resources Workers · positions · leave Dynamics 365 Project Operations Only where relevant: resourcing and time One shared platform · each app licensed separately
    Dynamics 365 Finance Finance Projects Dynamics 365 Supply Chain Management Procurement Warehouse Dynamics 365 Human Resources People Dynamics 365 · only where relevant Project Operations Projects One shared platform and database each application licensed separately

    What it means

    Needs are assigned to Dynamics 365 Finance, Supply Chain Management, Human Resources and — where relevant — Project Operations.

    Why it matters

    The right app avoids custom builds and pays only for licences you need.

    How Codefine helps

    An independent fit assessment against standard Microsoft functionality.

    Scene 2 of 7

    Choosing the application landscape

    Each need is matched to the Microsoft application built for it. Finance, Supply Chain Management and Human Resources are separately licensed apps on one shared platform; Project Operations is added only where the business model needs it.

  3. Designing the architecture · step 3 of 7

    Mapping the business processes

    Order to cash Sales order Supply Chain Pick & ship Supply Chain Customer invoice Finance Ledger posting Finance Procure to pay Purchase order Supply Chain Goods receipt Supply Chain Vendor invoice Finance Payment Finance Hire to retire Hire Human Resources Position & pay Human Resources Leave & absence Human Resources Leaver Human Resources Project to profit Contract Project Ops* Time & expenses Project Ops* Project invoice Finance Revenue Finance * Project Operations where relevant — otherwise project accounting in Finance
    Order to cash Sales order Supply Chain Pick & ship Supply Chain Customer invoice Finance Ledger posting Finance Procure to pay Purchase order Supply Chain Goods receipt Supply Chain Vendor invoice Finance Payment Finance Hire to retire Hire HR Position & pay HR Leave & absence HR Leaver HR Project to profit Contract Project Ops* Time & expenses Project Ops* Project invoice Finance Revenue Finance * Project Ops where relevant, else Finance

    What it means

    Order to cash, procure to pay, hire to retire and project to profit are traced step by step.

    Why it matters

    Hand-overs between modules are where errors and delays hide.

    How Codefine helps

    Process maps that show each step, its module and its posting.

    Scene 3 of 7

    Mapping the business processes

    End-to-end processes run across applications. Mapping each step shows where data is handed over and where one module posts into another.

  4. Designing the architecture · step 4 of 7

    Data and integration architecture

    Azure integration layer Dynamics 365 Finance & Operations E-commerce Web shop Orders · API Management + queue CRM Dataverse apps Customers · dual-write Power BI Reports Analytics · Synapse Link / Fabric Bank Statements Statements · data packages Logistics partner 3PL Shipments · business events
    Into Dynamics 365 E-commerce Orders · API Management + queue CRM Customers · dual-write, both ways Bank Statements · data packages Azure integration layer Dynamics 365 Finance & Operations Out of Dynamics 365 Power BI Analytics · Synapse Link / Fabric Logistics partner Shipments · business events One pattern per interface, each monitored

    What it means

    Web shop, CRM, bank, logistics and Power BI connect through Azure services.

    Why it matters

    Reliable integrations keep orders, cash and reports in sync.

    How Codefine helps

    A pattern per interface — APIs and queues, dual-write, business events, Synapse Link — with monitoring.

    Scene 4 of 7

    Data and integration architecture

    External systems join through the Azure integration layer, each with a pattern that fits the flow — never one technology for everything.

  5. Designing the architecture · step 5 of 7

    Security and operating model

    Operating model Group Company A · NL Legal entity Company B · DE Legal entity Sales department Operating unit Central warehouse Operating unit Postings and numbering are kept per company; master data is shared only where agreed. Who can do what Anna · AP clerk Role: Accounts payable clerk Duties → privileges → menu items and data Segregation of duties Maintain vendors Approve payments Conflict flagged: not the same person without a documented mitigation
    Operating model Group Company A · NL Legal entity Company B · DE Legal entity Sales dept. Operating unit Central warehouse Operating unit Postings stay per company;master data shared only where agreed Who can do what Anna · AP clerk Role: Accounts payable clerk Duties → privileges → menu items, data Segregation of duties Maintain vendors Approve vendor payments Not the same person unless a mitigation is documented

    What it means

    Companies, operating units, roles and duties are designed together.

    Why it matters

    Clean structure simplifies reporting; good roles protect against fraud and audit findings.

    How Codefine helps

    A role design built around real jobs, with SoD rules checked before go-live.

    Scene 5 of 7

    Security and operating model

    Legal entities and operating units shape the system; roles decide who can do what, and segregation-of-duties rules stop risky combinations.

  6. Designing the architecture · step 6 of 7

    Extensions, ALM and performance

    Microsoft standard code Updated by Microsoft · never changed X++ extension Chain of Command · event handlers Release pipeline · Azure DevOps Develop Dev environment Build Pipeline + tests Test Sandbox UAT Production Live One Version updates Microsoft updates arrive several times a year; automated regression tests keep them routine. Performance by design row by row set-based + parallel batch
    Microsoft standard code Updated by Microsoft · never changed X++ extension Chain of Command · event handlers Release pipeline · Azure DevOps Develop Dev environment Build Azure DevOps pipeline + tests Test Sandbox UAT Production Live One Version updates Microsoft updates arrive several times a year; regression tests keep them routine. Performance by design row by row set-based + parallel batch

    What it means

    X++ extensions, Dev → Build → Test → Production and performance design.

    Why it matters

    Systems stay updatable and fast as volumes and Microsoft updates arrive.

    How Codefine helps

    Azure DevOps pipelines, regression tests and set-based, batch-aware code.

    Scene 6 of 7

    Extensions, ALM and performance

    Custom logic extends standard code instead of changing it, and every change travels the same tested path to production.

  7. Designing the architecture · step 7 of 7

    The complete connected architecture

    Business processes Azure & integration Finance and operations apps platform · one environment, one database Dynamics 365 Finance Separate licence Dynamics 365 Supply Chain Management Separate licence Human Resources Dynamics 365 · separate licence Projects Finance module · or Project Operations licence Order to cash Procure to pay Plan to produce Record to report Hire to retire Project to profit General ledger Standard Accounts receivable Accounts payable Standard Sales and marketing Config Procurement Inventory Master planning Warehouse Config Production control Extend Human resources Workers · positions · leave Project management and accounting Config Project Operations · with Dataverse Organisation model Legal entities · units Data entities & data management framework CustomersV3 · VendorsV2 · ReleasedProductsV2 · SalesOrderHeadersV2 Azure API Management Service Bus · Functions Business events Dual-write ↔ Dataverse Power BI · Fabric Security: roles → duties → privileges Segregation-of-duties rules · least privilege X++ extensions · Azure DevOps · Dev → Sandbox → Production Chain of Command · no overlayering · One Version updates Performance by design Set-based X++ · indexes · batch Sales order → shipment → customer invoice → voucher Purchase order → vendor invoice → voucher Web order → API Management → queue → sales order Shipment confirmed → business event

    Select a component in the map — its connections light up.

    Dynamics 365 Finance

    General ledger

    The financial backbone: chart of accounts, financial dimensions and the vouchers every other module posts into. Most reporting and audit questions end up here.

    • Chart of accounts and account structures
    • Financial dimensions and advanced rules
    • General journals, allocations and periodic processes

    Connected to

    Explore the complete Dynamics 365 F&O experience

    Scene 7 of 7

    The complete connected architecture

    Now all the pieces come together. Select any component to see what it does and how it connects.

The challenge

Most ERP problems are architecture problems that surfaced late

Slow month-end closes, fragile integrations, security models nobody can explain and customisations that break on every service update rarely start as bugs. They start as early decisions made under time pressure — or never made at all — while a project rushes towards configuration.

Dynamics 365 Finance & Operations gives you a deep platform: legal entities and organisation hierarchies, a shared data model across finance and supply chain, data entities, the batch framework, extension points for X++ and a growing set of Power Platform and Azure services around it. Architecture is the work of choosing how your business maps onto that platform, and where it should not be customised at all.

Capabilities

What we cover in D365 F&O Solution Architecture

  • 01

    Functional architecture

    Fit-gap analysis against standard D365 F&O processes, module selection and the decisions on where configuration ends and development begins.

  • 02

    Data model & master data

    Legal entity structure, shared versus company-specific data, global address book, product and customer master ownership, and data migration scope.

  • 03

    Integration architecture

    Interface inventory with patterns per flow — OData, custom services, business events, recurring data jobs or dual-write — including error handling and monitoring.

  • 04

    Extension strategy

    Rules for X++ extensions, Chain of Command and event handlers, naming and model structure, so customisations stay upgrade-safe and reviewable.

  • 05

    Security & compliance

    Role, duty and privilege design, segregation-of-duties rules and an approach for auditability that does not depend on spreadsheets.

  • 06

    Environments & ALM

    Tier-1 and sandbox environments, Azure DevOps branching, build and release pipelines, and a cadence for service-update validation.

How the engagement works

A clear sequence, agreed up front

  1. Discovery workshops

    Process walkthroughs with finance, operations and IT, plus a review of the current landscape and any existing D365 or AX design.

  2. Architecture decisions

    Key decisions are written down with options, trade-offs and the chosen direction — so they survive staff changes and audits.

  3. Blueprint & validation

    The blueprint is validated against end-to-end scenarios, volumes and integration timings before configuration starts.

  4. Handover to delivery

    We hand over to your implementation team — or stay to deliver it — with design authority through the build.

Technical approach

Our approach to D365 F&O Solution Architecture

Start from standard, extend deliberately

D365 F&O is updated by Microsoft several times a year. Every customisation is code you will carry through every one of those updates. Our default position is to solve a requirement with standard functionality and configuration first, then with a well-placed extension, and only then with new development — and to write down why when we choose the last option.

Design for volume, not for the demo

Architecture decisions look different at 2,000 sales lines a day than at 200,000. We ask for realistic transaction volumes, peak periods and batch windows early, and use them to shape decisions on posting setup, inventory dimensions, number sequences, batch design and integration throughput.

One pattern per interface, chosen on purpose

Not every integration should be OData, and not every integration should go through a middleware layer. For each interface we decide direction, frequency, volume, latency, error handling and ownership, then choose the pattern: synchronous services, business events, recurring data management jobs, dual-write or Azure Integration Services.

Security is part of the model

Roles, duties and privileges are designed together with processes, not bolted on before user acceptance testing. That keeps segregation-of-duties rules enforceable and audit questions answerable from the system itself.

Benefits

What changes for your organisation

  • Fewer late surprises

    Volume, integration and security questions are answered on paper, where changes cost hours instead of sprints.

  • Upgrade-safe customisations

    A clear extension strategy keeps your solution compatible with continuous service updates.

  • A reference for every team

    Implementation partners, developers and auditors work from the same documented design.

  • Room to grow

    New legal entities, warehouses or integrations fit into a model that was designed to expand.

FAQ

Questions about D365 F&O Solution Architecture

What does a D365 F&O architecture review include?

A review covers module fit, organisation and data model decisions, integrations, security, environments and ALM, extension and customisation approach, and deployment readiness. You receive findings ranked by risk and a set of concrete recommendations.

When should solution architecture work happen?

Before major configuration, customisation, migration and integration decisions are made. In practice that means during or straight after the initial analysis phase — although an architecture review is also valuable mid-project or after go-live when problems start to appear.

Can Codefine assess an existing D365 F&O environment?

Yes. We regularly review environments delivered by other teams, identify structural risks in data model, integrations, security and custom code, and recommend practical improvements for scalability and supportability.

Do you replace our implementation partner?

Not necessarily. Many clients use Codefine as independent design authority alongside an implementation partner, or bring us in for the technically demanding parts such as integrations and performance.

Related services

Discuss D365 F&O Solution Architecture with Codefine

Describe the situation in a few lines — what you run, what is not working and what has to happen next. We reply with concrete questions and a suggested first step.