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.
Finance & Operations
X++ extensions · data entities · batch framework · security model
- Synapse Link / Fabric (data lake export)
- Dataverse: dual-write, virtual entities, business events

- OData, custom services, DMF recurring jobs, business events
- BYOD entity export to Azure SQL
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.
-
Designing the architecture · step 1 of 7
Business needs appear
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.
-
Designing the architecture · step 2 of 7
Choosing the application landscape
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.
-
Designing the architecture · step 3 of 7
Mapping the business processes
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.
-
Designing the architecture · step 4 of 7
Data and integration architecture
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.
-
Designing the architecture · step 5 of 7
Security and operating model
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.
-
Designing the architecture · step 6 of 7
Extensions, ALM and performance
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.
-
Designing the architecture · step 7 of 7
The complete connected architecture
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
Dynamics 365 Finance
Accounts receivable
Customer invoicing, payments and collections. It turns shipped orders into open customer transactions and settles them when cash arrives.
- Customer invoices and free text invoices
- Payment journals and settlement
- Credit limits and collections
Connected to
Dynamics 365 Finance
Accounts payable
Vendor invoices, matching and payments. It is where purchasing meets cash outflow, and where three-way match rules are enforced.
- Vendor invoice register and approval
- Two- and three-way matching
- Payment proposals and payment journals
Connected to
Dynamics 365 Supply Chain Management
Sales and marketing
Quotations, sales orders, prices and discounts. The sales order is the start of order-to-cash and drives reservations, warehouse work and invoicing.
- Sales quotations and sales orders
- Trade agreements, prices and discounts
- Delivery date control and order holds
Connected to
Dynamics 365 Supply Chain Management
Procurement and sourcing
Purchase requisitions, purchase orders and vendor agreements. It controls what is bought, from whom and at what price.
- Purchase requisitions and approval workflows
- Purchase orders and change management
- Vendor catalogues and purchase agreements
Connected to
Dynamics 365 Supply Chain Management
Inventory management
On-hand stock, inventory dimensions and costing. Every receipt and issue becomes an inventory transaction, and those transactions drive cost of goods sold.
- Inventory dimensions (site, warehouse, batch, serial)
- Reservations and on-hand inquiry
- Inventory journals, counting and transfers
Connected to
Dynamics 365 Supply Chain Management
Master planning
Planning Optimization nets demand against stock, open orders and lead times and proposes planned purchase, transfer and production orders.
- Coverage groups and planning parameters
- Planned orders firmed into purchase or production orders
- Plan frequency and scope are architecture decisions
Connected to
Dynamics 365 Supply Chain Management
Warehouse management
Locations, waves, work and the warehouse mobile app. It turns released orders into picking and packing work for people on the floor.
- Location directives and work templates
- Waves, loads and shipments
- Warehouse Management mobile app
Connected to
Dynamics 365 Supply Chain Management
Production control
Production orders, bills of materials and routes. It consumes components, reports finished goods and collects the costs of making them.
- Bills of materials and routes
- Production orders and scheduling
- Picking lists and route cards
Connected to
Dynamics 365 Human Resources (now part of the Finance and Operations apps)
Human resources
Employees, positions and the organisation they belong to, plus leave, benefits and performance. It is the source of who works where, under which manager and in which legal entity.
- Workers, positions, jobs and departments
- Organisation hierarchies and reporting lines
- Leave and absence plans with approval workflows
Connected to
Dynamics 365 Finance; Dynamics 365 Project Operations for project-based businesses
Project management and accounting
Projects, budgets, hours and expenses. It collects costs per project and invoices customers on time-and-material or fixed-price contracts.
- Project contracts and project types
- Hour, expense and item journals
- Project budgets and forecasts
Connected to
Dynamics 365 Project Operations — a separate application and licence
Project Operations
For resource-based and non-stocked project businesses: quoting, resourcing and time entry run in Dataverse, while project accounting and posting run in the Finance and operations apps.
- Deployed with Dataverse and dual-write
- Chosen per business model, not by default
- Project management and accounting in Finance covers many project scenarios on its own
Connected to
Finance and operations apps platform
Organisation model
Legal entities, operating units and organisation hierarchies are decided first: number sequences, posting profiles, financial dimensions, security and shared versus company-specific data all depend on them.
- Legal entities and operating units
- Number sequences and posting profiles
- Financial dimensions and hierarchies
Connected to
Finance and operations apps platform
Data entities & data management framework
Data entities are the public contract over the ERP tables. The data management framework uses them for migration and recurring jobs; OData uses them for real-time access.
- Standard entities before custom ones
- Master data ownership agreed per entity
- Migration through data packages, rehearsed before go-live
Connected to
Microsoft Azure
Azure API Management
One governed public contract in front of the ERP: authentication, throttling, versioning and monitoring for external callers.
- External systems never call the ERP directly
- Contracts versioned independently of F&O
- Traffic and failures visible in one place
Connected to
Microsoft Azure
Azure Service Bus and Functions
Decouples senders from Dynamics 365: messages are stored durably, processed at a controlled rate, retried and dead-lettered when they keep failing.
- Asynchronous, idempotent processing
- Retries with back-off
- Dead-letter queue with an owner
Connected to
Finance and operations apps platform
Business events
The ERP announces that something happened — an invoice posted, a shipment confirmed — to endpoints such as Service Bus, Event Grid or Power Automate, so other systems react without polling.
- Standard events before custom ones
- Payload kept small; consumers read details
- Endpoint per consumer
Connected to
Dataverse · Power Platform
Dual-write
Near real-time, two-way synchronisation of tables such as customers, vendors and products between the Finance and operations apps and Dataverse.
- Used by customer engagement apps and Power Platform
- Table maps and initial sync planned
- Not a general-purpose integration bus
Connected to
Power BI and Microsoft Fabric, alongside the Finance and Operations apps
Business intelligence
Reporting outside the transactional system. F&O tables are exported to a data lake or Fabric, modelled once in a semantic model and reported in Power BI.
- Synapse Link / Fabric export of F&O tables
- Semantic models with shared measures
- Embedded analytical workspaces in F&O
Connected to
Finance and operations apps security model
Security roles, duties and privileges
Users receive roles; roles group duties; duties group privileges; privileges grant access to entry points. Segregation-of-duties rules flag duty combinations one person should not hold.
- Roles designed around real jobs
- Example conflict: maintain vendors × approve vendor payments
- Least privilege, reviewed after go-live
Connected to
Azure DevOps · Lifecycle Services · Power Platform admin center
X++ extensions and ALM
Customisations are extensions — Chain of Command, event handlers, new objects — never overlayering. Code moves through version control and build pipelines into sandbox testing before production.
- Extension only where standard does not fit
- Dev → build → sandbox UAT → production
- Regression tests for Microsoft's service updates
Connected to
Explore the complete Dynamics 365 F&O experienceDesign-time decision
Performance by design
Performance is designed in: set-based operations instead of row-by-row loops, indexes that match real queries, batch jobs split into parallel tasks and telemetry to measure the result.
- Volumes estimated during design
- Batch scheduling and parallelism
- Performance tests on production-like data
Connected to
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
-
Discovery workshops
Process walkthroughs with finance, operations and IT, plus a review of the current landscape and any existing D365 or AX design.
-
Architecture decisions
Key decisions are written down with options, trade-offs and the chosen direction — so they survive staff changes and audits.
-
Blueprint & validation
The blueprint is validated against end-to-end scenarios, volumes and integration timings before configuration starts.
-
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
Often combined with
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.