-
JavaScript SOAP Call against Container (CORS)
Hello, I wonder if there is anywhere a working example for javascript Soap calls (prefered with axios) against a local running NAV container? Has anyone done this and is willing to provide the working example including the container script? Have not found anything up to now and the Chrome "Moesif CORS" plugin seems also…
-
Your program license does not allow you to publish Business central ver BC 14
On installing some extension to a BC ver we get this error, We are using a runtime ver og the extension and our developer licens, to install the extension. How to fix Sync-NAVApp -ServerInstance $ServerInstance -Name 'Sproom' -Version 14.0.0.15 Publish-NAVApp : Your program license does not allow you to publish…
-
Installa extension to BC ver 14, does not show up in BC
After a installation of an extension, everything went ok, no errors The extension is is in Extensions mgt. but is visibel in BC anywhere Its is in the BC where we develop the ext. and also in other BC ver 14, but not in "this one" Other extions is installed and working Any ideas how to get visibel.
-
User navigate to folder
Hello, as BrowseForFolderDialog is no longer available in web client in business central, how can one use a folder navigation in the web to navigate to a file path?
-
App License key - suggest a logic
I have created an app, which expires in 3 months I have added a functionality where I give a key to user and app can be extended further- by 6months or 1 yr it is working fine but if app is used by a company on multiple tenants then same key can be used how can I avoid this? I can ask tenant id and generate a key based on…
-
How to check if a field has been modified
I want to check if any fields in the Sales Order(Sales Header and Sales Line) have been modified. How to do that without writing the same code/call a function in all fields? Is there a simple way to do that without writing the same code repeatedly in all of those fields for the two tables?
-
Set parameter in table
I am trying to transfer a variable as a parameter to a table that is used in a sub page. Here is the scenario: - Created 2 actions to turn on/off a software switch as a boolean on the Sales Order (header action) - These 2 actions (on/off) are calling a function on the Sales Order sub-page, which is setting the same boolean…
-
Maximum number of allowed companies
Version: 14.0.37587 Number of existing records in table "Company": 990 License Permission Report Detailed file: Maximum No. of Companies......: 10000001 Try to create a new company: Error: "Cannot create the new company because the maximum number of allowed companies has already been reached" Tested with customer and…
-
Object license assignment required for ExternalSQL tables
Hi, It does seem that tables marked as TableType = ExternalSQL, needs to be in the assigned licensed object range. Can someone please confirm that for me, please? I remember reading somewhere that TableType Temporary and External do not need to be assigned. And now of course, I cannot find that article. However running…
-
Update Allow posting From/To on the General Ledger Setup
Hi, I'm new to NAV so excuse me if it's not the smartest question. I have a developer license and I'm trying to update the "Allow posting from" and "Allow Posting To" fields in the GLS to the next month at midnight Could anyone please let me know how this can be done? I'm trying to find from where those fields are…
-
Using FlowFilter on Query object via ODataV4 (NAV17)
Hello, I am trying to create a simple Query with Item Inventory, then I want to call it with OData using Location_Filter. I created a Query object: and when I call/ODataV4/Company('TEST04')/ItemStock?$filter=No eq '16721' it works fine, but when I try to filter on Location:/ODataV4/Company('TEST04')/ItemStock?$filter=No eq…
-
Extension Page Name instead of original page name (BC 20)
Hi All, i notice since BC version 20 on the cloud, it will show our extension page name, instead original page. for example i have page extension for Warehouse Receipts page,i named it as PagExtWarehouseReceipts. so when user search it will show as PagExtWarehouseReceipts instead of Warehouse Receipts. is there any setting…
-
How to allow user to only select boolean once per record?
How would you approach the following example... A list page has been created where the user can create a description (e.g. blue paint) and select a series of checkboxes (i.e. gloss/matt/satin/special). For entry 1 the user has created a description and selected the checkbox 'gloss'. For the next entry, the user will create…
-
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?