Loading...
 

Document master

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.
      CX_DOCUMENT_INDEX.png

      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:

      CX_DOCUMENT_INDEX_sub.png

    • 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.
      CX_DOCUMENT_INDEX_LOCAL.png

      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.

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.
    CX_DOCUMENT_INDEX_PATTERN.png
    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).
  • 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 open.png. 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
Menu itemMenu description
Edit-
: Create new document referenceCreate new document reference
: Save document referenceThe changes in the open document reference are saved.
Delete document referenceThe open document reference is deleted without prompting.
Print document referencePrint 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 referenceA 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 referenceThe 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 referenceThe document reference can be assigned to a variant document reference.
Edit variant document reference-
: : Characteristics barThe attributes of the variant document reference can be defined here via the functional characteristics.
: : Replace conditional tables of single document referencesConditional 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-
: : InsertInsert search term
: : RemoveRemove selected search term
Features-
: : InsertInsert feature
: : EditEdit selected feature
: : RemoveRemove selected feature
OperationsOpens the operation window for the open object
: Notes Notes for the open object can be created and viewed here
: ValiditySet validity
CloseClose window
SearchCall up list window

toolbar
IconToolbar description
new.pngCreate new document reference
save.pngSave changes
delete.pngDelete document reference
CX_PRINTER.pngPrint document reference
CX_PROCEEDINGS.pngProcesses of the document reference
pin.pngpinned.pngCreate/edit notes
CX_VALIDITY.pngSet validity
copytoclipboard.pngCopy associations to the clipboard

Fields
FieldField description
Master data
Document info-
: : Document IDContains the UniqueID of the document reference
: : Document languageIn 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 termsInserted 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.
: : DescriptionDescriptive text of the document. This is transferred to the search terms when the document is created.
: : TypeThe 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")
: : VariantAssociated variant document reference for sub-document references
: Administration-
: : Entry dateDate on which the document directory object was created
: : Created byEmployee who created the document directory object
: : Cost centreCost centre to which the document belongs
: : LocationDescription of the location, e.g. if the document is a book at a specific storage location
: File location -
: : TypeSee file Location-Type
: : Document RAGThis 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 callDisplay of the Instantview code that is executed.
: : EditEdit the Instantview code.
Features
: : ListList 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 referencesIn 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 termsClassification of document references via the classification terms.
OLE document
OLE documentsEmbedded OLE document

Buttons
ButtonButton description
OLE document-
PreviewThe document is displayed in a preview window with the output of any existing document variables (Doc variables of a Word document)
PrintThe document is printed with the output of any existing document variables (Doc variables of a Word document)
UpdateThe values of any existing document variables (Doc variables of a Word document) are updated
Action-
: BackThe window closes without saving any changes. If you want to save the changes, you must press the "Save" button.
DeleteThe displayed document reference is deleted.
NewThe input window is cleared.
SaveChanges 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
Menu itemMenu description
Edit
Search-
: : Execute multiple searchExecute 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 listReset document reference list
: Create new document referenceCreate new document reference
Edit document referenceThe selected document reference is opened in the input window.
Delete document referenceOne or more selected document references are deleted without prompting.
Print document reference listThe printer selection window for the document reference list is opened
Move documentsEnables files to be moved from one directory to another. See
: Check all documentsCheck 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 clipboardCopy list of document references to the clipboard
CloseClose window
OptionsCall up options window

toolbar
IconToolbar description
CX_AMOUNT_calculation.pngExecute 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.
list_clear.pngReset document reference list
new.pngCreate new document reference
open.pngEdit document reference
delete.pngDelete document reference
CX_PRINTER_hardcopy.pngPrint document index list
copytoclipboard.pngCopy list of document references to the clipboard

Search fields
fieldField description
Search termSearch for search term
File name

Search by file name. You can also use wildcards for the search,
e.g. "*.doc" -> All file names with a .doc at the end

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.
TypeSearch by type
Variant document referencesRestrict search result to selected document reference types.
Single document references
Sub-document references
Local document references

Buttons
ButtonButton description
filter
SearchPerform 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 searchCall up advanced search
Action
Back toThe window is closed.
DeleteThe selected document reference is deleted.
NewAn empty input window is opened.
EditThe current document reference is displayed in the input window.

Selection window

This window is used to select document references.

Menu
Menu itemMenu description
Edit
Search-
: : Execute multiple searchExecute 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 listReset document reference list
CloseClose window
OptionsCall up options window

toolbar
IconToolbar description
CX_AMOUNT_calculation.pngExecute 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.
list_clear.pngReset document reference list

Search fields
fieldField description
Search termSearch for search term
File name

Search by file name. You can also use wildcards for the search,
e.g. "*.doc" -> All file names with a .doc at the end

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.
TypeSearch by type
Variant document referencesRestrict search result to selected document reference types.
Single document references
Sub-document references

Buttons
ButtonButton description
filter
SearchPerform 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 searchCall up advanced search
Action
Back toThe window is closed.
SelectConfirm selection

Options window

All settings for the search can be made here. The window can only be closed using the "OK" button.

Menu
Menu itemMenu description
Edit-
: Set default settingsAll changed settings are reset to default

