Questions tagged [dynamics-business-central]

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.

289 questions
0
votes
1 answer

Navision: Use "New-NAVServerUser" Powershell command in Container-Enviroment

I want to use the New-NAVServerUser Command (see: https://learn.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.management/new-navserveruser?view=businesscentral-ps-16) in a container to create a new Nav User. The Container has been…
0
votes
1 answer

Business Central API - Create Custom API Page for Sales Invoice Lines

I need to create a custom API Page for Business Central on Dynamics 365. I need to get a the AL source for the API…
0
votes
0 answers

Embed Angular in Business Central and get Authentication working

At the moment I'm working on an interesting project with Angular. My company mainly develops for Microsoft Business Central and want me to embed an Angular app inside a Business Central component. I think the target group for Business Central…
0
votes
2 answers

How to access the database of a Dynamics 365 business central cloud service?

Is it possible to access the SQL server database of a Dynamics 365 business central directly or can I access it only via APIs?
Rhuan
  • 135
  • 9
0
votes
1 answer

Business Central API Extension: How do I connect insert trigger to API Custom Page?

I created a new page type of API that uses the Sales Invoice Header Source. I would like to get newly inserted Record and update its value. After that display that values in alert. Currently I have an empty page after I create new Sales…
Jure Fadiga
  • 195
  • 2
  • 19
0
votes
2 answers

Create Item in Dynamics 365 Business Central using Rest API

I am trying to consume Microsoft Dynamics Business Central Rest API, to create item using following endpoint: https://api.businesscentral.dynamics.com/v1.0/mydomain.com/api/v1.0/companies({id})/items Following is my code: string requestBody =…
0
votes
1 answer

Business Central Create new View not displayed in DropDownList

I am trying to create a new view for Purchase Invoices. I am used this example: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-views When I import the extension on my demo tenant successfully, there were no…
Jure Fadiga
  • 195
  • 2
  • 19
0
votes
1 answer

Automatically setting parent id when creating item from list part in Business Central/AL

I am quite new to building extensions with AL for Business Central. I am trying to setup an extension for a school application. The tables I have built work, and they follow this data model: School - Course - Lecture | / Teacher Inside the…
0
votes
1 answer

Extending "Sales Line Type" enum in Business Central 16.0

i am working on BC version 16.0 as in BC 16.0 option field is replaced with enum, as you can see below that i am extending a "Sales Line Type" enum and adding a new value to it But when i inspect the "Sale Line" table it is showing that the…
0
votes
1 answer

How to Debug Dynamics 365 Business Central ( Wave2 ) in a correct way?

I have no idea how to debug Dynamics 365 Business Central ERP Application in an on-premises server. Can you guys help me out?
0
votes
1 answer

Receiving unstructured data with Business Central web service/api?

I want to expose an endpoint in Business Central which can receive HTTP POST/PUT request and save content of that request into Blob, without any validation. I need that so I can receive json or xml data from external custom services. I'm not sure…
0
votes
1 answer

How can I add an extra OptionMembers value to a option field in a built-in business table

Is it not possible to add an extra OptionMembers value to a option field in a built-in business table? Eg. The "Document Type" field in "Purch. Comment Line".
Walter
  • 11
  • 3
0
votes
1 answer

Business Central Metadata File generates incorret APi Routes with Visual Studio OData Connection Service

I have a demo tenant with Dynamics Business Central and I am working with OData to make CRUD examples for Company entity and after it works for Invoice, Quotes, Orders, Products and others. I have downloaded the Metadata file using this URL call:…
Jure Fadiga
  • 195
  • 2
  • 19
0
votes
0 answers

PDF file contents write into it after creating the PDF on Azure Storage

I have created a pdf file on azure storage and now i want to write few contents into the pdf file . Is it possible so? If yes kindly help me in this regard Thank You if not TempBlob.Blob.HasValue() then exit; WMSMgmt.FindSet(); …
0
votes
1 answer

Saving a report as PDF on Azure Storage in Business Central

I am trying to run a report on Business central on cloud and i want to save that report(PDF) directly on azure storage. i wonder is there anyway to do it on Business Central 365 AL code.