Skip to main content

💬 Asking Questions to Alex

Supported Question Types

Alex can answer a wide variety of questions about Business Central and the AL language:

✅ Supported Questions

  • AL Code: Syntax, functions, methods, properties

    • "How to create a table in AL?"
    • "What is the syntax for an OnInsert trigger?"
  • Business Central Objects: Tables, pages, codeunits, reports

    • "How does the Customer table work?"
    • "What are the fields in the Sales Header table?"
  • Technical Concepts: Events, integration, permissions

    • "How to publish an integration event?"
    • "What is the difference between IntegrationEvent and BusinessEvent?"
  • Version Comparisons: Changes between BC versions

    • "Which Customer methods are obsolete in BC 26?"
    • "What changed in Sales Header between BC 25 and BC 26?"
  • Best Practices: Development patterns, architecture

    • "How to implement a Factory pattern in AL?"
    • "What are the best practices for unit testing?"

❌ Unsupported Questions

  • General Business Central questions (functional configuration)
  • Complete code generation (upcoming feature 🚀)
  • Debugging your specific code
  • Questions unrelated to Business Central/AL

Formulating a Good Question

Be Specific

❌ Bad: "How to do pages?"
✅ Good: "How to create a list page displaying customers with custom filters?"

Provide Context

❌ Bad: "It doesn't work"
✅ Good: "I'm trying to call a method from an OnAfterInsert event in the Sales Line table, but I get a compilation error. How to do it?"

Use AL Keywords

Mention object names, methods, or AL concepts:

  • "Customer table"
  • "Sales-Post codeunit"
  • "OnValidate trigger"
  • "IntegrationEvent event"

Prompt Suggestions

Alex offers question suggestions to inspire you. Click "Show suggestions" to see:

  • Example questions by category (Architecture, Development, Performance...)
  • 🚀 badges for upcoming features (code generation, testing, documentation)

Limits and Consumption

Question Length

  • Maximum: ~2000 characters per message
  • For complex questions, break down into multiple messages

Credit Consumption

Consumption varies according to:

  • Question complexity: 5-50 credits on average
  • Response length: More context = more credits
  • Database search: Specific filters (obsolete, events)
Optimize Consumption

Ask specific rather than general questions. "How does the Validate method of the No. field in the Customer table work?" will consume less than "Explain the entire Customer table".

Advanced Features

Conversational Memory

Alex remembers the conversation context:

You: "How to create a Customer Extension table?"
Alex: [Explains table creation]

You: "And how to add a field?"
Alex: [Understands you're talking about the Customer Extension table]
Automatic Detection

Alex detects pronouns (it, this, that) and possessives (its, their) to follow context.

Search Filters

Alex automatically applies filters based on your keywords:

  • "obsolete" → Filters on obsolete methods
  • "integration event" → Filters on IntegrationEvents
  • "business event" → Filters on BusinessEvents

Response Feedback

After each Alex response, you can provide feedback:

  • 👍 Like: The response was helpful
  • 👎 Dislike: The response was not satisfactory (with mandatory explanation)

Your feedback helps improve Alex! 🙏

Next Steps


Tip: Use the F1 shortcut to quickly access this documentation from the application!