Fixed a few typos

This commit is contained in:
Tino Teuber 2021-12-01 14:19:47 +01:00
parent eb22cb6cb7
commit 7e7509dbf9
9 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ Missing, invalid or incomplete data is a common issue during data processing in
This article describes how to use the Error Message component in NAV, which in short gives you the possibility to:
1\. Link an error mesesage to the page which enables you to resolve the problem.
1\. Link an error message to the page which enables you to resolve the problem.
2\. Assemble all error messages in one central view instead of having to encounter them one by one.
Validating data is a common task during data processing in NAV. Unfortunately, validation is often done using NAV's integrated ERROR and TESTFIELD functions, which halt execution of the process. The user will then have to locate the invalid / missing data, correct it and reinitiate the process, possibly running into the next error, making the cycle repeat itself. This can be a very tedious, time-consuming and frustrating process. The error message component aims at improving this experience by providing a lightweight framework for error message logging and this article will explain how to leverage this functionality in your code. By doing so, all error messages are gathered during (pre-)processing and are finally presented to the user. The user then has the possibility to click on the error message, which will open the record where the invalid / missing data is located, thereby enabling the user to correct all mistakes efficiently, from one central place and in one go.

View file

@ -126,7 +126,7 @@ To format headlines, you should use Codeunit 1439 Headline Management functions:
EssentialBusinessHeadline."Headline Name"::SalesIncrease,
EssentialBusinessHeadline."Headline Name"::TopCustomer);
AtLeastOneHeadlineVisible := not EssentialBusinessHeadline.IsEmpty();
// only modify the var if this extension is making some headlines visible, setting to false could overrride some other extensions setting the value to true
// only modify the var if this extension is making some headlines visible, setting to false could override some other extensions setting the value to true
if AtLeastOneHeadlineVisible then
ExtensionHeadlinesVisible := true;
end;

View file

@ -69,7 +69,7 @@ Step 4: implement the business logic, by calling out to a new function. And impl
## Consequences
This pattern can be used in all cases to put busines logic. But I see three possible approaches
This pattern can be used in all cases to put business logic. But I see three possible approaches
1. You only declare the most important and most used hooks
* This way, you limit the amount of objects and hooks to only a few in the default product

View file

@ -162,7 +162,7 @@ Table 15 G/L Account, Page 17 G/L Account Card & Page 18 G/L Account List
Table 27: Item, Page 30 Item Card & Page 31 Item List
Table 156: Resouce, Page 76 Resource Card & Page 77 Resource List
Table 156: Resource, Page 76 Resource Card & Page 77 Resource List
Table 5600: Fixed Asset, Page 5600 Fixed Asset Card & Page 5601 Fixed Asset List

View file

@ -67,7 +67,7 @@ The pattern depends on .NET library System.IO.Compression.ZipFile, which from NA
* CreateZipArchiveObject: Which creates a System.IO.Compression.ZipArchive on a server side file
* AddFileToZipArchive: Which adds a server side file to the archive using System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(). This function allows to use arbitrary naming and does not require to create a server directory before creating the ZIP achieve.
* CloseZipArhive: Which simply closes the ZIP file and saves it to disk.
* CloseZipArchive: Which simply closes the ZIP file and saves it to disk.
The pattern is integrated into the report/codeunit in question by providing a filename field on the request page if it is on WinClient but hidden if it is in Web client. On the Web client, a meaningful default filename is used for the file to download, e.g. in Code 1, Filename is set by the user on the request page if it is WinClient, and set to a default value in Web client.

View file

@ -234,7 +234,7 @@ Setup table would contain the list of the reports and their usages. Based on Tab
For example:
ReportSelectionSetup.SETRANGE("Table ID", RecordRef.NUBMER);
ReportSelectionSetup.SETRANGE("Table ID", RecordRef.NUMBER);
ReportSelectionSetup.SETRANGE("Usage Type", RecordRef.FieldValue(ArgumentTable."Usage Type");