-
Factbox with code
Hi experts, We are talking about NAV 2015. I have made a factbox with some lines in. I would like that my code would be run, when the user press a button inside the factbox (on every line or one single button below the lines). The code should work with the active line in the factbox. Otherwise the code may be run when the…
-
Business Central SaaS: User License
Is there an easy way in AL to check if a user has a Team Member License or a Full License?
-
Microsoft Forms with Business Central
Has anyone used MS forms with BC? Is there any guidance for custom build, feeding data from MS Forms to BC Thanks
-
XMLPort - Job Queue
I've an XMLPort I'd like to run via the Job Queue. In the Job Queue Log Entries, I'm getting the message: Client callbacks are not supported on Microsoft Dynamics NAV Server. Here is my Job Queue Entry codeunit; SalesHeader.SETRANGE("Document Type",SalesHeader."Document Type"::Order);…
-
NAV2013 R2 -> As data are inserted into imported Excel file, the style (layout) is changed
Hi All, System: NAV2013 R2 Errors: Issue #1 -> Excel file cannot be edited by the NAV, if any style is applied on the sheet. Issue #2 -> Styles are changed as Excel file is edited with some data from Job record. Functional steps: 1. on page "Job Card" user clicks on button "Populate Excel" 2. function to copy the template…
-
Add Attachment in Notification Approval Email
Hi all.. i have attach these files in documents. once I send approval to manager. i want to attach these attachments in notification email. is that possible? Thanks
-
Attachment Factbox move from details tab
Hi All, i create new document attachment as factbox anyone know how to move i from details tab? it keep showing at details instead of attachment
-
Write XMLElement nil="true"
I try to set the following attributes in an XML element:<mactive xsi:nil="true"/>. With the statement XMLElement3.SetAttribute('nil','true') I unfortunately miss "XSI:", For information I would be grateful _________________________________________________________________________________________________ AL: XMLDoc :=…
-
NAV 2016 Bank Recon: Problem when using "suggest Lines" a second time
Hi, In my first month in Navision 2016. Trying to play catch up on some bank recs that haven't been done. The issue is we have a bunch of charges that come in on auto-pay. So as I'm going through the reconciliation, I am constantly having to enter new cash receipts journals for items that have hit the bank statement but…
-
Proper way to use filters with business central API in On-Prem multitenant environment.
Greetings to Everyone. I am having trouble figuring out the proper usage of filter with OnPrem Business Central Api. We have used multi-tenant deployment. This is working http://localhost:7048/gasorgn/api/BizNP/biobizapi/v1.0/companies(3530cd87-f0b2-ec11-9111-82e8be684e31)/generalledgerentries?tenant=gasmaster But while…
-
Is there a way to debug a standard API call?
Since the objects are hidden i can't find a way to debug them. I copied the entire salesOrder API to replicate it but i get different results passing the same Json. A "you must specify a document id to get the lines." Error on the custom API but it works on the standard API { "customerNumber": "10000", "salesOrderLines":[{…
-
Passing a single nested JSON to create two different records
Hi, my goal is to pass a single nested JSON to create a sales order and a customer bank account . Is it possible without having to add a bankData field in the sales order table? Right now all i can think of is creating a table extension and custom API for sales orders so i can pass the bank data into the sales order table…
-
Unable to credit a purchase prepayment
Hi, My client has an issue with trying to credit a prepayment PO. The scenario is below, they are currently running an Azure cloud version. There version is CA Business Central 19.5 The scenario is as follows: A PO was created and a 100% prepayment was posted. Purchase & Payable setup allows them to receive etc on the PO…
-
xml Structure
Hi all I have an xml port and can't figure out how to get the structure as shown below. My aim is this structure of the xml-port (red marked area): Actual state is this: There is no table for the CustomFields. For example, my challenge is to make form : <VKOrderNo>2021-60217</VKOrderNo> an output like this: <CustomField…
-
"The value for the WSFederationLoginEndpoint configuration settings cannot be empty" OpenID Issue
Hello everyone, I'm trying to setup Azure AD authentification with OpenID connect but i find myself enable to move forward. I used this documentation : https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/authenticating-users-with-azure-ad-openid-connec and followed every instruction but…
-
Cloud BC - Intelligent Cloud error
Hi all, i have done migration from BC on prem to BC Cloud but i get this error message. "Data from table Ess. Business Headline Per Usr is unavailable. Intelligent Cloud replication for this table was unsuccessful." any advise? Thanks.
-
Delete rows in excel file
I need to edit an excel file. After reading it, I edit some cells and delete some rows. With .net I was able to complete this task. Using target: onCloud there is a way?
-
Tables in SQL
Hi all Please refer the attached picture. I do not see these tables under Object Designer but available in SQL Database tables section? What are these table used for? No records at all.
-
How to connect to and authenticate an external web service from BC cloud
I am trying to connect to the ABN Amro sandbox. The API example is as follows: curl -X POST "https://auth-mtls-sandbox.abnamro.com/as/token.oauth2" \ -v \ --cert CertificateCommercial.crt \ --key PrivateKeyCommercial.key \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d…
-
EventSubscriber - Get Calling Record
Hello, I am looking at using this EventSubscriber to change the IsHandled value based on a condition. [EventSubscriber(ObjectType::Table, database::"Sales Line", 'OnBeforeValidateBlanketOrderLineNo', '', true, true)] local procedure OnBeforeValidateBlanketOrderLineNo(var IsHandled: Boolean) begin end; As there is no…
-
Open Invoice Integration
Hi, has anyone done any API integrations to the Open Invoice Platform from BC140? We use BOOMI to handle messages but was looking for a leg up on the invoice export process if anyone has done an implementation.
-
BC AL: It is not possible to add a breakpoint at line number
Hi, We created a Business Central Extension that we can debug locally, i.e. in the development environment. In the live environment we run into an issue that we want to debug, however we are unable to do so. We receive the followin error: Error: It is not possible to add a breakpoint at line number 445 in application…
-
Best practise for large Business Central customer?
We are almost in the final phase of a large sale of Business Central. The customer will have about 1000 users (700 essentials and 300 teams). The customer must run Business Central On-prem. We want to host it in Azure. Would have liked technical advice and some 'best practice' for this type of customer size. For example,…
-
Securing a Published App
Just wondering, what the steps we must follow to secure our published apps, so code cannot be seen or copied. I know only 1 place which is on app.json "resourceExposurePolicy": { "allowDebugging": false, "allowDownloadingSource": false, "includeSourceInSymbolFile": false } is there any other thing, we must do before…
-
Vendor Card - missing Actions under different Profiles
A customer came across a problem whereby a Vendor Card is missing "Recurring Purchase Lines" action (Purchase section under Navigate tab) under a Profile linked to a bespoke Role Center Page ID. IT Manager Profile (Role Center ID 9018) works fine, but when a default Profile is linked to the bespoke Page, the same Vendor…
-
Keyboard and Accessability
Hi All, Got a user who is very heavy on keyboard shortcuts due to not being able to use a mouse. Set up keyboard commands for various actions, however does anyone know of an action to jump from the "header" to the "lines" on a document. For example, if cursor is in the "No." field on a Purchase Order, in order to get to…
-
Error: Unable to compare operands of type 'NavInteger' with 'Boolean'.
Hi i'm still new to BC and i'm running into this error while executing the Send Method of the HttpClient ( Same error occurs when using the Get Method directly ). I have no idea why i'm getting the error since i can't see the line of code in said method that's causing it. Also the same URI + Authorization works perfectly…
-
[BC] Problem with insert into "Customer Bank Account" through custom API
Hi, so the primary key of the "Customer Bank Account" is ( Customer No. + Code ) . Right now we handle the Code field internally to make sure the field is consistent ( incremental number) . If i try to POST an insert through my API which only contains Customer No. and IBAN , I get the error "Code must have a value in…
-
Cloud Migration: Permissions
I have completed an upgrade from BC14 to Business Central Cloud V20. The Cloud Migration Setup has completed but as stated in the guide, permissions are not carried across. As it stands my permissions have only "Intelligent Cloud". What am I meant to do to get the permission sets back in the system. Thank you. Ignore:…
-
Running Multiple Reports in BC
I am currently upgrading a customer from old NAV to BC SaaS. 2 or 3 times a year they send out renewal documents to a few hundred customers. Each "pack" has 3 reports. We currently have a batch that prints them as report 1, report2, report 3, for each customer as separate prints. This makes it easy to collate the…