Document references (document directory)
Technical description
The document master in ClassiX® offers the possibility to manage digital documents. An EDM system (Electronic Document Management) or a DMS(DocumentManagement System) is therefore already integrated in ClassiX®.
The advantage of the integrated solution is the direct association of documents to vouchers or master data. The drawings of an article can thus be maintained directly via the parts screen and the documents belonging to an order can be linked directly to the ClassiX order.
The associations of the transaction data with the documents can be maintained via a separate editing mask, which can be called up via the document history module, for example. In the master data, there is a "Documents" tab for this purpose, such as in the parts screen. If this tab is not available on the editing screen, documents can be linked via the process folder or directly via the editing screen of the document entry.
Both the master data and the transaction data can either refer directly to the documents or via a conditional table. A conditional table is useful, for example, if the documents of a variant part are managed and different characteristics are to lead to different documents.
Terms/definitions
- The document is the file, such as a CAD drawing, which is to be managed.
- The document reference is the reference to the document. Document references can also be used to save document-related information such as the description, type and language of the document, etc. The document references can be created globally and locally.
- Global document references are defined as master data in ClassiX and can be inserted as associations in various master and transaction data. A distinction is made here between the document reference as a master data or as an association.

For example, the reference to the document is saved in the document reference as the master data and this can only be changed here in the master information. Changes then automatically apply to all objects (parts etc.) associated with this document reference.
(This is intended for exchanging new versions of drawings, for example. The reference to the new file is only changed once in the master data and is immediately updated for each associated object).
The global document reference as a connector (also known as a wrapper) describes the document reference from the perspective of the objects with which it is associated. In the global document reference as an association, information from the master document reference (for example the description or the attributes) can therefore be overwritten without the master document reference being changed. This means that the same document can be described differently in different applications.
The editing screens of the global document references as master data or association are identical and can be differentiated by two features. Firstly, the window title indicates whether you are editing the master data or the association, and secondly, various generally valid details of the master data (e.g. the reference to the document) are blocked in the screen for editing the association.
The editing screen for the global document reference as the master date is called up when you open the global document references from the master data (in the main menu). The editing screen for the global document reference as an association is opened when you access the associated document reference from a master or movement object. However, you can navigate from the association to the master data via the "Edit master information" menu item.Global document references that have been assigned to a variant document are labelled with this symbol:

- Local document references are not managed as master data in ClassiX, so among other things they cannot be searched for. These document references can be used to refer to a document "once" from master or movement objects. Unique means that only one object refers to the document reference.

The editing mask of the local and global document references are identical, only the window title of the editing mask provides information about the type. As local document references are only used "once", there is no differentiation between master data and association.
- Global document references are defined as master data in ClassiX and can be inserted as associations in various master and transaction data. A distinction is made here between the document reference as a master data or as an association.
Difference between document and document reference
A document is, for example, a drawing and/or a file that describes, for example, a part or a part roll. The reference to this file (DOC, PDF, CAD, ...) is the document reference. It not only describes where this file is located (server directory, procedural call, ...) but also describes it. (type, attributes, search terms)
- Documents can be conditionally summarised via a variant document reference. The characteristics by which the associated document references can be uniquely identified can be defined using the characteristics bar of the variant document reference.

