Differences between revisions 8 and 9
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
 || '''Name''' || '''Description''' || '''Email''' || '''Phone''' ||  ||<rowbgcolor="#cddeee"> '''Name''' || '''Description''' || '''Email''' || '''Phone''' ||
Line 58: Line 58:
 || '''Worksheet Name''' || '''NOK Description''' || '''DrawMGT Table''' || '''Notes''' ||  ||<rowbgcolor="#cddeee"> '''Worksheet Name''' || '''NOK Description''' || '''DrawMGT Table''' || '''Notes''' ||
Line 60: Line 60:
 || Ref-aa  || Bereich || !ContractRef || ||  || Ref-aaa || Bereich || !ContractRef || ||
Line 63: Line 63:
 || Ref-dd || Dokumententyp || ? || Keep separate from !DocumentTypeRef ||
 || Ref-eee || Objekt || !LocationRef || ||
 || Ref-fff || Kontakt || !SiteC
lassification2Ref || ||
 || Ref-ggg || ? || !SiteClassification1Ref || OBSOLETE? ||
 || Fachgebiet || ? || !WorkCategoryRef || OBSOLETE? ||
 || Ref-ddd || Objekt || !LocationRef || ||
 || Ref-eee || Kontakt || !SiteClassification2Ref || ||
 || Ref-ff
|| Dokumententyp || ? || Keep separate from !DocumentTypeRef ||
 ||<-4> Obsolete/Unused fields ||
 || Ref-gg  || ? || !SiteClassification1Ref || ||
 || Fachgebiet || ? || !WorkCategoryRef || ||
Line 69: Line 70:
 || Taetigkeit || ? || !WorkTypeRef || OBSOLETE? ||
 
 || Taetigkeit || ? || !WorkTypeRef || ||
Line 77: Line 78:
Note: NOK calls the drawing code a '''Indextyp''' Note: NOK calls the drawing code '''Indextyp'''
Line 81: Line 82:
 ||<-14> '''Document Code''' || - ||<-2> '''Revision Code''' || '''File Extension''' ||
 || aa || - || b || cc || - || dd || - || eee || - || fff || _ || #### || _ || XXXX || - || v || ## || .yyy ||
 ||<-15 rowbgcolor="#cddeee">  '''Document Code''' || - ||<-2> '''Revision Code''' || '''File Extension''' ||
 || aaa || - || b || - || cc || - || ddd || - || eee || - || ff || _ || #### || - || XXX || - || v || ## || .yyy ||
Line 86: Line 87:
 || '''Part''' || '''Description''' ||
 || aa || Bereich ||
 || - || ||
 || b || Projektphase ||
 || cc || Fachbereich ||
 || - || ||
 || dd || Dokumententyp ||
 || - || ||
 || eee || Objekt ||
 || - || ||
 || fff || Kontakt ||
 || _ || ||
 || #### || Sequence number (drawingNo) ||
 || _ || Only appears if XXXX contains data ||
 || XXXX || Free alphanumeric characters (1-4 characters, optional) ||
 || - || ||
 || v || ||
 ||<rowbgcolor="#cddeee"> '''Part''' || '''Description''' ||
 || aaa || Bereich ||
 || b || Projektphase ||
 || cc || Fachbereich ||
 || fff || Objekt ||
 || eee || Kontakt ||
 || #### || Sequence number (drawingNo) ||
 || XXX || Free alphanumeric characters (1-3 characters, optional) ||
 || - || ||
 || v || Constant ||
Line 104: Line 98:
 || .yyy || File name extension ||  || .yyy || File name extension          ||

NOK Configuration for the Linthal 2015 Project

Note:

  1. NOK is being renamed as Axpo

  2. Axpo Informatic will host our server. They seem to be quite independent of NOK and the Linthal project

  3. This page describes a configuration method for the Linthal project, which could become a model
    • for configuring other project too.

Terminology

  1. Zust. = Approval (Zustimmung)
  2. Indextyp = Document code type

Contact Names

