Download our free white paper on Copilot in Microsoft Business Central! Download Now

Modernize Business Central with AI and Copilot

Kery Nguyen
By Kery Nguyen

2025-01-17

Last quarter, I worked with a wholesale distributor who integrated AI-powered demand forecasting into their Business Central system. The results weren't just incremental:

  • Inventory carrying costs dropped 23%
  • Stock-outs decreased by 31%
  • Purchasing staff saved 15+ hours weekly on manual calculations

Another client, a professional services firm, added Copilot features to help with time entry categorization and invoice drafting. Their billing specialists now process 40% more invoices daily, with fewer errors and questions.

These aren't hypothetical benefits—they're measurable business outcomes from real implementations. Let me show you how to achieve similar results.

What AI and Copilot Actually Do in Business Central

Before diving into technical details, let's clarify what we're talking about when we say "AI" and "Copilot" in the context of Business Central:

AI Components That Deliver Value

  • Predictive analytics: Machine learning models that forecast sales, cash flow, or inventory needs based on historical patterns
  • Document processing: Automated extraction of data from invoices, receipts, and other business documents
  • Anomaly detection: Identification of unusual transactions or patterns that might indicate errors or fraud
  • Classification systems: Automatic categorization of products, customers, or transactions

Copilot Features Worth Implementing

  • Text generation: Creating draft emails, product descriptions, or reports based on Business Central data
  • Decision support: Suggesting next actions or highlighting exceptions requiring attention
  • Natural language interfaces: Allowing users to ask questions about their data in plain language
  • Process guidance: Walking users through complex procedures with contextual assistance

What distinguishes valuable implementations from gimmicks is their connection to specific business processes and measurable outcomes.

Prerequisites: What You Actually Need Before Starting

Having led AI integration projects that both succeeded and failed, I can tell you that preparation matters more than you might think.

Technical Foundation

  • Business Central online: Version 22 or newer (2023 Wave 1 release)
  • Azure subscription: With appropriate resource providers enabled
  • Development environment: Visual Studio Code with AL Language extension
  • API management: Azure API Management or similar service for secure connections

Data Quality Requirements

The dirty secret about AI: it's only as good as the data you feed it. You'll need:

  • Clean historical data: At least a year of consistent, accurate data for training models
  • Standardized formats: Especially for documents and external data sources
  • Connected systems: APIs to any external systems containing relevant data

A manufacturing client's demand forecasting project initially failed because their historical sales data contained duplicate entries and inconsistent product codes. After a three-week data cleanup effort, the same models that previously gave nonsensical results suddenly produced accurate forecasts.

Team Skills Required

Successful projects need these roles filled (sometimes by the same person):

  • AL developer: For Business Central customization and extension
  • Data scientist: For model development and training (can be outsourced)
  • Business process expert: To identify the right use cases and validate outcomes
  • User experience designer: To create intuitive interfaces for AI features

Don't skip any of these roles. A retail client built technically impressive AI features that went unused because the interface wasn't intuitive for their staff.

Building Your First AI Integration: A Step-by-Step Approach

After implementing numerous AI features in Business Central, I've developed a reliable process that minimizes risk and maximizes business value.

Phase 1: Select the Right Use Case

Start with a focused business problem that:

  • Has clear, measurable outcomes
  • Involves patterns in historical data
  • Currently requires manual judgment or calculation
  • Would deliver significant value if improved

Good first projects include:

  • Sales forecasting for specific product categories
  • Customer payment prediction for cash flow management
  • Purchase suggestion optimization
  • Automatic transaction categorization

A distribution company began with purchase order automation for their top 20% of products (by volume). This focused scope allowed them to prove the concept before expanding.

Phase 2: Data Preparation and Model Development

  1. Export and analyze relevant historical data:

    • Extract 1-3 years of transaction history from Business Central
    • Clean and normalize the data (remove duplicates, standardize formats)
    • Identify patterns and relationships
  2. Develop and train your model:

    • Create a machine learning model using Azure Machine Learning
    • Train it on your historical data
    • Validate accuracy against known outcomes
    • Refine until performance meets business requirements
  3. Expose your model as an API:

    • Deploy the trained model to Azure
    • Create a secure API endpoint
    • Document the input and output formats

Pro tip: Use Azure Cognitive Services for common needs like text analysis, document processing, or language understanding. Building everything from scratch wastes time and money.

