Web Connect Text Mapping
BC view name: Web Connect Textmappning
Overview
Section titled “Overview”Web Connect Text Mapping translates values between Business Central and external systems. When a value in one system doesn’t match what the other system expects, a text mapping defines the translation.
Directions
Section titled “Directions”Text mappings can apply in two directions:
| Direction | Description |
|---|---|
| Incoming | Translates values received from an external system into BC values before processing. |
| Outgoing | Translates BC values into the format expected by the external system before sending. |
A single text mapping can support both directions simultaneously.
Common Use Cases
Section titled “Common Use Cases”Warehouse codes — the external system uses its own location identifiers:
BC Value: MAIN → External: warehouse-01BC Value: NORTH → External: warehouse-02Payment methods — map BC payment codes to external payment types:
BC Value: CARD → External: credit_cardBC Value: INVOICE → External: invoiceShipping methods — translate carrier codes:
BC Value: DHL → External: dhl_expressBC Value: POSTNORD → External: postnord_mypackOrder types — map document types to external order classifications:
BC Value: Order → External: B2CBC Value: Invoice → External: B2BFields
Section titled “Fields”| Field | Description |
|---|---|
| Code | Unique identifier for the text mapping. |
| Description | Human-readable explanation. |
| Direction | Incoming, Outgoing, or Both. |
| BC Value | The value as it appears in Business Central. |
| External Value | The corresponding value in the external system. |
| Default Value | Fallback value if no match is found. Leave blank to pass the original value through. |
| Case Sensitive | Whether matching is case-sensitive. |
Best Practices
Section titled “Best Practices”- Always define a Default Value when the external system requires a specific fallback.
- Use Both direction when BC and external values need two-way translation (e.g. for order sync that includes both downloads and uploads).
- Keep mappings focused — one text mapping per concept (don’t mix warehouse codes and payment methods in the same mapping).
