Reference

Technical reference including permissions, data models, codeunit listings, and release information for BRC Connect.

Overview

This reference section provides detailed technical information about BRC Connect’s structure, permissions, and components.

Permission Sets

BRC CONNECT - EDIT

Purpose: Full access to configure and use BRC Connect

Assigned To: Integration administrators, operations managers

Permissions Granted:

Object TypeObject RangePermission
Tables12073500-12073968RIMD (Read, Insert, Modify, Delete)
Pages12073500-12073968Full access
Codeunits12073500-12073968Execute
Reports12073500-12073968Execute

Key Pages Accessible:

  • BRC Connect Setup
  • BRC Connect Entries
  • BRC Connect Content
  • BRC Connect Type
  • BRC Content Type Field Setup
  • BRC Mapping
  • BRC Outgoing Sync Queue
  • BRC Connect Error List

BRC CONNECT - VIEW

Purpose: Read-only access for monitoring and support

Assigned To: Support staff, analysts, auditors

Permissions Granted:

Object TypeObject RangePermission
Tables12073500-12073968R (Read only)
Pages12073500-12073968Read only

Limitations:

  • Cannot modify configuration
  • Cannot create/update/delete records
  • Cannot run processing actions
  • Can view entries, content, errors

Additional BC Permissions Required

Users also need standard BC permissions based on their role:

For Order Processing:

  • Sales Order management (Tables 36, 37)
  • Customer management (Table 18)
  • Item management (Table 27)

For Inventory Sync:

  • Item Ledger Entry read (Table 32)
  • Inventory posting (Item Journals)

For Payment Processing:

  • Gen. Journal Line management (Table 81)
  • Payment Journal posting

Database Schema

Core Tables

BRC Connect Entry (12073500)

Purpose: HTTP request/response log

Key Fields:

FieldTypeDescription
Entry No.BigIntegerPrimary key, auto-increment
Service TypeEnumGet All, Get, Create, Update
BRC Connect TypeCode[30]Entity type (DOCUMENT, ITEM, etc.)
SourceCode[50]External system identifier
PathText[250]API endpoint path
Request ContentBlobHTTP request body (JSON)
Response ContentBlobHTTP response body (JSON)
StatusEnumQueued, Not Sent, Sent and Received, Finished, Error
Error TextText[250]Error message if failed
Entry DateTimeDateTimeTimestamp
Web Entry No.IntegerExternal system entry reference
Retry CountIntegerNumber of retry attempts

Indexes:

  • Primary Key: Entry No.
  • Status: For filtering by processing status
  • Entry DateTime: For date-based queries
  • BRC Connect Type, Source: For type-specific queries

BRC Connect Setup (12073501)

Purpose: Global configuration

Key Fields:

FieldTypeDescription
Primary KeyCode[10]Singleton record
Integration ActiveBooleanMaster on/off switch
API PathText[250]Base URL for external API
Bearer TokenText[250]Authentication token (encrypted)
Source IDCode[50]BC instance identifier
Debug ModeBooleanEnable detailed logging
Auto Download DocumentsBooleanAuto-download from external system
Auto Read ContentBooleanAuto-parse JSON
Auto Validate ContentBooleanAuto-validate data
Auto Create ContentBooleanAuto-create BC records
Auto Create/Update CustomerBooleanAuto-create missing customers
Auto Create/Update ItemBooleanAuto-create missing items
Process Entry Max CountIntegerMax entries per job run
Webservice RetriesIntegerHTTP retry attempts
Payment OptionEnumPayment handling mode
Payment Journal TemplateCode[10]Journal template for payments
Payment Journal BatchCode[10]Journal batch for payments
Total Amt. Document ToleranceDecimalAllowed total variance
Inventory to WebEnumInventory calculation method

Configuration Categories:

  1. Connection Settings (API Path, Bearer Token, etc.)
  2. Automation Flags (Auto Download, Auto Create, etc.)
  3. Processing Limits (Max Count, Retries)
  4. Document Settings (Payment, Totals, VAT)
  5. Inventory Settings (Inventory Type, Locations)
  6. Monitoring (Email alerts, logging)

BRC Connect Content (12073502)

Purpose: Parsed JSON documents

Key Fields:

FieldTypeDescription
BRC Connect TypeCode[30]Entity type (part of PK)
BRC Connect IDCode[250]Content identifier (part of PK)
Parent TypeCode[30]Parent content type (for hierarchical)
Parent IDCode[250]Parent content ID
Parent Field NameText[100]JSON array field name
Json ContentBlobFull JSON for this content
StatusEnumNew, Read, Validated, OK, Error
External IDCode[250]External system reference
SourceCode[50]External system identifier
Record IDRecordIDLink to created BC record
Error TextText[250]Error message if failed
Created DateDateDate content created
Entry No.BigIntegerLink to BRC Connect Entry