Phase 3: Business Central Integration

  1. Create an AL extension for your AI feature:

    • Design tables to store AI inputs and outputs
    • Build pages for user interaction
    • Develop codeunits to handle API communication
  2. Connect to your AI services:

    • Implement secure authentication to your API
    • Create functions to prepare and send data
    • Build handlers for the responses
  3. Integrate with Business Central workflows:

    • Add your AI features to relevant processes
    • Create appropriate user notifications
    • Build override mechanisms for edge cases

Example code snippet: Here's a simplified example of how an AL codeunit might call an AI service:

codeunit 50100 "AI Service Connector"
{
    procedure PredictCustomerPayment(CustomerNo: Code[20]): Integer
    {
        // Prepare the request data
        RequestData := BuildRequestData(CustomerNo);
        
        // Call the AI service
        Response := CallAIService('predictpayment', RequestData);
        
        // Process and return the result
        exit(ProcessResponse(Response));
    }

    local procedure BuildRequestData(CustomerNo: Code[20]): Text
    {
        // Get customer payment history and build JSON request
        // [Implementation details]
    }

    local procedure CallAIService(Endpoint: Text; RequestData: Text): Text
    {
        // Set up HTTP client, handle authentication, make the call
        // [Implementation details]
    }

    local procedure ProcessResponse(Response: Text): Integer
    {
        // Parse JSON response and extract prediction
        // [Implementation details]
    }
}

Phase 4: Testing and Deployment

  1. Conduct thorough testing:

    • Unit tests for technical functionality
    • Integration tests with real Business Central data
    • User acceptance testing with actual business scenarios
  2. Deploy in phases:

    • Start with a pilot group of users
    • Monitor performance and accuracy closely
    • Gather feedback and make adjustments
  3. Train users effectively:

    • Create role-specific training materials
    • Explain both how to use the feature and how it works
    • Set appropriate expectations about AI capabilities and limitations

A professional services firm rolled out their AI time entry assistant to 5 users for two weeks before expanding to their full team of 35. This approach caught several edge cases they hadn't anticipated.

Implementing Copilot Features That Users Actually Love

Microsoft's Copilot represents the next generation of AI assistants in Business Central. Based on my experience building Copilot-like features, here's how to create tools users actually adopt:

Design Principles for Effective Copilot Features

  1. Focus on high-frequency, low-complexity tasks:

    • Draft standard responses to customer inquiries
    • Suggest item classifications for new products
    • Prepare templated reports with data-driven sections
  2. Provide context and transparency:

    • Show users where suggestions come from
    • Explain the reasoning behind recommendations
    • Allow easy modification of AI-generated content
  3. Balance automation with control:

    • Suggest but don't auto-execute important changes
    • Allow users to override AI recommendations
    • Remember user preferences and corrections

A retail client initially built a fully automated pricing assistant that adjusted prices based on market data. It failed because purchasing managers didn't trust the "black box" decisions. Their revised version explains the reasoning and asks for confirmation, achieving much higher adoption.

Technical Implementation Approaches

There are two main approaches to implementing Copilot-like features:

Option 1: Azure OpenAI Service Integration

This approach uses large language models like GPT-4 to generate text and provide natural language interfaces:

  1. Set up Azure OpenAI Service
  2. Create prompts based on Business Central data
  3. Process responses and present them in the BC interface

Best for: Text generation, natural language queries, summarization

Option 2: Purpose-Built ML Models

This approach uses custom machine learning models for specific tasks:

  1. Develop focused models for specific predictions or classifications
  2. Train on your business data using Azure Machine Learning
  3. Integrate through APIs as described earlier

Best for: Predictions, classifications, anomaly detection

Most successful implementations use a combination of both approaches, with purpose-built models handling structured data tasks and OpenAI Service handling natural language generation.

Real-World Applications That Deliver Business Value

Here are specific AI and Copilot features I've implemented that delivered measurable ROI:

Financial Management

  • Cash flow prediction: AI models analyze historical payment patterns to forecast incoming and outgoing cash with 87% accuracy
  • Anomaly detection: Machine learning identifies unusual transactions that might indicate errors or fraud
  • Automated reconciliation: AI matches bank transactions to open entries, reducing manual matching by 65%

A financial services company reduced month-end close time from 5 days to 3 days using these features.

Inventory Management

  • Demand forecasting: Machine learning predicts item demand based on historical sales, seasonality, and external factors
  • Reorder suggestion optimization: AI balances stock levels, lead times, and carrying costs
  • Inventory categorization: Automatic classification of items by movement patterns

A wholesale distributor saved $280,000 annually by reducing both excess inventory and stockouts.

Sales and Customer Management

  • Customer payment prediction: AI forecasts when customers will pay, improving cash flow management
  • Next-best-action suggestions: Copilot suggests follow-up actions for sales and service staff
  • Email response drafting: AI generates contextually appropriate email responses