Main address:

  • Axpo AG - Hydroenergie, Parkstrasse 23, CH-5401 Baden
  • +41-56-200-4483

Contacts:

Input Data from NOK

See the files attached to this page

  1. 2009.10.19 DrawMGT PSW Limmern Struktur v01.xls -- Master configuration file for classifications

    • Worksheet Indextyp -- describe drawing code format and file names
    • Worksheet Attribute PSW Limmern -- list of all the classification and other reference data
  2. 2009.10.19 DrawMGT Indextyp-Attribute v01.xlsx -- List of document code types and their components

  3. 2009.10.19 DrawMGT Doktypen-Prozesstyp v01.xlsx -- List of (project) document types and their

    • corresponding document code types and workflow types. Note that we will implement the project document type as a classification field, and separate from the documentTypeId.
  4. 2009.10.19 DrawMGT Prozesstypen Tabelle v01.xlsx -- List of desired workflows

Note that that attribute lists in the file 2009.10.19 DrawMGT PSW Limmern Struktur v01.xls generally have a set of code letters. E.g. Bereich has code aa. These same codes also appear in the document code definition and the names of the .txt and .sql files (see below).

Project to DrawMGT Configuration Mapping

This section describes how the mapping from the NOK spreadsheet 2009.10.19 DrawMGT PSW Limmern Struktur v01.xls and the DrawMGT database tables.

  • Worksheet Name

    NOK Description

    DrawMGT Table

    Notes

    Groups

    Workgroups

    Groups

    Ref-aaa

    Bereich

    ContractRef

    Ref-b

    Projektphase

    ProjectPhaseRef

    Ref-cc

    Fachbereich

    CategoryRef

    Ref-ddd

    Objekt

    LocationRef

    Ref-eee

    Kontakt

    SiteClassification2Ref

    Ref-ff

    Dokumententyp

    ?

    Keep separate from DocumentTypeRef

    Obsolete/Unused fields

    Ref-gg

    ?

    SiteClassification1Ref

    Fachgebiet

    ?

    WorkCategoryRef

    Lage

    Lage

    AlignmentRef

    Taetigkeit

    ?

    WorkTypeRef

NOK DOcument Coding System

Drawing and Revision Code Format

Note: NOK calls the drawing code Indextyp

Drawing Code

  • Document Code

    -

    Revision Code

    File Extension

    aaa

    -

    b

    -

    cc

    -

    ddd

    -

    eee

    -

    ff

    _

    ####

    -

    XXX

    -

    v

    ##

    .yyy

Component Description

  • Part

    Description

    aaa

    Bereich

    b

    Projektphase

    cc

    Fachbereich

    fff

    Objekt

    eee

    Kontakt

    ####

    Sequence number (drawingNo)

    XXX

    Free alphanumeric characters (1-3 characters, optional)

    -

    v

    Constant

    ##

    Revision number (revisionNo)

    .yyy

    File name extension

Generated SQL Configuration Files

The NOK configuration information lives in the drawmgt-cfg configuration tree:

  • cfg/linthal/site/data

Most of the configuration is generated from an Excel file:

  • linthal-configuration.xls

The initial worksheet called Overview lists the mappings from the NOK attribute lists to their corresponding DrawMGT classification tables. Note that DrawMGT V11.3 has four extra classification tables SiteClassification1-4.

The generation is perform by saving each separate worksheet in the Excel file, in tab-separated format, into a file of the same in the data directory.

  • E.g. Save the ContractRef worksheet as ContractRef.txt

  • Save the other worksheets too

Then run a script to generate SQL files:

  • generateRefData.sh

This script reads the .txt files and outputs .sql files

Then load the SQL into the database:

  mysql -u... -p...
    create database linthal113dev;
    use linthal113dev;

    source app/schema/drawmgt-schema.sql
    source app/schema/data/refdata.sql

    source cfg/linthal/site/data/linthal-configuration.sql

    quit

Run genMeta.pl

NokConfiguration (last edited 2009-11-03 13:01:22 by softxs)

Copyright 2008, SoftXS GmbH, Switzerland