-
Convert JsonToken or JsonValue to Variant
Hi, I'm having a problem with assigning value from JsonToken or JsonValue to Variant variable. I didn't find in documentation how can I check if value from token is certain type, and to assing that value to Variant if JToken.IsInteger() then variant := JToken.AsValue().AsInteger(); Thanks
-
Showing error during creation of 'dimension set id' in Dimension set entry table.
Hi Everyone, I am creating 'dimension set id' in temporary dimension set entry table,once its created ,but now its showing its already there. Please find below my code: TempDimSetEntry.RESET; TempDimSetEntry."Dimension Code" := 'DEPT'; TempDimSetEntry."Dimension Value Code" := DeptCode; TempDimSetEntry."Dimension Value ID"…
-
data insertion in table
Hello experts, I have scenario like i have custom page on page i have action on click of that action data from page is store in table .for that i have created table QC test Result. In action added codeQCTestResult1.INIT; QCTestResult1."Test Certificate No":="Test Certificate No"; QCTestResult1."GRN No.":="GRN No.";…
-
when I upload a file, it should automatically get saved it in specific folder using web client
Following code works but the file automatically save in downloads folder instead of the folder i have mentioned. Please Help!! Filename:= FileManagement.BLOBImportWithFilter(tempblob,Text002,'','All Files (*.*)|*.*','*.*'); tempblob.Blob.CREATEINSTREAM(FileStream);…
-
NAV TechDays 2019 Video
My impressions of this year's conference: NAV TechDays 2019
-
NavContainerHelper, includeAL and local extensions
When using -includeAl on New-BcContainer i get the source code from the base app as al-code. But the image that I am using also contains local danish extensions published by Microsoft. Can I use -includeAL to get the source code from these extensions included in the image? Or is there some other way to extract the source…
-
Encrypt/Decrypt text in version 15
Hi all, In previous version of BC/NAV we used some system dotnet libraries to encrypt/decrypt text. Do we have any alternative for this in version 15 (Cloud)? I know for built in function's Encrypt/Decrypt. But can we used same encryption key on the other side for opposite process? Thanks
-
Not able to connect to Business Central through VS Code
Hi, I have installed Business central Wave 2 Update 1 and also VS code. When i am creating a new project and also made changes to launch.JSON file as show in attachment i am getting following error. Error: Server and server instance must be specified when using Windows authentication Error: The configuration in the…
-
About "Application Area" Property
Hi Experts, In BC140, after I created my own tag of Application Area in Table 9178, put the tag in the Objects accordingly, and activate it, it takes effect in the Web Client (which is what I intended to). However, it also affects RTC (RoleTailored Client), which is what I do not want, is there a setting/a way to have the…
-
Multi Language captions not always correct.
Hi, We have a system which both English and welsh captions added onto actions and fields. Some of these come across fine but others do not. Here is an example.. This is an action item with a Welsh Translation. Here we can see in a User running as the Welsh Language in the User Personalisation the button still reads the…
-
Team Member Question
Hi Does anyone know if a team member licence would allow a user to convert an approved purchase quote into a purchase order? thanks
-
Security Filtering using Extension in AL Code
Issue : When I use security filter in field "Code" in table "No. Series", I get error "A security filter has been applied to table No. Series. You cannot access records that are outside that filter" when create new Sales Order. I debug and it break on code below in function "CheckNumberSeries" (codeunit 1400) : IF…
-
In Dynamics BC / Configuration package import executing field OnValidate code
Hi, Does Configuration Package import execute code that's found on OnValidate trigger of fields? Is there an option to do that?
-
Configuration File Error
Hi There, Does this error message look famliliar to any of you ? It happens only when a particular user tries to get into NAV. They're on NAV 2016 version. Thank you for your cooperation in advance. Best Regards
-
Reservation of incoming documents
Dear Sir, One of my clients storing their incoming documents in NAV 2016 Database as blob files. In this ways, the database size is getting increased day by day rapidly. To avoid unnecessary database increase, I have given a proposal to reserve the same (document wise) in separate place instead of NAV Database. Kindly…
-
How to mapping the xml file field name attribute to record field by looping
Hi Experts: I produce a Item data to xml format file and passing to NAV code unit web service for receiving. How could I map the xml file field name attribute to record field by looping field record and give the xml value when received the xml file. the xml file format like this <col_1 filedname="No." >001</col_1> <col_2…
-
How to fix two invoices with one invoice number
Hello All, My NAV has created two invoices to two different customers, however these invoices has the same invoice number! One is already posted but the other one failed because the number has already been posted. How do I sort this out?
-
Error when printing a check in Navision
Good day, My cashier attemps to print a cheque, which is always possible in Navision, but now is gettint an error message "Seventy Eight Cents Results in a written number that is too long".
-
Can i create Flowfield with (Field A - Field B) or (Field A / Field B) ?
Can i create Flowfield with (Field A - Field B ) or (Field A / Field B ) without coding ?
-
The NAV 2013 R2 klient crashes witout any messages
When a certain user opens the customer card (page 21) of a certain customer and then opens the job list (page 89) NAV closes immediately without any messages. What could be the reason for this? If i'm doing the same there is no problem.
-
Invalid function when consuming SOAP web service
Hi. I have a problem to consume a web service made with SOAP in .net with Microsoft Business Central. It does not recognize the functions. The fact is that I have been using the same web service since Nav 2009 and I have never had problems, but since Business Central (BC14 and BC15), it gives errors. I discovered that the…
-
Unable to upgrade from BC140 C/AL to BC150 AL because of destructive changes error
I have successfully converted our C/AL solutions to AL , merged the code with the BC150 base application source files and build a new base application app. I'm trying to upgrade our BC140 database to BC150 combining the following two online documents from Microsoft:…
-
Error when Creating a new company
Helo. I'm trying to create a new company, but I'm having trouble to open it. When I try to open it, it starts to inicialize but stops with an error. Debugger showed me, that CodeUnit 2 pops up the error, however I have no clue where to start looking for the text that is mentioned in the error. Code stoped at line:…
-
Turn off "An approval request has been sent." after send approval
hi all. usually after we send approval request, it will prompt message "An approval request has been sent." can we turn this off without changing the coding? Thank you.
-
Cost loading on Partial GRN with partial Item charges assignment.
Hi Experts, One of my clients has imported the Goods and it is laying out in the Bonded warehouse. he has received the Clearing agents' invoice of the total quantity whatever is import like handling charges freight, etc. now they will do the partial multiple time in future, but they want to pay that clearing agents with…
-
Issue in Event
Dear Sir, In NAV 2016, there is an Event function called OnBeforePostItemJnlLine in Codeunit 22 Item Jnl.-Post Line. I am subscribing the same function in my custom codeunit & call the Codeunit 22 Item Jnl.-Post Line to Post something. It's working with a message "There is nothing to Post" & it does not clear the Page.…
-
Question for Devs re: 2017 vs. BC365
I have a bunch of SQL scripts that I run against a NAV 2017 DB to extract financial information (client requirement, not my idea). My question is, will the SQL DB after upgrading to BC365 be similar enough that the fields that currently exist in the same table structure, or is it totally different? I understand there may…
-
How can i get rid of the error.
Hi All, I have tried to change the sales order from codeunit.In that time i am getting the below error. Microsoft Dynamics NAV An attempt was made to change an old version of a Sales Header record. The record should first be reread from the database. This is a programming error. Identification fields and values: Document…
-
Create Dimension set id for the combination of three 'Dimension code': Dept,Project and Channel.
Hi Everyone,(Nav-2018) I would like to create 'Dimension set id' for the combination of three 'Dimension code': Dept,Project and Channel in "Dimension set entry" table. for this i am following the below link: https://dynamicsuser.net/nav/b/amol/posts/dimension-update-in-nav-2016 For this: Step:1. I have created one…
-
File System in Extention Programming Dynamics BC Wave 2
Hello How can transfer the below code to Extension code? Regards Firas /Var //Filesystem :File CLEAR(Filesystem); Filesystem.SETRANGE("Is a file",TRUE); Filesystem.SETFILTER(Path,'C:\FilePlace'); Filesystem.SETRANGE(Name); //Update virtual tabel Filesystem.SETFILTER(Name,'',' *.xml'); IF Filesystem.FINDSET(FALSE,FALSE)…