A B2B sales team increased response rate by 24% using AI-drafted follow-up emails.

Avoiding The Most Common Pitfalls

Having seen numerous AI projects succeed and fail, these are the most common pitfalls to avoid:

Technical Issues

  • Overly complex models: Start simple and add complexity only when needed
  • Poor API design: Design for resilience with proper error handling and retry logic
  • Inadequate monitoring: Implement logging to track model performance and usage

Solution: Create a monitoring dashboard that tracks API call success rates, response times, and prediction accuracy.

Business Challenges

  • Unclear success metrics: Define specific, measurable outcomes before starting
  • Insufficient user training: Users need to understand both how to use AI features and their limitations
  • Lack of feedback loops: AI systems need continuous improvement based on results

Solution: Establish quarterly reviews of AI feature performance against defined metrics, with planned improvement cycles.

Change Management Problems

  • Mistrust of AI recommendations: Users ignore AI if they don't understand or trust it
  • Fear of replacement: Staff may resist tools they perceive as threatening their jobs
  • Unrealistic expectations: Overselling AI capabilities leads to disappointment

Solution: A manufacturing client created an "AI feedback team" of power users who provided input on features and became internal champions.

Building a Roadmap for AI in Business Central

After implementing your first AI feature, what's next? Here's how to build a sustainable roadmap:

  1. Evaluate and learn from initial projects:

    • Measure results against objectives
    • Gather user feedback
    • Document technical challenges and solutions
  2. Create a prioritized backlog of AI opportunities:

    • Score potential projects on business impact and technical feasibility
    • Consider dependencies between projects
    • Balance quick wins with strategic initiatives
  3. Build an AI governance framework:

    • Establish data quality standards
    • Create processes for monitoring model performance
    • Define regular retraining schedules
  4. Develop internal AI capabilities:

    • Train developers in AI integration techniques
    • Build reusable components for common AI tasks
    • Document patterns and best practices

A professional services firm started with a single AI project in 2023 and now has eight AI features in production, managed by an internal "AI Center of Excellence" that prioritizes new opportunities.

The Future of AI in Business Central

Based on current trends and Microsoft's roadmap, here's what to expect in the next 12-24 months:

  • More native AI capabilities: Microsoft continues to add built-in AI features to Business Central
  • Enhanced Copilot integration: Deeper assistance features across more business processes
  • Low-code AI development: Tools that make custom AI more accessible to non-specialists
  • Multi-modal AI: Systems that work with text, numbers, images, and documents together

The organizations gaining the most value don't just wait for Microsoft's releases—they build custom AI features that address their specific business needs while taking advantage of Microsoft's evolving platform capabilities.

Final Thoughts: Starting Your AI Journey

After guiding numerous organizations through their first AI implementations in Business Central, I've found these principles lead to success:

  1. Start with business problems, not AI techniques
  2. Choose focused, high-value initial projects
  3. Set realistic expectations about capabilities and limitations
  4. Build for continuous improvement, not one-time deployment
  5. Invest in user experience and change management

Remember that AI implementation is a journey, not a destination. The companies seeing the greatest returns treat their AI features as products that evolve based on usage, feedback, and changing business needs.

This guide is based on my experience implementing AI and Copilot features in Business Central across multiple industries since 2020. Specific approaches may vary based on your business requirements and technical environment.

Business CentralAI IntegrationCopilotERPMicrosoft Dynamics 365Business StrategyTechnology
Choosing the right ERP consulting partner can make all the difference. At BusinessCentralNav, we combine deep industry insight with hands-on Microsoft Business Central expertise to help you simplify operations, improve visibility, and drive growth. Our approach is rooted in collaboration, transparency, and a genuine commitment to delivering real business value—every step of the way.

Let`'s talk

Explore Business Central Posts

image

Improve Speed and Efficiency in Business Central

A comprehensive guide to enhancing system performance, ensuring effective resource utilization, and deploying practical solutions for common issues in Microsoft Dynamics 365 Business Central.

By

Kery Nguyen

Date

2025-03-04

image

Connect Dynamics 365 Business Central to Power Apps

A step-by-step guide to seamlessly connecting Microsoft Dynamics 365 Business Central with Dataverse and Power Apps, enhancing data flow and automating business operations for greater efficiency.

By

Kery Nguyen

Date

2025-02-02

image

Mastering Permissions and Security in Business Central

A comprehensive guide to configuring permissions and securing your data integrity and confidentiality in Microsoft Dynamics 365 Business Central.

By

Kery Nguyen

Date

2025-01-28