Indexes:

  • Primary Key: BRC Connect Type, BRC Connect ID
  • Processing: Status, BRC Connect Type (optimized for processing queries)
  • ProcessingByType: BRC Connect Type, Status (type-specific queries)
  • Parent: Parent Type, Parent ID (hierarchical navigation)
  • QueuedCreate: Status, Created Date (batch processing)

BRC Connect Value (12073504)

Purpose: Key-value pairs extracted from JSON

Key Fields:

FieldTypeDescription
BRC Connect TypeCode[30]Content type (part of PK)
BRC Connect IDCode[250]Content ID (part of PK)
Field NameText[100]JSON key name (part of PK)
Value TextText[250]String value
Value DecimalDecimalNumeric value
Value BooleanBooleanBoolean value
Value Long TextBlobLarge text values
Value Content TypeCode[30]Nested object reference (type)
Value Content IDCode[250]Nested object reference (ID)
Multiple ValuesBooleanMultiple values for same key
Updated by UserBooleanUser manually updated

Use Cases:

  • Field-level validation
  • Custom field extraction
  • Extended info mapping
  • Audit trail for data changes

BRC Connect Type (12073503)

Purpose: Entity type configuration

Key Fields:

FieldTypeDescription
BRC Connect TypeCode[30]Primary key
Table No.IntegerBC table to create records in
PathText[250]API endpoint for this type
Json Key Identifier ListText[250]JSON keys for identification
Parent TypeCode[30]Parent type (for hierarchical)
Download DataBooleanEnable downloading
Process ContentBooleanEnable processing
Validator CodeunitIntegerValidation codeunit ID
Create/Update CodeunitIntegerCreation codeunit ID
Create Request CodeunitIntegerOutbound request builder codeunit
Record per EntryIntegerBatching size
Sync to Web on InsertBooleanTrigger sync on BC insert
Sync to Web on ModifyBooleanTrigger sync on BC modify

Standard Types:

  • DOCUMENT (Sales documents)
  • CUSTOMER (Customers)
  • ITEM (Items)
  • INVENTORY (Stock levels)
  • PRICE (Sales prices)
  • PAYMENT (Payments)
  • SHIPMENT (Shipments)
  • INVOICE (Invoices)
  • CREDITMEMO (Credit memos)

BRC Content Type Field Setup (12073505)

Purpose: JSON to BC field mapping

Key Fields:

FieldTypeDescription
BRC Connect TypeCode[30]Content type (part of PK)
SourceCode[50]External system (part of PK)
JSON Key NameText[100]JSON path (part of PK)
Field No.IntegerBC table field number
Logic MappingEnumValue translation rule
Unique IdentifierBooleanUse for record matching
Priority No.IntegerMatching priority (1 = highest)
Case Sensitive FilteringBooleanCase-sensitive matching
Set Value to ContentBooleanStore in content record
Validation OrderIntegerValidation sequence
Map to DimensionBooleanMap to BC dimension
Is Extended InfoBooleanMap to extended info

JSON Path Examples:

  • buyer.email - Nested object
  • lines[0].itemNo - Array element
  • totals.grandTotal - Nested value

BRC Mapping (12073507)

Purpose: Value translation

Key Fields:

FieldTypeDescription
SourceCode[50]External system (part of PK)
BRC Connect TypeCode[30]Entity type (part of PK)
FromText[100]External value (part of PK)
ToCode[50]BC value

Common Mappings:

  • Payment methods: “credit_card” → “CC”
  • Document types: “pending” → “Order”
  • Statuses: “completed” → “Invoice”

BRC Outgoing Synce Queue (12073511)

Purpose: Outbound synchronization queue

Key Fields:

FieldTypeDescription
Record IDRecordIDBC record to sync (part of PK)
BRC Connect TypeCode[30]Entity type (part of PK)
Sync Date TimeDateTimeWhen change detected
SyncedBooleanProcessing complete
Entry No.BigIntegerLink to BRC Connect Entry
Error CountIntegerFailed attempt count
Last ErrorText[250]Most recent error message
From BackgroundBooleanTriggered by background job
User NameCode[50]User who triggered change

Processing:

  • Job queue processes queue every N minutes
  • Records marked Synced = TRUE after success
  • Error Count increments on failure
  • Retry logic based on error type

Codeunit Reference

Core Processing Codeunits

Codeunit IDNamePurpose
12073500BRC Connect Http MgmtHTTP communication
12073501BRC Connect Entry ProcessorEntry lifecycle management
12073502BRC Connect Content ProcessorContent lifecycle management
12073503BRC Content To Value MthExtract values from JSON
12073507BRC Connect EventsEvent subscribers for BC changes
12073509BRC Process All EntriesBatch entry processing
12073512BRC Entry To Content MthParse JSON to content
12073522BRC Process All ContentsBatch content processing
12073538Connect InstallInstallation logic
12073570BRC Process Web EntriesEntry processing coordinator
12073573BRC Connect Op CoordinatorParallel processing coordinator
12073574BRC Process Content OperatorParallel processing worker

