The user has several options to search for information in TradeDesign, which are described in more detail in the following sections.
Cross Reference
The option gives a good overview about the available cross references and shows the different types of usage of a searched object.
Logic references, that are described as literals, i.e. no references
to fields and modules in SQL expressions
to rule names and fields in correspondence
to dynamically generated rule or field names (e.g. area specific generated)
are found. References that result from data (e.g. panel names in SPT) are also not displayed.
In order to find such usage types in texts, the search methods mentioned below have to be applied.
Cross Reference in Transactions
Where is this Object (Field, Rule, Panel etc.) used in Transactions?
Procedure to find an object for CrossRef in the Module Explorer:
Put the cursor on the desired field
Edit Prototype
Show Context
CrossRef to that object
The Watch panel displays the usage of the object within the elements of the module with type of usage, location and reference.
By double-clicking the user is brought to that position in the rule or on the panel, where the searched object is used.
Advantages
Disadvantages
Exactly within the currently open transaction
Not always accurate in instances, but referring to the element in the class
Cross Reference in GENXRF
Where is the Object used within the entire Application?
Procedure: In the user mode via “Technical Support” → Cross Reference Workbench
The entered object will be searched in a selected work environment or the application by searching all transactions and modules. The data stock is after the last global compile within this environment is used.
In GENXRF there are 2 options available:
Object cross reference for objects in selected module (view on the objects within a module)
- Button [Details] - Displays the references of the object in the selected module
Module cross reference for selected module (view from the module upwards to the used models or transactions)
- Button [Modules] - shows all modules, that call directly the the selected module under module/transaction
- Button [Transactions] - shows all transactions, that use the selected module under module/transaction
- The terms entered in “Object Type” and “Object” are ignored in this case.
Unreferenced Objects (Dispays the objects of the selected object type, that are not referenced)
- Button [Show] displays all not-referenced objects in a separate panel. In order to avoid translating not used objects (e.g. remaining XML templates, those objects have to be eliminated before the translation process. Using this function, the DOKA user can identify those templates, so that they can be deleted with the TradeDesign Module Explorer afterwards.
Advantages
Usage of fields, rules, panels, etc. in the entire application.
Entire application is searched
Usage of all commands
Low memory usage
Disadvantages
Correct not until a global compile was performed
Literal problem: Indirectly used rules, fields, etc. are not displayed in the usage lists
Searching in Rules with 'Find'
Procedure:
Search for the term in the rule with the “Find” option
(F3 continues the search)
Note: After search the complete transaction with F3, the search starts again at the beginning. Please pay attention to recurrences of terms.
Advantages
Finds also fields in SQL texts
Finds also rule name in literals
Finds also strings rule comments
Disadvantages
Does not find properties, field and panel comments and arguments
Finds only rule texts
Does not find constants that have been passed as arguments
Does not find dynamically composed names, if the search text contains several composed parts
Searching the Source Text with an Editor (e.g. UltraEdit)
Procedure:
Search → Search in File → Search Text
In files for example: ???.TR? search is only performed in triple-digit modules
*.TR? all modules with the extension 'TRx' are searched
In directories
Click 'Results in Edit Window'
If the search is performed in the product, 'Search Subdirectories' is not clicked
If DOK5OVLY is searched, 'Search Subdirectories' is not clicked.
Advantages
Current software version
Optionally custom overlays can be searched
Search with regular expressions (also complex expression) is possible
Finds all occurrences, regardless if they are in rules, arguments, properties, etc.
The last used search term is stored
Disadvantages
Note: If the search is performed in the product or in customer overlays, the write protection (read-only) should be activated in any case.
Search with the 'Find' Command in the Prompt Box
Notes:
The descriptions of the commands can be called via the command specification /?.
Already entered commands can be called via the arrow keys
> Output in file which will be replaced, if necessary
» Output in file (added at the end of the file)
The user must always be located in the TEMP directory, in order to avoid accidentally generated output in the product or any other directories.
When searching with wildcards, the complete product path has to be specified
Advantages
Like the UltraEdit search, but without regular expressions
With generating of an output file, which can be filtered further on.
Search in the Documentation with Tdview - Search
Note: This function is only available for search in HTML documentaion.
This search is extremely fast. However, it just refers to the information contained in the documentation.
Example: Search for values of the source text parameter 'Framefield'
1. Search term 'Framefield'
2. Double-click the term 'Framefield' under 'Select a matching word'
3. Sorting for Filename helps to get a better overview, because the path is displayed there.
In 'TRN\FRM Source Format Description' the description of the parameters of the term 'Framefield' with possible values is located.
Advantages
Disadvantages
Only single-word search possible
This can cause a great amount of search results.
Parts of words, that are not at the very beginning, cannot be found.