Microsoft Business Central development; including AL, JavaScript and .NET extensions, consuming or connecting to the Business Central API and Web Services, and installation and configuration of the development tools. Questions about how to use the product as an end user are off-topic here, as are questions about installation of the ERP system itself.
Questions tagged [dynamics-business-central]
289 questions
1
vote
1 answer
Business Central Linked Fields
I am trying to create a "Received" bool field on both the Purchase Lines and the Sales Lines, so that when an item is marked as True on the Purchase Line, the linked Sales Line is also marked as True. So far I have managed to create a field on the…

BeamerEA
- 103
- 1
- 7
1
vote
1 answer
How do I suppress warnings when compiling a Business Central Extension
I'd like to disable the warning AL1025, because of the nature of the AL compiler, I get a lot of warnings related to my node_modules folder. Apparently, it should be possible to suppress warnings in the app.json like this
"suppressWarnings":…

binford
- 1,655
- 1
- 18
- 36
1
vote
1 answer
How can i access an Azure container via FQDN not IP address?
I have created a Business central container in Azure named BCTestContainer, now it deploys fine and give me back the details via container logs. I try to access the container by its FQDN…

user16252006
- 85
- 9
1
vote
1 answer
OData new entity but partial payload
I'm trying to access OData from C# using this VS extension this VS extension (which seems to be the recommended way). It generates a Connected service inside the project, to access (in my case) a Business Central API.
When I create an object (here a…

Poc
- 109
- 10
1
vote
1 answer
Error trying to update customer on Microsoft Dynamics 365 Business Central using API
I'm trying to update a customer in Microsoft Dynamics 365 Business Central using the API. I'm using Postman to make the call to the API
However, when I try to do the update I get the following error: -
"error": {
"code":…

Shazoo
- 685
- 12
- 25
1
vote
1 answer
VS Code can't download symbols for test app
I would like to create a test environment for my app running in BC18, but I have trouble downloading the necessary symbols. I created a new workspace along with a .vscode/launch.json and an app.json-file, which contains the following…

König Nickerchen
- 55
- 1
- 8
1
vote
1 answer
Deep Insert with web services
I need to insert headers and lines at the same time using the Business Central web services. The header gets inserted successfully but not the lines. (They just don't insert)
While looking online for this problem, I came across a few posts…

D.Gaulin
- 47
- 1
- 5
1
vote
0 answers
Unstable data from XML mapping from a correct XML Dataset from Business central
Thanks in advance if you can help me with this behaviour!
(image links on the bottom of this question)
Included: images and the XML code to reproduce this issue. The Word-document you make it on your own, with the Development module - XML mapping…

GuyL
- 13
- 3
1
vote
0 answers
How to Fetch JSON (OData from Dynamics 365 Business Central API) and access its elements to store locally
The JSON I'm receiving from this OData URL outputs in this format:
{
"@odata.context": "URL:",
"value": [
{
"@odata.etag": "W/\"JzQ0O0xJaTlFL01YY2RmYWNiSHdqeDFGMjIycFJFb0dTcXZhSkpuTXVXZDFDanM9MTswMDsn\"",
…

slack_overflow
- 13
- 3
1
vote
1 answer
Where to find the environment name for business central APIs in dynamics 365
I want to explore the APIs that I can use in Dynamics 365.
So I read Exploring the APIs with Postman and the basic authentication document that can be found here.
This page is mentioning that the format of the API that will explore the APIs is as…

Faref
- 53
- 8
1
vote
5 answers
SetAscending Business Central Sales Order List
I am attempting to use the SetAscending in Visual Studio Code for Business Central Sales Order List Page. It works to set the Sales Order "No." field to descending however it does not reset the scrollbar to the top of the page. I've tried adding…

Abby
- 83
- 1
- 10
1
vote
1 answer
C# OData MS Business Central - Add child record belonging to a parent
I'm trying to add a Business Central [Sales Line] child record to a [Sales Header] parent invoice record in a C# OData program. I know the header record exists because the program has just created it & I can see it in BC, but when I try to add the…

NickSO
- 33
- 2
- 6
1
vote
1 answer
Is there a tool/extension/script I can run for Visual Studio Code to Bulk handle errors?
I have a rather large Dynamics 365 Business Central Extension written in AL code on Visual Studio Code platform. Microsoft is changing a rule in AL code that will result in widespread errors if not addressed before the next release. This change is…

Mason Chambers
- 163
- 9
1
vote
2 answers
MSAL (Angular) popup login
I'm facing an issue with MSAL in Angular. I'm using the @azure/msal-angular package (version 1.1.1).
I'm working on an Angular app embedded in an ERP system (Business Central). At the moment i'm facing issues with authentication.
Below an overview…

Ferry Jongmans
- 625
- 2
- 12
- 22
1
vote
1 answer
Business Central: custome api getById does not work
My problem is that I can't call my custom API for a specific itemId , however when I call the normal API it works as expected.
Currently I can successfully call the normal API for a specific item like…

Theodor349
- 133
- 2
- 15