Document Processing Codeunits

Codeunit IDNamePurpose
12073517BRC Validate Document MthDocument validation
12073518BRC Create Document MthSales document creation
12073540BRC Create Document Line MthSales line creation
12073532BRC Create Extended Info MthExtended info handling
12073519BRC Create Req All Cont MthRequest builder

Customer/Item Management Codeunits

Codeunit IDNamePurpose
12073521BRC Create Update Customer MthCustomer create/update
12073523BRC Create Update Address MthAddress handling
12073525BRC Validate Customer MthCustomer validation
12073531BRC Create Update Item MthItem create/update
12073529BRC Validate Item MthItem validation
12073533BRC Create Update Variant MthVariant handling

Outbound Sync Codeunits

Codeunit IDNamePurpose
12073550BRC Send to BC Connect MthOutbound coordinator
12073560BRC Item to Web MthItem master sync
12073561BRC Item Inventory to Web MthInventory sync
12073551Item Price to Web MthPrice sync
12073552Sales Price to Web MthSales price sync
12073571BRC Sales Shipment to Web MthShipment notification
12073576BRC Sales Invoice Web MthInvoice notification
12073577BRC Sales Cr Memo to Web MthCredit memo notification
12073547BRC Customer to Web MthCustomer sync
12073562BRC Add Record To Web EntryQueue management

Validation Codeunits

Codeunit IDNamePurpose
12073526BRC Validate ContentGeneric validation
12073527BRC Validate Cross Ref MthItem reference validation
12073528BRC Validate Document Line MthLine validation
12073530BRC Create Update Payment MthPayment handling
12073533BRC Validate Payment MthPayment validation
12073535BRC Validate Shipment MthShipment validation
12073539BRC Validate Ext InfoExtended info validation

Enum Reference

BRC Content Status

Values:

  • New (0): Downloaded, not yet parsed
  • Read (1): Parsed into values
  • Validated (2): Passed validation
  • OK (3): BC record created successfully
  • Error (4): Processing failed

BRC Process Run Status

Values:

  • Queued (0): Entry created, not sent
  • Not Sent (1): Ready to send
  • Sent and Received (2): Response received
  • Finished (3): Processing complete
  • Error (4): HTTP or processing error

BRC Service Type

Values:

  • Get All (0): Batch download
  • Get (1): Single record fetch
  • Create (2): Create new record
  • Update (3): Update existing record
  • Delete (4): Delete record

BRC Document Type

Values:

  • Order (0): Sales Order
  • Invoice (1): Sales Invoice
  • Credit Memo (2): Sales Credit Memo
  • Blanket Order (3): Sales Blanket Order
  • Return Order (4): Sales Return Order
  • Quote (5): Sales Quote
  • Purchase Order (6): Purchase Order

BRC Payment Option

Values:

  • One Payment (0): Single payment line
  • Multiple Payments (1): One line per payment method
  • Add Payment Lines (2): Payments as sales lines
  • Ignore Payments (3): Don’t process payments

BRC Inventory Type

Values:

  • Real-time (0): Current on-hand
  • Available (1): Projected available
  • Grouped by Location (2): Separate by warehouse
  • Outstanding (3): On purchase orders

Page Reference

Configuration Pages

Page IDPage NamePurpose
12073501BRC Connect SetupGlobal configuration
12073503BRC Connect TypeEntity type configuration
12073505BRC Content Type Field SetupField mappings
12073507BRC MappingValue translation
12073520BRC Connect SourceSource-specific overrides

Operational Pages

Page IDPage NamePurpose
12073500BRC Connect EntriesHTTP log
12073502BRC Connect ContentParsed documents
12073504BRC Connect ValuesField values
12073511BRC Outgoing Synce QueueOutbound queue
12073514BRC Connect Error ListError dashboard
12073525BRC Manual OrderManual order entry
12073530BRC Process Run LogsJob execution history

Supporting Pages

Page IDPage NamePurpose
12073516BRC BrandsBrand management
12073517BRC ChannelChannel configuration
12073534BRC Product RangeProduct range setup

API Endpoints (External System)

Required Inbound Endpoints

External systems must provide these endpoints:

MethodEndpointPurposeBRC Connect Type
GET/documentsDownload ordersDOCUMENT
GET/customersDownload customersCUSTOMER
GET/itemsDownload itemsITEM
POST/documents/acknowledgeAcknowledge processedDOCUMENT

Required Outbound Endpoints

BRC Connect sends to these endpoints:

