Excel Integration - Document Links
2011-07-29, ah
Introduction
This section describes a proposal for the Excel Integration user interface for handling links between planning documents and their background and review documents. This includes links to the following types of documents:
Technical and contractual Grundlagen documents
Stellungnahmen, Prüfberichte and Q-Eklärungen documents
The proposals listed here are for discussion and the details may be changed during the implementation.
Definitions
Planning document - A document defined in the Excel Integration planning spreadsheet
Grundlagen document - A technical or contractual Grundlagen document
Review document - A Stellungnahmen, Prüfberichte or Q-Eklärungen document
Target document - A document linked to a planning document. E.g. the Grundlagen and review documents listed above
Limitations of Excel Spreadsheet
Features that are different between the Excel and Web interface.
Possible:
- Create links to target documents, the link types will be restricted by the column in which the link appears. See the following sections
Display multiple links (for Grundlagen documents only). Multiple links will be displayed in cell comments
Not possible:
- Create or display link notes
Delete document links to Grundladen documents
- Delete document links to review documents. Changing a serial code will cause the existing link to be replaced. See below
Links to Grundlagen Documents
Links are document-to-document, and link the latest revision of the planning document to the latest revision of the Grundlagen document
Target documents are identified by their Document Codes (excluding the revision code)
- Link types depend on the spreadsheet column:
TGL - technische Grundlagen
VGL - vertragliche Grundlagen
- Link entry requires entering document code of the target document
- Multiple links are allowed. Adding another target document will add an additional link
- No checking of the target document is made except to check that it exists
Links to Review Documents
Links are revision-to-document, and link the specific revision of the planning document to the latest revision of the review document
Target documents are identified by their Serial Codes
- Link types depend on the spreadsheet column:
STN - Stellungnahme
PRB - Prüfbericht
QEK - Q-Erklärung
- Link creation/update requires the user to enter the serial code of the target document
- No checking of the target document is made except to check that it exists
Only one target document link for a review document can be created. If the serial code is changed and the link is saved, then the old target document link will be replaced by the new one (Is this OK? See assumptions below)
The serial code must be of the correct type for the spreadsheet column. E.g. the Stellungnahme column will only accept Stellungnahme serial codes. If the serial code is an incorrect type, then the link cannot be saved an error will occur
Assumptions: (for review/discussion)
- Only one link for a review document is possible
It is possible for Stellungnahmen, Prüfberichte and Q-Eklärungen to be in a different Bereich than the planning document to which it refers
Excel User Interface
Display and entry of document links will probably be implemented using a pop-up window.
Performance issues for display of linked documents: Choices:
- Displaying link information when reading documents from the server will be slow -- Try avoid doing this
Update server's document read transaction to include XML containing document and serial codes of all target documents (possibly containing a field filter based on the link type)
Document read transaction: include a list document codes of linked Grundlagen documents
Revision read transaction: include a list serial codes of linked review documents
Possible user interface:
- Clicking on a link column will cause a pop-up window to appear.
The behavior of the pop-up window will change based on whether the column is for a Grundlagen document link or a review document link.
Popup buttons:
Display link info:
Grundlagen documents - If there is only one target document, put document code in the cell, otherwise create a cell-comment containing all the document codes of the target documents
Review documents - Put the serial code of the target document in the cell. Question: How to handle display of multiple links (entered via the web interface)? Probably using cell comments, as described above.
Update link: Has a field for entering a document or serial code
Grundlagen documents - Create a new link from the document code
- Review documents - Replace the existing link with the serial code