Integrations¶
The Integrations screen configures connections to external systems. Currently supported: Microsoft Business Central.
Go to Administration → Integrations (Admin only).
Microsoft Business Central¶
MyWestock can push data to Business Central for:
- Sales invoices — from locked day-end reconciliations
- Goods received notes (GRNs) — from approved deliveries
- Day-end summaries — as journal entries
Configuration¶
| Field | Description |
|---|---|
| Tenant ID | Your Azure AD tenant ID |
| Client ID | Application (client) ID from your Azure App Registration |
| Client Secret | Secret generated in the App Registration |
| BC Environment | Production or Sandbox |
| BC Company | The company name in Business Central |
| Customer Posting Group | Default posting group for sales entries |
| Gen. Posting Group | General posting group |
Setting up¶
- Register an application in Azure Active Directory with the Business Central API permission
Financials.ReadWrite.All. - Generate a client secret.
- Enter the credentials in MyWestock Integrations.
- Click Test connection to verify.
- Click Save.
Pushing data¶
Once configured, push buttons appear on:
- Day end → Push to BC (creates sales invoice)
- Deliveries → Push to BC (creates GRN)
Troubleshooting¶
| Error | Likely cause |
|---|---|
401 Unauthorised | Client ID or secret is incorrect, or token has expired |
404 Company not found | BC company name does not match exactly |
Permission denied | App registration lacks the required BC API scope |