MethodEndpointPurposeBRC Connect Type
POST/inventoryUpdate stock levelsINVENTORY
POST/pricesUpdate pricesPRICE
POST/itemsUpdate item masterITEM
POST/shipmentsNotify shipmentSHIPMENT
POST/invoicesNotify invoiceINVOICE
POST/customersUpdate customerCUSTOMER

Authentication

Header:

Authorization: Bearer {token}

Token Configuration:

  • Stored in BRC Connect Setup
  • Encrypted in database
  • Sent with every HTTP request

Version History

Version 25.0.25051.1 (Current)

Release Date: 2025 (Build 25051)

Platform Requirements:

  • Business Central 25.0+
  • AL Runtime 12.0
  • Cloud only

Key Features:

  • Bidirectional integration with e-commerce/POS
  • Automated order processing pipeline
  • Real-time inventory synchronization
  • Payment processing integration
  • Two-pass identity matching optimization
  • Parallel processing support
  • Event-driven outbound sync

Recent Enhancements:

  • Two-pass customer matching for performance
  • LoadFields optimization for reduced data transfer
  • Enhanced error handling and retry logic
  • Improved JSON parsing for large documents

Upgrade Path

From Older Versions:

  1. Backup environment
  2. Test in sandbox first
  3. Upload new .app file
  4. Data upgrade codeunit runs automatically
  5. Review new configuration options
  6. Test key workflows
  7. Deploy to production

Data Migration:

Codeunit 12073506 (BRCConnectDataupgrade) handles:

  • Schema changes
  • Default value updates
  • Codeunit assignment updates
  • New field population

Support and Resources

Documentation

Support Contacts

Technical Support

Before Contacting Support:

  1. Review Troubleshooting guide
  2. Check error messages in BRC Connect Error List
  3. Verify configuration in BRC Connect Setup
  4. Gather environment details (BC version, BRC version)

Support Request Information:

  • BC environment type (sandbox/production)
  • BRC Connect version (25.0.25051.1)
  • Error message (exact text)
  • Entry No. or Content ID with issue
  • Steps to reproduce
  • Expected vs. actual behavior

Community Resources

  • BrightCom customer portal
  • BC community forums (for BC-related questions)
  • Partner network for implementation assistance

App Metadata

PropertyValue
App IDa8c23fb1-7a2b-475a-b7b4-38822848f521
NameBRC Connect
PublisherBrightCom Solutions AB
Version25.0.25051.1
Platform25.0.0.0
Application25.0.0.0
Runtime12.0
TargetCloud
Object ID Range12073500-12073968
BriefBrightCom’s Integration Platform for Web

Dependencies

Base Dependencies:

  • Microsoft Dynamics 365 Business Central (25.0.0.0)

No External App Dependencies

Visible To (Test Apps)

These apps can access BRC Connect internals:

App IDNamePurpose
774e95a6-f3e0-4be4-924f-13ce93b90a52BRC Connect-Diag-OperatorDiagnostic tools
822e60d4-5bcd-4bd6-9544-aa85fb39005dBRC Connect-PerfPerformance testing
ab6a0bdd-902c-4da3-b241-50b51c00f32bBRC Connect-TestAutomated tests

Data Retention

Automatic Cleanup

Configure automatic deletion of old data:

BRC Connect Setup:

  • Delete Content After: Date formula (e.g., “30D” for 30 days)

Applies To:

  • BRC Connect Entries
  • BRC Connect Content
  • BRC Connect Values

Recommended Settings:

  • Sandbox: 7-14 days
  • Production: 30-90 days
  • High Volume: 14-30 days

Manual Cleanup

Run manual cleanup when needed:

  1. Open BRC Connect Content
  2. Filter Created Date < cutoff date
  3. Filter Status = OK (only delete successfully processed)
  4. Delete records
  5. Related Values auto-delete (cascade)

Warning: Don’t delete records with Status = Error (may need for troubleshooting)

Performance Metrics

Typical Throughput

Order Processing:

  • Simple orders: 100-200/minute
  • Complex orders (10+ lines): 50-100/minute
  • Depends on: validation complexity, BC performance, external API speed

Inventory Sync:

  • Items: 1000-2000/minute
  • Depends on: number of locations, BOM complexity

API Calls:

  • Inbound: 50-100 requests/minute
  • Outbound: 100-200 requests/minute
  • Rate limiting: Configurable via job queue frequency

Optimization Tips

  1. Increase Max Count: Higher Process Entry Max Count = more per run
  2. Parallel Processing: Multiple job queue entries for same codeunit
  3. Product Range Filtering: Reduce unnecessary data sync
  4. Batch Acknowledgment: Acknowledge in batches vs. individual
  5. Off-Peak Processing: Schedule heavy jobs during low-usage hours

Next Steps