Chosen solution: Convert from RDLC using 3. party Report Designer tool. // Alexander
↧
Forum Post: RE: 365 BC On-Prem - Save RDLC report as HTML
↧
Forum Post: RE: SQL Error message: when running a report from a role center
That was the error message I received from one of my client, He said one of them complaint but no full information about what happen. I'm sorry for not detail about the error message.
↧
↧
Forum Post: Resource not found for the segment
I've create an API Page called APISP3 in a VSCode AL Extension. The SourceTable is "Sales Price". I've deployed to Business Central and I've added a web service for the aforementioned API Page. I've downloaded the metadata. Now I'm trying to perform CRUD operations in a C# program via an Unchase OData Connected service. I'm reading records OK. I can add a new record OK, but when I try to perform an update I'm getting: "Resource not found for the segment 'APISP3'" when I call context.SaveChanges. The relevant part of my code is below. Any help would be greatly appreciated. decimal newValue = 65; Gulf.NAV.APISP3 gobjRecToUpdate = null; var qryAllSPs = from lobjSP in objContext.APISP3 select lobjSP; DataServiceCollection colAllSPs = new DataServiceCollection (qryAllSPs, TrackingMode.None); foreach (Gulf.NAV.APISP3 item in colAllSPs) { gobjRecToUpdate = item; break; } gobjRecToUpdate.UnitPrice = newValue; foreach (var entry in objContext.EntityTracker.Entities) { objContext.Detach(entry.Entity); } objContext.AttachTo("APISP3", gobjRecToUpdate, "*"); objContext.UpdateObject(gobjRecToUpdate); objContext.SaveChanges(SaveChangesOptions.None); // <--- Resource not found for the segment 'APISP3'
↧
Forum Post: Customer/Vendor Document Layout upload in Business Central
Hi All, I wondered if anyone could assist with my issue, I need to upload the customer/vendor document layouts into this page for my customers/vendors and cannot find the table for this for me to upload using configuration packages - can anyone guide me as to whether this is possible and if not by a configuration package then by what route Thanks V
↧
Forum Post: RE: Need a suggestion
Thanks Erik for the reply . Above is one reason, I use real field. But my confusion was, suppose the field which I need to flow will not going to change any time(just a scenario). In that case, 1 - if I flow through posting routine then as entries will increase it will help to increase database size. 2 - if I use flow field it will give me run time values, no saving data anywhere. But as a flow field it will take little(fraction of seconds) more time. in that case Just trying to understand how to take decision. Thanks.
↧
↧
Forum Post: Single query to fetch data from Sales Header and Sales Invoice Header tables
Hi All, I am trying to write a single query that fetch data from both the tables "Sales Header" and "Sales Invoice Header". Can someone give me an example of how to write a union query in Business Central? Is there any other option that it can be achieved?
↧
Blog Post: Failed to connect to the database. Error message: bad JSON escape sequence: \S.
We recently upgraded one of customers from NAV2016 to BC Cloud. One of the critical step in this upgrade is to move data from BC OnPrem to BC Cloud using Intelligent Cloud/Cloud Data Migration using “Microsoft Integration Runtime Configuration Manager” tool. We got below error while testing the Connection to the database in tool. Failed to connect to the database. Error message: bad JSON escape sequence: \S. Path ‘properties.ConnectionString’, line 5, Position 78 Solution: Make sure to use 2 back slashes in your SQL Server details. We used 1 back slash in above image as CD-NavToBC\SQL2016 But it should be CD-NavToBC\\SQL2016
↧
Forum Post: Workflow approvals in NAV 2018
Hi Team, I have five users that are meant to approve a document but I separated into two category where 1st category set with specific user and 2nd category with workflow user group( sequence 1: - 2users, sequence 2: - 2users). That's (1.) Create an approval request for the record using approver type Approver and approver limit type Specific Approver . (2.) Create an approval request for the record using approver type Workflow User Group and workflow user group code ADVANCE REQ <=5 A . But once the Specific Approver approve the document it will be release instead of going into the workflow user group. Is there any setup that I need to do. Thanks
↧
Forum Post: CheckDigit Routing Number using Nav 2009R2
Hi every Navison's can help am workin in navision 2009R2 noh america version ,and my project it is to export electonic payment , so my codeunit it work and report which run the codeunit , my probleme when export payment the field (Routing Number ) the routing field number must be calculated or checked by the checkdigit method, the latter does not work, I do not know why and how I call this function to apply to the fields, this is copy to my code function and the line of routing number : the routing field number must be calculated or checked by the checkdigit method, the latter does not work, I do not know why and how I call this function to apply to the fields Weight := '37137137'; Digit := 0; IF STRLEN(DigitString) <= STRLEN(Weight) THEN EXIT(FALSE); FOR I := 1 TO STRLEN(Weight) DO BEGIN EVALUATE(Digit1,COPYSTR(DigitString,I,1)); EVALUATE(Digit2,COPYSTR(Weight,I,1)); Digit := Digit + Digit1 * Digit2; END; Digit := 10 - Digit MOD 10; IF Digit = 10 THEN CheckChar := '0' ELSE CheckChar := FORMAT(Digit); EXIT(DigitString[STRLEN(Weight)+1] = CheckChar[1]);
↧
↧
Forum Post: RE: Workflow approvals in NAV 2018
These are the Screenshot for the setup
↧
Forum Post: RE: CheckDigit Routing Number using Nav 2009R2
Why you can't use the "STRCHECKSUM Function (Code, Text)" ?
↧
Blog Post: From a testing mindset to a Quality Assurance-based mindset
Together with Global Mediator we start a series of blogposts about QA for Dynamics channel. The idea was born when both I and my Global Mediator friends came to the same conclusion: test automation is still not really taking off in the Dynamics NAV/BC world, let alone quality assurance. So we sat down and started a joined project which we baptised: QA, the ugly duckling . Through this we want to sharpen our minds and at the same make you, our readers, part of it. Let's see how this first stone makes more to get "rolling". Be invited to challenge our statements and help us all grow to a next professional level. Both GM and I will be posting our writings. Find theirs here: http://global-mediator.com/blog/ In the old days, the roles in ERP implementation were straight forward. Functional experts worked with users to make functional requirements. Developers would turn that to code. The result would be handed back to the users or functional experts for testing. This may not have been super cost-efficient, but it worked well while your update cycle was infrequent. With the move to more cloud-based solutions, the update cycle is becoming much more frequent. This dramatically increases the time and cost spent on testing, especially if a more substantial regression test is required. As a consequence, the old working model is ripe for improvement. Testing challenges In order to drive down the cost of frequent testing, some form of test automation seems in order. But this is actually easier said than done. The first challenge is that even the best test automation tools require some form of technical tweaking, which is not something many users can do. The second challenge is that most developers still seem to think of test automation as something that is done by others. And, even when they did pick up the challenge,then the test code units often only cover the specific application they work on. Not all processes that can run from/too different best in class on-line applications. The final challenge is that any form of test automation needs to be well structured and maintained over time. A change in testing strategy may require an organizational rethink So, in order for testing not to drive up the cost by sitting between groups of people that do not embrace the opportunity, a paradigm shift is needed. More specifically, we need to move from a pure testing mindset to a more quality assurance-based mindset. A mindset which considers the entire process and not just the end result. Herein lies the challenge. Note that in order to do that we need to not only introduce new methods, but we most likely need to redefine who is in charge of quality. This will change the way we have worked for decades. “We need to move from a pure testing mindset to a more quality assurance-based mindset. A mindset which considers the entire process and not just the end result”. – Nicolai Krarup, COO at Global Mediator In a series of blogposts, we would like to share with you our thoughts on how to do that, interspersed with meaningful examples. Today we make a start upstream discussing why you would want to test your requirements. Testing the requirements - or how to reduce the cost of fixing bugs One of the primary disciplines in a software development process is the requirements specification. This should end up being a description of what the users want a certain piece of software to do, whether it is newly developed or an enhancement. Any flaws in this specification will result in software not meeting the initial user's needs. Or paraphrasing Steven McConnell, in his much acclaimed book CODE Complete : If the user has asked for a Rolls Royce and the requirements specify a Pontiac Aztek, the result will clearly not meet the user's bars. It's undoubtedly an open door that the success of a software development process highly depends on the quality of the requirements specification. Nevertheless many Dynamics NAV/BC implementation projects seem to suffer from a high degree of after go-live issues. Seemingly a major part of these issues can be traced back to flaws in the requirements, either being omissions or clear errors. The relative cost of fixing bugs The downstream effect of an upstream defect goes with a cost of getting them fixed. This cost of fixing after go-live issues is substantially higher than when the flaws in the requirements, leading to these issues, would have been caught during the requirements specification. In the aforementioned CODE Complete, Steven McConnell calculated the relative cost fixing a requirement defect after go-live to be 25 to 100. In other words: the cost of finding the defect after go-live is 25 to 100 times more costly than when finding it in the requirements specification. “The cost of finding the defect after go-live is 25 to 100 times more costly than when finding it in the requirements specification”. – Luc van Vugt, D365 BC MVP & QA-evangelist Internal Microsoft studies around the same time talked about a relative cost of up to 1000. It is worth mentioning that this figure was not only accounting for the straightforward defect fixing but also for things like image damage. Both findings seemed to be confirmed by the research article by Seija Komi-Sirvio & Maarit Tihinen in June 2005 (“Lessons Learnt by Participants of Distributed Software Development”, Knowledge and Process Management, Vol 12, NO. 12). Driving quality upstream Given the above, driving quality upstream becomes a very cost-effective exercise. But how do you do that? How do you minimize the number of defects in your requirements? By testing the requirements! By formalizing the way you review requirements based upon best practices. Or in a more actionable form: by setting quality bars against which you test the requirements. Setting quality bars to test requirements against A way of setting quality bars is using clear defined criteria to verify the requirements against. There are many people that have done this before you and me, and have shared their best practices. Using these will undoubtedly support in testing your requirements. As per ISO/IEC/IEEE 29148:2018 and 830-1998 – IEEE you would typically test against the following ten criteria: Correctness Completeness Clearness Unambiguity Verifiability Necessity Feasibility Scalability Consistency Prioritization In our next posts we will elaborate on, and illustrate, each of these criteria. Multidisciplinary involvement To get an as rich as possible feedback with whatever methodology used make sure your reviews are a multidisciplinary effort. Include the different roles in the development project. As Karl Wiegers poses it: Requirements quality is in the eye of the reader, not the author. Apart from the impact on the requirements as such it simultaneously creates a higher degree of involvement of multiple disciplines, i.e. the people involved. Hope you will bear with us for our next posts.
↧
Forum Post: RE: CheckDigit Routing Number using Nav 2009R2
I HAVE NO HELP TO DO IT I NEED AN EXAMPLE IT IS YOU CAN HELP ME.
↧
↧
Forum Post: RE: CheckDigit Routing Number using Nav 2009R2
an how can get the result Calc MOD 10 to pin up in line AddPrnToString(Detail,.....),
↧
Forum Post: .Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.
the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. kindly help me how to resolve this situation
↧
Forum Post: Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.
the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. kindly help me how to resolve this situation
↧
Forum Post: Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.
the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. kindly help me how to resolve this situation
↧
↧
Forum Post: Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.
the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. kindly help me how to resolve this situation
↧
Wiki Page: Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.
Original Question: Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. by mohammadtahaimtiaz the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'. kindly help me how to resolve this situation
↧
Forum Post: RE: How to Enable Page Inspector
Well I figured it out myself. We need to set the D365 Troubleshoot permission set. ref: https://docs.microsoft.com/en-us/dynamics365/business-central/across-inspect-page
↧