Development > Utilities > Searches > Data type 

This function is used to search for a data type (or a group of types characterised by a template name) in the dictionary elements of a folder (tables, screens), but also in all the other tables where these type codes exist (report dictionary, requestor, price rules...).

Screen management

The entry of parameters is carried out on a single tab.

Entry screen

Presentation

The template that is to be searched for (or a data type directly) is entered. Additional information attached to the type can be given :

If it is a generic type such as A (character string), C (short integer), L (long integer), DCB (decimal), a length can be given. If it is, the search is only for the elements characterised by both the type and the length; if this value is zero, all the elements are searched.

If it is a local menu (type M), it is also possible to give a local menu number if it is necessary to limit the search on the corresponding menu (if not, all the local menus are searched).

If it is a miscellaneous table (type ADI), it is also possible to give the table number if it is necessary to limit the search on the corresponding miscellaneous table (if not, all the miscellaneous tables are searched).

Then the elements in which the search should be carried out are ticked (the tables, screens, and all the other dictionary elements being identified). The function covers the corresponding elements of the dictionary (progression bars display for each type of element), then a log file giving the different elements found is displayed.

Close

 

Fields

The following fields are present on this tab :

Block number 1

Used to enter the data type looked for.

  • Local menu (field MENLOC)

If the type searched for is M (local menu), a local menu number can be entered here if wanting to limit the search to the corresponding local menu (if not all the local menus will be searched).

If the data type searched for is ADI (miscellaneous table), the table number can be entered her in order to limit the search on the corresponding miscellaneous table (if not, all the miscellaneous tables are searched).

  • Length (field LNG)

When the data type looked for is a generic type such as A (character string), C (short integer), L (long integer), DCB (Decimal), a length is entered here. If it is entered, only the elements that are characterized by both type and length are searched for ; if this value is set to zero, all the elements are searched for.

Block number 2

  • Tables (field ATB)

If the box is checked, the search for the types is made in the dictionary tables of the software.

  • Screens (field AMK)

If the box is checked, the search for the types is made in the screens of the software.

  • Classes (field ACLA)

 

  • Representations (field ASW)

 

  • Other tables (field AUT)

If the box is checked, the search on the type is made in other tables in the software (all those that contain fields of the type ATY).

Close

 

Contents of the log file

In this file, the messages of the type below are found:

Tables

 

 

 

TYP : XXXXX Field ZZZZ

(here the field ZZZZ in the table XXXXX is of type TYP)

Screens

 

 

 

TYP : XXXXX Field ZZZZ

(here the field ZZZZ in the screen XXXXX is of type TYP)

Requester

 

 

 

TYP : XXXXX NNN

(the line no NNN for the request XXXXX uses the type TYP)

Report parameters

 

 

 

TYP : XXXXX NNN

(the parameter no NNN for the report XXXXX uses the type TYP)

Batch task

This function can be executed in batch mode, but no dedicated standard task is delivered to execute it.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation