Wednesday 26 June 2013

QR Code in NAVISION

The QR code, similar to a barcode, is an example of an information matrix. However a significant difference in the two is that while a barcode only holds information nicely in the horizontal direction, a QR can do so vertically as well. This is why QR codes are referred to as two-dimensional, because they carry information both vertically and horizontally. Another direct result to this is greater potential to carry information in a smaller space. Compared to a barcode, it’s no competition at all.

To implement it Click here .

Tuesday 4 June 2013

Appending Data to the end of the File in NAV

Variables:

Name                   DataType             
ExportFile            File

Sample Code:


  ExportFile.TEXTMODE(TRUE);
  ExportFile.WRITEMODE(TRUE);
  ExportFile.OPEN(FileName);   //here file name is existed file's fullpath along it's name
  ExportFile.SEEK(ExportFile.LEN);
  ExportFile.WRITE('Hello Navision');


Output:
Specified file will opened in text mode and cursor will reach the end of the file.
Piece of the text(Hello Navision) will be added to the specified file.