Differences between revisions 3 and 4
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
 * Email addresses can not be converted (859 at IDP!!!):  1. * Email addresses can not be converted (859 at IDP!!!):
Line 55: Line 55:
update SubmittalRecipients, Users set recipientId = userId 
  where recipientId is null 
update SubmittalRecipients, Users set recipientId = userId
  where recipientId is null

DrawMGT - V11.6

Features

Description of end-user features, that we can explain to customers or put in our public web site.

Important New Features

  1. Transmittals recipients are DreawMGT users and named baskets
  2. Transmittals has all classification fields
  3. Vendor portal

Other Changes

Database Model Changes

Database Model Changes Associated With New Features

  1. Transmittals recipients are DrawMGT users and named baskets
    • Table SubmittalRecipients changed

      • Field userId renamed to recipientId

  2. Transmittals has all classification fields
    • Classification fields added to table Submittals

      • projectPhaseId
      • workCategoryId
      • documentTypeId
      • categoryId
      • locationId
      • workTypeId
      • siteClassification1Id
      • siteClassification2Id
      • siteClassification3Id
      • siteClassification4Id
  3. Vendor Portal
    • New tables:
      • GroupClassification

      • UploadedFiles

      • UploadedFileTypeRef

Other Database Model Changes

Migration Notes

  1. Transmittal email adresses should be converted to userId
    • Clean up duplicates:
    delete from s1 using SubmittalRecipients as s1, SubmittalRecipients as s2
      where s1.submittalRecipientId < s2.submittalRecipientId
      and s1.submittalId = s2.submittalId and s1.destination = s2.destination;
  2. * Email addresses can not be converted (859 at IDP!!!):
    select distinct replace ( substr( destination, instr( destination, '<' ) + 1 ), '>', '' )i
      from SubmittalRecipients i
      where replace ( substr( destination, instr( destination, '<' ) + 1 ), '>', '' ) i
            not in ( select email1 from Users )  order by 1;
    • The update:
    update SubmittalRecipients, Users set recipientId = userId
      where recipientId is null
      and replace ( substr( destination, instr( destination, '<' ) + 1 ), '>', '' ) = email1;

Development Notes

DrawMGT116 (last edited 2012-06-20 10:50:50 by 195)

Copyright 2008-2014, SoftXS GmbH, Switzerland