-
I am retired, pleas remove or disable my account
Dear administrators, I am retired, please remove or disable my account. Regards, Rudolf Stammis.
-
Preview posting when using "Post batch"
Hi all, Is there a way to use the "Preview posting" functionality on multiple documents (purchase orders in my case) at the same time? I'm looking for a solution to do some kind of bulk check before actually launching Post batch, so all posting errors can be handled before posting any of the orders. Thanks for your answers!
-
Job market in Mexico
Hi, I might move to Mexico, how are job or freelance opportunities there in the NAV sector? I have to admit my spanish is more on a toddler level and this has to improve, obviously. But may be english is sufficient at first? Thanks!
-
LinkedInTransaction deprecated in BC19
I'm migrating some tables from BC14 (C / AL) version to BC19. These tables are external to the DB and have property "LinkedObject" = true. According with Microsoft in these cases LinkedInTransaction property is set to false: Now compiler show a warning because this property is deprecated and in future became an error. So…
-
Unable debugging Business Central 19 onprem
I'm trying to debug my BC19 installation but when I try I get the following error in VSCODE: Error: In the server event log I find the following error: My server configuration: Can anyone help me?
-
Guidelines for Partners: GIT with VS Code
In previous technical blog posts, we wrote about managing AL code with Git and VS Code. Within them, we recommended a tool called GitExtensions, for performing most Git actions. Since then, the amount of Git features and their availability has increased within VS Code. It is possible to perform most of Git actions without…
-
The server failed to resume the transaction
Hi, A user is on NAV2017 and Microsoft SQL Server 2016 Enterprise Edition. The error log for the NAV Service tier contains various rows with the error message "The server failed to resume the transaction". Does anyone have experience with this error and experience regarding how to solve it? Thanks in advance for any help
-
How to use OData URL and consume it.
Hi everyone, I want to share data of shipment method table using OData. I made a page of shipment method table for this and added it to web services and got the URL. If I am accessing this OData URL then I am seeing table data in XML format on the browser. [Please check below] <?xml version="1.0" encoding="utf-8"?><feed…
-
RDL or RDLC for Business Central development?
Hello all, Which type of file is recommended if you have to create an RDLC layout for a report or report extension in Business Central? RDLC or RDL? Or perhaps it does not matter? I prefer RDLC because I can use Visual Studio for faster development and a better experience, also standard reports use .rdlc files. But if you…
-
BC SaaS - Importing CSV - How to handle text Qualifier "My text,part2"
Hi All I'm trying to import a CSV file with comma as separator but some field contain the comma as part of the text like" "Unit1, Maple St ",NY,US Is there a way to handle this in AL code instream or any other function. Currently using uplaodintoStream and LoadDataFromStream methods
-
Line Discount % in Sales Order Lines
Hello, Please can anyone help me how is called the Line Discount % field in Sales Order Lines? Where I can see this in C/AL? What I want to do is that in table 7004 Sales Line Discount, I should be able to setup discount based on Item Category. So When I create a new Sales Order and when I choose the Item for which i setup…
-
How to access my BC Instance from different computer?
Hi all, Am new here and trust all is well with you, I have created a new VM(Window server 19) on Azure and I have installed Business central 18 on it and I configured IIS as well as AD DS, I tried to access my service through localhost/bc180 and it runs well. Now I want to access my services from other computers using URL…
-
Pretty Printing a Json Blob for a Message in BC SaaS
Built this code for BC SaaS, since we cannot use any DotNet tools, and was getting tired of saving the output and putting it in a Formatting tool to make sense of the one long string.. It's not perfect, but makes stuff readable. Feel free to post a suggestion. codeunit 50000 "Json Library"
{ procedure…
-
Problem with delegation...
Hi, I have a three tier setup: BCWEB1 - Running the webclient. BCWEB2 - Running the webclient. BCSER - Running the BC service tier BCSQL - Running the SQL server. dom\ser_bc - Is the service account, running both the BC Service tier, and the application pool. BCWEB is the internal DNS name pointing to the internal Azure…
-
Media to text
Dear All good day. I'm on BC on cloud (accordingly I can't use any on-prem procedure) I have to convert a media file to text in order to push it on out API. local procedure MEDIAasTXT(): Text var DocumentAttachment: Record "Document Attachment"; MediaAsOutStream: OutStream; begin DocumentAttachment.SetRange("Table ID",…
-
BC 18+: Use implicit Drill Down behavior of Global-Records'-field in Page Field
Hi, I'm optimizing/cleaning up a page where there are two related records shown next to each other. One of the records is defined as the SourceTable, the other one is from a different table with a 1:1 relation. It is defined as a global variable which is retrieved in the OnAfterGetRecord-trigger with some conditional…
-
BC14 - Time zone (Table 2000000164) not showing correct information
Hello, We have done a Technical upgrade to a solution (NAV 2016 --> BC14) - The Windows client is working correctly but we discovered some issues with the Web client. I found out that (one of) the problems is that the Time Zone table is malfunctioning :-) When I try to choose the Time zone in the User Personalization card…
-
Business Central: "Correcting" a Posted Purchase Invoice
Hi: In a sandbox Business Central environment, I'm testing the clicking of the "Correct" button on a Posted Purchase Invoice. This invoice was not created based on a purchase order. The error message, as shown in the screenshot below, informs me that there must be a "Document No." at the line item level. How do I get rid…
-
Sales Invoice on Business central
Hi , we are using business central and the sales invoice of the customer needs some basic changes. Example they are using only GL accounts on the invoice and the layout has the shipment details and also other information were are not needed . Anybody can help with this please? How can we do this? Is there any option…
-
NAV 2009 webservice cannot access SQL
We have 2 NAV 2009 Webservices, one for production and one for test, that has been working flawlessly for 10 years. A couple of days ago they were suddenly denied access to the SQL-server. We have checked credentials etc., and everything seems ok. Yesterday we got the access restored by restarting the whole server…
-
Upload several .csv files
Hi! I'm working with Business Central 19.0 (cloud). I am trying to import .CSV files with CSVBuffer and UploadIntoStream function. The problem is that I need upload several files at the same time, one behind the other, but UploadIntoStream just let you choose one file. I would like to be able to select a location and have…
-
How to convert Hexadecimal to Base64
Hello everyone, I did a codeunit that converts string to hexadecimal. How can I convert the hexadecimal to Base64? Thanks!
-
Running a Report
Is it possible to run a report passing the report number (like in example 2), but before running the report passing some variables (like in example 1) to the report to use in the report (using Single Instance Codeunit is not an option). Basically combining these 2 ways: (1) Variable MyReport: Report 50000…
-
How to get Items filtered by Location Code ?
Hello everyone, I am trying to filter Items in Item Table to get only those ones which are stored in a specific location ? How Can it be done ? I have to specify my condition on a TableRelation property. Who helps me, I'd really appreciate. Thank you all
-
Just want to know is there an availability of Online submission of VAT report For Norway speicific
Hi Guys, Can any one suggest the Norwegian VAT online submission report with government authorities.
-
Approver cannot see record to approve upon clicking Open Record in Request to Approve page.
I created a workflow from scratch for Store Requisition. Everything works fine except that no entries are being created on table 454 ( Approval Entries). The Approver receives the request but cannot review the record. see attached screenshot.
-
Migrate a single company into an existing database
Hi, we have got a BC17 environment with 4 companies. We want to import a 100 GB database with all data into the exsisting database. The tool could be the standard import function or a PS statement. Do you think that this is possible?
-
Powershell Invoke-RestMethod to insert a new customer
Hi, I am trying to insert a new customer using PowerShell via Odata. #Create new Customer
$Credential = [System.Management.Automation.PSCredential]::new('USERNAME',(ConvertTo-SecureString 'PASSWORD' -AsPlainText -Force))
$Payload = "{ ""No"" : ""TEST10001"", ""Name"" : ""Test asdfgh"" }" $obj1 = Invoke-RestMethod ` -uri…
-
TableRelation with extensions
Hello, I have a problem with this table extension and I want to change it. This is the standar code of the table 1208 in field "Applies-to Entry No." TableRelation = "Cust. Ledger Entry" WHERE("Customer No." = FIELD("Customer No."), "Document Type" = FILTER(Invoice | "Finance Charge Memo" | Reminder | Bill), Open =…
-
XMLDOC.SAVE OnCloud
Good Morning, My variable was: XMLDOC: XMLDocument; I have a problem with XMLDOC.Save because i cant use it because give me this error: "XMLDocument" does not contain a definition for 'Save'. How can I solve this error ? Than You. Regards