Overview tab

Use this tab to specify the properties of a library.

General Information
Library
The unique name of the library.
It consists of a combination of the following:
  • package code
  • module code
  • library code
Allowed values:

An ASCII text with a maximum length of 14 characters that conforms to the following format:

<package code><module code><library code>

Example:
Package Code: tf LN Financials
Module Code : acf Accounts Payable
Script Code : dll1250 Receive Purchase Invoices

The total identification of the library is: tfacfdll1250.

Description
The description of the library, such as "Validate Financial Calendar" or "Calculate Tax."
Allowed values:

An ASCII text with a maximum length of 60 characters.

Library Type
The library type. To enter a value, select a library type from the drop-down list.
Allowed values:

The following library types are used:

General Library General DLL - Dynamic Link Library
Integration DLL Dynamic Link Library that integrates between packages.
Compile Flags
The compile flag.

In (3GL and 4GL) sources you can use compile flags. This is in order to compile part of the source depending on certain conditions and is called conditional compiling. For more information on conditional compiling and other compile options, see the "Preprocessor" and "Compiler" sections of the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Allowed values:

Infor 3GL or Infor 4GL source code with a maximum length of 200 characters.

Example:

 | Compile Flag: -DMYTEST | Source ... #if MYTEST message(Some debug information) #endif ...

You can specify several compile flags separated by a space " ". For example:

Compile Flags: -DMYTEST -DVERSION_1 -DVERSION3.0 
Note: The preprocessor only works during compilation of a 3GL source. This is because the standard generator std_gen6.2 does not have a preprocessor pass. Therefore, you cannot use 4GL events in a #if, #ifdef or #ifndef.
Tools Interface Version
The Tools Interface Version (TIV) number of the library.

This is used to guarantee backward compatibility and is related to a particular version of the porting set, the Enterprise Server and the 4GL Tools. For example, the TIV number for Enterprise Server 7, delivered together with LN 6.1 FP1, is 1010. When you insert a new library, the TIV is automatically set to the highest supported TIV number.

Setting a TIV number for each object can result in the behavior of these objects being different. This can occur for incompatible features executed with different versions of the porting set or the LN 4GL Engine.

For example, the "set.synchronized.dialog" function was changed in TIV 1000. Therefore objects in which this function is used, show different behavior for different TIVs:

  • If the object's TIV is less than 1000, a synchronized dialog is started when a record is inserted or duplicated in an editable grid.
  • If the object's TIV is 1000, no synchronized dialog is started when a record is inserted or duplicated: the new record is entered directly in the grid.

For details about the TIV, see the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Allowed values:

Numeric value (max. 9999).

Keywords
Search Key 1
The first search key.
Allowed values:

An ASCII text with a maximum length of 20 characters.

Search Key 2
The second search key.
Allowed values:

An ASCII text with a maximum length of 20 characters.

Search Key 3
The third search key.
Allowed values:

An ASCII text with a maximum length of 20 characters.

Linked Libraries
This list contains the records of all libraries linked to the current library.

Sorting
  • To sort the libraries by position, name, or description, click the corresponding column header.
  • When you sort by position, the sort mode is always ascending. When you sort by name or description, click the involved column header to toggle between ascending and descending sort mode.
  • When you sort by name or description, the Up and Down commands are disabled.
Add / remove libraries, change linking order
You can only perform the following actions if you sort the libraries by position.
  • To add a library, click Add. Then, press CTRL+SPACE in the Name field and select a library from the select dialog box.

  • To remove a library, right-click a library and, on the shortcut menu, select Remove.
  • To change the linking order of the libraries, move them up or down the list.
Note: To edit a library, click the icon behind the library name.
Pos
The library sequence number (Position). This field indicates the linking order of the libraries.

This field is read-only. It is filled automatically when you link a library.

Name
The name of the library.
Allowed values:

To specify this attribute, press CTRL+SPACE and select a library from the select dialog box.

Description
The description of the library.
Allowed values:

This field is read-only. LN Studio automatically fills in the library description after you specified the Name of the library.

License
Product ID Source
The product ID for which a license is needed to compile the object. If the field is empty, no license is needed to compile the object.

To enter a product ID, click Browse and select an ID from the select dialog box.

Product ID Object
The product ID for which a license is needed to run the object. If the field is empty, no license is needed to run the object.

To enter a product ID, click Browse and select an ID from the select dialog box.