Example:
A document with the same or similar content is available in different versions. The versions differ in the language of the document and whether it is the long or short form.In this case, a variant document reference is created with the characteristics "LANGUAGE" and "SCOPE". The ("single") document references, which refer to the different versions, are assigned to the variant document and the attributes "LANGUAGE" and "SCOPE" are defined. In addition, only the variant document reference is associated with the parts, parts lists, etc.
Variant document references compete with the conditional associations based on the associated objects (parts, BOMs). The advantage of variant document references is that when creating a new document reference in a new language, you only have to extend the variant document references and this extension automatically applies to all associated objects. In the other case, you would have to extend the conditional table in all associated objects.Difference between a conditional table and a variant document reference
A conditional table is used if there are different parts and this results in different documents.
A variant document reference is used if there are different document versions for a part (e.g. different languages, short form, long form).
Type
The file location is the reference to the document. Three different reference options are available, from which one can be selected.
- The file/folder type refers to a document in the network, intranet or Internet. Alternatively, a folder can also be selected. If an attempt is made to open a document reference that refers to a folder, the corresponding folder opens in (Windows) Explorer.
- With the procedural call type, either the file name can be generated dynamically using the procedure (e.g. determine drawing name using part rule-based) or a new temporary document is created (e.g. parts list of a part as an Excel file). The document reference object is passed to the procedure and a valid file name is expected as the return value. Characteristics can be stored in the document reference as parameters.
The following procedure templates are available via the "..." button:- Drawing as PDF file
If a PDF file with the drawing number of the part is in the "CX_DRAWING_VIEWPATH" directory, this is used. - Parts list as Excel file
The parts list of the part exploded up to a certain level, which is defined in the "level" characteristic, is written to a temporary Excel file with the "EXCEL_EXPORT" report for the "CX_ALLOCATION_TXN" data connector. This Excel file is available until the user logs out, at which point the newly created temporary file is deleted. - Parts list with drawings as a packed archive
The parts list of the part exploded up to a certain level, which is defined in the "level" characteristic, is written as an Excel file with the "EXCEL_EXPORT" report for the "CX_ALLOCATION_TXN" data connector and all drawings of the parts of this parts list level are written to an archive. This archive file is available until the user logs out, at which point this newly created temporary file is deleted.
(In the standard system, 3 document references with exactly these 3 templates are supplied. You can use these to assign parts from the parts master to one of these document references, e.g. when placing an order, the parts list is automatically sent to the supplier).
- Drawing as PDF file
- With the Database type, a copy of an OLE document (Word or Excel file) is saved in the database. If this option is selected, a button labelled "Select file" appears under the file name. This allows you to search for and select a file on the hard drive. This file is then copied to the database and its name without the path appears in the file name input field. When the document entry is saved, the system checks whether the specified file can be found. If this is not the case, a message appears and saving is cancelled. It is therefore not possible to save entries without a document.
The document type can also be used to define the location (e.g. the server directory) or even the call of all documents of this type. The selectable type is a structure (organisation term) under the main node DOCUMENT_TYPE. Below this structure, all possible document types are now created as new subfolders with names and server paths (either a link through the intranet or a server file path via the share name).Here is an example of a subfolder:
Structure ID: 001
Short name: Circuit diagrams
Description:http://intra/util/PDF-Documents/
This path is drawn when a document of this type is created. If, for example, the document MotorABC.pdf is in this location, only MotorABC.pdf needs to be entered in the file name field in the document management screen and the type Circuit diagrams selected. If this document is then to be displayed, the system puts together the path in the structure and the file name and starts the file found there.The path specification from the type is only taken into account if the location is a relative path specification or only the file name. If the location is an absolute path starting with a network drive, a network address (\\PCNAME\..) or an http address, the call of the type is not taken into account.
Print documents
The documents held by the document index can be printed in various ways. On the one hand via the "Open" button
. Once the document has been opened, it can be printed from the programme (Word, IE, AutoCAD Viewer, ...).
However, there are other options for OLE documents stored in the database. In the "OLE document" tab, you can both view and edit the document. In addition, document variables can be accessed here, which the document can use to read information from the ClassiX® system. (To update the variables, please use the Refresh button)
Functionality
Input window
| Menu item | Menu description |
|---|---|
| Edit | - |
| : Create new document reference | Create new document reference |
| : Save document reference | The changes in the open document reference are saved. |
| Delete document reference | The open document reference is deleted without prompting. |
| Print document reference | Print document reference via Word and wait until printing is complete. |
| Edit document reference (master date) | This menu item is only enabled if a document reference connector (connection object) is displayed. (See Terms/Definitions) This menu item then takes you to the master information of the document reference. |
| Document reference type | - |
| : : Single document reference | A document reference is created that is not itself a variant document reference and should not be assigned to one. If the current document reference is a sub-document reference, the link to the variant document reference is broken via this type. |
| : : Variant document reference | The document reference is created as a variant document reference. Consequently, only the characteristics bar and the associated document references can be defined; it is not possible to specify the document (file location). |
| : : Sub-document reference | The document reference can be assigned to a variant document reference. |
| Edit variant document reference | - |
| : : Characteristics bar | The attributes of the variant document reference can be defined here via the functional characteristics. |
| : : Replace conditional tables of single document references | Conditional tables that link the same documents as the variant document can be replaced by the variant document. The association and the condition with which the association was entered in the conditional table are displayed in a new window. In the context menu of this listing, the function "Select all associations with this condition" can be used to select all associations that have the same condition as the selected one. |
| : Search terms | - |
| : : Insert | Insert search term |
| : : Remove | Remove selected search term |
| Features | - |
| : : Insert | Insert feature |
| : : Edit | Edit selected feature |
| : : Remove | Remove selected feature |
| Operations | Opens the operation window for the open object |
| : Notes | Notes for the open object can be created and viewed here |
| : Validity | Set validity |
| Close | Close window |
| Search | Call up list window |
| Icon | Toolbar description |
|---|---|
| Create new document reference | |
| Save changes | |
| Delete document reference | |
| Print document reference | |
| Processes of the document reference | |
| Create/edit notes | |
| Set validity | |
| Copy associations to the clipboard |
| Field | Field description | ||
|---|---|---|---|
| Master data | |||
| Document info | - | ||
| : : Document ID | Contains the UniqueID of the document reference | ||
| : : Document language | In connection with the short text, the language of the document can be determined via this field. The languages are defined via the language module. | ||
| : : Short title (document language) | This short title describes the name/description of the document in the language of the document. The input field can only be written to if the document language has also been set. In this way, the title can also be stored in a language that is not the operating language (Latin, Romanian). | ||
| : : Short title (operating language) | This short title describes the name/description of the document in the currently set operating language. This field is multilingual, so that the title can be specified in German and English (possibly also other operating languages depending on the settings in the client). The short title is automatically included in the search terms. | ||
| : : Search terms | Inserted search terms for finding the document directory. The search terms are usually defined manually. Exceptions are the short title and the first line of the description. These details are automatically created as search terms. | ||
| : : Description | Descriptive text of the document. This is transferred to the search terms when the document is created. | ||
| : : Type | The documents can be categorised via the type. The path to the file can also be stored via the type. (see file location type "Server directory") | ||
| : : Variant | Associated variant document reference for sub-document references | ||
| : Administration | - | ||
| : : Entry date | Date on which the document directory object was created | ||
| : : Created by | Employee who created the document directory object | ||
| : : Cost centre | Cost centre to which the document belongs | ||
| : : Location | Description of the location, e.g. if the document is a book at a specific storage location | ||
| : File location | - | ||
| : : Type | See file Location-Type | ||
| : : Document RAG | This field is only available if KLIO NLP DMS is installed. Under KLIO, a document reference can be assigned to a document RAG set of rules. | ||
| : : File/Folder | Enter a complete path or a link to an individual document. A folder (file directory) can also be entered with or without wildcards. In the latter case, make sure that the use of such a document reference is accompanied by a list of "accessible" files. This field is multi-lingual, i.e. a different path can be specified for each language: e.g. for language "German" the file C:\myDocuments\impressum_en.docx or the directory C:\myDocuments\en, for language "English" the file C:\myDocuments\impressum_en.docx or the directory C:\myDocuments\en. If the file is referenced via a path (server directory, intranet, Internet, etc.), the system checks whether the file can be accessed via the specified path when the document reference is called up. If this is not the case, the message "Attention: The file is not accessible" is displayed. If a path to a file or directory is specified, the button to the right can be used to display the file or list the directory in the file explorer. | ||
: : Select path | This button can be used to select either a file or a file directory (folder), the path of which is then displayed in the field above. | ||
| : : Move file | This button is only visible if it is a document reference to a document in a server directory (the path must start with \\SERVERNAME\... or U:\...). This file must also be accessible (available). Moving documents using this button makes sense because two changes must always be made. Firstly, the file must be moved to the new directory and secondly, the path in the document reference must be adjusted. This button can be used to perform both tasks at once. After pressing the button, the new directory to which the file is to be moved must be selected from the file dialogue window. | ||
| : : Procedure editor call | Display of the Instantview code that is executed. | ||
| : : Edit | Edit the Instantview code. | ||
| Features | |||
| : : List | List of inserted features Additional features can be added to the document. These features are taken into account when the document is output (preview, print, refresh). | ||
| Document references | |||
| : : Document references | In the case of a variant document reference, the sub-document references are displayed here in the respective characteristics of the characteristics bar. | ||
| Relations | |||
| Associations | Master data and documents with which the document is associated. Objects can be added using drag and drop. For order parts, a question is asked as to whether these should also be printed with an order or used as an attachment to an e-mail. | ||
| Organisational terms | Classification of document references via the classification terms. | ||
| OLE document | |||
| OLE documents | Embedded OLE document | ||
| Button | Button description |
|---|---|
| OLE document | - |
| Preview | The document is displayed in a preview window with the output of any existing document variables (Doc variables of a Word document) |
| The document is printed with the output of any existing document variables (Doc variables of a Word document) | |
| Update | The values of any existing document variables (Doc variables of a Word document) are updated |
| Action | - |
| : Back | The window closes without saving any changes. If you want to save the changes, you must press the "Save" button. |
| Delete | The displayed document reference is deleted. |
| New | The input window is cleared. |
| Save | Changes to the document reference are saved. If no changes have been made, the button is locked. |
List window
Used to list the document references.
| Menu item | Menu description |
|---|---|
| Edit | |
| Search | - |
| : : Execute multiple search | Execute multiple search: All fields marked in blue are taken into account in this search. With the multiple search it is possible to search for several criteria at the same time. |
| : : Reset list | Reset document reference list |
| : Create new document reference | Create new document reference |
| Edit document reference | The selected document reference is opened in the input window. |
| Delete document reference | One or more selected document references are deleted without prompting. |
| Print document reference list | The printer selection window for the document reference list is opened |
| Move documents | Enables files to be moved from one directory to another. See |
| : Check all documents | Check whether access to the file is possible for documents that are not saved in the database. Please note that not all files can be accessed by every user due to security settings in the operating system. |
| Copy to the clipboard | Copy list of document references to the clipboard |
| Close | Close window |
| Options | Call up options window |
| Icon | Toolbar description |
|---|---|
| Execute multiple search: All fields marked in blue are taken into account in this search. With the multiple search it is possible to search for several criteria at the same time. | |
| Reset document reference list | |
| Create new document reference | |
| Edit document reference | |
| Delete document reference | |
| Print document index list | |
| Copy list of document references to the clipboard |
| field | Field description |
|---|---|
| Search term | Search for search term |
| File name | Search by file name. You can also use wildcards for the search, For references to a file, the path is contained in the file name. When searching, a * should be placed in front so that the path does not have to be entered. |
| Type | Search by type |
| Variant document references | Restrict search result to selected document reference types. |
| Single document references | |
| Sub-document references | |
| Local document references |
| Button | Button description |
|---|---|
| filter | |
| Search | Perform multiple searches: All fields highlighted in blue are included in this search. With the multiple search it is possible to search for several criteria at the same time. |
| List | |
| Advanced search | Call up advanced search |
| Action | |
| Back to | The window is closed. |
| Delete | The selected document reference is deleted. |
| New | An empty input window is opened. |
| Edit | The current document reference is displayed in the input window. |
Selection window
This window is used to select document references.
| Menu item | Menu description |
|---|---|
| Edit | |
| Search | - |
| : : Execute multiple search | Execute multiple search: All fields marked in blue are taken into account in this search. With the multiple search it is possible to search for several criteria at the same time. |
| : : Reset list | Reset document reference list |
| Close | Close window |
| Options | Call up options window |
| Icon | Toolbar description |
|---|---|
| Execute multiple search: All fields marked in blue are taken into account in this search. With the multiple search it is possible to search for several criteria at the same time. | |
| Reset document reference list |
| field | Field description |
|---|---|
| Search term | Search for search term |
| File name | Search by file name. You can also use wildcards for the search, For references to a file, the path is contained in the file name. When searching, a * should be placed in front so that the path does not have to be entered. |
| Type | Search by type |
| Variant document references | Restrict search result to selected document reference types. |
| Single document references | |
| Sub-document references |
| Button | Button description |
|---|---|
| filter | |
| Search | Perform multiple searches: All fields marked in blue are included in this search. With the multiple search it is possible to search for several criteria at the same time. |
| List | |
| Advanced search | Call up advanced search |
| Action | |
| Back to | The window is closed. |
| Select | Confirm selection |
Options window
All settings for the search can be made here. The window can only be closed using the "OK" button.
| Menu item | Menu description |
|---|---|
| Edit | - |
| : Set default settings | All changed settings are reset to default |
| Field | Field description |
|---|---|
| List options | |
| Search options | - |
| : : Immediate transfer in case of a hit | If only one document reference is found during a search, it is opened in the input window |
| : : Empty list before new search | The list is emptied before each new search |
| : : General search | Normal search (Use search terms from the document reference itself) |
| : : Advanced search | So-called wildcards can be used for the search, such as * or AND OR... (search terms of the other roles of the document reference are taken into account) |
| : : Document references | |
| : : : Variant document references | Restrict search result to selected document reference types. |
| : : : Single document references | |
| : : : Sub-document references | |
| : : : Local document references | |
| : Validity | Validity |
| : : With exchange object | Also displays objects that replace objects in the invalid period |
| : : Without replacement object | Does not display objects that replace objects in the invalid time period |
| : : Only valid objects | Only valid objects are displayed. |
| : : All objects | All objects are displayed - valid and invalid ones. |
| : Number of objects | Determines the maximum number of objects displayed in the list during a search |
| : : All objects | All objects are displayed. |
| : : Number of objects | A number can be defined for how many objects are to be displayed. |
| : : 100 objects | 100 objects are displayed. |
| Default settings | |
| Global default settings | Global default settings can be saved for the client and the cost centre. These are displayed here, as are the current default options that each module has. To create a global default setting, a user default setting must first be saved. Right-clicking on this user setting and selecting the context menu item "Edit user-defined setting" opens an editing window for this setting, in which the assignment of the employee/user to a client or cost centre can be changed. ("Level" button) |
| User default settings | Each user can save any number of presettings. Please note that if several settings are found, the first one found is used as the default setting. The name of the setting can be changed with a double-click. |
| Button | Button description |
|---|---|
| Back button | Close window |
| Apply | The settings are saved and the window is closed. |
Conditional document directory
| Menu item | Menu description |
|---|---|
| Edit | - |
| : Columns | - |
| : : Insert columns | Insert new column |
| : : Edit columns | Edit selected column |
| : Entries | - |
| : : Insert document | A new document directory can be selected via the selection mask and thus a new conditional entry can be created. |
| : : Remove document | The selected entries are removed. If several entries are selected, a confirmation prompt appears. |
| : : Duplicate entry | The selected entry is duplicated. As the same document is then hidden behind both entries, duplication only makes sense before variant document directories and is therefore only permitted for these. Subsequently, both entries can hold different attributes and so the same document is filled with different values. |
| : : Maintain document | The document directory reference is opened. |
| : : Open document | The document behind the document directory reference is opened directly. |
| : : Convert conditional table into simple document directory reference | The conditional table can be converted into a simple document directory reference via this menu item. To do this, remove all but one entry from the table. The remaining entry then becomes the normal reference. |
| Field | Field description |
|---|---|
| List |
| Button | Button description |
|---|---|
| list | |
| : | Move the position of the selected list entry. |
| Action | |
| Close | The window is closed. |
Move documents
This window can be used to move documents and the associated document references. It makes sense to move files or folders using this function, because this is the only way to ensure that the document references are adjusted in ClassiX and thus point to the moved file.
About the function in general: The folder from which the files are to be moved and the folder which is the target folder are selected. All document references are then searched to see whether they contain references to a file in the source folder. If this is the case, the file is moved to the target folder and the document reference is adjusted with regard to the link.
| Field | Field description |
|---|---|
| Moving documents... ... from this folder | Source folder that originally contains the files. |
| ... to this folder | Destination folder to which the files are to be moved. |
| Global document references / Local document references | Global, local document references or both types are optional. At least one of the options is mandatory. |
| With subdirectories | The subdirectories of the selected source folder are also taken into account. The subfolders are created below the destination folder. |
| Button | Button description |
|---|---|
| Back button | Closes the window without starting to move files. |
| Move | Starts moving the documents. |
Related topics
Technical documentation
Pseudo class
fields
mlShortName (file name)
StructureByID("DOCUMENT_TYPE").mlShortName = Type
mlDescription (prose description)
Group with radio
settings =1 File directory for viewing via: "path+filename" SystemObject Call(Execute)
settings =2 CX database (copy processing from bprhisto...)
settings =3 Document server (server directory saved via the type (DOCUMENT_TYPE structure))
associations REL:MN to associations
DROPPABLE everything CX_EXPANDABLE Inherited: first test with CX_ITEM, wrap dropped objects
Document reference provider module
Module name
cxDocumentIndex.mod
classes
security
In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.
| Message | Parameters | Function | security |
|---|---|---|---|
| DOCUMENT_INDEX_CHANGED | Document reference object | Document reference was changed | |
| DOCUMENT_INDEX_CREATED | Document reference object | Document reference was created | |
| DOCUMENT_INDEX_DELETED | Document reference object | Document reference was deleted |
| Message | Parameters | Function | Receive module |
|---|---|---|---|
| EDIT_DOCUMENT_INDEX | NULL or document reference object | Call up input window for document references | Document reference editing app |
Document reference editing app
Module name
documentIndexEdit.app
classes
security
In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.
| Message | Parameters | Function | security |
|---|---|---|---|
| DOCUMENT_INDEX_CHANGED | Document reference object | Document reference was changed | |
| DOCUMENT_INDEX_CREATED | Document reference object | Document reference was created | |
| DOCUMENT_INDEX_DELETED | Document reference object | Document reference was deleted | |
| EDIT_DOCUMENT_INDEX | NULL or document reference object | Call up input window for document references |
| Message | Parameters | Function | Receive module |
|---|---|---|---|
| DOCUMENT_INDEX_CHANGED | Document reference object | Document reference was changed | |
| DOCUMENT_INDEX_CREATED | Document reference object | Document reference was created | |
| DOCUMENT_INDEX_DELETED | Document reference object | Document reference was deleted | |
| EDIT_DOCUMENT_INDEX | NULL or document reference object | Call up input window for document references | Document reference editing app |
| LIST_DOCUMENT_INDEX | Call up list window for document references | Document reference list app | |
| SHOW_PREVIEW | widget | Print preview | Print preview |
Document reference list app
Module name
documentIndexList.app
classes
security
In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.
| Message | Parameters | Function | security |
|---|---|---|---|
| DOCUMENT_INDEX_CHANGED | Document reference object | Document reference was changed | |
| DOCUMENT_INDEX_CREATED | Document reference object | Document reference was created | |
| DOCUMENT_INDEX_DELETED | Document reference object | Document reference was deleted | |
| LIST_DOCUMENT_INDEX | Collection document reference objects or NULL | Call up list window for document references |
| Message | Parameters | Function | Receive module |
|---|---|---|---|
| EDIT_DOCUMENT_INDEX | NULL or document reference object | Call up input window for document references | Document reference editing app |
Document reference selection app
Module name
documentIndexSelect.app
classes
security
In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.
| Message | Parameters | Function | security |
|---|---|---|---|
| DOCUMENT_INDEX_CHANGED | Document reference object | Document reference was changed | |
| DOCUMENT_INDEX_CREATED | Document reference object | Document reference was created | |
| DOCUMENT_INDEX_DELETED | Document reference object | Document reference was deleted | |
| SELECT_DOCUMENT_INDEX | Collection document reference objects or NULL, recipient of the response | Call up selection window for document references |
| Message | Parameters | Function | Receive module |
|---|---|---|---|
| DOCUMENT_INDEX_SELECTED | Document reference object, receiver | Document reference was selected | |
| EDIT_DOCUMENT_INDEX | NULL or document reference object | Call up input window for document references | Document reference editing app |