fields
FieldField description
List options
Search options-
: : Immediate transfer in case of a hitIf only one document reference is found during a search, it is opened in the input window
: : Empty list before new searchThe list is emptied before each new search
: : General searchNormal search
(Use search terms from the document reference itself)
: : Advanced searchSo-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 referencesRestrict search result to selected document reference types.
: : : Single document references
: : : Sub-document references
: : : Local document references
: ValidityValidity
: : With exchange objectAlso displays objects that replace objects in the invalid period
: : Without replacement objectDoes not display objects that replace objects in the invalid time period
: : Only valid objectsOnly valid objects are displayed.
: : All objectsAll objects are displayed - valid and invalid ones.
: Number of objectsDetermines the maximum number of objects displayed in the list during a search
: : All objectsAll objects are displayed.
: : Number of objectsA number can be defined for how many objects are to be displayed.
: : 100 objects100 objects are displayed.
Default settings
Global default settingsGlobal 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 settingsEach 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.

Buttons
ButtonButton description
Back buttonClose window
ApplyThe settings are saved and the window is closed.

Conditional document directory

Menu
Menu itemMenu description
Edit-
: Columns-
: : Insert columnsInsert new column
: : Edit columnsEdit selected column
: Entries-
: : Insert documentA new document directory can be selected via the selection mask and thus a new conditional entry can be created.
: : Remove documentThe selected entries are removed.
If several entries are selected, a confirmation prompt appears.
: : Duplicate entryThe 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 documentThe document directory reference is opened.
: : Open documentThe document behind the document directory reference is opened directly.
: : Convert conditional table into simple document directory referenceThe 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.

fields
FieldField description
List

Buttons
ButtonButton description
list
: up.pngdown.pngMove the position of the selected list entry.
Action
CloseThe 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.

Fields
FieldField description
Moving documents...
... from this folder
Source folder that originally contains the files.
... to this folderDestination folder to which the files are to be moved.
Global document references / Local document referencesGlobal, local document references or both types are optional. At least one of the options is mandatory.
With subdirectoriesThe subdirectories of the selected source folder are also taken into account. The subfolders are created below the destination folder.

Buttons
ButtonButton description
Back buttonCloses the window without starting to move files.
MoveStarts moving the documents.

Related topics


Technical documentation

Pseudo class

CX_DOCUMENT_INDEX::CX_ITEM

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

CX_DOCUMENT_INDEX

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.

Messages received
MessageParametersFunctionsecurity
DOCUMENT_INDEX_CHANGEDDocument reference objectDocument reference was changed
DOCUMENT_INDEX_CREATEDDocument reference objectDocument reference was created
DOCUMENT_INDEX_DELETEDDocument reference objectDocument reference was deleted

Messages sent
MessageParametersFunctionReceive module
EDIT_DOCUMENT_INDEXNULL or document reference objectCall up input window for document referencesDocument reference editing app

Document reference editing app

Module name

documentIndexEdit.app

classes

CX_DOCUMENT_INDEX

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.

Messages received
MessageParametersFunctionsecurity
DOCUMENT_INDEX_CHANGEDDocument reference objectDocument reference was changed
DOCUMENT_INDEX_CREATEDDocument reference objectDocument reference was created
DOCUMENT_INDEX_DELETEDDocument reference objectDocument reference was deleted
EDIT_DOCUMENT_INDEXNULL or document reference objectCall up input window for document references

Messages sent
MessageParametersFunctionReceive module
DOCUMENT_INDEX_CHANGEDDocument reference objectDocument reference was changed
DOCUMENT_INDEX_CREATEDDocument reference objectDocument reference was created
DOCUMENT_INDEX_DELETEDDocument reference objectDocument reference was deleted
EDIT_DOCUMENT_INDEXNULL or document reference objectCall up input window for document referencesDocument reference editing app
LIST_DOCUMENT_INDEX Call up list window for document referencesDocument reference list app
SHOW_PREVIEWwidgetPrint previewPrint preview

Document reference list app

Module name

documentIndexList.app

classes

CX_DOCUMENT_INDEX

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.

Messages received
MessageParametersFunctionsecurity
DOCUMENT_INDEX_CHANGEDDocument reference objectDocument reference was changed
DOCUMENT_INDEX_CREATEDDocument reference objectDocument reference was created
DOCUMENT_INDEX_DELETEDDocument reference objectDocument reference was deleted
LIST_DOCUMENT_INDEXCollection document reference objects or NULLCall up list window for document references

Messages sent
MessageParametersFunctionReceive module
EDIT_DOCUMENT_INDEXNULL or document reference objectCall up input window for document referencesDocument reference editing app

Document reference selection app

Module name

documentIndexSelect.app

classes

CX_DOCUMENT_INDEX

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.

Messages received
MessageParametersFunctionsecurity
DOCUMENT_INDEX_CHANGEDDocument reference objectDocument reference was changed
DOCUMENT_INDEX_CREATEDDocument reference objectDocument reference was created
DOCUMENT_INDEX_DELETEDDocument reference objectDocument reference was deleted
SELECT_DOCUMENT_INDEXCollection document reference objects or NULL, recipient of the responseCall up selection window for document references

Messages sent
MessageParametersFunctionReceive module
DOCUMENT_INDEX_SELECTEDDocument reference object, receiverDocument reference was selected
EDIT_DOCUMENT_INDEXNULL or document reference objectCall up input window for document referencesDocument reference editing app

Operational business