Database Schema Revision History

This topic contains the list of changes to the database schema file since Archibus 11 Revision 1. This information is provided for the benefit of users with customized database schema so they can see if they need to migrate any changes from the released schema to their own schema. For instance, you need to include the BOMA 96 enumeration changes if you work with the BOMA 96 calculations.

New versions of the Archibus database schema are generally backward-compatible with previous schema formats.

Since database schema versions can run with different releases of the Archibus program, databases are tagged with an "Archibus Database Version" number. View your Archibus database version by loading the System / Archibus Administrator - User and Security / View Database Revision Number task.

See also: Upgrade Notes .

This topic has the database schema revision histories for these databases:

Version 2024.04 Database Schema Revision History

The /webapp/projects/users/public/dt/v2024.04.001/deployment-scripts/generatePassword/generate-password.duw makes these updates:

  • AD-18334 : Added deployment script to generate random passwords for sample users in demo environments.

The /webapp/projects/users/public/dt/v2024.04.001/schema/app-space/update-schema.duw makes these updates:

  • AD-19040, AD-19381 : Add new field rm_team.days_in_office to log the week days when the team occupies the room

The /webapp/projects/users/public/dt/v2024.04.001/schema/app-workplace/update-schema.duw makes these updates:

  • AD-18981 : Add AbSpaceHotelling-HotellingService wfr to support workplace app

The /webapp/projects/users/public/dt/v2024.04.001/schema/system/update-schema.duw makes these updates:

  • AD-19398 : Limit access to AbSystemAdministration-getWorkflowRuleRecord(s) workflow rules to "SYSTEM MGR" group

  • AD-19398 : Add VPA restriction on afm_wf_rules table for role GUEST

  • AD-18144 : Make all lat/lon fields precision 8.

  • AD-19274 : Alter afm_connector for column ftp_password to increase the size from 64 to 128.

The /webapp/projects/users/public/dt/finalize-db.duw makes these updates:

  • AD-19390 : Ensure reserve.rm_calendar_item_id remains case sensitive for compatibility with MS Exchange.

Version 2024.03 Database Schema Revision History

The /webapp/projects/users/public/dt/v2024.03.001/schema/system/update-schema.duw makes these updates:

  • AD-10082: Add field pkey_value in afm_data_event_log table

The /webapp/projects/users/public/dt/v2024.03.001/schema/workplace/update-schema.duw makes these updates:

  • AD-18523: replace the Archibus Light Logo with the endorsed logo

The /webapp/projects/users/public/dt/v2024.03.002/schema/workplace/update-schema.duw makes these updates:

  • AD-18136 Workplace : Service Desk Manager: Getting application error while adding a new question: change dflt_val to null for questions.quest_text

Version 2024.02 Database Schema Revision History

The /webapp/projects/users/public/dt/v2024.02.001/schema-template/system/update-schema-template.duw makes these updates:

  • AD-17456 : disable GUEST login by default

  • AD-9062 : fix typos in the DataChangeEventTablesToLog activity parameter

The /webapp/projects/users/public/dt/v2024.02.001/schema/assets/update-schema.duw makes these updates:

  • AD-17127 : Increase size for field eq_rm.bl_fl_rm

  • Reload data dictionary

The /webapp/projects/users/public/dt/v2024.02.001/schema/bim-viewer/update-schema.duw makes these updates:

  • AD-17865 : add afm_dwgs.phase

The /webapp/projects/users/public/dt/v2024.02.001/schema/project/update-schema.duw makes these updates:

  • AD-13237 : Add wfr for project management

The /webapp/projects/users/public/dt/v2024.02.001/schema/reservations/update-schema.duw makes these updates:

  • AD-17902: add WFR for Room Finder used by Outlook Web Add-in

The /webapp/projects/users/public/dt/v2024.02.001/schema/system/update-schema.duw makes these updates:

  • AD-17251 : Restore missing foreign key indexes, Oracle only

  • AD-17461 : remove basic rule wizard

  • AD-17761 : Integration with Eptura Visitor - Add Map External Locations task to Navigator

  • AD-17484 : Remove the columns sql_uid and sql_pwd from afm_roles and afm_users

The /webapp/projects/users/public/dt/v2024.02.001/schema/workplace/update-schema.duw makes these updates:

* AD-17352 : Integration with Eptura Visitor - new table, workflow rule and activity parameters.

Version 2024.01 Database Schema Revision History

The /webapp/projects/users/public/dt/v2024.01.001/sample-data/solutions/update-sample-data.duw makes these updates:

  • AD-16336 : Remove corrupted sample data, and re-import the correct dataset

The /webapp/projects/users/public/dt/v2024.01.001/schema-template/system/update-schema-template.duw makes these updates:

  • AD-16266 : New security group assignment gives access to the "Apply standards to model" feature in the BIM Viewer

The /webapp/projects/users/public/dt/v2024.01.001/schema/ab-repm/update-schema.duw makes these updates:

  • AD-15548 : Add user mandatory fields for lease template

The /webapp/projects/users/public/dt/v2024.01.001/schema/activity_params/update-schema.duw makes these updates:

  • AD-16739 : Add activity parameter to turn on/off prevention of CSV formula injection feature

The /webapp/projects/users/public/dt/v2024.01.001/schema/system/update-schema.duw makes these updates:

  • AD-16305 : Set AbSystemAdministration-EnableCloudPublishing application parameter to "1" by default as it covers both usecases

  • AD-16266 : Classify Assets POC - Show "Apply standards to model" icon only for users with new security group

The /webapp/projects/users/public/dt/v2024.01.001/schema/workplace/update-schema.duw makes these updates:

  • AD-16693 : Set AbEssentialFacility-WorkplaceTitle application parameter to "None" by default

Version 2023.04 Database Schema Revision History

The /webapp/projects/users/public/dt/v2023.04.001/sample-data/update-sample-data.duw makes these updates:

  • Advance sample data dates (AD-15510)

The /webapp/projects/users/public/dt/v2023.04.001/schema/app-reservations/update-schema.duw makes these updates:

  • Rename task for task_file ab-reservations-rm-gcal-map.axvw (AD-14718)

The / webapp/projects/users/public/dt/v2023.04.001/schema/system/update-schema.duw makes these updates:

  • Change maximum value for afm-flds.precision (AD-15504)

  • New field afm_bim_params.asset_attribute_std allows mapping Revit parameters to custom attributes (AD-15995)

The / webapp/projects/users/public/dt/v2023.04.001/translation

  • Load translation of strings, except for Japanese

Version 2023.03 Database Schema Revision History

For details on the exact changes for the V.2023.03 database, see the following files:

Sample Data

The /webapp/projects/users/public/dt/v2023.03.002/sample-data/update-sample-data.duw makes these updates:

  • AD-12596 : Correct purchase orders sample data.

  • AD-12719 : New IoT Space Utilization sample data from Vergesense sensors

  • AD-15201 : Import cataloged desks for building MC10 - floor 01

Application Parameters

The /webapp/projects/users/public/dt/v2023.02.003/schema/activity_params/update-schema.duw makes these updates:

  • AD-13511 : Update activity parameter values to avoid duplicate values

  • AD-13712 : Add activity parameter with bl mapping on Vergesense

Reservations

The /webapp/projects/users/public/dt/v2023.03.001/schema/app-reservations/update-schema.duw makes these updates:

  • AD-14098 : Add workflow rule for Google calendar event synchronization

The /webapp/projects/users/public/dt/v2023.03.002/schema/app-reservations/update-schema.duw makes these updates:

  • AD-14573 : Add workflow rule for Google calendar event synchronization completion state

Maintenance

The /webapp/projects/users/public/dt/v2023.03.002/schema/bldgops/update-schema.duw makes these updates:

  • AD-14504 : Macros in verification cancellation emails are replaced with actual values

Navigator

The /webapp/projects/users/public/dt/v2023.03.001/schema/system/update-schema.duw makes these updates:

  • AD-14025 : Add task Map BIM Parameters to Fields to System Administration - CAD and BIM Manager process

  • AD-14097 : Add task Define Assets Attribute Standards to Non-SaaS Assets Module (AbAssetAM)

System

The /webapp/projects/users/public/dt/v2023.03.001/schema/system/update-schema.duw makes these updates:

  • AD-12532 : Re-create SQL views.

The /webapp/projects/users/public/dt/v2023.03.002/schema/system/update-schema.duw makes these updates:

  • AD-14819 : Restrict access to notifications log by default

Workplace

The /webapp/projects/users/public/dt/v2023.03.001/schema/workplace/update-schema.duw makes these updates:

  • AD-13115 : Add activity parameters for the Wayfinding URLs

Localization

Work is in progress on Japanese and Chinese translations, and we expect them to be available in a patch.

Version 2023.02 Database Schema Revision History

For details on the exact changes for the V.2023.02 database, see the following files:

Sample Data

The /webapp/projects/users/public/dt/v2023.02.001/sample-data/workplace/update-sample-data.duw makes these updates:

  • AD-13059 : reverse some onsite sample dates to make more sense relative to DateSampleDatesLastUpdated

The /webapp/projects/users/public/dt/v2023.02.001/sample-data/assets/update-sample-data.duw makes these updates:

  • AD-12943 : Add sample asset families from Revit Families

  • AD-12943 : Add sample asset standard attributes

The /webapp/projects/users/public/dt/v2023.02.001/sample-data/bldgops/update-sample-data.duw makes these updates:

  • *AD-13058 : reverse some bldgops sample dates to make more sense relative to DateSampleDatesLastUpdated

The /webapp/projects/users/public/dt/v2023.02.001/sample-data/onsite/update-sample-data.duw makes these updates:

  • AD-12791 : reverse some onsite sample dates to make more sense relative to DateSampleDatesLastUpdated

  • ${import.file('%publicDataTransferDirectory%\v2023.02.001\sample-data\onsite\ad_12791_wrcf.csv')};

The /webapp/projects/users/public/dt/v2023.02.001/sample-data/system/update-sample-data.duw makes these updates:

  • AD-12791 : advance sample data dates

The /webapp/projects/users/public/dt/v2023.02.002/sample-data/system/update-sample-data.duw makes these updates:

  • AD-13452 : 10 team start dates are still in the future.

The /webapp/projects/users/public/dt/v2023.02.002/sample-data/assets/update-sample-data.duw makes these updates:

  • AD-13320 : Add sample data for eqstd attributes

The /webapp/projects/users/public/dt/v2023.01.003/sample-data/update-sample-data.duw makes these updates:

  • AD-12603 : fix onsite sample data dates

  • AD-12708 : Roll-back changes to IoT space data

  • AD-12690 : roll back additional dates for OnSite demonstrations.

Application Parameters

The /webapp/projects/users/public/dt/v2023.02.002/schema/activity_params/update-schema.duw makes these updates:

  • AD-13510 : Add activity parameters for OnSite mobile data input

  • AD-13511 : Add activity parameters for OnSite config

  • AD-13512 : Add activity parameters for OnSite config

Reservations

The / webapp/projects/users/public/dt/v2023.02.001/schema/app-reservations/update-schema.duw makes these updates:

  • AD-12335 : new activity params to support external meeting requestors in Exchange

  • AD-12440 : new customizable warning message for the Outlook Plugin

  • AD-13451 : add task and workflow rule for google calendar integration

Space

The /webapp/projects/users/public/dt/v2023.02.001/schema/app-space/update-schema.duw makes these updates:

  • AD-13126 : add new fields to iot_space_util

Assets

The /webapp/projects/users/public/dt/v2023.02.001/schema/assets/update-schema.duw makes these updates:

  • AD-12912 : Add Define Asset Standards task to Cloud Assets navigator

  • AD-12941 : Add Asset Families form to the Navigator

OnSite

The /webapp/projects/users/public/dt/v2023.02.001/schema/onsite/update-schema.duw makes these updates:

  • AD-12692 : support configuration of timers for OnSite

Solutions

The /webapp/projects/users/public/dt/v2023.02.001/schema/solutions/update-schema.du w makes these updates:

  • AD-12561 : Change title for table iot_space_util

  • AD-7901 : Set Archibus Type to None for field bms_analysis_id in table bms_analysis_config

  • AD-13303 : Add new application AbIntegrationIoT, used for licensing the integration with Vergesense

System

The /webapp/projects/users/public/dt/v2023.02.001/schema/system/update-schema.duw makes these updates:

  • AD-12496 : make all lat/lon fields precision 16.

  • AD-12866 : remove edit security group from wr_sync.step_user_name

Version 2023.01 Database Schema Revision History

For details on the exact changes for the V.2023.01 database, see the following files:

Sample Data

The /webapp/projects/users/public/dt/v2023.01.002/sample-data/app-common/update-sample-data.duw makes these updates:

  • AD-12535: De-activate all metrics on sample database to avoid collecting un-needed values

  • AD-12535: Delete metric values that are not sample data and affect home pages

The /webapp/projects/users/public/dt/v2023.01.002/sample-data/app-eam/update-sample-data.duw makes these updates:

  • AD-12351: Populate site_id for equipment in buildings MC10, NB with missing site_id value

The /webapp/projects/users/public/dt/v2023.01.001/sample-data/healthcare/update-sample-data.duw makes these updates:

  • AD-11346 : Archibus Healthcare v1 sample data

The /webapp/projects/users/public/dt/v2023.01.002/sample-data/onsite/update-sample-data.duw makes these updates:

  • ON-1730 : OnSite sample data work logs should set is_work_log = 1

  • AD-12332 : OnSite. Add Checklist sample data for demo

The /webapp/projects/users/public/dt/v2023.01.002/sample-data/system/update-sample-data.duw makes these updates:

  • AD-12320 : Advance sample data dates

Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/v2023.01.002/schema-template/update-schema-template.duw makes these updates:

  • AD-12514 : Remove trailing characters from cost category

  • AD-12401 : Decrease max document size for building photos

The / webapp/projects/users/public/dt/v2023.01.001/schema-template/onsite/update-schema-template.duw makes these updates:

  • AD-11714: Revert previous activity parameter value of AbCommonResources-MobileSyncDataChangesOnlyTables

  • AD-11857 : Delete the application parameter from the database AbOnSiteMobile-MaxRequestsToDownloadForOfflineUse

The /webapp/projects/users/public/dt/v2023.01.001/schema-template/system/update-schema-template.duw makes these updates:

  • AD-11704 : Remove solutions activities from schema database

OnSite

The /webapp/projects/users/public/dt/v2023.01.001/deployment-scripts/onsite/onsite-deployment.duw makes these updates:

  • AD-7317 : Add deployment scripts for OnSite to copy note from wr/hwr to helpdesk step log

The /webapp/projects/users/public/dt/v2023.01.002/deployment-scripts/onsite/onsite-deployment.duw makes these updates:

  • AD-7317 : Add deployment scripts for OnSite to copy note from wr/hwr to helpdesk step log

The /webapp/projects/users/public/dt/v2023.01.001/schema/onsite/update-schema.duw makes these updates:

  • AD-11714 : Add new OnSite activity parameter AbOnSiteMobile-OnSiteSyncDataChangesOnlyTables

  • AD-12106 : Add new Offline Support application parameters for conflict resolution

The /webapp/projects/users/public/dt/v2023.01.002/schema/onsite/update-schema.duw makes these updates:

  • AD-12333 : Remove MaxRequestsToDownloadForOfflineUse application parameter

  • AD-12540 : Fix meaning of 1 and 0 in description of OfflineSyncActiveWR% parameters.

Assets

The /webapp/projects/users/public/dt/v2023.01.001/schema/app-eam/update-schema.duw makes these updates:

  • AD-12031 : Increase size for asset attributes fields

  • AD-11719 : New asset tables

  • AD-11945 : Updates to assets hierarchy, import asset classes, migrate BIM Families into the new Asset Families table

Real Estate

The /webapp/projects/users/public/dt/v2023.01.001/schema/app-repm/update-schema.duw makes these updates:

  • AD-7648 Add group for lease delete

Space

The /webapp/projects/users/public/dt/v2023.01.002/schema/app-space/update-schema.duw makes these updates:

  • AD-12131 Vergesense API collect data WFR

Workplace

The /webapp/projects/users/public/dt/v2023.01.001/schema/workplace/update-schema.duw makes these updates:

  • AD-11848 : Show building name on calendar cards

  • AD-11992 : New Wayfinding application

Healthcare

The /webapp/projects/users/public/dt/v2023.01.001/schema/healthcare/update-schema.duw makes these updates:

  • AD-11346 : ARCHIBUS Healthcare v1

System

The /webapp/projects/users/public/dt/v2023.01.002/schema/pnav/update-schema.duw makes these updates:

  • AD-12349 : remove livecycle pdf examples due to product end of life

The /webapp/projects/users/public/dt/v2023.01.002/schema/sys-admin/update-schema.duw makes these updates:

  • * AD-11114 : Add workflow rule for parsing AXVW file restriction

The /webapp/projects/users/public/dt/v2023.01.001/schema/system/update-schema.duw makes these updates:

  • AD-12035 : update Title for Navigator tables that are used only by Archibus Client/Server

Localization

The /webapp/projects/users/public/dt/v2023.01.001/translation/ update-schema.duw makes these updates:

  • Double-byte databases now only update translations for double-byte languages. The alllangs folder is available to import translations for all languages.

Version 2022.04 Database Schema Revision History

For details on the exact changes for the V.2022.04 database, see the following files:

Sample Data

The /webapp/projects/users/public/dt/v2022.04.002/sample-data/app-bim-viewer/update-sample-data.duw makes these updates:

  • AD-9736 : Import BIM Viewer sample data

The /webapp/projects/users/public/dt/v2022.04.002/sample-data/workplace-team/update-sample-data.duw makes these updates:

  • AD-10613 : Add afm% users to a team

Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/v2022.04.002/schema-template/onsite/update-schema.duw makes these updates:

  • AD-11179 : Remove “none;eqstd” entry to the parameter value of AbOnSiteMobile-GroupByOptions.

Solution Sample Views

The /webapp/projects/users/public/dt/v2022.04.002/schema/app-solutions/update-schema.duw makes these updates:

  • AD-11200 : Add source fields to the iot_space_util table to support additional IoT integrations

OnSite

The /webapp/projects/users/public/dt/v2022.04.001/schema/onsite/update-schema.duw makes these updates:

  • AD-10429 : Add per-org Offline Support Application parameters to schema.

  • AD-11010 : Update table list in the parameter value of AbCommonResources-MobileSyncDataChangesOnlyTables for OnSite offline data sync.

  • AD-10210 : Add a “none” entry to the parameter value of AbOnSiteMobile-GroupByOptions.

System

The /webapp/projects/users/public/dt/v2022.04.001/schema/system/update-schema.duw makes these updates:

  • AD-9566 : Add activity parameters for publishing CAD Lines

  • AD-10699 : Remove HQ-12 from list of Forge models

  • AD-10628 : Add activity parameters for Configure authentication method in Autodesk Cloud/BIM360 portal

The /webapp/projects/users/public/dt/v2022.04.002/schema/system/update-schema.duw makes these updates:

  • AD-11207 : Rename data event listeners with duplicate names.

Version 2022.03 Database Schema Revision History

For details on the exact changes for the V.2022.03 database, see the following files:

Sample Data

The /webapp/projects/users/public/dt/v2022.03.002/sample-data/update-sample-data.duw makes these updates:

  • AD-10410 : BIM Viewer - Import sample active work requests and equipment diagnostics

The /webapp/projects/users/public/dt/v2022.03.001/sample-data/app-bim-viewer/update-sample-data.duw makes these updates:

  • AD-9711: Update site code for equipment where site code is missing

The /webapp/projects/users/public/dt/v2022.03.001/sample-data/app-bldgops/update-sample-data.duw makes these updates:

  • *AD-9586: Update SERVICE DESK - DEPARTMENT SPACE SLA step from type 'review' to 'approval'

Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/v2022.03.001/schema-template/pnav/update-schema-template.duw makes these updates:

  • AD-9597 : remove BIRT views from navigator

Application Parameters

The /webapp/projects/users/public/dt/v2022.03.001/schema/activity-params/update-schema.duw makes these updates:

  • AD-9431 : added new application parameters for onsite mobile

  • AD-9518 : added new application parameter to support private meetings

Esri

The /webapp/projects/users/public/dt/v2022.03.001/schema/app-arcgis/update-schema.duw makes these updates:

  • AD-9973 : schema updates for Extensions for Esri

Maintenance (Building Operations)

The / webapp/projects/users/public/dt/v2022.03.001/schema/app-bldgops/update-schema.duw makes these updates:

  • AD-9648 : update status change push notification title message and drop field 'afm_notifications_log.wr_id'

  • AD-9558 : onsite per user configuration

  • AD-9806 : import scheduled workflow rule AbBldgOpsOnDemandWork-AutoDeleteOnSitePushNotifications

The /webapp/projects/users/public/dt/v2022.03.002/schema/app-bldgops/update-schema.duw makes these updates:

  • AD-8076 : Labor Scheduler - add application parameter to config MaxScheduledJobsPerPersonPerDay

  • AD-10335 : Forge Service Access - set the default url to the production forge microservice access

  • AD-10370 : Forge Viewer Access - add new application parameter for storing the Archibus BIM Customer Key

Reservations

The /webapp/projects/users/public/dt/v2022.03.001/schema/app-reservations/update-schema.duw makes these updates:

  • AD-9518 : new message to support private meetings

Solution Sample Views

The /webapp/projects/users/public/dt/v2022.03.001/schema/app-solutions/update-schema.duw makes these updates:

  • AD-9220 : add back the five AbSolutionsWorkflow workflow rules

Space

The /webapp/projects/users/public/dt/v2022.03.001/schema/app-space/update-schema.duw makes these updates:

  • AD-9978 : add a "RetainDrawingPublishedColors" application parameter

  • AD-9295 : Schema Changes to store PDF labels options - afm_dwg_label_size

OnSite

The /webapp/projects/users/public/dt/v2022.03.002/schema/onsite/update-schema.duw makes these updates:

  • AD-10266 : Remove Value '2' from two NotificationNewRequest parameters

The /webapp/projects/users/public/dt/v2022.03.001/schema/onsite/connect/update-schema.duw makes these updates:

  • AD-8253 : delete unused onsite connect staging table fields

Navigator

The / webapp/projects/users/public/dt/v2022.03.001/schema/pnav/update-schema.duw makes these updates:

  • AD-9646 : FloorViewPrint-01-1: add the view to PNAV tasks

  • AD-8480 : Manage Configurations for OnSite: add the view to PNAV tasks

The /webapp/projects/users/public/dt/v2022.03.002/schema/system/pnav/update-schema.duw makes these updates:

  • AD-10334 : BIM Viewer - Navigator - Adding task for cataloging BIM models

  • AD-10338: BIM Viewer - Navigator - Adding task for connecting BIM Viewer to Autodesk account

System

The /webapp/projects/users/public/dt/v2022.03.001/schema/system/update-schema.duw makes these updates:

  • AD-9668 : remove BIRT wfr

  • AD-8408 : Add default value for date_created field

  • AD-9582 : Modify afm_notifications_log and docs_assigned to store mail message and attachments

  • AD-10015 : Remove WFRs that reference DocumentHandlers Java class

  • AD-9669 : delete obsolete activity parameter EncryptWorkflowRuleParameters which is now always on

The /webapp/projects/users/public/dt/v2022.03.002/schema/system/update-schema.duw makes these updates:

  • AD-10400: Add new status values to enum_list of afm_notifications_log

  • AD-5442 : badge data import should not import duplicate entries

  • AD-3538 : set SYS-USRMGR edit group on all afm_users fields except transfer status.

Version 2022.02 Database Schema Revision History

For details on the exact changes for the V.2022.02 database, see the following files:

Localization

These files update the translation of new strings:

  • /webapp/projects/users/public/dt/v2022.02.002/translation/update-translation-doublebyte.duw

  • /webapp/projects/users/public/dt/v2022.02.002/translation/update-translation-singlebyte.duw

  • /webapp/projects/users/public/dt/v2022.02.002/translation/update-translation-template-doublebyte.duw

  • /webapp/projects/users/public/dt/v2022.02.002/translation/update-translation-template-singlebyte.duw

Sample Data

The /webapp/projects/users/public/dt/v2022.02.002/sample-data/bldgops/update-sample-data.duw makes these updates :

  • AD-8880 : Remove two problematic wr records

The /webapp/projects/users/public/dt/v2022.02.002/sample-data/forge-bim/update-sample-data.duw makes these updates :

  • AD-9257 : Forge Integration - sample enterprise graphics records

  • AD-9266 : Forge Integration - map some equipment in building NB to Revit model

The /webapp/projects/users/public/dt/v2022.02.001/sample-data/app-bldgops/update-sample-data.duw makes these updates :

  • AD-8782 : Create a better demo checklist for OnSite

The /webapp/projects/users/public/dt/v2022.02.002/sample-data/app-solutions/update-sample-data.duw makes these updates :

  • AD-9267 : Solutions - Import sample badge swipes data

  • AD-9271 : Solutions - Import sample IoT sensor data on space utilization

Schema - Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/v2022.02.001/schema-template/update-schema-template.duw makes these updates :

  • AD-8879 : Change default value of ShowEstimateInWrActions activity parameter.

The /webapp/projects/users/public/dt/v2022.02.002/schema-template/update-schema-template.duw makes these updates :

  • AD-8855 : Further reduce precision of some fields in oracle that are out of sync with afm_flds to bring them into alignment with afm_flds.

  • AD-8875 : By default, enable encryption of wfr parameters

Schema - Application Parameters

The /webapp/projects/users/public/dt/v2022.02.001/schema/activity-params/update-schema.duw makes these updates :

  • AD-8250 : update the description of AbEssentialFacility-UsingMobileApp

  • AD-8197 : update push notification parameters

  • AD-8248 : AbSpaceHotelling-AttachIcsToEmails

  • AD-8249 : AbWorkplaceReservations-PlugInHideButtons

  • AD-8946 : AbWorkplaceReservations-MeetingUrlPatterns

Schema - Maintenance and OnSite

The /webapp/projects/users/public/dt/v2022.02.001/schema/app-bldgops/update-schema.duw makes these updates :

  • AD-8812 : Show wr_id info in Activity for follow-up request

  • AD-8744 : Add OnSite push notification subscribe table, update existing afm_notifications_log table for OnSite

  • AD-8742 : Import OnSite push notification titles to message table

The /webapp/projects/users/public/dt/v2022.02.001/schema/app-bldgops/pm-planning/update-schema.duw makes these updates :

  • AD-8666 : Schema changes to store checklists to PM procedure steps

The /webapp/projects/users/public/dt/v2022.02.002/schema/bldgops/update-schema.duw makes these updates :

  • AD-8699 : Fix English spelling of activity parameter description.

The /webapp/projects/users/public/dt/v2022.02.001/schema/onsite/connect/update-schema.duw makes these updates :

  • AD-8246 : Fix connect_sla_priority connector to be run manually

The /webapp/projects/users/public/dt/v2022.02.002/schema/onsite/connect/update-schema.duw makes these updates :

  • AD-8855 : Fix connect_sla_priority staging table to remove auto-increment from database for priority_id

  • AD-8246 : connect_sla_priority should not import priority_id

Schema - Navigator

The /webapp/projects/users/public/dt/v2022.02.001/schema/app-essential-facility/update-schema.duw makes these updates :

  • AD-8251 : Add task Define Equipment Standards to Foundations under the process Background Data & Reports

The /webapp/projects/users/public/dt/v2022.02.001/schema/pnav/update-schema.duw makes these updates :

  • AD-8807 : Change all Workplace PNav entries to point only to Dashboard (no more Services Catalog as landing page) and delete 'My Dashboard' entries to remove duplicate Workplace tasks in same activity id + process id

  • AD-8786 : Add "Define Amenities for Hotelable Rooms" task to Cloud Reservations application, Develop Background Data process

  • AD-8845 : Add Navigator Tasks for Archibus BIM Viewer

The /webapp/projects/users/public/dt/v2022.02.002/schema/pnav/update-schema.duw makes these updates :

  • AD-9132 : Add two navigator menu tasks to process 'Partner Administrator - UserSec' to allow partner and client admins to have access to the Add or Edit User Roles and the Assign Security Groups to Roles tasks.

The /webapp/projects/users/public/dt/v2022.02.002/schema/pnav/update-schema.duw makes these updates :

  • AD-9132 : Add two navigator menu tasks to process 'Partner Administrator - UserSec' to allow partner and client admins to have access to the Add or Edit User Roles and the Assign Security Groups to Roles tasks.

  • AD-9291: Update Navigator for the process Forge Integration - Update Building Console task title and file

  • AD-9291: Import new tasks for the process Forge Integration

  • AD-9291: Activate the process Forge Integration

Schema - Mobile

The /webapp/projects/users/public/dt/v2022.02.001/schema/app-mobile/update-schema.duw makes these updates :

  • AD-8575 : Increase size of the log_message field

Schema - Workplace app and Workplace Services

The /webapp/projects/users/public/dt/v2022.02.001/schema/app-workplace/update-schema.duw makes these updates :

  • AD-8698 : Add WFR for Workplace Usage Analytics

The / webapp/projects/users/public/dt/v2022.02.001/schema/app-workplace-reservation/update-schema.duw makes these updates :

  • AD-6720 : Update wfr-rule schedule settings

The /webapp/projects/users/public/dt/v2022.02.002/schema/workplace/update-schema.duw makes these updates :

  • AD-8162 : Change report title from "Bookings & Reservations" to "Workplace Utilization"

Schema - System

The /webapp/projects/users/public/dt/v2022.02.001/schema/system/update-schema.duw makes these updates :

  • AD-8568 : Have a gender neutral option for the honorific field

  • AD-8809 : Increase the size of the message_text field.

The /webapp/projects/users/public/dt/v2022.02.002/schema/system/update-schema.duw makes these updates :

  • AD-9033 : BIM Viewer - importing new application, AbDigitalTwin used for licensing the BIM Viewer

  • AD-8855 : Add workflow rule to present data event logs

  • AD-8403 : CAD/BIM - Import Application Parameters for AutoCAD and Revit Publishing Preferences

  • AD-9256 : CAD/BIM : New task for configuring CAD publishing parameters

  • AD-9258 : CAD/IM : Integration with Autodesk Forge - New application parameter for authentication service URL

Version 2022.01 Database Schema Revision History

For details on the exact changes for the V.2022.01 database, see the following files:

Localization

These files update the translation of new strings:

  • /webapp/projects/users/public/dt/v2022.01.001/translation/update-translation-doublebyte.duw

  • /webapp/projects/users/public/dt/v2022.01.001/translation/update-translation-singlebyte.duw

Sample Data

The /webapp/projects/users/public/dt/v2022.01.001/sample-data/app-eam/update-sample-data.duw makes these updates:

  • AD-7973 : Correct sample equipment without status. All sample equipment must have a status.

The / webapp/projects/users/public/dt/v2022.01.001/sample-data/app-workplace/update-sample-data.duw makes these updates:

  • AD-8100 : Set back from 50% to 100% the Occupancy Target for the building NC05 - was incoherent with the floor capacity targets

The /webapp/projects/users/public/dt/v2022.01.001/sample-data/onsite/update-sample-data.duw makes these updates:

  • AD-7633 : Fix some conflict hours in wrcf records

  • AD-8013 : Add SLA data for OnSite testing

  • AD-8128 : Set WILL Technician's cf.cf_change_wr value to 1

The /webapp/projects/users/public/dt/v2022.01.001/sample-data/reports/update-sample-data.duw makes these updates:

  • AD-7453 : Sample Reports Central reports for BMS equipment diagnostics

The /webapp/projects/users/public/dt/v2022.01.001/sample-data/system/update-sample-data.duw makes these updates:

  • AD-8027 : Set units to imperial in HQ database

Schema - Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/v2022.01.001/schema-template/system/update-schema-template.duw makes these updates:

  • AD-7896 : assign edit security group to afm_connector and afm_conn_flds fields.

  • AD-7842 : assign edit security group to afm_roleprocs and afm_userprocs

The / webapp/projects/users/public/dt/v2022.01.001/schema-template/pnav/update-schema-template.duw makes these updates:

  • AD-7345 : Align applications home page for SaaS with navigator

Schema - Application Parameters

The / webapp/projects/users/public/dt/v2022.01.001/schema/app-reservations/update-schema.duw makes these updates:

  • AD-6442 : Add activity parameter for panel booking

The /webapp/projects/users/public/dt/v2022.01.001/schema/update-schema.duw makes these updates:

  • AD-6443 : Reservations - Activity parameter for panel bookings

The / webapp/projects/users/public/dt/v2022.01.001/schema/activity-params/update-schema.duw makes these updates:

  • AD-7986 : Create application parameter to enable WFR parameter encryption

  • AD-7345 : Add application parameters for push notifications feature

  • AD-7233 : Update application parameter to allow multiple bookings

Schema - Hoteling

The /webapp/projects/users/public/dt/v2022.01.001/schema/app-hoteling/update-schema.duw makes these updates:

  • AD-7547 : Hoteling - Move the email notifications texts for bookings into the messages table

  • AD-7721 : Hoteling - Add ptask for new report : Bookings and Reservations

Schema - Solutions

The /webapp/projects/users/public/dt/v2022.01.001/schema/app-solutions/update-schema.duw makes these updates:

  • AD-8014 : Temporarily, de-activate the Forge Integration for v2022.01

  • AD-6088 : Update task file name for View Equipment Diagnostics History to point to new file

  • AD-7385 : POC - BMS - Fix field definition for Cost Savings

Schema - Workplace

The / webapp/projects/users/public/dt/v2022.01.001/schema/app-workplace/update-schema.duw makes these updates:

  • AD-4480 : Workplace - External links for Service Requests

Schema - Maintenance

The / webapp/projects/users/public/dt/v2022.01.001/schema/bldgops/update-schema.duw makes these updates:

  • AD-7489, AD-7987 : WR Details : Display document name in the Activity section instead of file name

  • AD-7782 : Make "Estimate" action configurable.

Schema - OnSite

The /webapp/projects/users/public/dt/v2022.01.001/schema/onsite/connect/update-schema.duw makes these updates:

  • AD-7331 : Move connect background sync classes to com.archibus.connect package.

  • AD-7344, AD-7343, AD-7573, AD-7575, AD-7836, AD-7873 : Add gros, helpdesk_sla_priority, rmtype and rmcat to connect background sync. Remove UUID lookup for non-validated fields. Add missing uuid export for afm_enterprise_graphics. Add afm_last_uuid to track last used uuid per table.

  • AD-7835 : Set decimals on connect staging tables

  • AD-7869 : Set fields on staging tables to be nullable and have no default value, as deletions have to field values

  • AD-8030 : Do not sync curr_% location fields, and don't validate them in general.

  • AD-7873 : New afm_last_uuid table.

  • AD-8085 : Reconcile fields in export queries, connectors, and staging tables

Schema - System

The /webapp/projects/users/public/dt/v2022.01.001/schema/system/update-schema.duw makes these updates:

  • AD-7698 : Increase all file names to variable length and 255 characters

  • AD-7698 : Add FORGE filetype to enterprise graphics table

  • AD-7930 : Give afm_secure access to afm_password_token

  • AD-7895 : Cost per area should not have a "."

  • AD-6562 : Add indexes to rmpct for amenities search

Version 26.3 Database Schema Revision History

For details on the exact changes for the V.26.3 database, see the following files:

Localization

These files update the translation of new strings

/webapp/projects/users/public/dt/26.3.001/translation/update-translation-doublebyte.duw

/webapp/projects/users/public/dt/26.3.001/translation/update-translation-singlebyte.duw

/webapp/projects/users/public/dt/26.3.002/translation/update-translation-doublebyte.duw

/webapp/projects/users/public/dt/26.3.002/translation/update-translation-singlebyte.duw

/webapp/projects/users/public/dt/26.3.003/translation/update-translation-doublebyte.duw

/webapp/projects/users/public/dt/26.3.003/translation/update-translation-singlebyte.duw

Sample Data

The /webapp/projects/users/public/dt/26.3.003/sample-data/update-sample-data.duw makes these updates:

  • AD-7479 : Nullify newline-only cf_notes

  • AD-7507 : Add okta users for onsite demonstration to hq

  • AD-6260 : Add/modify the maintenance data to tell a story for OnSite

The / webapp/projects/users/public/dt/26.3.001/sample-data/clockworks/update-sample-data.duw makes these updates:

  • AD-6625: Add Clockworks BMS Sample Analysis Data

  • AD-6662: Add Clockworks BMS eq / eqstd classes/standards

  • AD-6629: Import new SLA for Clockwork Analyses and Building NC05

The /webapp/projects/users/public/dt/26.3.001/sample-data/maintenance/update-sample-data.duw makes these updates:

  • ON-267: OnSite Sample Data - consolidate priority label in work requests and SLAs

The /webapp/projects/users/public/dt/26.3.002/sample-data/maintenance/update-sample-data.duw makes these updates:

  • AD-7323 : Consolidate priority label in work requests and SLAs

The /webapp/projects/users/public/dt/26.3.001/sample-data/system/update-sample-data.duw makes these updates:

  • AD-6598 : Change AFM employee location

The /webapp/projects/users/public/dt/26.3.001/sample-data/reports/update-sample-data.duw makes these updates:

  • AD-6981 Sample reports

Schema - Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

The /webapp/projects/users/public/dt/26.3.001/schema-template/update-schema-template.duw makes these updates:

  • AD-6754 : Remove empty WEB process from AFM-MOD and processes table.

  • AD-6921 : Remove Edit Records Within the Grid task

  • AD-7191 : Remove activities from AFM-MOD's role to reduce activities to 13 so process navigator doesn't show domains.

  • AD-6906 : Reduce precision of some fields in Oracle that are out of sync with afm_flds and bring them into alignment with afm_flds; to allow the 2 decimal places as in MSSQL, and to avoid producing an error when altering activity_log. This is in schema-template as this may result in data loss and so should not be run without consideration against existing production databases. It will be applied to release databases going forward. This is done with raw DDL as alter.table will fail to update it with an error in:

  • ORA-01440: Column to be modified must be empty to decrease precision or scale. The previous size and decimals for the field in the database were the default in Oracle for the number data type, which varies per version of Oracle.

Schema - Application Parameters

The /webapp/projects/users/public/dt/26.3.001/schema/activity-params/update-schema.duw makes these updates:

  • AD-6741 : Update description for AllowOverbooking and OccupancyThreshold% parameters

  • AD-6631 : Enable/Disable Clockworks Integration

  • AD-6626 : Clockworks number of days back to process parameter

  • AD-7028 : Workplace - Control the ability to keep user logged in by application parameter AbEssentialFacility-ShowOptionToStayLoggedIn

  • AD-5958 : Workplace Mobile Support Mobile friendly qr codes

Schema – System

The / webapp/projects/users/public/dt/26.3.001/schema/system/update-schema.duw makes these updates:

  • AD-6395 : Increase pt and pt_store_loc_pt cost_unit% fields to 10 and downstream fields to 12

  • AD-6444 : Add security group to each field in afm_groupsforroles

  • AD-6907 : Increase user_name field to size 128

  • AD-6906 : Increase activity_log.description field size to match wr.description (afm_size = 5000)

The /webapp/projects/users/public/dt/26.3.002/schema/system/update-schema.duw makes these updates:

  • AD-7425 : Fix verb in message

The /webapp/projects/users/public/dt/26.3.002/schema/system/connectors/update-schema.duw makes these updates:

  • AD-7221 : Re-add connector fields that were missing an alter.table in 26.2.

Schema – Solutions

The / webapp/projects/users/public/dt/26.3.001/schema/app-solutions/update-schema.duw makes these updates:

  • AD-6574: Add the avuity schema, wfr, and defs

The /webapp/projects/users/public/dt/26.3.001/schema/app-solutions/clockworks/update-schema.duw makes these updates:

  • AD-6574: Add the avuity schema, wfr, and defs

  • AD-6625: Add Clockworks BMS Schema

The /webapp/projects/users/public/dt/26.3.003/schema/iot/update-schema.duw makes these updates:

  • AD-7526 : , numerous repetitive errors running overnight can now stop

Schema - Navigator

The /webapp/projects/users/public/dt/26.3.001/schema/pnav/update-schema.duw makes these updates:

  • AD-3565: Add the "Update Employee Headcounts" task back to Cloud and On-Prem's Space Module.

  • AD-6979: Remove Accessibility Navigator option for afm_users.home_page enumeration list

  • AD-6899 : Support a more consistent SaaS PNav

  • AD-6633: Replace the Hoteling "Define Fixed Resources" (ab-rr-rm-resource-std.axvw) with "Define Amenities for Hotelable Rooms" (ab-ht-rm-amenities.axvw)

  • AD-3049: Add the Define Asset Attributes PNAV task to Enterprise Asset Management - Background Data Assets process

  • AD-7119: Update System Admin task assignments for Cloud roles

The /webapp/projects/users/public/dt/26.3.002/schema/pnav/update-schema.duw makes these updates:

  • AD-6899 : Fix SaaS process ids and titles

  • AD-7282 : Set icons for two SaaS activities

  • AD-7326 : Fix "Cloud" activity titles to use "SaaS" instead

  • AD-7119 : Delete label with no tasks

The /webapp/projects/users/public/dt/26.3.001/schema/system/pnav/update-schema.duw makes these updates:

  • AD-6574: Add avuity POC to the Navigator

  • AD-6630: Add BMS Integration Navigator

Schema – Questionnaires

The /webapp/projects/users/public/dt/26.3.001/schema/questionnaire/update-schema.duw makes these updates:

  • AD-6973: Increase size of activity_log.action_title field

Schema - Mobile

The /webapp/projects/users/public/dt/26.3.001/schema/mobile/update-schema.duw makes these updates:

  • AD-7062 : AFM-MOD access to mobile apps

Schema – OnSite

The / webapp/projects/users/public/dt/26.3.002/deployment-scripts/onsite/onsite-deployment.duw makes these updates:

  • AD-7317 : Add deployment scripts for onsite to copy note from wr/hwr to helpdesk step log

The /webapp/projects/users/public/dt/26.3.003/deployment-scripts/onsite/onsite-deployment.duw makes these updates:

  • AD-7317 : Add deployment scripts for onsite to copy note from wr/hwr to helpdesk step log

The / webapp/projects/users/public/dt/26.3.001/schema/onsite/update-schema.duw makes these updates:

  • ON-211: Add new step type 'comments'

  • ON-156: Add unlimited photos for work request

  • ON-141 : OnSite Connect

The /webapp/projects/users/public/dt/26.3.002/schema/onsite/update-schema.duw makes these updates:

  • ON-141 : OnSite Connect

The /webapp/projects/users/public/dt/26.3.003/schema/onsite/connect/update-schema.duw makes these updates:

  • AD-7438 : Connect_export_controller should be an export connector. connect_afm_ent_graphic should include uuid.

Schema - Maintenance

The /webapp/projects/users/public/dt/26.3.001/schema/bldgops/update-schema.duw makes these updates:

  • AD-6351: Introduce a new application parameter to allow users to specify the required fields when reporting a problem.

  • ON-240: Schema DB: Change default value of wrcf Work Type.

  • ON-284: Re-create the sqlviews 'wrcfhwrcf' to add 3 missing fields(status,is_work_log,is_scheduled).

Schema - Reservations

The / webapp/projects/users/public/dt/26.3.001/schema/app-reservations/update-schema.duw makes these updates:

  • AD-6440: add mailbox field to rm_config

  • AD-6440: add calendar monitoring fields to reserve and rm_config

  • AD-6440: add calendar monitoring workflow rules

  • Refresh the dictionary

  • Alter table rm_config and reserve because fields were added (no primary key changes)

  • Refresh the dictionary as a final step

Version 26.2 Database Schema Revision History

Note : Archibus Healthcare was released between V.26.1 and V.26.2. Healthcare-related schema changes are not part of standard, out-of-the-box Archibus V.26.1 or V.26.2.; they are handled by a separate set of scripts. For information, see Deploy Archibus Healthcare in Archibus User Help.

For details on the exact changes for the V.26.2 database, see the following files:

Localization

These files update the translation of new strings:

/projects/users/public/dt/26.2.002/translation/update-translation-doublebyte.duw

/projects/users/public/dt/26.2.002/translation/update-translation-singlebyte.duw

/projects/users/public/dt/26.2.003/translation/update-translation-singlebyte.duw

Sample Data

The /webapp/projects/users/public/dt/26.2.002/sample-data/update-sample-data.duw makes these updates:

  • Sequences with incorrect increments in Oracle HQ database need increment_by reset to 1

  • Hoteling - Add Workspace amenities

  • Hoteling - Add rm data inserts & updates to support neighborhoods for hoteling

  • Connectors - remove assigned connector sample connectors

Schema - Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite production data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

For Archibus V.26.2, the schema template removes the calculated security group from all fields, where the security groups are recommended. You might have set them explicitly, and running this unsets them.

The /webapp/projects/users/public/dt/26.2.001/schema-template/update-schema-template.duw makes these updates:

Schema - Application Parameters

The /webapp/projects/users/public/dt/26.2.001/schema/activity-params/update-schema.duw makes these updates:

  • Issue with Documentation for: activity_id='AbSystemAdministration' and param_id='ClientCacheableValidatingTables', added to database with a value of space.

The /webapp/projects/users/public/dt/26.1.002/schema/activity-params/update-schema.duw makes these updates:

  • Hoteling, Workplace booking rules - allow employees to book desks only in their neighborhoods, buildings, floors or rooms assigned to their department

  • Register the intent to come -> Workplace Occupancy Highlight Threshold.

Schema - Workplace

The /webapp/projects/users/public/dt/26.2.002/schema/app-workplace/update-schema.duw makes these updates:

  • • Workplace - Meeting Space Booking: show room names on the floor plan

Schema – Hoteling

The /webapp/projects/users/public/dt/26.2.001/schema/app-hoteling/update-schema.duw makes these updates:

  • Hoteling - Add Workspace amenities

The /webapp/projects/users/public/dt/26.2.001/schema/app-hoteling/ad-4500-workspace-amenities/ad-4500-update-rm_amenity.duw makes these updates:

  • Update rm_amenity’s primary key, and create resource_std records from amenity types.

The /webapp/projects/users/public/dt/26.2.001/schema/app-hoteling/ad-4500-workspace-amenities/ad-4500-update-schema.duw makes these updates:

  • Hoteling - Add Workspace amenities

  • Step 1: change resource_std size to 32 and fixed_resource_id to 100

  • Step 2: change rm_amenity definition

Schema – Moves

The /webapp/projects/users/public/dt/26.2.001/schema/move/update-schema.duw makes these updates:

  • Point the view to "ab-move-console.axvw" in email notification in messages

Schema – Building Operations

The /webapp/projects/users/public/dt/26.2.002/schema/bldgops/update-schema.duw makes these updates:

  • Add new activity parameters

The /webapp/projects/users/public/dt/26.2.003/schema/bldgops/update-schema.duw makes these updates:

  • Modify the default activity parameter values

Schema – Cloud

The /webapp/projects/users/public/dt/26.2.001/schema/cloud/update-schema.duw makes these updates:

  • “clean up” Archibus navigator, assign all SaaS processes to AFM-MOD role

Schema – OnSite

The /webapp/projects/users/public/dt/26.2.001/schema/onsite/update-schema.duw makes these updates:

  • Add new mobile application 'AbOnSite'

  • Add new application AbOnSiteMobile

  • Add new application parameter AutoLockTimeout

Schema – Solutions

The / webapp/projects/users/public/dt/26.2.001/schema/platform-solutions/afm_connector/update-schema.duw makes these updates:

  • Add names to exports

  • Rename sv_s1_controller to Serraview_Sync

Schema – Smart Client

The / webapp/projects/users/public/dt/26.2.002/schema/smart-client/update-schema.duw makes these updates:

  • Revit Enhancements

Schema - Navigator

The /webapp/projects/users/public/dt/26.2.001/schema/pnav/update-schema.duw makes these updates:

  • Create a place on the Navigator to showcase proof of concepts by renaming the application "My Workflow Activity" to "Innovative Solutions"

  • Add new process and tasks for Badge Data Analysis

  • Add processes and tasks for Forge Integration Proof of Concept.

Schema - Reports Central

The /webapp/projects/users/public/dt/26.2.001/schema/reports-central/update-schema.duw makes these updates:

  • Add ReportsCentralService workflow rule

  • Change fullName to name in afm_view_configuration.content

Schema - System

The /webapp/projects/users/public/dt/26.2.001/schema/system/update-schema.duw makes these updates:

  • Change "Space Plus" to "Workplace" in afm_module enumeration list display values in afm_tbls, afm_flds, and afm_flds_trans

  • Restore specific workflow rule schedules that need to be staggered

  • Increase size of metrics title fields to match between MSSQL and Oracle

The /webapp/projects/users/public/dt/26.2.003/schema/system/connector/update-schema.duw makes these updates:

  • Change rule for 02-Text Import connector to explicitly translate from text to number

The /webapp/projects/users/public/dt/26.2.001/schema/system/connectors/update-schema.duw makes these updates:

  • uuids for connect

Version 26.1 Database Schema Revision History

For details on the exact changes for the V.26.1 database, see the following files:

Localization

These files update the translation of new strings:

\webapp\projects\users\public\dt\26.1.001\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\26.1.001\schema\translation\update-translation-singlebyte.duw

\webapp\projects\users\public\dt\26.1.002\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\26.1.002\schema\translation\update-translation-singlebyte.duw

\ webapp\projects\users\public\dt\26.1.003\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\26.1.003\schema\translation\update-translation-singlebyte.duw

\ webapp\projects\users\public\dt\26.1.004\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\26.1.004\schema\translation\update-translation-singlebyte.duw

\ webapp\projects\users\public\dt\26.1.005\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\26.1.005\schema\translation\update-translation-singlebyte.duw

 

\webapp\projects\users\public\dt\26.1.001\schema\translation\Removing_chinese-strings.duw -- Removes Chinese character from European mssql database, and sets back the afm_scmpref.date_lang_ch to default value

Sample Data

The \webapp\projects\users\public\dt\26.1.001\sample-data\update-sample-data.duw makes these updates:

  • Add solution template 'Create translated messages with dynamic data'

  • Remove “%” from the WORKFLOW roles ADD SPAC-REV-ED and REPLM-REV-ED security groups to the WORKFLOW role

The \webapp\projects\users\public\dt\26.1.003\sample-data\update-sample-data.duw makes these updates:

  • Sample reports for Reports Central

Schema - Schema Template

The Schema Template holds changes to the schema database that do not necessarily apply to an upgrade. This includes changes that could overwrite customer data. The schema template is a distinction between the use of scripts as documentation of changes to schema as a template, and a method to upgrade a database.

For Archibus V.26.1, the schema template removes the calculated security group from all fields, where the security groups are recommended. You might have set them explicitly, and unning this unsets them.

The \webapp\projects\users\public\dt\26.1.004\schema-template\update-schema-template.duw makes these updates:

  • update afm_flds set edit_group = NULL where edit_group = 'CALCULATED'

Schema - Application Parameters

The /webapp/projects/users/public/dt/26.1.001/schema/activity-params/update-schema.duw makes these updates:

  • Workplace Reservations. ArrangementType parameter to set default arrangement for a room.

  • Workplace Hoteling and Back to Work: Enable a configuration for just all-day bookings

  • Workplace Hoteling - Workspace reservations: Health Check confirmation before checking in

  • Workplace and Web Central Hoteling - Workspace reservations: Maximum Days Ahead to search

  • Workplace -- Accessibility parameter

  • EnableSCViewsTab parameter - On Cloud deployments, control whether the View tab is available in Smart Client.

The /webapp/projects/users/public/dt/26.1.002/schema/activity-params/update-schema.duw makes these updates:

  • Workplace Health check parameter. Correction to description.

Schema - Maintenance

The /webapp/projects/users/public/dt/26.1.001/schema/app-bldgops/update-schema.duw makes these updates:

  • Adds the forceCompleteChecklists parameter. For work request has pending checklist step, do non block user's complete work action until his action complete the whole work request.

Schema - Real Estate

The /webapp/projects/users/public/dt/26.1.001/schema/app-repm/update-schema.duw makes these updates:

  • In the afm_processes table, updates help_topic field for right-click help command in Navigator.

Schema - Risk

The /webapp/projects/users/public/dt/26.1.001/schema/app-risk/update-schema.duw makes these updates:

  • In the afm_processes table, provides summary text that displays when right-click in Navigator. Text provided for all processes in the Risk applications.

Schema - Space

The /webapp/projects/users/public/dt/26.1.001/schema/app-space/update-schema.duw makes these updates:

  • In the afm_processes table, provides summary text that displays when right-click in Navigator.

  • Change "social distance" to "safe distance" in Heading field of afm_fields.

Schema - Workplace

The /webapp/projects/users/public/dt/26.1.001/schema/app-workplace/update-schema.duw makes these updates:

  • In the afm_messages table, provides the health check message when checking into booked room

The /webapp/projects/users/public/dt/26.1.001/schema/pnav/update-schema.duw makes these updates:

  • Update the Archibus logo for the Workplace application

Schema - Navigator

The /webapp/projects/users/public/dt/26.1.001/schema/pnav/update-schema.duw makes these updates:

  • Rename Lease Communications by Activity Log task to Lease Communications by Action Item

  • Add Cost Wizard and related cost tasks to Leases cloud module

  • Rename “Configure Approval and Notification Parameters” to “Configure Hoteling Parameters”.

Schema - Reports Central

The /webapp/projects/users/public/dt/26.1.001/schema/report-central/update-schema.duw makes these updates:

  • Add new fields to afm_view_configuration table

  • Add Reports Central to Navigator

Schema - System

The /webapp/projects/users/public/dt/26.1.001/schema/sysadminl/update-schema.duw makes these updates:

  • Correct issues with E-Mail Message Template

The /webapp/projects/users/public/dt/26.1.001/schema/systeml/update-schema.duw makes these updates:

  • Add CALCULATED security group to the two 'Workflow process' roles

  • Add daily badge swipe connector

  • Add daily Badge Swipes (bas_daily_badge_swipe) table and fields

  • Add Workplace Accessibility app parameter to schema db

The /webapp/projects/users/public/dt/26.1.002/schema/systeml/update-schema.duw makes these updates:

  • UPDATE afm_flds SET edit_group = NULL for pt.qty_on_hand, wrpt.cost_estimated, pt_store_loc_pt.qty_on_hand

The /webapp/projects/users/public/dt/26.1.003/schema/systeml/update-schema.duw makes these updates:

  • remove CALCULATED security group from fields user needs to be able to add parts. The fields are: it.trans_date, wrpt.debited, wrcf.hours_diff

Version 25.4 Database Schema Revision History

For details on the exact changes for the V.25.4 database, see the following files:

Localization

These files update the translation of new strings:

\webapp\projects\users\public\dt\25.4.001\schema\translation\update-translation-doublebyte.duw

\ webapp\projects\users\public\dt\25.4.001\schema\translation\update-translation-singlebyte.duw

\webapp\projects\users\public\dt\25.4.003\schema\translation\update-translation-doublebyte.duw

\ webapp\projects\users\public\dt\25.4.003\schema\translation\update-translation-singlebyte.duw

webapp/projects/users/public/dt/25.4.002\update-translation.duw

Schema: Navigator

The \webapp\projects\users\public\dt\25.4.001\schema\pnav\update_schema.duw makes the following updates:

  • Summary text in afm_processes for Foundations, REPM, BO, CPM, Assets, Space Workplace Services domains

  • Define Locations task replaces Define Rooms task

  • Help link for new processes in Space Occupancy

  • Add the Manage Equipment and Standards task

Schema: Maintenance

The \webapp\projects\users\public\dt\25.4.001\schema\app-bldgops\update_schema.duw makes the following updates:

  • Delete from afm_flds and afm_flds_lang the unused hwr_month fields

  • Checklist Email Subject and Email Message

Schema: Hoteling

The \webapp\projects\users\public\dt\25.4.001\schema\app-hoteling\update_schema.duw makes the following updates:

  • Add index fields for rmpct.date_start and rmpct.date_end

  • Activity parameters for enforce floor capacity target and to allow multiple bookings

Schema:Space

The \webapp\projects\users\public\dt\25.4.001\schema\app-space\update_schema.duw makes the following updates:

  • Set min limit for social distance

Schema: Mobile Framework

The \webapp\projects\users\public\dt\25.4.001\schema\platform-mobile-framework\update_schema.duw makes the following updates:

  • Increase Field 'afm_mobile_sync_history.client_table_name' size to 100

Schema: Usage Analytics

The webapp/projects/users/public/dt/25.4.001/schema/usage-analytics/update-schema.duw makes the following updates:

  • Adds activity parameters and task for usage analytics

Schema: System

The \webapp\projects\users\public\dt\25.4.001\schema\system\update_schema.duw makes the following updates:

  • Add afm_flds_trans.is_promoted field

  • DELETE FROM afm_groupsforroles to correct workflow process role has the % security group

  • Add new connector rules

The \webapp/projects/users/public/dt/25.4.001/schema/system/add_afm_flds.is_promoted.duw makes the following updates:

  • Anonymous users to support usage analytics

The \webapp\projects\users\public\dt\25.4.002\schema\system\update_schema.duw makes the following updates:

  • Remove Edit Security group for wr.wo_id

  • Add SYSTEM MGR Security Group to AbSystemAdministration-HomePageDescriptorService

  • Update BldgOpsConsoleMaxRequestsPerBand activity parameter

The \webapp\projects\users\public\dt\25.4.003\schema\system\update_schema.duw makes the following updates:

  • Add 'CALCULATED' edit groupd back to wr.wo_id and add '%' security group to role '2 - WORKFLOW PROCESS (ACP)' and '2 - WORKFLOW PROCESS'

Sample Data: Workplace

The /webapp/projects/users/public/dt/25.4.001/sample-data/app-workplace/update-sample-data.duw makes the following updates:

  • Delete incorrect sample data for workplace hoteling

  • Correct errors in the log related to corrupted documents (JANSEN,bl-jansen.jpg)

Sample Data: Assets/Projects

The webapp/projects/users/public/dt/25.4.001/sample-data/app-eam/proj-prop/update-sample-data.duw makes the following updates:

  • Correct the space budgets level for Jansen Integration%

Version 25.3 Database Schema Revision History

For details on the exact changes for the V.25.3 database, see the following files:

Note : Users upgrading from V.24.3 should run \webapp\projects\users\public\dt\25.3.002\schema\system\update-schema.duw before running the standard database update script process.

Note : See Upgrading your Database to V.25.3 for information on updating the database to support user-defined fields (view configuration).

Localization

These files update the translation of new strings:

\webapp\projects\users\public\dt\25.3.002\schema\translation\update-translation-doublebyte.duw

\webapp\projects\users\public\dt\25.3.002\schema\translation\update-translation-singlebyte.duw

Sample Data: Maintenance

The \webapp\projects\users\public\dt\25.3.002\sample-data\app-bldgs\update_sample-data.duw makes the following updates:

  • Reset SLA grouping code for Emergency, Plumbing
  • Sample checklists

Sample Data: Compliance

The \webapp\projects\users\public\dt\25.3.002\sample-data\app-compliance\update_sample-data.duw makes the following updates:

  • Clean up questionnaire records

Sample Data: Workplace

The \webapp\projects\users\public\dt\25.3.001\sample-data\app-worklplace\update_sample-data.duw makes the following updates:

  • Delete incorrect sample cleaning work requests added in 25.2 for Back 2 Work
  • Import bookings for building NC05, floors 02,03
  • Import CLEANING service desk requests for building NC05, floors 02,03 and 05 for 09/14/2020 and 05 for 09/14/2020
  • Import CLEANING work requestsfor building NC05, floors 02,03 and 05 for 09/14/2020

Sample Data: Real Estate

The \webapp\projects\users\public\dt\25.3.001\sample-data\app-repm\update_sample-data.duw makes the following updates:

  • Update leases that are assigned to both building and property

Sample Data: Common

The \webapp\projects\users\public\dt\25.3.001\sample-data\app-common\update_sample-data.duw makes the following updates:

  • Delete duplicate metrics for Portfolio Manager Home Page
  • Update questionnaire_ext.activity_type
  • Clean up sample data photos
  • Add sample metric trend values for Hoteled Utilization by Room report

Schema: Maintenance

The \webapp\projects\users\public\dt\25.3.001\schema\app-bldgops\checklist\update_schema.duw makes the following updates:

  • Add new activitytype: 'MAINTENANCE - EVENT'
  • Add new enum item for afm_wf_steps.step_type: 'checklist'

  • Add new afm_wf_steps: 'Maintenance Checklist' and 'Compliance Questionnaire' for issued and completed status
  • Add new helpdesk role for checklist step: 'Craftsperson'

  • Add new field 'questionnaire_id_ext' for helpdesk_sla_steps;activity_log;hactivity_log;activity_log_hactivity_log;hactivity_log;hactivity_logmonth
  • Add new field 'activity_log_sync.wr_id'
  • Add new Ptasks: 'Maintenance Survey Report'

The \webapp\projects\users\public\dt\25.3.002\schema\app-bldgops\checklist\update_schema.duw makes the following updates:

  • Correct Pnav entry to load ab-bldgops-survey-report.axvw

Schema: Common

The \ webapp\projects\users\public\dt\25.3.001\schema\app-common\update_schema.duw makes the following updates:

  • Rename report Hoteled Utilization by Room to Hoteled Utilization by Building
  • Add new question_type enum value for instructions

The \ webapp\projects\users\public\dt\25.3.002\schema\app-common\update_schema.duw makes the following updates:

  • Add questionnaire data change event WFR

Schema: Space

The \ webapp\projects\users\public\dt\25.3.001\schema\app-space\update_schema.duw makes the following updates:

  • Add Workplace to Space / Move Requestor process (Cloud)

Schema: Back to Work

The \webapp\projects\users\public\dt\25.3.001\schema\b2w\update_schema.duw makes the following updates:

  • Added the Occupancy / Department Manager process and tasks
  • Add new application parameter AbSpaceHotelling-AutoCancelBookings and new schedule WFR AbCommonResources-AutoCancelBookings

Schema: Navigator

The \webapp\projects\users\public\dt\25.3.001\schema\pnav\update_schema.duw makes the following updates:

  • Add Edit Logo view to Cloud Administrator process
  • Add context-sensitive help links for Cloud processes
  • Remove Technologies / Software Engineering Techniques / Software Engineer Views / Embedding Autodesk Design Review task (Flash)

Schema: Security

The \webapp\projects\users\public\dt\25.3.001\schema\security\update_schema.duw makes the following updates:

  • Implement access control for AFM User data by updating afm_flds set edit_group='SYS-USRMGR' where table_name='afm_users' and field_name='email';

Schema: User-Defined Fields (View Configuration)

The \webapp\projects\users\public\dt\25.3.001\schema\user-defined-fields\update_schema.duw makes the following updates:

  • Change ml_heading for afm_flds.ml_heading to be "Field Heading"
  • Updates afm_tables and afm_flds
  • UPDATE afm_flds SET afm_size=4000 WHERE table_name='afm_view_configuration' AND field_name='contents';

Version 25.2 Database Schema Revision History

For details on the exact changes for the V.25.2 database, see the following files:

Localization

The \webapp\projects\users\public\dt\25.2.002\localization\update-localization-schema.duw file and the \webapp\projects\users\public\dt\25.2.001\localization\update-localization-schema.duw file update the translation of new strings.

Sample Data

The \webapp\projects\users\public\dt\25.2.001\sample-data\update-sample-data.duw runs scripts that make these updates:

  • question tree does not display multiple Parent Answer Conditions in Compliance Management

The \webapp\projects\users\public\dt\25.2.002\sample-data\update-sample-data.duw runs scripts that make these updates:

  • back-to-work metrics
  • back-to-work background data
  • new NC05-05 Floor record to with rooms and bookings to illustrate back-to-work features

Schema: Application Parameters

The \webapp\projects\users\public\dt\25.2.001\schema\activity_params\update_schema.duw makes the following updates:

  • an application parameter for an Archibus-Serravivew application switch

Schema:  Schema Preferences

The \webapp\projects\users\public\dt\25.2.001\schema\afm-scmpref\update_schema.duw makes the following updates:

  • Add two new doc fields to Archibus Schema Preferences table to hold customer logos.

Schema: Common

The \webapp\projects\users\public\dt\25.2.002\schema\app-common\update_schema.duw makes the following updates:

  • Additional metrics for Dynamic Workplace (Back-to-Work) home page

Schema: ArcGIS

The \webapp\projects\users\public\dt\25.2.001\schema\app-arcgis\update_schema.duw makes the following updates:

  • Application parameters for Extensions for Esri

Schema: Hoteling

The \webapp\projects\users\public\dt\25.2.001\schema\app-hoteling\update_schema.duw makes the following updates:

  • Add new scheduled WFR to create cleaning service request (and resulting wr) and change the room statuses to 'Requires Cleaning' per floor to support Back-to-Work features.

Schema: Maintenance

The \webapp\projects\users\public\dt\25.2.001\schema\app-bldgops\update_schema.duw makes the following updates:

  • helpdesk_sla_steps updated to correct problem with SERVICE DESK - FURNITURE request

Schema: Risk

The \webapp\projects\users\public\dt\25.2.001\schema\app-env-risk\update_schema.duw makes the following updates:

  • Update the ComplianceSurveysRequestService workflow rule to resolve a problem accessing MobileClient Compliance Surveys without Maintenance license

Schema: Real Property

The \webapp\projects\users\public\dt\25.2.001\schema\app-repm\update_schema.duw makes the following updates:

  • Update the afm_ptasks table to resolve a problem with Leases Cloud Module's Lease Portfolio Console not being able to open Cost Profile.

Schema: Reservations

The \webapp\projects\users\public\dt\25.2.001\schema\app-reservations\update_schema.duw makes the following updates:

  • Remove two extra field definitions, resview.occurrence_index and resview.outlook_unique_id
  • Remove duplicate views from Manage Reservations-Background Data, only two configuration views should be shown there
  • Replace view opened from Plugin-View my reservations

Schema: Space

The \webapp\projects\users\public\dt\25.2.001\schema\app-space\update_schema.duw makes the following updates:

  • Replace Unknown status with Available for Room Status field
  • Remove Update Employee Headcounts task from Navigator
  • Add Dynamic Workplace home page and metrics

The \webapp\projects\users\public\dt\25.2.002\schema\app-space\update_schema.duw makes the following updates:

  • Set min limit for social distance

Schema: Cloud

The \webapp\projects\users\public\dt\25.2.001\schema\cloud\update_schema.duw makes the following updates:

  • Add Dynamic Workplace home page for Cloud
  • Adds Back-to-Work activities (Condition Assessment, Emergency Preparedness, Health & Safety) for Cloud

Schema: Navigator

The \webapp\projects\users\public\dt\25.2.001\schema\app-space\update_schema.duw makes the following updates to the Navigator

  • Clean up task list for Workspace Transactions
  • Add System / System / Archibus Administrator - Application Configuration / Edit Logo task
  • Remove View 1.0 and Flash-based tasks, processes, and activities from Technologies section of Navigator
  • Remove Solution Template task for a 9-panel dashboard (ab-dash-rplm-map-main9.axvw)
  • Add Maintenance / Corrective Maintenance / Service Desk Manager / Create Service Catalog task. This task is also in Foundations /Background Data and Service Desk / Service Manager .
  • Remove tasks: Map with Layers Google (Leaflet) and Simple Map Google (Leaflet)
  • Remove from Technologies / User Interface Add-Ins the Tree with Many Leaves - All Rooms Per Every Emp. task and the Nesting Rows of Tabs Within Views task
  • Make "Building Performance" title consistent across the product

The \webapp\projects\users\public\dt\25.2.002\schema\app-space\update_schema.duw makes the following updates to the Navigator

  • Re-order cloud modules, so that Foundations sits at the top right after Favorites
  • Removed three applications that were temporarily listed under Foundations.

Schema: System Administration

The \webapp\projects\users\public\dt\25.2.001\schema\sysadmin\update_schema.duw makes the following updates:

  • Removes support for obsolete SWF publishing

The \webapp\projects\users\public\dt\25.2.001\schema\wfr\update_schema.duw makes the following updates:

  • To resolve an error that stems from cascading when importing update-database.duw, the script removes records from afm_wf_rules. See the script for details.

The \webapp\projects\users\public\dt\25.2.002\schema\sysadmin\update_schema.duw makes the following updates:

  • update startTime="now" for scheduled WFRs that for use cron expressions
  • add_lang_files_index.sql

The \webapp\projects\users\public\dt\25.2.001\schema\app-solutions\update_schema.duw makes the following updates:

  • Delete the Technologies / User Interface Add-Ins / HTML5 Drawing Views / 3D Navigator-Space Console task
  • Remove System / Add-in Manager /Run Dashboard Definition Wizard task since Dashboard is no longer a navigation method

Schema: Localization

The \webapp\projects\users\public\dt\25.2.001\schema\localization-kit\update_schema.duw makes the following updates:

  • Change the primary key of table lang_strings to auto number

Version 25.1 Database Schema Revision History

See Upgrading your Database to V.25.1 .

For details on the exact changes for the V.25.1 database, see the following files:

Localization

The \webapp\projects\users\public\dt\25.1.001\localization\update-localization-schema.duw updates the translation of new strings.

Sample Data

The \webapp\projects\users\public\dt\25.1.001\sample-data\\update-sample-data.duw runs scripts that make these updates:

  • Add building for employee AFM-MOD@Archibus.COM
  • Clean up Favorites lists in HQ database
  • Update Sample Data for Home Page Metrics
  • Remove lease that relate to Lease Accounting from the HQ database
  • Set maintenance request types to active in the sample database

  • The \webapp\projects\users\public\dt\25.1.001\sample-data\maintenance\update-sample-data.duw makes these updates for Maintenance:
    • Make Cloud and Enterprise SLAs work for 25.1 database
    • Sample Data for employee graphics AFM-MOD and AFM-CF
    • Sample Data Update SLA for NC05, SRL and NB buildings
    • Sample Data for new service request types
    • Set the unused building SLAs
    • Update grouping to separate cloud and enterprise buildings SLAs
    • Update default manager/supervisor to AFM
    • Update helpdesk_sla_request.match_ordering_seq to make sure the sla match correctly
    • Update AFM-FDN to AFM and AFM-MOD IN SLA manager and service provider

Schema: Common

The \webapp\projects\users\public\dt\25.1.001\schema\app_common\update_schema.duw makes the following updates:

  • Remove the Self Service Enterprise Home Page
  • Fix collect where clause for metric
  • Provide updated summary text for hovering over applications on Navigator
  • Update activity parameter value for substitute highlight color
  • Add a new field for mobile synching: activity_log_sync.mob_sync_error.

Schema: Foundations (Essential Suite)

The \webapp\projects\users\public\dt25.1.001\schema\app-essential\update_schema.duw makes the following updates:

  • Remove vpa setting for user AE
  • Update Grouping for SLAs
  • Remove duplicate SLAs for SERVICE DESK - COPY SERVICE
  • Remove Define Trades task from Essential Suite home page
  • Change view file for Rooms by Location report for Essential Suite Home page
  • Change "Archived Service Requests" and "Archived Service Request Type" reports to "Completed"
  • Reorder the Employees task in afm_ptasks table
  • Service Console - Manager cannot create a new visitor when editing a reservation.
  • Reorder the Employees task in afm_ptasks table

The \webapp\projects\users\public\dt25.1.001\schema\foundations\update_schema.duw makes the following updates:

  • Update the afm_roleprocs table.

Schema: Maintenance

The \webapp\projects\users\public\dt25.1.001\schema\app-bldgops\update_schema.duw calls the following:

  • BldgOps: common: \projects\users\public\dt \25.1.001\schema\app-bldgops\bldgops-common\update-schema.duw
    • Change the database type for hour fields in activity_log to include decimals
    • Replace sample SLAs refer to user AISTART with AFM, AISTART is not used any more
    • Change enum list of wrpt.status fields to add a new status 'Issued'
    • Account Code validation in tables like Inventory.
    • Change the database type for hour fields in activity_log to include decimals
    • Add new application parameter AbBldgOpsOnDemandWork-MainPartStorageLocation.
    • 'AEM' replaced by 'AFM' for schema DB SLAs
    • Remove 'SERVICE DESK - LANDSCAPING' and 'SERVICE DESK - PARKING AREA' from activitytype table in schema db
  • Mobile Maintenance: \ projects\users\public\dt \25.1.001\schema\app-bldgops\mobile-maintenance\update-schema.duw
    • Add a new field wr_sync.helpdesk_step_comments.
  • Labor Scheduler: projects\users\public\dt \25.1.001\schema\app-bldgops\labor-scheduler\update-schema.duw
    • Add a new field cf_schedules_days.is_overnight to support overnight shift.

Schema: Assets

The \webapp\projects\users\public\dt25.1.001\schema\app-eam\eam-common\update-schema.duw makes the following updates:

  • Add maximum number of assets allowed to be created by the Add Multiple Assets Action in one shot, and specify how many newly created assets to be displayed in a batch.

Schema: Sustainability & Risk

The \webapp\projects\users\public\dt25.1.001\schema\app-env-risk\update_schema.duw makes the following updates::

  • Add pH to set of physical properties tracked in the hazmat application
  • Alter table msds_data because new fields were added
  • env_EnergyConsumption_perGrossArea_monthly metric updated

Schema: Real Property

The \webapp\projects\users\public\dt25.1.001\schema\app-repm\update_schema.duw makes the following updates::

  • Change size of cost_tran_recur.yearly factor from NUMERIC(6,2) to NUMERIC(8,4)
  • Change size of ls.area_negotiated from NUMERIC(9,1) to NUMERIC(10,2)'
  • Set cost_type 'BASE RENT' for cost category 'RENT - BASE RENT'
  • Rename cost_cat_d

Schema: Reservations

The \webapp\projects\users\public\dt25.1.001\schema\app-reservation\update_schema.duw makes the following updates:

  • Change name for View and/or Edit My Reservations task (task file = ab-rr-my-reservations.axvw)
  • Add scheduled WFR-ule for update area calculation
  • Add field to hrmpct table

Schema: ESRI

The \webapp\projects\users\public\dt25.1.001\schema\extensions-esri\update_schema.duw makes the following updates:

  • Update Arcgis application parameters

Schema: Space

The \webapp\projects\users\public\dt25.1.001\schema\mod-space\update_schema.duw makes the following updates:

  • Update pnav tables to resolve Standard Space Chargeback process is missing when Workspace Transaction is Disabled

Schema: Process Navigator

The \webapp\projects\users\public\dt25.1.001\schema\pnav\update_schema.duw makes the following updates:

  • Add new table afm_user_prefs to support Recent drawer in navigator
  • Add new afm_user_prefs fields to support Recent drawer in navigator
  • Updates afm_users to use new navigation
  • Updates to domain titles and icons
  • Updates to activity titles and icons
  • Enable workspace transactions view is missing from the PNAV for Enterprise
  • Remove duplicate roleproc for AFM-BP
  • Rename and reorder Background Data processes, add Workplace tasks
  • Remove extraneous spaces in task lists
  • Rename tasks that start with "..."
  • Consolidate double labels
  • Change On Demand terminology to Corrective in afm_flds
  • Change Building Operations and On Demand Work terminology in afm_activity_params and messages tables
  • Add Service Console, Workplace background data views to Workplace Services application
  • Remove Applications home page assignment from Sys Admin, Field Technician and Guest roles
  • Set default Home Page for AFM and AI. Remove BUILDER home page from AFM
  • Remove Lease Accounting ptasks from the Lease Admin PNav
  • Add help links for the System processes

Schema: Security

The \webapp\projects\users\public\dt25.1.001\schema\security\update_schema.duw makes the following updates:

  • Add security group and user roles that are allowed to suggest features
  • Update Archibus Cloud - Archibus Admin processes
  • Update Activity parameters for Smart Client to know what licenses are enabled
  • Update demo passwords

Schema: Roles

The \webapp\projects\users\public\dt25.1.001\schema\user_roles\update_schema.duw :

  • Fix Vpa restriction for Oracle
  • Enable CAD/BIM license in the AFM-CAD user profile

Version 24.4 Database Schema Revision History

For details on the exact changes for the V.24.4 database, see the following files:

Default Navigation Method

The \ webapp\projects\users\public\dt\24.4.001\schema \ pnav\update_schema.duw :

  • Updates afm_users.home_page for all existing users to the new Default navigation system unless they are currently using the Accessibility Navigator, in which case the value remains the same.
  • Removes deprecated navigation options and adds the Default navigation option in afm_flds

Reservations

The \ webapp\projects\users\public\dt\24.4.001\schema\ app-reservation \ update_schema.duw :

  • Replaces gender-specific pronouns in Reservations conflicts messages

Common

The \ webapp\projects\users\public\dt\24.4.001\schema\app-common \ update_schema.duw :

  • Makes dp.head field selectable from the em table.
  • Updates tasks that load the Define Locations view (ab-sp-def-loc.axvw) to have a Task Type of Web URL instead of Smart Client Grid.

System Administration

The \ webapp\projects\users\public\dt\24.4.001\schema\sysadmin \ update_schema.duw:

  • Fixes the Leased-to-Owned metrics
  • Changes AbSystemAdministration-DataChangeEventTablesToLog application parameter:
    • Removes afm_roleprocs from the list of tables.
    • Adds afm_wf_rule, afm_flds to the list of tables.

Localization

The \ webapp \projects\users\public\dt\24.4.001\localization\ directory contains .XLS files for the translation of new strings.

Archibus Cloud Schema: Leases

The \ webapp\projects\users\public\dt\24.4.001\cloud\schema\app-cloudleases \ update_schema.duw:

  • Adds the Leases module

Archibus Cloud Schema: Pnav

The \ webapp\projects\users\public\dt\24.4.001\cloud\schema\pnav \ update_schema.duw:

  • Adds a basic Room Inventory report to Foundations
  • Adds Building Performance report to Space module.
  • Updates icons.
  • Shortens cloud activity titles
  • Reorders and rename cloud process titles to move Background Data processes to the bottom and rename "Business Process Owner" to "Background Data".
  • Sets hotlist task items.
  • Copies all tasks from Cloud Space - Move Details process to Cloud Space - Move Coordinator process and de-activates Move Details process.
  • Removes Create New Conference Call and Resolve Conflicts tasks.

  • Removes "Edit My Favorites List" from System Admin PNav, and adds tasks for Edit Shortcuts to System Administration processes.

Archibus Cloud Schema: Common

The \ webapp\projects\users\public\dt\24.4.001\cloud\schema\mod-common \ update_schema.duw:

  • Changes metrics and scorecards to support Cloud home pages.
  • Adds sample metric values for the Cloud home pages.

Archibus Cloud Sample Data

The \projects\users\public\dt\24.4.001\cloud\sample_data \ update-sample-data.duw:

  • Adds security group CALCULATED to Ops Craftsperson

  • Delete un-necessary sample data that was geared for enterprise portfolios

  • Add metric trend values for home pages

Version 24.3 Database Schema Revision History

For details on the exact changes for the V.24.3 database, see the following files:

Cloud Sample Data

The \projects\users\public\dt\24.3.002\cloud\sample_data \ update-sample-data.duw file makes the following changes:

  • Update SLA for Cloud Supervisor
  • Update AFM-MOD and AFM-CF

Sample Data

The \projects\users\public\dt\24.3.002\sample_data \ update-sample-data.duw file makes the following changes:

  • Add sample data service types to Activity Types table.
  • Add photos for some employee records.

  • Copy emstd.description to em.em_title where em_title is null
  • Update sample drawings

Localization

For each language, the \projects\users\public\dt\24.3.001\localization\ directory contains .XLS files listing the translation of new strings.

Archibus Cloud Schema

The \projects\users\public\dt\24.3.001\cloud\schema \ update-schema.duw file makes the following changes:

  • Update Archibus Workplace with new icons
  • Update Cloud Client Administrator tasks by grouping them into sub-groups with updated ordering sequence
  • Update Cloud Partner Administrator tasks to reorder and remove some tasks
  • Add "Calculated' security group to OPS CRAFTSPERSON (ACP) role
  • Update AFM-MOD home page with the new Workplace task (the service catalog)

Security

The \projects\users\public\dt\24.3.001\schema \ security\update-schema.duw file makes the following changes:

  • Set ADMIN, AFM-BP and AFM-CLI home page to page-navigator.html

System Administration

The \projects\users\public\dt\24.3.001\schema \ sysadmin\update-schema.duw file makes the following changes:

  • Change the spelling of tasks from "ARCHIBUS" to "Archibus"

Workplace

The \projects\users\public\dt\24.3.001\schema \ app-workplace\update-schema.duw file makes the following changes:

  • Add hierarchical trace field to Activity Types table. Increase display_order field size to 10.
  • Reroute Workplace tasks to action=servicecatalog, Add separate tasks for Workplace Dashboard
  • Add activity parameter to disable Service Catalog searchbar
  • Add service types to Activity Types table

Building Operations

The \projects\users\public\dt\24.3.001\schema \ app-bldgops\update-schema.duw file makes the following changes:

  • Add parameter, AbBldgOpsHelpDesk-EquipmentBarcodeField, to define which field in the equipment table will store barcode values.

  • Add parameter, AbBldgOpsHelpDesk-MobileWorkRequestsBarcodeScanPrompt, which enables barcode scan prompt before starting work in mobile maintenance
  • Add fields and update fields to support the Maintenance mobile app's timer
  • Add new fields for table 'cf' and 'docs_assigned', 'docs_assigned_sync', 'wrcf', 'wrcf_sync', 'hwrcf','wr_sync'.

  • Update ML Heading for hours_straight, cost_straight, hours_total, hours_est, hours_diff of table wrcf, hwrcf, wrcf_sync. Also update enum of work_type

  • Update the physical tables 'cf' and 'docs_assigned', 'docs_assigned_sync', 'wrcf', 'wrcf_sync', 'hwrcf','wr_sync'.

Emergency Preparedness

The \projects\users\public\dt\24.3.001\schema \ app-env-risk\update-schema.duw file makes the following changes:

  • Update the Publish Enterprise Graphics task on the Smart Client CAD Navigator (afm_ptasks table) to generate SVG file instead of SWF

Reservations

The \projects\users\public\dt\24.3.001\schema \ app-reservations\update-schema.duw file makes the following changes:

  • Add new WFR for retrieving attendee availability.
  • Reload WFRs without restarting the webc server

Version 24.2 Database Schema Revision History

For details on the exact changes for the V24.2 database, see the following files:

Localization

For each language, the \projects\users\public\dt\24.2.001\localization\translations-new-database-strings directory contains .XLS files listing the translation of new strings.

Archibus Cloud Deployment

The files in the \projects\users\public\dt\24.2.001\cloud\deployment directory detail the parameter changes required for the various deployment options: Foundations-only, Foundations with Building Operations module, Foundations with all modules.

Archibus Cloud Sample Data

The \projects\users\public\dt\24.2.001\cloud\sample-data \ update-sample-data.duw file makes the following changes to the sample data:

  • Add sample user AFM-CF (a craftperson to sample data to demo Mobile functionality)
  • Add sample users: AFM-CLI, AFM-BP, AFM-CAD, AFM-MOD
  • Add new SLA
  • Update existing SLA
  • Add new employees and craftspersons

Archibus Cloud Foundations

The \projects\users\public\dt\24.2.001\cloud\schema\foundations \update-schema.duw file makes these schema changes:

  • Rename domain name of Essential & Professional Suites to ARCHIBUS Cloud.
  • Update schema for users and roles
  • Rename "Essential Suite" title to "Foundations"
  • Rename "ARCHIBUS Workplace" title to "Archibus Workplace"
  • Update the title of task "Essential Suite Manager Learning Path" to be "Foundations Manager Online Help"

Asset Management

The \projects\users\public\dt\24.2.001\cloud\schema\mod-asset\update-schema.duw file makes these schema changes:

  • Rename activity id and title from AbProfessionalSpaces - Professional Assets to AbCloudAssetManagement - Asset Management.

  • Rename home page process to Home Page - CloudAssetMgmt - Asset Management
  • Include IT Asset Manager, Furniture, Lifecycle buckets, and delete duplicate views
  • New workflow rule
  • Import new metrics scorecard
  • Update Smart Client navigator entries

Building Operations

The \projects\users\public\dt\24.2.001\cloud\schema\mod-bldg-ops\update-schema.duw file makes these schema changes:

  • Rename activity id and title from AbProfessionalOperations - Professional Operations to AbCloudBuildingOperations - Building Operations

  • Rename home page process to Home Page - CloudBldgOps - Building Operations

  • New Maintenance History task
  • New Metrics scorecard

Archibus Cloud Common

The \projects\users\public\dt\24.2.001\cloud\schema\mod-common\update-schema.duw file makes these schema changes:

  • Rename home page process to Home Page - Professional - Modules

  • Change the display order of cloud applications

  • Remove all other security groups except % for 4 - PROCESS OWNER - MODULES (ACP)

  • Add Help Links for Cloud Administrator.

  • Remove two tasks 'Bucket ProfSpace - Coordinator' for AbCloudSpaceManagement application.

  • Remove task 'Find Files with Duplicate File Names' for AbSystemAdministration application.

  • Delete 'Group' related tasks for cloud
  • Set "Use CAD/BIM Extensions" to "Yes - Extensions" for AFM-CAD
  • Remove the task reference to job related view.

  • Archibus Cloud - Remove the " Enable or Disable Space Transaction" task for Partners Role
  • Remove the "Manage" bucket from Reservation modules' application page
  • Update afm_roles.vpa_restriction

Archibus Cloud Security

The \projects\users\public\dt\24.2.001\cloud\schema\mod-security\update-schema.duw file makes these schema changes:

  • Remove % from GUEST, 4 - PROCESS OWNER - FOUNDATIONS, 4- PROCESS OWNER - MODULES, and 2 - CAD/BIM USER (ACP)
  • Add SYS-USRMGR security group as Review Group
  • Remove 'Define Users' task for AFM-FDN, AFM-MOD users (APP-6382)
  • Add security groups for cloud
  • Add users
  • APP-6549 use strong passwords in all cloud environments.
  • Add VPA restrictions

Space Management

The \projects\users\public\dt\24.2.001\cloud\schema\mod-space\update-schema.duw file makes these schema changes:

  • Rename activity id and title from AbProfessionalSpaces - Professional Spaces & Moves to AbCloudSpaceManagement - Space Management.
  • Rename home page process to Home Page - CloudSpaceMgmt - Space Management
  • Rename the current "Standard Space Chargeback" bucket that exists in the Space Chargeback application to "Chargeback" and make it belong to "AbCloudSpaceManagement"
  • Import new metrics scorecard
  • Import smart client pnav
  • Replace view files for "Define Room Category and Type Highlight Patterns" task
  • Remove the task reference to job-related view.

Reservations

The \projects\users\public\dt\24.2.001\cloud\schema\mod-wrokplace\update-schema.duw file makes these schema changes:

  • Insert new activity AbCloudWorkplaceServices and assign it to domain AbCloud
  • Import new metrics scorecard
  • Rename the Workplace Services module to the Reservations module

Archibus Schema: Essential

The \ projects\users\public\dt\24.2.001\schema\app-essential\update_schema.duw file makes these changes:

  • Add Application Parameter to Control Workplace Moves

Archibus Schema: Enterprise Asset Management

The \ projects\users\public\dt\24.2.001\schema\app-eam\update_schema.duw file makes these changes:

  • Add missing PNAV SMS-Builder,View and Compare Classifications,

Archibus Schema: Professional

The \ projects\users\public\dt\24.2.001\schema\app-professional\update_schema.duw file makes these changes:

  • Correct the Professional task file reference for "Define Room Category and Type Highlight Patterns"

Archibus Schema: Reservations

The \ projects\users\public\dt\24.2.001\schema\app-reservations\update_schema.duw file makes these changes:

  • Add inactive scheduled WFR for AI-SV integration
  • Set date_end to same value of date_start when it's null in reserve_rm and reserve_rs tables
  • Set date_end to same value of date_start when it's null in reserve_rm and reserve_rs tables
  • Set date_end to same value of date_start when it's null in reserve_rm and reserve_rs tables
  • Add continuous as new reservation_type
  • Add and change messages for continuous reservations notifications
  • Add activity parameter
  • Add date_end field to tables reserve_rm, hreserve_rm, reserve_rs and hreserve_rs and set allow_null=0

Archibus Schema: Space

The \ projects\users\public\dt\24.2.001\schema\app-space\update_schema.duw file makes these changes:

  • Remove the task reference to job related view for smart client PANV.

Archibus Schema: Solutions

The \ projects\users\public\dt\24.2.001\schema\platform-solutions\update_schema.duw file makes these changes:

  • New connector.
  • New publishing rule.

Archibus Schema: Sysadmin

The \ projects\users\public\dt\24.2.001\schema\sysadmin\update_schema.duw file makes these changes:

  • Update the definition of afm_users.legal_id to allow null
  • Update afm_flds records for the definition of afm_users,to set afm_users.legal_id to allow null
  • Update the physical table afm_users
  • Activate GDPR WRFs
  • Fix translatable field for afm_psubtasks table
  • Add new table for database revision number
  • Widen fields

Archibus Schema: Workplace

The \ projects\users\public\dt\24.2.001\schema\workplace-guest\update_schema.duw file makes these changes:

  • Allow customers who buy Workplace to be able to use it as GUEST with any enterprise application

Version 24.1ML Database Schema Revision History

EAM

For details on the exact changes, see this script:

\projects\users\public\dt\24.1.003\schema\app-eam\eam-common\update-schema.duw

  • In activity_log table, fix csi_id1,csi_id2,csi_id3

REPM

For details on the exact changes, see this script:

\projects\users\public\dt\24.1.003\schema\app-repm\fasb\update-schema.duw

  • In afm_ptasks table, correct spelling of sub-ledger.
  • Fix fields heading in ls_class_audit

EssentialFacility

For details on the exact changes, see this script:

\projects\users\public\dt\24.1.003\schema\app-essential\update-schema.duw

  • Online help links for EssentialFacility processes.

SysAdmin

For details on the exact changes, see this script:

\projects\users\public\dt\24.1.003\schema\sysadmin\gdpr\update-schema.duw

  • GDPR and other parameters related to security and privacy
    • Import new application parameters

    • Apply WFR definition fix

    • Update new application parameters minimum values

Version 24.1 Database Schema Revision History

Note: V24.1 ML . V.24.1ML customers who have already deployed V.24.1EN need to update their DB schema by running the scripts in \dt\24.1.002 and in \dt\24.1.003\ . When using the V.24.1ML database, there is no need to do so. (APP-5925)

Note: Home pages . For V.24.1EN, you need to republish home pages after running the V.24.1.002 DUW scripts. This is not necessary for later releases because the database already contains the V.24.1.002 scripts. (APP-5059)

Note: Locked record error . Running the update-database.duw script may give an error on some updates. If you get an error with "This record is locked by another user or program. ... Unable to execute statement." the cause might be a redundant update workflow rules statement in: ../dt / 24.1.001 / schema / sysadmin / gdpr / update-schema.duw . The solution is to comment out the last line in the above file by adding two hyphens ("--") at the beginning of the line. Then run the top-level update-database.duw again. (DB-327)

BldgOps

For details on the exact changes, see these scripts:

\projects\users\public\dt\24.1.001\schema\app-bldgops\update-schema.duw -- applies the schema changes made since V.23.2

  • BldgOps: common
    • Script to Update schema for bldgops common bug fixing in bldgops -- \ projects\users\public\dt \24.1.001\schema\app-bldgops\bldgops-common\update-schema.duw
    • Remove bl_id,fl_id,rm_id of PT table from afm_flds and afm_flds_lang table.
  • Labor Scheduling
    • Script to Update schema for new feature Labor Scheduling -- \projects\users\public\dt \24.1.001\schema\app-bldgops\labor_scheduling\update-schema.duw
    • Add new Workflow Rule AbBldgOpsOnDemandWork-CraftspersonSchedulesService.
  • Mobile Maintenance
    • Script to Update schema for new feature Mobile Maintenance app -- \projects\users\public\dt \24.1.001\schema\app-bldgops\mobile-maintenance\update-schema.duw
    • Add lat, lon fields to schema for WR_SYNC table.
  • Overdue and Missed PM
    • Script to Update schema for new feature Overdue and Missed PM -- \projects\users\public\dt \24.1.001\schema\app-bldgops\overdue-and-missed-pm\update-schema.duw
    • Add date_latest_on_time field to pms table
    • Add is_suppressed field to pmsd table
    • Add a new Workflow Rule AbBldgOpsPM-PMScheduleDateLatestOnTime
  • Reporting Enhancement
    • Script to Update schema for reporting enhancement. -- \projects\users\public\dt \24.1.001\schema\app-bldgops\reporting-enhancement\update-schema.duw
    • Add a set of new pnav tasks

Capital Project Management (CPM)

Script to update schema for Capital Project Management (CPM) -- \projects\users\public\dt\24.1.001\schema\app-cpm\update-schema.duw

  • Update ml heading field for eq.description and eqstd.description field (APP-3531).

EAM

Apply schema changes for Enterprise Asset Management (EAM) domain -- \projects\users\public\dt\24.1.001\schema\app-eam\update-schema.duw

  • EAM: Common
    • Script to Apply schema changes for common EAM features -- \projects\users\public\dt\24.1.001\schema\app-eam\eam-common
      • Set AbAssetManagement activity to inactive. Disabling the AssetService WFR.
      • Add cellular_number field to Vendors (vn) table
      • Schema changes to support Multiple Classification Standards. Add Multiple Classifications to eq, eqstd, system_bl, activity_log and hactivity_log tables
      • Increase the field size for Classification Code fields (csi_id) from 8 to 16. Update ML Headings (Titles) for Classifications.
      • Support for equipment residing outside the building. Equipment does not need to be assigned to a building anymore. For the table eq_rm updated the building column to allow null values.
      • Increase size for hrmpct.org_id
      • Update property.use1 enum list
      • Support for multiple classifications.
        • Add activity parameters to support multiple classifications
        • Change task name from View Classifications to View and Compare Classifications. Now customers can compare different classification standards.
    • These changes are made with \24.1.002\schema\app-eam\eam-common\update-schema.duw
      • Add Multiple Classifications to eq, eqstd, system_bl, activity_log and hactivity_log tables
      • Update eqstd.csi_id enum list
  • EAM: Builder SMS
    • Script to apply schema changes to support the Archibus Extension for BUILDER(TM) SMS - Phase 2. Includes integration with Condition Assessment (Inspections), Capital Project Management (Work Plans) and additional improvements: \ projects\users\public\dt\24.1.001\schema\app-eam\builder-sms.
      • Add Help Link for BUILDER(TM) SMS process.
      • Add SMS Builder fields, Update fund_id size
      • Add dictionary tables and fields to support the implementation of Complexes
      • Creating new tables and fields for Condition Assessment (Inspections) integration
      • Creating new table for mapping BUILDER(TM) SMS Direct Condition Ratings to Archibus Condition Values
      • Creating new table and fields for Project Management (Work Plans) integration
      • Update existing and add new connectors to support the transfer of Complexes, Assessments (Inspections) and Projects (Work Plans)
      • Add connector's fields to support the transfer of Complexes, Assessments and Projects
      • Add metric that measures the Remaining Service Life (Years Life Expectancy) for BUILDER(TM) SMS Assets. Review this metric in the Strategic Financial Analysis console.
      • For bl.bl_number field, change Archibus Type from "Desc" in '"None"
      • Add default value to contact.honorific
      • Import application data for BUILDER(TM) SMS Inspections: BUILDER SMS Direct Condition Ratings mapping to Archibus Condition Values
      • Import application data for BUILDER(TM) SMS Projects: Add new Project Types and Activity Types for Project Management integration
      • Import application data for BUILDER(TM) SMS Work Items: Add new Archibus Problem Types that map to BUILDER(TM) SMS Work Codes for Work Items
      • Adding application parameter for Condition Assessment integration. This parameter specifies the number of past days (ex. 90) for which to import inspections from BUILDER(TM) SMS
      • Adding background views for processing data transferred to/from BUILDER(TM) SMS
      • Create BUILDER(TM) SMS user group view
    • Update existing connectors. These changes are made with \24.1.002\schema\app-eam\ \builder-sms\update-schema.duw
  • EAM: Mobile
    • Script to apply Schema changes for Enterprise Asset Management mobile apps -- \24.1.001\schema\app-eam\mobile\update-schema.duw
      • Add the field csi_id to the eq_sync and eqstd_sync tables

Risk

Script to apply Schema, WFR, and PNav Updates to Environmental & Risk Domain -- \24.1.001\schema\app-env-risk\update-schema.duw

Additional Script to apply Schema, WFR, and PNav Updates to Environmental & Risk Domain \24.1.002\schema\app-env-risk\update-schema.duw

  • Energy Management
    • Script to load schema updates for Energy Management / Environmental Monitoring ("IoT Sensors") Support -- \24.1.001\schema\app-env-risk\energy\update-schema.duw
      • Define new fields for specifying performance thresholds for each data point
      • Add new PTask entries and rearrange existing entries for the BPO-Utilities task so the Meter Analytic tasks will be distinct from the bill management tasks
      • Add missing dep_cols (field validation details) to reference bill field in bill table (DB-221)
  • Compliance
    • Script to apply Schema Updates & Inserts to Compliance Management -- \24.1.002\schema\app-env-risk\compliance\update-schema.duw
      • Add activitytype record required for generating compliance events
  • Compliance Mobile app
    • Script to apply Schema changes for Compliance Survey mobile app to support adding service request for action type questions -- \24.1.001\schema\app-env-risk\compliance\mobile\update-schema.duw
      • Add activity_log_id to quest_answer_ext_sync table; add survey_event_id, question_id, date_recorded and time_recorded fields to activity_log_sync table.
      • Import WFR for create service requests from questionnaires
  • Compliance / Contracts Management
    • Script to load schema updates for the Compliance Contracts application \ 24.1.001\schema\app-env-risk\compliance\compliance-contracts\update-schema.duw
      • Update field definition for some of the compliance_contract_cost table to not allow null for those having default values (APP-3457)
      • Add help topic link for Compliance/Contract Manager process (APP-4212)
  • Green Building
    • Script to Update Background Data - Carbon Footprint Factor Info for Green Building -- \24.1.001\schema\app-env-risk\greenbuilding\update-schema.duw
      • Define new Energy Grid Version entries for 2014 and 2016 data
      • Add subregion emissions data from the US EPA's 2014 data.
      • Add corresponding postal code to subregion mapping for US EPA's 2014 data.
      • Add subregion emissions data from the US EPA's 2016 data.

Essential Facility

Script to support 24.1 Essential Facility features -- \24.1.001\schema\app-essential-facility\update-schema.duw

  • Import schema data to support Facility Essentials
  • Update users, roles, processes, and tasks for Essential Tier self-service users and managers
  • Import Essential Metrics and Granularities
  • Import Scorecard for Essential Metrics
  • Update afm_activities, afm_activity_params, afm_flds, afm_wf_rules and afm_wf_rules for kiosk

The following changes are made with features -- \24.1.002\schema\app-essential-facility\update-schema.duw

  • Change application and process titles to "Essential Suite"
  • Update a self-service user task_id from "Self-Service Home Page" to "ARCHIBUS Workplace

Professional

  • Script to Update users, roles, processes, and tasks for Professional Suite managers -- \24.1.001\schema\app-professional\update-schema.duw

REPM

  • FASB
    • Script to add FASB new fields to ARCHIBUS Dictionary, Process Navigator, Home Page, Workflow rules, Activity parameters, Security and Data -- \ 24.1.001\schema\app-repm\fasb\update-schema.duw
  • Grp
    • Script to add three fields (dispos_anticipated_year, excess_anticipated_year, sale_anticipated_year) to grp and grp_trans tables -- \24.1.001\schema\app-repm\grp\Add-three-missingfields.duw

Reservations

Script to update schema /24.1.001/schema/app-reservations/update-schema.duw

  • Increase the attendees and comments fields size for reservations to 4000 (APP-3267)
  • This also is in /24.1.002/schema/app-reservations/update-schema.duw but the latter contains only one table .
  • Update hreserve, reserve and resview table due to afm_size changes
  • Add new activity parameters with codes PlugInAvailableRoomColumns,PlugInFilterToUserFloor,PlugInSingleReservationView,PlugInRecurringReservationView,PlugInConfCallReservationView,PlugInAddReservationLink (OLKPLGN-94, OLKPLGN-96, OLKPLGN-93)
  • Add two new messages with codes: RECURRING_RESERVATION_LINK and RESERVATION_LINK (OLKPLGN-93)
  • Add two new messages codes: MSG_WARNING_RECURRING_RESERVATION_NOT_FOUND and MSG_WARNING_RESERVATION_OCCURRENCES_MISSING (OLKPLGN-12)

Space

Script to Update schema for common space feature -- \24.1.001\schema\app-space\update-schema.duw

  • BOMA 2017
    • Script to Update schema fields for BOMA2017 -- \24.1.001\schema\app-space\boma2017\update-schema.duw
  • Move Management
    • Script to Update schema for move feature \24.1.001\schema\app-move\move-console\update-schema.duw
      • Remove duplicate processes for Quick-Start (the process_id is 'QS - Space (SC)')
      • Update afm_ptasks record
  • Mobile
    • Script to update schema for Space Occupancy Mobile app enhancements -- \24.1.001\schema\app-space\mobile
      • Add new field time_last_surveyed to rm and surveyrm_sync table
  • Space-common -- \24.1.001\schema\app-space\space-common\update-schema.duw
    • Remove duplicate processes for Quick-Start(the process_id is 'QS - Space (SC)')
    • Add new field bas_measurment_scope.scale_factor for Space Utilization feature
    • Add new activity parameters AbSpaceRoomInventoryBAR-SpaceUtilRollUpInterval"
  • Workplace Transaction
    • \24.1.001\schema\app-space\workspace-transaction\update-schema.duw
      • Add activity parameter AbSpaceRoomInventoryBAR-AllocatePctSpaceOnDpChanges to determines whether or not the system adjusts the Percentage of Space value for occupancy changes

Quick Start

  • Script to remove references to Quick Start in the schema - - \24.1.001\schema\quick-start\update-schema.duw

System Administrator

\24.1.001\schema\sysadmin\update-schema

  • Fix metric definition for metric ops_costs-maintenance_monthly
  • Add the 'Define Fiscal Year' task to the System Administration Process Navigator
  • Remove 'Home' and 'Home Page' suffix from all titles of 'AbDashboardPageNavigation'
  • Re-organize application Enterprise Move Management under the Space Planning & Management domain.
  • Remove WFR example 'WSClientExamples'
  • DB-240 - Geographic data fields: make lat/lon editable, geo_objectid protected
  • Set afm_type of most lat and lon fields (excepting archive, sync tables, and sql views) to "None" so users can hand-modify the values if needed
  • Set geo_objectid fields to afm_type = "Calculated" so the fields values will not be user-editable, only updated by the ARCHIBUS system
  • DB-193 - Remove Knob Gauge

\24.1.001\schema\sysadmin\gdpr\update-schema.duw

  • DB-257 - GDPR Schema changes
    • Add date_terminated to em, afm_users and contact tables
    • Add date_gdpr_removal to em, afm_users, cf, contact, visitors and cb_accredit_person tables
    • Add GDPR application parameters
    • Add GDPR WFRs

\24.1.002\schema\sysadmin\gdpr\update-schema.duw

  • DB-299 - GDPR Schema changes. Improve GDPR application parameters descriptions

\24.1.002\schema\sysadmin\gdpr\update-schema.duw

  • DB-316 - Remove dashboard processes for Essential and Professional in schema DB

\24.1.001\schema\sysadmin\db-291-remove-extra-semicolon.duw

  • DB-291 - Remove extra semicolon from end of enumeration list

Version 23.2 Database Schema Revision History

V.23.2 adds the ability to update your ARCHIBUS database using master scripts. The master update scripts call a series of subscripts to add changes for the ARCHIBUS platform and for each ARCHIBUS domain.

Below is a summary of the changes that the scripts make.

For details on the exact changes, see these scripts:

  • \projects\users\public\dt\23.2\update-schema.duw -- applies the schema changes made since V.23.1
  • \projects\users\public\dt\23.2\update-sample-data.duw -- -- applies the sample data changes made since V.23.1
  • \projects\users\public\dt\23.2-plus\update-schema.duw -- holds additional changes that came to attention after the official V.23.2 database was made
  • \projects\users\public\dt\23.2-plus\update-sample-data.duw -- resolves a number of corner cases involving the data and the schema

You can also click here to open a text file detailing table and field definition differences between the schema database (v23.1 schema) and the project database (v23.2 schema).

Note: Database update scripts. V.23.2. Oracle and SQL Server . To use the V.23.2 database update scripts on Microsoft SQL Server and Oracle, you must do the following: in \archibus\projects\users\public\dt\23.2-plus\sample-data\app-bldgops\common\update-sample-data.duw comment the ${run.script('%publicDataTransferDirectory%\23.2-plus\sample-data\app-bldgops\common\drop_WO_WR_triggers.sql')}; line. See What's New in V.23.2 / Add-in Manager Features: Scripted Database Updates for information on the database update scripts. (DB-149)

Summary of V.23.2 Schema Changes

REPM

  • FASB 842/IFRS - the following tables were added : ls_amort_sched; ls_class_audit; ls_ledger_entries
  • FASB 842/IFRS - Fields were added or changed in the following tables: bl; finanal_params; finanal_sum; finanal_sum_life; ls;

Capital Project Management

  • There are no schema changes for CPM for v23.2

Space

  • Updated the display order of the Define Locations task within the Building Performance Smart Client PNAV (afm_ptasks)

Moves

  • Added support of moving teams (mo), for creating move scenarios that include new layouts and teams (mo_scenario_em), and for editing additional room trial attributes (rm_trial).
  • Added a new table to track and manage all published enterprise graphics (afm_enterprise_graphics).

EAM: Common Changes

  • Backward Compatibility - added a WFR for disposal, and added 12 periods for space and asset requirements to support backward compatibility
  • Updated PNav to include Define Properties and eliminate a duplicate sort order value
  • Set Asset Portal to be inactive

EAM: Chain of Custody

  • Added tables and fields to support Chain of Custody: Added Custodian Type table and validated to the team table; updated asset_trans to include owner custodian

EAM: Equipment Systems Console

  • Added afm_enterprise_graphics table. This table is used to store information on published enterprise graphic files for CAD and BIM.

EAM: BUILDER TM SMS

  • Added many tables and fields to support exchanging data with BUILDER TM SMS application. The tables include:
    • Unique to BUILDER: bl_use_val, builder_component_type, construction_types_val, site_org, staging, smsbuilder_ci
    • Common for EAM: campus, csistd, eq_asset_attribute, asset_attribute_std
  • Added WFR for custom master connectors: SMSBuilderConnectorJob. The new WFR is assigned to the application 'AbSystemAdministration'

  • Added WFR for custom master connectors: SMSBuilderConnectorJob. The new WFR is assigned to the application 'AbSystemAdministration'
  • Added three master connectors and multiple child connectors. The master connectors are: SMS_ARCHIBUS_to_Builder_Assets, SMS_BackgroundData_from_BUILDER, SMS_BUILDER_to_ARCHIBUS_Assets
  • Added Classification Standards values
  • Added Asset Attribute Standards values
  • Added one new activity parameter with parameter code 'ReconcileAssetConnectors', for application 'AbAssetManagement'.
  • Added one tracking metric: cpm_BuilderSMS_ConditionIndex_percent_monthly
  • Added one analysis metric: cpm_BuilderSMS_ConditionIndex_percent_an_fy
  • Added BUILDER SMS Home Page - see page descriptor: ab-navigation-home-smsbuilder-level-4.xml
  • Added a new Process Navigator process with multiple tasks. The new process is titled: 'Extensions for BUILDER SMS'
  • Added new connectors rule for truncating values: TRUNCATE
  • Sample metric values for the tracking metric: cpm_BuilderSMS_ConditionIndex_percent_monthly. This change was made with /dt/23.2-plus/update-sample-data.duw.
  • Updated Activity Parameter, titles, metrics, PNAV, Connectors, and CSI top level title. These changes are made with /dt/23.2-plus/update-sample-data.duw.

BldgOps: Common changes:

  • Improved mobile sync mechanism to consume less data by synchronizing only the data changes from a defined list of tables (afm_activity_params)
  • Modified escalation notification parameters (afm_activity_params)
  • Added support for stopping the SLA "clock" when work requests are put on hold (afm_activity_params, wr, wrhwr)
  • Added support of syncing equipment condition and status (wr_sync)
  • Delete triggers that were inadvertently left in the HQ database for Building Operations; Keep a "main warehouse" storage location (pt_store_loc). These changes are made with /dt/23.2-plus/update-schema.duw.

BldgOps: PM Planning:

  • Added compliance contract information to SLAs (helpdesk_sla_response) and work requests (wr, wrhwr)
  • Added ability to look up PM-related SLAs (afm_wf_rules)
  • Enhanced schedule detail such as recurrence patterns, intervals, compliance contracts, and SLA work teams (pms)
  • Supported canceling or deferring scheduled dates (pmsd)

BldgOps: Labor Scheduling:

  • Added new tables to support enhanced craftsperson schedule information (cf_schedules, cf_schedules_variances, cf_schedules_days, cf_schedules_assign)
  • Added new table to support enhanced SLA priority structure (helpdesk_sla_priority)
  • Added support for getting craftsperson busy times from MS Exchange (afm_wf_rules)

Risk: Energy Management:

  • Added the new Energy Utility Analysis Console to the Process Navigator and Energy Home Page (afm_ptasks)

Risk: Compliance / Contract Management:

  • Added new table and fields to track contract's related costs, including fields to enable multicurrency and VAT management (compliance_contract_cost)
  • Updated the title of the compliance programs table to refer to both programs and contracts (regprogram)
  • Added fields to compliance programs table to store dates and other data specific to contracts (regprogram)
  • Added fields to manage information about the cost associated to the violations table, including fields to enable multicurrency and VAT management (regviolation)
  • Add new process called "Contract Manager" to the Process Navigator (afm_processes)
  • Assign the new Contract Manager process to several roles (afm_roleprocs)
  • Add new tasks for views and reports to be added to manage, track and review information related to contracts in the Process Navigator under the new Contract Manager process, and to review costs associated to programs under the Operational Reports process (afm_ptasks)

Risk: Compliance / Functional Surveys and Extended Questionnaires:

  • Added new tables and their fields, to track and manage the questionnaires, questions, mapping between questionnaire and questions, answer options and answers (questionnaire_ext, question_ext, quest_question_ext, quest_answer_option_ext, quest_answer_ext)
  • Added a field to the activity types table to store the action wfr that this activity type will trigger as an answer response for questionnaires (activitytype)
  • Added a field to the documents assigned table to relate the document with an answer (docs_assigned)
  • Added a field to the compliance requirements table to relate a regulation requirement with a questionnaire (regrequirement)
  • Added new tasks for views and reports to be added to manage, track and review invormation related to: activity types (new WFR action added), measurement units (associated to Compliance Questionnaires measurement questions), defining questionnaires, and reports to preview questionnaires or see survey results by requirement (afm_ptasks)
  • Added two new workflow rules definitions, to add a questionnaire service and compliance survey processor (afm_wf_rules)
  • Added new activity type record to track Compliance generated events (activitytype). This change is made with /dt/23.2-plus/update-schema.duw.
  • Added new bill type records, to track measurement types associated to questionnaire's measurement questions and answers (bill_type). This change is made with /dt/23.2-plus/update-schema.duw.
  • Added new bill units records, to track units of measurement associated to questionnaire's measurement questions and answers (bill_unit). This change is made with /dt/23.2-plus/update-schema.duw.

Workplace Services: Reservations:

  • Added new translatable messages for several fixes: showing description of conflicts in body for meeting series, added content of .ics files generated, and several pop-up error messages from the Outlook Plugin (messages)

Summary of V.23.2 Sample Data Changes

REPM

  • There were no sample data changes.

Capital Project Management

  • There were no sample data changes.

Space

  • There were no sample data changes.

Moves

  • Added sample data to support a move scenario planning business value script that starts with a Strategic Space Planning scenario and moves through move scenario planning phases. There are three move projects, each starting at a different phase in the move scenario process so that demonstrations may start and focus on distinct phases of the process.

EAM

  • Added sample 360 images with hotspots defined, updated depreciation log dates and added new logs, added sample data for the exception reports, and added data to support the EAM Business Value Script.

BldgOps

  • Added support for additional business-value scripts to show scenarios in PM planning and labor scheduling. For PM planning, this includes additional monthly PMs for AHU coils and covers procedures, resources, schedules, schedule dates, SLAs, budgets, and historical work requests. For labor scheduling, this includes craftsperson schedules, variances, and assignments. Finally, corrected an auto-increment sequencing issue for tables activity_log, helpdesk_step_log, wr, and wo by creating and then deleting placeholder records. These changes are made with /dt/23.2-plus/update-sample-data.duw.

Risk: Energy Management

  • Adjust existing bill connector records so they point to the current data feed file location for 23.2 (bill_connector, afm_connector)

Risk: Compliance / Functional Surveys / Extended Questionnaires:

  • Added sample bill type records to track measurement types associated to questionnaire's measurement questions and answers (bill_type)
  • Added sample bill units records, to track units of measurement associated to questionnaire's measurement questions and answers (bill_unit)
  • Added sample activity type records, to invoke actions depending on answers provided, which will update the compliance level of the assigned requirements (activitytype)
  • Added sample questionnaires of different types and with different status (questionnaire_ext)
  • Added sample questions to the sample questionnaires, of all different available types (question_ext)
  • Added sample answer options for each of the questions added to the sample questionnaires (quest_answer_option_ext)
  • Added sample data to map the sample questionnaires entered with their corresponding sample questions (quest_question_ext)
  • Added a sample regulation record (regulation)
  • Added two sample compliance programs (regprogram)
  • Added two sample compliance requirements (regrequirement)
  • Added a set ot compliance sample locations (compliance_locations)
  • Added regulation location sample records, which associate the sample regulations with sample locations (regloc)
  • Added sample records to the activity log table, which are related to the compliance events generated for the above entered questionnaires (activity_log)
  • Added sample answers to the sample questionnaire's questions (quest_answer_ext)
  • Made several updates to the activity log table, storing the events generated for questionnaires (activity_log): update status values to Closed for a handful of records, assign manager value to items where missing, shift action item dates forward so they appear more current
  • Performed a similar forward shift on answer records' date recorded values (quest_answer_ext)

Risk: Compliance / Contract Management:

  • Added two sample regulation records (regulation)
  • Added three sample compliance contracts (regprogram)
  • Added a set of compliance contract terms associated to the entered sample contracts (regrequirement)
  • Added a set ot compliance sample contract locations (compliance_locations)
  • Added regulation location sample records, which associate the sample contracts with sample locations (regloc)
  • Added sample contract cost records, which assign different types of costs to the sample contracts (compliance_contract_cost)
  • Added one sample contract violation record, including the cost information associated to the violation (regviolation)

Workplace Services: Reservations

  • Remove records from archive tables for Reservations, to avoid the issues described in KB 3054482. Take care to not execute under production environments (hreserve_rs, hreserve_rm, hreserve)

Version 23.1 Database Schema Revision History


  - Schema Preferences: 	
	- Update Db Version Date to: 2016-05-26
	- Update Db Version number to: 142

	
Schema changes
==============

	SCHEMA - error when loading the wr_sync view in Smart Client										( 3048569 )
		- import afm_flds_wr_sync_kb3048569

	SCHEMA - update afm_size for msds_id field in table waste_profiles to match reference field size					( 3049781 )
		UPDATE afm_flds SET afm_size = 10 WHERE table_name = 'waste_profiles' AND field_name = 'msds_id'

	SCHEMA - EAM - Add Criticality field to bl, property, and ta tables									( 3050519 )
		 import items-3050519-doc1.csv

	SCHEMA - EAM - Increase eq_id size in all tables to 32 characters									( 3050689 )
		import items-3050689-doc1.csv		

	SCHEMA - EAM - change status enum list and default values for asset tables (bl, property, eq, and ta)					( 3051010 )
		import items-3051010-doc1.csv
		import items-3051010-doc2.csv

	SCHEMA - Add fields to support markers													( 3051094 )
		import v23-1_afm_redlines_markers.csv

	SCHEMA - EAM - add asset_type and criticality fields to eq_req_items table								( 3051337 )
		import items-3051337-doc1.csv
		UPDATE afm_flds SET dflt_val = 'eq' WHERE table_name = 'eq_req_items' and field_name = 'asset_type' AND dflt_val = 'Equipment';

	SCHEMA - new fields & pkey defn's for Energy Mgmt bill processing improvements								( 3051383 )
		import afm_flds-Bali5-SCHEMA-KB3051383-changesForBillProcessingImprovements.csv

	SCHEMA - Add table eqstd_sync and modify eq_sync.eq_std field										( 3051538 )
		import 3 files attached

	SCHEMA - Enum Issue: Base_metric_units value gets set to 3 when units Imperial - Inches are defined for a drawing			( 3047122 )
		UPDATE afm_flds SET enum_list = '0;mm;1;cm;2;Metres;3;Inches' WHERE table_name = 'afm_dwgs' AND field_name = 'base_metric_units';
		UPDATE afm_flds SET enum_list = '0;Metric;1;Imperial;2;PerLocale' WHERE table_name = 'afm_dwgs' AND field_name = 'units';

	SCHEMA - align the field size of Functional Group fields between tables gp and sb_items							( 3049894 )
		import afm_flds_gp_kb3049894.csv

	SCHEMA - enum_list values with leading spaces												( 3051067 )
		UPDATE afm_flds set enum_list=REPLACE(REPLACE(enum_list,' ;', ';'),'; ',';') 
		 WHERE enum_list IS NOT NULL AND (enum_list LIKE '% ;%' OR enum_list LIKE '%; %')

	SCHEMA - add Furniture Requirements items to sb_items											( 3051218 )  
		import afm_flds_sb_items_FurnitureKB3051218.csv

	SCHEMA - Add condition field to bl and property tables and update eq.condition field and ta.condition field enum lists			( 3051259 )
		import items-3051259-doc1.csv

	SCHEMA - Add field eq_sync.num_serial													( 3051439 )
		import afm_flds_231_KB3051325.csv 

	SCHEMA - Add field eq_audit.num_serial													( 3051452 )
		import afm_flds_231_KB3051324.csv

	SCHEMA - Update the enum list for afm_processes.license_level to change "ICP" to "ACP" and to change "N/A" to "Client/Server"		( 3051496 )
		UPDATE afm_flds SET enum_list = 
'AbCoreLevel1;1 - Self-Service;AbCoreLevel2;2 - Workflow Process;AbCoreLevel3;3 - Analysis;AbCoreLevel4;4 - Process Owner;AbCoreLevel4System;4 - System Administrator;AbCoreLevel4Activity;Activity ACP;N/A;Client/Server'
WHERE table_name = 'afm_processes' AND field_name = 'license_level'

	SCHEMA - EAM - change ml heading of date created and time created fields in eq table							( 3051516 )
		import items-3051516-doc1.csv

	SCHEMA - Add geo_objectid field to afm.gros table											( 3051647 )
		import afm_flds_gros.csv

	SCHEMA - set E&R AUTOINCREMENT fields to afm_type CALCULATED										( 3051719 )
		UPDATE afm_flds SET afm_type = 2070 WHERE dflt_val = 'AUTOINCREMENT' AND afm_type = 2050 AND table_name IN 
		(
		'bas_data_clean_num'
		,'bas_data_point'
		,'bas_data_time_norm_num'
		,'bas_measurement_scope'
		,'gb_cert_docs'
		,'gb_cert_log'
		,'gb_fp_s1_co_airc'
		,'gb_fp_s1_fuel_comb'
		,'gb_fp_s1_refrig_ac'
		,'gb_fp_s1_s3_mobile'
		,'gb_fp_s2_purch_e'
		,'gb_fp_s3_em_air'
		,'gb_fp_s3_mat'
		,'gb_fp_s3_outs'
		,'gb_fp_s3_serv'
		,'gb_fp_s3_waste_liq'
		,'gb_fp_s3_waste_sol'
		,'gb_fp_s_other'
		);

	SCHEMA - Reservations - Add field to rm_arrange_type											( 3051735 )  
		Bali5-Reservations-schema-rm_arrange_type.csv

	SCHEMA - change Multi-line Heading of wrcf.status to be "Assignment Status"								( 3050795 )
		import afm_flds_WRCF_Status_ML_Heading_KB3050795.csv

	SCHEMA - add afm_flds comments for v6.1 Compatibility fields										( 3051023 )
		import items-3051023-doc1.csv

	SCHEMA - add new tables and fields for Multiple Parts Storage Locations									(3051503)
		-import new tables and fields

	SCHEMA - add new fields for Multiple Parts Storage Locations, part 2									(3051505)
		-import attached file
		-po	ac_id              ---- Set ref_table to   'ac'
		-po	bill_city_id       ---- Set ref_table to 'city' and dep_cols to 'bill_state_id;bill_city_id'
		-po	bill_state_id      ---- Set ref_table to 'state' and dep_cols to 'bill_state_id'
		-po	ship_city_id       ---- Set ref_table to 'city' and dep_cols to 'ship_state_id;ship_city_id'
		-po	ship_state_id      ---- Set ref_table to 'state' and dep_cols to 'ship_state_id'
		-po	amount_approved    ---- Set to have a default of 0 (zero) and Allow Null to NO
		
	SCHEMA - add new fields for Multiple Parts Storage Locations, part 3									(3051507)

	SCHEMA - "Minimum To store" should be "Minimum to Store" in multi-heading in pt and pt_store_loc_pt					( 3051709 ) 
		The multi-heading of field qty_min_hand in pt and pt_store_loc_pt should be "Minimum to Store", a issue of capital letter

	SCHEMA - Our perUserFileExpiration scheduled rule deletes the additional sample data from archibus/projects/users/public/dt/hq-data/	( 3050014 )
		- deactive the perUserFileExpiration WFR

	SCHEMA - Remove validation of gp.parent_group_id to avoid a self-referencing data integrity constraint					( 3051104 ) 
		UPDATE afm_flds SET validate_data=0 WHERE table_name='gp' AND field_name='parent_group_id'

	SCHEMA - add field to change the SLA matching logic 											( 3050716 )
		import afm_flds_helpdesk_sla_request_match_ordering_seq_KB3047670.csv	

	SCHEMA - Add county_id to the city table to support tax reporting 									(3048911)

	SCHEMA - Add translatable title fields to the afm_dwgpub table										(3050094)

	SCHEMA -Database changes to support Numeric IDs and Translatable Foreign Keys								(3051893)
		-add 4 CSV files included
		-update the afm_scmpref to include the new translatable fields

	SCHEMA - Mobile - Register Multiple Devices per User - New Tables									(3051848)
		-add afm_mob_dev_reg_log table

	SCHEMA - Mobile Sync - New Tables & Fields for Data Change Events									(3051847)
		-import attached files
		-update afm_tbls set table_name='afm_mobile_table_trans' where table_name='afm_table_trans'

	SCHEMA - Energy Management - Bill Processing updates											(3051343)
		import CSV files

	SCHEMA - add new tables and fields Team Space functionality										(3051482)
		import CS files

	SCHEMA - add two translatable fields that do not appear in afm_scmpref.preferences							(3051911)
		afm_bim_params.parameter_name
		afm_holiday_dates.description
		Add them to the list of translatable fields.


	SCHEMA - Mobile - Support downloading latest plans - Date SVG Last Published								(3051924)
		- import file attached

	SCHEMA - Database changes to support "Service Provider VPA										(3051925)
		- execute duw file

	SCHEMA - Add fields to parcel table																	( 3052185 )
		import afm_flds_parcels.csv

	SCHEMA - Add support for craftperson roles in SLAs, to define Service Desk Roles for craftpersons									( 3052198 )
		import 2 CSV attached

	SCHEMA - Add the View Analysis Enum to afm_ptasks.task_type														( 3052086 )
		import items-3052086-doc1.csv

	SCHEMA - Add to database schema the new tables to support equipment systems: eq_system, eq_rm										( 3052135 )
		import 2 CSV files attached

	SCHEMA - After greeking, WebCentral does not start, error: for field=[ot.status]. The default value=[Owned] does not match any of the enum data values			( 3051992 )
		ot.status to switch the order of the last two value pairs in the enumeration list:
		   From:  	"N/A;N/A;UNKNOWN;Unknown"
		   To:     	"UNKNOWN;Unknown;N/A;N/A"

	SCHEMA - change multi-line heading of po.federal_tax to Value Added Tax													( 3052200 )
		import afm_flds_VAT_MLHeading_KB3052200.csv

	SCHEMA - EAM - Condition field - add condition field to bl and property tables and update eq.condition field and ta.condition field enum lists				( 3051259 )
		update afm_flds set enum_list='new;New;excellent;Excellent;good;Good;fair;Fair;poor;Poor;bad;Bad' where table_name='pa' and field_name='condition'

	SCHEMA - Energy bill processing - Updates after design change														( 3052109 )
		delete from afm_flds where field_name='proration_group_code' or table_name='bl_proration_group'
		drop table bill_proration_group    
		drop table bl_proration_group      
		alter table bill drop proration_group_code    
		alter table bill_archive drop proration_group_code   
		DELETE FROM afm_tbls where table_name='bl_proration_group'		
		import the csv file attached as document 1, which includes: 2 new fields in vn_ac table, 2 new fields in bill_proration_group table

	SCHEMA - Field changes to support eq. systems -Add eq_id to team table -Add equipment to the enum list of team_type field						( 3052152 )
		import attached file
		update afm_flds set enum_list='None;None;Compliance;Compliance;EH&S;EH&S;Emergency;Emergency;HazMat;HazMat;Project;Project;Work;Work;Equipment;Equipment' 
		where table_name='team' and field_name='team_type'

	SCHEMA - project.cost_target_cur is missing a closing parenthesis in the field title in afm_flds									( 3052213 )
		update afm_flds set ml_heading=ml_heading+')' where table_name='project' and field_name='cost_target_cur'

	SCHEMA - SFA - add new invoice_line_item table; cost_cat_id to activitytype and probtype tables; enum changes for cost_cat, cost_tran_sched tables and use1 fields	( 3052199 )
		import csv files attached

	SCHEMA - SFA - New tables and fields for the Strategical Financial Console (finanal_* tables)										( 3052139 )
		import 3 files attached
		update afm_flds set dep_cols='collect_table;analysis_result_field' where table_name=' afm_metric_definitions' and field_name='analysis_result_field'

	SCHEMA - Should increase maximum length of field for document URL (docs_assigned.url)											( 3052048 )
		update afm_flds set data_type=12, afm_size=256 where table_name in ('docs_assigned','docs_assigned_sync') and field_name='url'

	SCHEMA - Team Space: Add min_val for field em_seat_ratio_tgt														( 3052002 )
		update afm_flds set min_val=0 where field_name='em_seat_ratio_tgt'

	SCHEMA - Update afm_flds enumlist for PROPERTY and BL use1														( 3051646 )
		update afm_flds set afm_size=32 where table_name='property' and field_name='use1'
		update afm_flds set afm_size=32 where table_name='ta' and field_name='use1'
		update afm_flds set enum_list='UNKNOWN;UNKNOWN;COMMERCIAL;COMMERCIAL;RESIDENTIAL;RESIDENTIAL;DEVELOP.-CURRENT;DEV-CURRENT;DEVELOP.-FUTURE;DEV-FUTURE;LAND;LAND;PARK;PARK;PARKING;PARKING;RIGHT-OF-WAYS;ROW;ROADS;ROADS;ACADEMIC;ACADEMIC;ADMINISTRATION;ADMINISTRATION;BANK/FINANCIAL INSTITUTION;BANK;COURTHOUSE;COURTHOUSE;DATA CENTER;DATA CENTER;HOUSE OF WORSHIP;WORSHIP;HOSPICE;HOSPICE;HOSPITAL;HOSPITAL;HOTEL;HOTEL;K-12 SCHOOL;SCHOOL;INDUSTRIAL;INDUSTRIAL;MANUFACTURING;MFG;MARKETING;MARKETING;MEDICAL OFFICE;MEDICAL;MIXED USE;MIXED USE;MULTIFAMILY HOUSING;MULTIFAMILY;OFFICE;OFFICE;OTHER;OTHER;R+D;R+D;RESIDENCE HALL/DORMITORY;DORMITORY;RETAIL;RETAIL;SALES OFFICE;SALES;SENIOR CARE FACILITY;SENIOR CARE;SPORT/RECREATION;RECREATION;STORAGE;STORAGE;SUPERMARKET/GROCERY STORE;SUPERMARKET;WAREHOUSE;WAREHOUSE;WAREHOUSE (REFRIGERATED);WAREHOUSE-COLD;WASTEWATER TREATMENT PLANT;WASTEWATER' 
		where table_name='property' and field_name='use1'
		update afm_flds set enum_list='UNKNOWN;UNKNOWN;ACADEMIC;ACADEMIC;ADMINISTRATION;ADMINISTRATION;BANK/FINANCIAL INSTITUTION;BANK;COURTHOUSE;COURTHOUSE;DATA CENTER;DATA CENTER;HOUSE OF WORSHIP;WORSHIP;HOSPICE;HOSPICE;HOSPITAL;HOSPITAL;HOTEL;HOTEL;K-12 SCHOOL;SCHOOL;INDUSTRIAL;INDUSTRIAL;MANUFACTURING;MFG;MARKETING;MARKETING;MEDICAL OFFICE;MEDICAL;MIXED USE;MIXED USE;MULTIFAMILY HOUSING;MULTIFAMILY;OFFICE;OFFICE;OTHER;OTHER;R+D;R+D;RESIDENCE HALL/DORMITORY;DORMITORY;RETAIL;RETAIL;SALES OFFICE;SALES;SENIOR CARE FACILITY;SENIOR CARE;SPORT/RECREATION;RECREATION;STORAGE;STORAGE;SUPERMARKET/GROCERY STORE;SUPERMARKET;WAREHOUSE;WAREHOUSE;WAREHOUSE (REFRIGERATED);WAREHOUSE-COLD;WASTEWATER TREATMENT PLANT;WASTEWATER' 
		where table_name='bl' and field_name='use1'

	SCHEMA - Update afm_size to 10 for auto_number field in eq_system table													( 3052241 )
		update afm_flds SET afm_size=10 where table_name='eq_system' and field_name='auto_number'
		update afm_flds SET afm_size=10 where table_name='eq_system' and field_name='sort_order'

	SCHEMA - EAM - Modify team.team_type and add team.eq_id															( 3052253 )
		import items-3052253-doc1.csv
	
	SCHEMA - EAM - Add team_category table and add validation to new team_category table in team table									( 3052215 )
		import 2 file attached

	SCHEMA - When using Hebrew the Mobile Maintenance app cannot properly sync work request 										( 3049509 )
		import doc2

	SCHEMA - 3D Viewer - Add the bim_param_vals table to the database													( 3052289 )
		import 2 file attached

	SCHEMA - change ALL lat and lon fields from size 24 decimals 16 to size 16 decimals 8											( 3052302 )
		UPDATE afm_flds SET afm_size = 16, decimals = 8 WHERE field_name IN ( 'lat', 'lon');

	SCHEMA - Energy Mgmt - afm_flds - bas_data_time_norm_num_value_common 													( 3052309 )
		import file attached

	SCHEMA - To support a more automated creation of Service Desk Roles, add fields to the helpdesk_ro 									( 3052187 )
		import 2 file attached
	
	SCHEMA - EAM - Add pr_id (property code) to the project table														( 3052425 )

	SCHEMA - MOBILE - increase wr_sync.description length to match wr.description 												( 3052431 )

	SCHEMA, DATA - SFA - Import all of the SFA and HQ BIM data changes 
		in projects\users\public\dt\sfa\sfa-2016-04-20-import-staging-database-data.duw 				( 3052796 )

	SCHEMA - TEAM SPACE - Create indexes on date fields in the rm_team and team tables.					( 3052600 )
		IF EXISTS (SELECT 1 FROM sysindex where index_name = 'RM_TEAM_DATE_START_DATE_END') DROP INDEX rm_team.RM_TEAM_DATE_START_DATE_END;
		CREATE clustered INDEX rm_team_date_start_date_end ON rm_team(date_start, date_end);

		IF EXISTS (SELECT 1 FROM sysindex where index_name = 'TEAM_DATE_START_DATE_END') DROP INDEX team.TEAM_DATE_START_DATE_END;
		CREATE clustered INDEX team_date_start_date_end ON team(date_start, date_end);
	
	SCHEMA - PNAV - Add the View Analysis Enum to afm_ptasks.task_type 							( 3052086 ) 
		UPDATE afm_flds SET enum_list = 
		'LABEL;Label;WEB URL;Web URL;GRID;Smart Client Grid;GRIDCAD;Smart Client CAD Grid;VIEWANLYS;Smart Client View Analysis;OVERLAY ACTION;Overlay Action;VIEW;C/S View;FIXED-FORMAT VIEW;C/S Fixed-Format View;DRAWING VIEW;C/S Drawing View;BASICSCRIPT ACTION;C/S BasicScript Action;ACTIVEX ACTION;C/S ActiveX Action;WINDOWS CONSOLE URL;C/S Windows Console URL;SHELLEXECUTE;C/S ShellExecute;WINDOWS BROWSER URL;C/S Windows Browser URL'
		WHERE table_name = 'afm_ptasks' AND field_name ='task_type';

	SCHEMA - MOBILE - Add doc_isnew Fields to Sync Tables 									( 3052756 ) 
		import attached files

	SCHEMA - GRANT to afm_secure --- Cannot log into ARCHIBUS with AFM user after change 
		UseVpaGroups parameter from 0 to 1 and restart ARCHIBUS server 							( 3052513 ) 

		GRANT REFERENCES, SELECT, UPDATE ON afm.vpa_rest TO afm_secure;
		*test it

	SCHEMA - BIM - Recently added table bim_param_vals has an incorrect primary key 					( 3052546 ) 
		UPDATE afm_flds SET primary_key = 1 WHERE table_name = 'bim_param_vals' AND field_name = 'model_name';
		UPDATE afm_flds SET primary_key = 2 WHERE table_name = 'bim_param_vals' AND field_name = 'model_level';
		UPDATE afm_flds SET primary_key = 3 WHERE table_name = 'bim_param_vals' AND field_name = 'guid';
		UPDATE afm_flds SET primary_key = 4 WHERE table_name = 'bim_param_vals' AND field_name = 'parameter_name';	

	SCHEMA - add field to team_properties table: Needs Team Space 								( 3052615 ) 
		import afm_flds_team_properties_needs_team_space_KB3052615


	3052885 SCHEMA - TELECOM - Update afm_flds Validate Data field to yes for the telecom fields of the eq, eqport and pnport tables
		import items-3052885-doc1.xml

	3053135 SCHEMA - SFA - add translatable fields for the SFA Console (follow-up on KB 3052931)
		Add these fields in afm_scmpref table
			<field table="finanal_analyses" field="analysis_title" />
			<field table="finanal_matrix" field="box_subtitle" />
			<field table="finanal_matrix" field="box_title" />
			<field table="finanal_matrix" field="box_tooltip" />

	3053108 SCHEMA - EAM - add photo field to the vendor table
		import items-3053108-doc1.csv

	3052904 SCHEMA, PNAV, DATA - Import batch 2 of SFA staging data in sfa-staging-database-changes-batch-02.duw
		execute duw script

	3053447 SCHEMA - EAM - Increase sb_name to 64 characters to match project and scenario name field size
		UPDATE afm_flds SET afm_size = 64, comments = comments || '; v23.1 increase size' WHERE field_name = 'sb_name';


RUN SCW on the following tables:
================================

waste_profiles;bl;property;ta;ta_audit;activity_log;bas_data%;bas_m%;card;compliance_locations;docs_assigned;ehs_incidents;ep;eq%;eq_audit;h_activity_loghactivity_logmonth;helpdesk_sla_reques;hwr%;jk;mo_eq;msds_h_location;msds_location;pmforecast_tr;pmpsum;pms;pnport;pms;pnport;resources;rm_resource_std;softinv;vn_ac;waste_out;wr;wr_sync;wrhwr;ot;bl;eq;eq_audit;eq_sync;afm_redlines;eq_req_items;eqstd_sync;eq_sync;gp;sb_items;eq_sync;eq_audit;rm_arrange_type;gp;waste_profiles;afm_redlines;energy_bl_svc_period;energy_chart_point;weather_model;eqstd_sync;
pt%;hwrpt;pms;wrpt;wrpt_sync;helpdesk_sla_request;city;afm_dwgpub;activitytype;afm_mob_dev_reg_log;bill%;bl_pr%;em;cost%;supply%;team%;rm_team

invoice_line_item;activitytype;probtype;bas_data_time_norm_num;bim_param_vals;team_properties;team_category;docs_assigned;docs_assigned_sync;team;vn_ac;bill_proration_group;helpdesk_sla_response;helpdesk_roles;parcel;eq_system;eq_rm;afm_metric_definitions;docs_assigned;docs_assigned_sync;team;team_category;active_plantypes;finanal%;activity_log;activity_log_hactivity_log;bl;city;compliance_locations;county;ctry;ehs_incidents;em;eq;geo_region;hactivity_log;hwr;msds_h_location;msds_location;parcel;parking;property;regn;rf_activity;rf_reader;rm;site;ta;waste_areas;weather_station;wr;wrhwr;bas_data_time_norm_num

finanal_sum; wr_sync; activity_log_sync; eq_audit; docs_assinged_sync; bim_param_vals; 
           finanal_params; finanal_sum; finanal_sum_life; team_properties

eq;eqport;pnport;vn

finanal_sum;eq_req_items;sb;sb_items;sbperiods;sbaffin



Localization:
=============

	- To get the new fields from the last update into afm_flds_lang run:
			INSERT INTO afm_flds_lang (table_name, field_name) 
				SELECT table_name, field_name FROM afm_flds 
				WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
						  WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
						  AND afm_flds_lang_inner.field_name = afm_flds.field_name )


	Verification:
	=============

	- Check for CR/LF in enum_list values:
		SELECT table_name, field_name FROM afm_flds WHERE enum_list LIKE '%'||CHAR(13) ||'%'  OR  enum_list LIKE '%'||CHAR(10)||'%';

  	- Run Comparator50.abs to verify database and especially FKeys.

	- SELECT table_name,field_name from afm_flds WHERE enum_list IS NOT NULL AND (enum_list LIKE '% ;%' OR enum_list LIKE '%; %')

	- UPDATE afm_flds set enum_list=REPLACE(REPLACE(enum_list,' ;', ';'),'; ',';') 
		 WHERE enum_list IS NOT NULL AND (enum_list LIKE '% ;%' OR enum_list LIKE '%; %')

WFR changes
===========

	WFR - New WorkflowRule - AbSystemAdministration: DataDictionaryService									( 3051720 )
		import items-3051720-doc1.xlsx

	WFR - Add WFR for new reusable component for uploading files to WC project folder							(3051909)

        WFR - Change WFR ProjectRequirementsService to be registered to activity_id AbCommonResources in afm_wf_rules    			( 3052444 )

	WFR - SYSTEM - Add the Home Page Editor workflow rules in the attached CSV								( 3052680 )
		import file

	WFR - Add WFR Definition for the Mobile Data Change Event										(3051836)

	WFR - New scheduled WorkflowRule - AbRiskEnergyManagement : ScheduledDeleteBasSrcDataRecords						(3051298)

	WFR - Energy Management - New WFR required for Bill processing improvements								(3051887)

	WFR - EAM - new workflow rule for Equipment Systems service										( 3052300 )
		import xlsx file
		UPDATE afm_wf_rules SET xml_sched_props = NULL WHERE rule_type = 'Message';

	WFR - Add new WFR for SFA Aggregate operating cost wfr											( 3052229 )
		import csv file attached

        WFR - SFA - New WFR definitions for REPM SFA 												( 3052418 )
		import attached file

	WFR - SFA - Add new WFR definition  for  Depreciation calculation									( 3052545 )
		import file

	WFR - Remove obsolete SFA WFR-ules definitions from database										( 3052470 )
		DELETE FROM afm_wf_rules WHERE activity_id = 'AbRPLMCosts' AND rule_id = 'AggregateOperatingCostsJob';
		DELETE FROM afm_wf_rules WHERE activity_id = 'AbRPLMCosts' AND rule_id = 'FinancialAnalysisService';

	WFR - Remove EquipmentSystemService WFR													( 3052515 )
		DELETE FROM afm_wf_rules WHERE activity_id = 'AbAssetEAM' AND rule_id = 'EquipmentSystemService';



PNav changes
============

	PNAV - Incomplete consolidation of "Define Employees" view tasks									( 3051340 )
		-import items-3051340-doc1.csv

	PNAV - "elevator story" missing from Process Navigator right-click menu for Asset Management						( 3050266 )
		-import items-3050266-doc3.csv

	PNAV - Three Help Links for the Extension for AutoCAD need updating in the database and another one is missing				( 3050159 )
		-update the help links

	PNAV - Cannot create/confirm reservation when security.restrictLoadingOfUnassignedViews=true						( 3051664 )
		-Add process id 'Application Support'
		-Import the CSV file
		-Update the display_order to match the order of the tasks in the CSV file.

	PNAV - System Admin - Mobile Manager - Add task for tracking mobile devices history (report)						( 3051696 )
		import items-3051696-doc1.csv

	PNAV - The My Profile/Navigation Method command should be updated to use "home page" terminology 					( 3051575 )
		UPDATE afm_flds SET 
		enum_list='ab-dashboard.axvw;Dashboard;navigator-details.axvw;Process Navigator;accessible-details.axvw;Accessibility Navigator;page-navigator.html;Home Page' 
		where table_name='afm_users' and field_name='home_page'
		UPDATE afm_ptasks SET task_id='Publish Home Pages by Role' WHERE task_file='ab-publish-navigation-pages.axvw'
		*change the view ab-publish-navigation-pages.axvw title to 'Publish Home Pages by Role'

	PNAV - Add task for defining plan types to Strategic Space Planning application, and update the existing 
		task with the new file name and task ID 											( 3051197 )
		import afm_ptasks_Edit_Std_Sp_PlanTypes_KB3051195.csv
		update afm.afm_ptasks set task_id = 'Edit Standard Space Plan Types', task_file = 'ab-edit-std-sp-plan-types.axvw'
		where activity_id = 'AbSpaceRoomInventoryBAR' 
		and process_id = 'Background Data' and task_id = 'Edit Print and Drawing Attributes';
	
	PNAV - http help file links should not be hard coded into the task_file field for page navigation help					( 3051750 )
		UPDATE afm_ptasks SET task_file = 
		replace(task_file,'https://www.archibus.com/ai/abizfiles/v21.2_help/archibus_help/archibus.htm#../','') 
		WHERE task_file LIKE '%archibus_help%' 

	PNAV - Apply v.22.1-add-advanced-applications.duw to Bali5 canonical hq.db								(3050183)
		-execute projects\users\public\dt\schema\v.22.1-add-advanced-applications.duw

	PNAV - typos in English strings in EAM PNav												(3050176)
		*check: AbAssetAM      Console Reports      Highlight Buildings and Rooms with issues of: …Hazardous Wast
			AbAssetEAM   Console Reports      Highlight Buildings and Rooms with issues of: …Hazardous Wast


	PNAV - Energy Management - Bill processing updates											(3051341)
		-DELETE FROM afm_ptasks WHERE task_file='ab-energy-measure-and-verify.axvw'
		-import csv file attached

	PNAV - entry for Marker and Cluster solutions example 											(3051093)
		import xlsx file attached

	PNAV - Remove outdated example processes												(3050239)
		DELETE from afm_ptasks WHERE task_file='ab-ex-ie-drag-drop-assgin-em-to-dp-iframes.axvw';
		DELETE from afm_ptasks WHERE task_file='ab-ex-dashboard-actions-bar-view.axvw';
		DELETE from afm_ptasks WHERE task_file='ab-ex-dashboard-actions-bar-iframes.axvw';
		DELETE from afm_ptasks WHERE task_file='ab-ex-campus-mapguide-ca.axvw';
		DELETE from afm_ptasks WHERE task_file='ab-ex-campus-mapguide-wr.axvw';
		DELETE from afm_ptasks WHERE task_file='ab-ex-campus-mapguide-pr.axvw';
		COMMIT

	PNAV - EAM - Add PNav Picks to EAM and AM Console Reports										(3049843)
		import afm_ptasks.csv

	PNAV - DATA - Publish Enterprise Graphics on PNAV can’t publish SVG rule 								(3040005)
		-Wrong XLS files - import manually
	
	PNAV - Add new Compliance Report													(3049790)
		import afm_ptasks_compliance_kb3049790.csv file

	PNAV - No PNav link for Example of Form Layout Options view										(3050072)
		-added as the last task in the "Parts for Form"
		
	PNAV - Asset Portal - When clicking a Report, the wrong Report is Loaded								(3049483)
		-import the afm_ptasks.csv 

	PNAV - System Admin - Mobile Manager - Add task for configuring application parameters for mobile					(3051466)
		-import the xlsx file attached

	PNAV - Two processes in the Extension for AutoCAD lack Help links(duplicate of 3050159)							(3050220)
		- add missing help links

	PNAV - SPACE - add view Define Teams													(3051564)
		- import attached file

	PNAV- Background Data includes a Define Document Templates task but doesn't have the View Templates task to make use of the template	(3048531)
		import items-3048531-doc1.csv


	PNAV - BLDGOPS - remove processes and ptasks that are made redundant by the Building Operations Console					(3051563)
		delete from afm_ptasks where activity_id = 'AbBldgOpsOnDemandWork' and process_id = 'Supervisor_WEB BldgOpsConsole' 
			and task_id not in ('Building Operations Console', 'Planning Board', 'Work Team Performance Report');
		delete from afm_ptasks where activity_id = 'AbBldgOpsOnDemandWork' and process_id = 'Craftsperson_WEB BldgOpsConsole' 
			and task_id = 'Update Work Order and Work Requests'
		delete from afm_ptasks where activity_id = 'AbBldgOpsPM' and process_id = 'Supervisor BldgOpsConsole' and 
			task_id not in ('Building Operations Console', 'Planning Board');
		delete from afm_ptasks where activity_id = 'AbBldgOpsPM' and process_id = 'Craftsperson BldgOpsConsole' 
			and task_id = 'Update Work Orders and Work Requests';
		delete from afm_processes where activity_id = 'AbBldgOpsOnDemandWork' and process_id = 'Supervisor_WR BldgOpsConsole';
		delete from afm_processes where activity_id = 'AbBldgOpsOnDemandWork' and process_id = 'Craftsperson_WR BldgOpsConsole';
		delete from afm_processes where activity_id = 'AbBldgOpsPM' and process_id = 'Supervisor(WR) BldgOpsConsole';
		delete from afm_processes where activity_id = 'AbBldgOpsPM' and process_id = 'Craftsperson(WR) BldgOpsConsole';

	PNAV - Five Help links triggered by right-clicking on a Process/Role are not working. 
		They are not working from either the Process Navigator or the navigation page bucket. 						(3050839)

	PNAV - BLDGOPS - Create new processes and tasks for use with Multiple Parts Storage Locations						(3051561)
		-delete from afm_ptasks where activity_id = 'AbBldgOpsOnDemandWork' 
			and process_id = 'Bucket QS - BldgOps Background' and task_id = 'Define Parts Inventory';
		-import attached files

	PNAV - Metrics - SFA Impact - Distinguish between Tracking and Analysis Metrics tasks							( 3052192 )
		UPDATE afm_ptasks SET task_id = 'Tracking Metrics' WHERE task_id =  'Metrics' 
			and activity_id ='AbSystemAdministration' and process_id = 'Add-In Manager';
		UPDATE afm_ptasks SET task_id = 'Define Tracking Metrics' WHERE task_id =  'Define Metrics' 
			and activity_id ='AbSystemAdministration' and process_id = 'Add-In Manager';
		import items-3052192-doc1.xlsx	
		delete from afm_ptasks where task_id='Metrics Trend Values'

	PNAV - Remove outdated example processes												( 3050239 )
		delete from afm_processes where activity_id='AbSolutionsDashboard' and process_id='Dashboard'
		delete from afm_processes where activity_id='AbSolutionsMapGuide' and process_id='MapGuide Solutions'

	PNAV - In the Telecom Summary text a bad character is shown, only in Process Navigator and not in Page Navigator			( 3052027 )
		import items-3052027-doc2.csv

	PNAV - Define Punch Block Standards task should be removed from three Asset Management processes					( 3052083 )
		DELETE FROM afm_ptasks WHERE task_id = 'Define Punch Block Standards' AND activity_id <> 'AbAssetManagement'

	PNAV, DATA - Enable the Building Operations Console and Multiple Parts Storage Locations on the HQ canonic database			( 3052069 )
		run SQL commands from items-3052069-doc1.txt

	PNAV - Change Space PNav to point to the new (Team Space) version of the Space Console							( 3052101 )
		UPDATE afm_ptasks SET task_file = 'ab-sp-console-trans.axvw' 
		WHERE task_file = 'ab-sp-console.axvw' AND process_id <> 'Bucket QS - Space Favorites';

	PNAV - BLDGOPS - Delete processes that are made obsolete by the Building Operations Console which is now standard in v23		( 3052172 )
		delete from afm.afm_processes where activity_id = 'AbBldgOpsOnDemandWork' 
			and process_id in ('Call Center', 'Craftsperson_WEB', 'Requestor_WEB', 'Supervisor_WEB', 'Business Manager', 
			'Dispatcher_WEB', 'Service Desk Manager', 'Inventory Manager','Supervisor_WR','Craftsperson_WR')
		delete from afm.afm_processes where activity_id = 'AbBldgOpsPM' 
			and process_id in ('Supervisor', 'Craftsperson', 'Service Desk Manager', 'Maintenance',
			'Supervisor(Work Requests)', 'Craftsperson(Work Requests)')

	PNAV - remove parts views from Quick-Start processes											( 3052026 )
		delete from afm.afm_ptasks where AFM.afm_ptasks.activity_id = 'AbBldgOpsOnDemandWork' 
		and AFM.afm_ptasks.process_id = 'Bucket QS - BldgOps Background' and AFM.afm_ptasks.task_id = 'Define Parts Storage Locations';
		delete from afm.afm_ptasks where AFM.afm_ptasks.activity_id = 'AbBldgOpsOnDemandWork' 
		and AFM.afm_ptasks.process_id = 'Bucket QS - BldgOps Process' and AFM.afm_ptasks.task_id = 'Manage Parts Inventory';

	PNAV - New Pnav entry for Numeric IDs management view (KB 3051993)									( 3052071 )
		import afm_ptasks-New-NumericID-KB3052071.csv

	PNAV - Energy - View Prorated/Aggregated Bills -- add one additional task								( 3052112 )
		import Bali5-energy-bill-processing-process-navigator-2.csv

	PNAV - task_type field has empty values for 4 records in afm_ptasks table								( 3052285 )
		UPDATE afm_ptasks SET task_type = 'GRID' WHERE process_id LIKE '%(SC)' AND task_type = '';
		UPDATE afm_ptasks SET task_type = 'GRIDCAD' WHERE process_id LIKE '%(SC-CAD)' AND task_type = '';


	PNAV - Help Links needed for Bldg Ops and Preventive Maintenance processes that now differ when using/not using Bldg Ops Console	( 3052303 )
		import items-3052303-doc1.xlsx

	PNAV - SFA - Add the SFA Process Navigator entries to the canonic									( 3052358 )
		import attached files

	PNAV - EAM - Background Data process modifications											( 3052370 ) 
		1.	Save the file attached in document1 to eam-pnav.zip
		2.	Save the file attached in document2 to eam-remove-background.sql
		3.	Unzip eam-pnav.zip.  You should now have eam-processes.csv, eam-ptasks.csv, and eam-roleprocs.csv
		4.	Login to Smart Client
		5.	Using Transfer icon select Transfer In
		6.	Navigate to your eam import files and select eam-processes.csv
		7.	Import eam-ptasks.csv
		8.	Import eam-roleprocs.csv
		9.	Open Web Central and navigate to System Administration; Add In Manager
		10.	Select Publish Home Pages by Role
		11.	Select the Publish All button
		12.	Execute the eam-remove-background.sql file saved in step #2

	PNAV - ENERGY - Change the task name for one existing report from "Annual Summary" to "Electric Annual Summary"				( 3052330 )								( 3052330 )
		update afm_ptasks set task_id='Electric Annual Summary' where task_id='Annual Summary'

	PNAV - Reservations, new report to be added for Not Verified Reservations								( 3051923 )
		import Bali5-Reservations-afm_ptasks-notverified-report.csv
		UPDATE afm_ptasks SET task_id = 'View Unverified Reservations' WHERE task_id = 'Not Verified Reservations'

        PNAV - E&R - Energy home page navigation entry and assignment 										( 3052417 )
		import 4 files attached
	
	PNAV - REPM - SFA - Help links for new V23 SFA Processes 										( 3052127 )

	PNAV - EAM Define Jack Configurations: Mismatch of PN task name and view name    							( 3050845 )
		import	items-3050845-doc2

	PNAV - SSP - Smart Client PN for Strategic Space Planning needs help topic link					( 3052585 )
		import afm_processes_Space_Planner_SC_Help_KB3052585.csv

	PNAV - SPACE - add view to Space Personnel & Occupancy application: Define Team Property Categories		( 3052686 )
		import afm_ptasks_DefineTeamCategories_KB3052686.csv

	PNAV - ENERGY - Meter Analytics view title change								( 3052662 )
		UPDATE afm_ptasks SET task_id = 'Meter Analytics Over Time' WHERE task_id = 'Energy Consumption Over Time';
		UPDATE afm_ptasks SET task_id = 'Meter Analytics by Location' WHERE task_id = 'Energy Consumption by Location';

	PNAV - EAM Define Jack Configurations: Mismatch of PN task name and view name					( 3050845 )
		to be investigated.

	PNAV - EAM - Process Navigator errors and suggestions for Asset Management domain				( 3052473 )
		run items-3052473-doc2.txt

	PNAV - EAM - Add Equipment Metrics by CSI to Console Reports process						( 3052746 )
		import items-3052746-doc1.csv

	PNAV - E&R - Clean Bldgs - The attached Excel file has values for the Help Topic field 
		for Smart Client Clean Building processes in afm_processes						( 3052602 )
		update afm_processes set help_link='\Subsystems\webc\Content\clean\bpo\overview.htm' where process_id='Background Data - Facilities'
		update afm_processes set help_link='\Subsystems\webc\Content\clean\bpo_risk\overview.htm' where process_id='Background Data - Risk'
		update afm_processes set help_link='\Subsystems\webc\Content\clean\clean_bldg_over.htm' where process_id='Define Hazards and Samples (SC)'
	

	PNAV - BLDGOPS - The user default value for page navigation process, there are some processes 
		missing when use the new Database.									( 3052452 )
		Modify and execute the afm_roleprocs_standard_assignments_sql.duw

	PNAV - BLDGOPS - delete duplicate process for Inventory Manager, and correct the process name 
		for Business Process Owner - Maintenance								( 3052493 )
		DELETE FROM afm.afm_processes 
			WHERE activity_id = 'AbBldgOpsOnDemandWork' AND process_id = 'Inventory Manager';
		UPDATE afm.afm_processes SET title = 'Business Process Owner - Maintenance' 
			WHERE activity_id = 'AbBldgOpsPM' AND process_id = 'Maintenance MPSL';
		
	PNAV - BLDGOPS - Add Equipment Systems Console to both On Demand Work and PM PNav				( 3052609 )
		import afm_ptasks-add_eq_systems_console_to_bldgops.csv

	PNAV - TELECOM - Douple quote characters in Smart Client navigator 						( 3052879 )
			menu Telecom Inventory (SC-CAD) - result in error executing commands

	3052889 PNAV - TELECOM - Add SC menu items for Draw Faceplates and Draw Patch Panels
		import items-3052889-doc1.xml

	3053204 PNAV - SPACE - Add Level 1 processes and 'Locate Employee' tasks to the non-transactions PNav
		import the 2 CSV files attached

	3052981 PNAV - SFA - Background Data - 'Define Cost Categories' View does not load
		UPDATE afm_ptasks SEt task_file = 'ab-rplm-cost-categories-define.axvw' 
		WHERE activity_id = 'AbRPLMStrategicFinancialAnalysis' 
		AND process_id = 'Background Data' 
		AND task_id = 'Define Cost Categories' 
		AND task_file = 'ab-cost-cat-edit-gd.axvw';
	
	3052917 PNAV - EAM - Typo in Enterprise Asset Managment -Bucket EAM - Enterprise
		import items-3052917-doc1.csv

	3052963 PNAV - BLDGOPS - add afm_roleprocs records for Ops Console processes
		import BLDGOPS_Console_afm_roleprocs_KB3052963.csv

	3053228 PNAV - SFA - Add the Add-in manager Manage Home Pages and Processes task.
		import doc1

	3053373 PNAV - EAM - Homepage - Add Equipment Systems Console pick
		import items-3053373-doc2.csv


afm_roleprocs updates:

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'EXECUTIVE MANAGER' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_processes.process_id IN ('Executive Reports','Process' )
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'EXECUTIVE MANAGER' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );	

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'EXECUTIVE MANAGER (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_processes.process_id IN ('Executive Reports','Process' )
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'EXECUTIVE MANAGER (ACP)' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );
			
			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER (ACP)' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'ACTIVITY LICENSEE' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'ACTIVITY LICENSEE' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			DELETE FROM afm_roleprocs WHERE (SELECT is_active FROM afm_processes WHERE
				afm_roleprocs.activity_id = afm_processes.activity_id AND afm_roleprocs.process_id = afm_processes.process_id ) = 0
					OR (SELECT is_active FROM afm_activities WHERE afm_roleprocs.activity_id = afm_activities.activity_id  ) = 0
					OR process_id LIKE '%rmtrans%' OR process_id LIKE '%BldgOpsConsole%';

			DELETE FROM afm_roleprocs WHERE role_name IN ( '4 - PROCESS OWNER', '4 - PROCESS OWNER (ACP)', 'ACTIVITY LICENSEE' )
				AND process_id IN ('Executive Reports','Process' );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - SYSTEM ADMINISTRATOR' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - SYSTEM ADMINISTRATOR'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'SYSTEM ADMINISTRATOR' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'SYSTEM ADMINISTRATOR'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'SYSTEM ADMINISTRATOR (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'SYSTEM ADMINISTRATOR (ACP)'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

Data changes
============

	DATA - METRICS - add metrics to support Team Space 									( 3052316 ) 
		import 3 files attached

	DATA - METRICS - update two existing metrics for Parts Storage Locations 						( 3052317 )
		import 2 files attached

        DATA - metrics definitions for Energy Home Page 									( 3052415 )

	DATA - METRICS CONFIG & Sample Data - adjust some E&R metrics								( 3052777 ) 
		UPDATE afm_metric_definitions SET metric_status = 'D' WHERE metric_status <> 'D'
  		AND metric_name IN ('env_EnergyConsumption_monthly','env_WaterConsumption_monthly');
		UPDATE afm_metric_definitions SET value_disp_decimals = 2 
		WHERE metric_name LIKE 'ops_Costs-Utility_perGrossArea_monthly';
		DELETE FROM afm_metric_trend_values WHERE metric_name LIKE 'env_EnergyConsumption_per%';
		import attached files

	DATA - METRICS - update Team Space metric definitions to use Pct_Time and Needs_Team_Space fields			( 3052688 ) 
		afm_metric_definitions_Pct_Time_Needs_Team_Space_KB3052688.xlsx

	DATA - METRICS - ENERGY -  Metrics Granularity assignment & example metrics data for utility bills alerts		( 3052754 ) 
		import the 2 files attached
		UPDATE afm_metric_definitions SET report_limit_high_warn = 0.5, 
			values_remove_method = 'D' WHERE metric_name = 'env_alert_billsUnpaidOverdue_crit';

	3053264 DATA - METRIC DEFN - add missing 'required field' value to new environmental metrics granularities
		UPDATE afm_metric_grans SET tables_required = 'bl' WHERE metric_name LIKE 'env_%' AND collect_group_by = 'use1' AND tables_required IS NULL;

	3053103 DATA - METRICS - update Team Space metric definitions - Assumptions
		import afm_metric_definitions_Assumptions_KB3053103.csv

	3053154 DATA - CONNECTORS - EAM - Fix Maximo Connector Configuration to Import Floor and Room Data
		import items-3053154-doc1.xml

	3053218 DATA - SFA - Import batch 3 of SFA staging data in sfa-staging-database-changes-batch-03.duw
		execute duw script

	3053243	DATA - Add parameters for Weighted FCI calculation to database.
		import xlsx file

	DATA - PARAM - ENERGY - delete redundant app param for sched bas data deletion						( 3052707 ) 
		DELETE FROM afm_activity_params WHERE param_id='BASMeterDataScheduledDeletion';
		UPDATE afm_activity_params SET param_id = 'BASSchedDataDelete_AgeMonths' 
		WHERE param_id = 'BasSourceDataDelete_MonthsMin';
		import PARAM - ENERGY - BASSchedDataDelete_AgeMonths.xlsx
		
	DATA - PARAM - DemoMode - set to On by default for the HQ.db								( 3052582 ) 
		UPDATE afm_activity_params SET param_value = '1' 
			WHERE activity_id = 'AbSystemAdministration' AND param_id = 'DemoMode';

	DATA - Add Activity Parameter for Mobile Photo Quality									( 3051541 )
		import items-3051541-doc1.csv

	DATA - GIS - Update ArcGIS Property/Parcel Connector and Connector Fields						( 3052474 ) 
		Runs sql scripts

	DATA - GIS - Update ArcGIS Activity Parameters										( 3052460 ) 
		DELETE FROM [afm].[afm_activity_params] 
			WHERE activity_id = 'AbCommonResources' AND param_id LIKE 'ArcgisProperty%'
		import 2_load_afm_activity_params.csv

	DATA - ENERGY MGMT EZ-ONRAMP - Fix bill connector entry in afm_conn_flds						( 3052461 ) 
		import the csv file
		import attched files

	DATA - BIM - Revit Categories to be included in the afm_bim_categories table out of the box				( 3045992 ) 
		import file attached

	DATA - SFA - Activity Parameters - Import missing activity parameters (followup on KB 3052140) 				( 3052441 )
		import attached file

	DATA - Reservations, update the values of one existing activity parameter								( 3051539 )
		import afm_activity_params_hide_conflicts_3.csv

	DATA - Reservations - new messages required for supporting Conference Calls from the Outlook Plugin					( 3051345 )
		import items-3051345-doc1.csv

	DATA - Add activity parameter for perUserFileExpiration WFR exclusion folders								( 3045859 )
	
	DATA - PARAM - Add new application parameter 'MobileWorkRequestsSyncSort' to control Mobile work request sync sort field		(3051764)
		import afm_activity_params_MobileWorkRequestsSyncSort.csv

	DATA - ENERGY - bas_data_point sampling interval corrections	 									(3051873)
		-import DATA - ENERGY - bas_data_point -v2.csv

	DATA - APP PARAM - new parameter to control scheduled deletion WFR for input data records from bas_data_clean_num table			(3051705)
		-import afm_activity_params__energy_basdatadeletionschedule.csv

	DATA - Energy Management - Bill processing updates											(3051342)
		-execute Bali5-energy-bill-processing-data.duw

	DATA - Mobile Framework: Add new activity parameter for multi-key barcode scanning							(3050933)
		-import items-3050933-doc1.xlsx

	DATA - remove duplicate sample data from hreserve, hreserve_rm and hreserve_rs								(3049990)
		DELETE FROM hreserve_rm WHERE rmres_id IN (SELECT rmres_id FROM reserve_rm);
		DELETE FROM hreserve_rs WHERE rsres_id IN (SELECT rsres_id FROM reserve_rs);
		DELETE FROM hreserve WHERE res_id IN (SELECT res_id FROM reserve);

	DATA - Energy Management : New activity parameter BASMeterDataScheduledDeletion								(3051027)
		import items-3051027-doc1.xlsx

	DATA - Delete Sample Data Bad EQ Records for SRL, Floor 01 from the Canonic dB verstion 141. 						(3049518)
		DELETE FROM eq WHERE eq_id LIKE 'SRL0%' AND eq_id NOT LIKE 'SRL03%'

	DATA - Create new system parameter “ShowDaysAfterArchived”										(3050893)
		import items-3050893-doc1.xml

	DATA - Update to Lease Sample Data for Lease L-CHICMAN-05 field "floors"								(3049508)
		UPDATE ls SET floors='Fifth Floor' where ls_id='L-CHICMAN-05'

	DATA - Telecom - Re-import panel port data XML to update ports for panels 01 and 02 in SRL 03 						(3049546)
		import items-3049546-doc1.xml

	DATA - Reservations - Error in Reservations Demo data - not correct Excluded configurations						(3045748)
		-CONF-109 SMALL exclude CONF-BIG

	DATA - PARAM - Mobile Sync - New activity parameter - MobileSyncDataChangesOnlyTables							(3051849)
		-import items-3051849-doc1.xlsx

	DATA - EAM Metric Sample Data 														(3049539)
		-import afm_metric_trend_values_EAM_kb3049539.csv
	
	DATA - Reservations - New messages required for last functionality added to the Outlook Plugin						(3051892)
		-import Bali5-Reservations-data-messages-plugin.csv

	DATA - add security group PO APPROVER													(3051532)
		-import afm_groups_PO_APPROVER.csv

	DATA - add schema data to the Storage Locations table											(3051506)
		-import 4_pt_store_loc_MPSL_MAIN.csv

	DATA - Add new messages for helpdesk workflow steps -  scheduling, estimation, verification						(3051830)
		-import messages_KB3051830.csv

        DATA - add workflow step to support Returning requests that are in the Rejected status.							(3051065)
		-import KB3051065_afm_wf_steps.csv

        DATA - add workflow steps to support Forwarding or Editing requests that are in the Rejected status.					(3050009)
		-import KB3050009_afm_wf_steps.csv

        DATA - Chart of Accounts (COA) account code and cost transaction updates								(3051221)
		-import files according to the instruction

	DATA - Highlight Locations with Commissioning Issues - adapt for Commissioning								(3034836)
		-import the 2 CSV files attached as doc2

	DATA - Home Page metrics drill down view is missing: ab-eam-asset-lifecycle-console.axvw 						(3049660)
		- import doc2

	DATA - Drilling down from the map on the EAM Asset management home page accesses a missing .axvw					(3050012)
		duplicate of 3049660
		
	DATA - new activity parameter AbBldgOpsOnDemandWork-Closed_View for notification emails that link to Closed work requests		(3050263)
		-import afm_activity_params_Closed_View_KB3050196.csv

	DATA - WR in Rejected status: Escalation doesn't happen even when the escalation time reaches.						(3049734)
		-import KB3049734_afm_wf_steps.csv

	DATA - SL Rent report QA sample data update required											(3050199)
		- UPDATE cost_tran_recur SET date_end = '2017-02-10'  WHERE ls_id = 'L-CHICMAN-03';
		- UPDATE cost_tran_recur SET status_active = '1' WHERE ls_id = 'L-CHICMAN-01';

	DATA, DOC - Add Energy Management demo scrip processes and task assignments to AIDEMO5 (currently exist for AIDEMO4)			(3042140)
		-import afm_roleprocs.csv

	DATA - SPACE - changes to active_plantype and plantype_groups records for Room Highlights						(3047749)
		-DELETE FROM plantype_groups WHERE plantype_groups.plantype_group = 'Space Console'


	DATA - SFA - New activity: AbRPLMStrategicFinancialAnalysis								( 3052144 )
		import items-3052144-doc1.xlsx

	DATA - SFA - Application Parameters used by the Strategical Financial Analysis (ref. KB)				( 3052140 )
		import items-3052140-doc1.xlsx

	DATA - Update Actitity Parameters for the Extensions for ArcGIS								( 3051672 )
		DELETE FROM afm_activity_params WHERE param_id LIKE 'Arcgis%';
		import afm_activity_params.csv

	DATA - BldgOps - Notification Messages for Substitute need update to replace individual references with "a"		( 3050945 )
		import messages.csv

	DATA - Update Connectors to support changes to Extensions for Esri 							( 3051673 )
		run sql files attached
		import csv files attached

	DATA - Add lat-lon values for city to HQ canonic database 								( 3052123 )
		import city.csv

	DATA - EAM - Team Categories data 											( 3052252 )
		import items-3052252-doc2.csv

	DATA - 'bill' should be used instead of 'Bill' in afm_cnn_flds 								( 3052178 )
		update afm_conn_flds set validate_tbl='bill' where validate_tbl='bill'

	DATA - Bill_unit_id should be 'NONE' rather than 'None' in bill_line table and vn_rate table  				( 3052177 )
		update bill_line set bill_unit_id='NONE' where bill_unit_id='None'
		update vn_rate set bill_unit_id='NONE' where bill_unit_id='None'

	DATA - afm_metric_definitions - set legacy metrics (after applying schema changes in KB 3052139)			( 3052145 )
		UPDATE afm_metric_definitions SET calc_type ='Legacy Metrics' 
		WHERE metric_name IN ('department_area_x_month', 'department_area_x_quarter', 'department_area_x_year', 
		'em_capacity_x_bl_x_month', 'occupancy_count_x_bl_x_month', 'occupancy_count_x_bl_x_quarter', 'occupancy_count_x_bl_x_year');

	DATA - BldgOps - The parameters in notification message for Returned work request is not parsed.			( 3052032 )
		import messages.csv

	DATA - BldgOps - Move garbage text 'Rich format datamodel' from Description field of messages table.			( 3051954 )
		import BldgOpsMessagesWithGarbageRichFormatDataModelTextRemoved.csv

	DATA - Energy Mgmt -- bas_data_point - Edit multi-select value to remove special character. 				( 3052310 ) 
		import SAMPLE DATA - Energy Mgmt - bas_data_point.csv

	DATA - SFA - Activity Parameters - UPDATES (fix after KB 3052144)							( 3052371 )
		DELETE FROM afm_activity_params WHERE
		activity_id = 'AbRPLMStrategicFinancialAnalysis'
		AND param_id IN 
		('CostCategory_Project','CostCategory_ProjectAll','CostCategory_MortgagePrincipal','CostCategory_MortgagePrincipalAll',
		'CostCategory_MortgageInterest','CostCategory_CostOfCapital',
		'CostCategory_Depr','CostCategory_DeprBuildingsAll','CostCategory_DeprCapProjAll','CostCategory_DeprPPEAll');	

		UPDATE afm_activity_params SET description = 'Used by the Forecast Income and Expenses action.'
		WHERE activity_id = 'AbRPLMStrategicFinancialAnalysis' AND param_id LIKE 'CostCategory%'
		AND description LIKE '%Forecast Income%';

		UPDATE afm_activity_params SET description = 'Used by the Update Analysis Metrics action.'
		WHERE activity_id = 'AbRPLMStrategicFinancialAnalysis' AND param_id LIKE 'CostCategory%'
		AND description LIKE '%Update Analysis Metrics%';

		UPDATE afm_activity_params SET description = 'Used by the Forecast Capital Costs action.'
		WHERE activity_id = 'AbRPLMStrategicFinancialAnalysis' AND param_id LIKE 'CostCategory%'
		AND description LIKE '%Forecast Capita%';		
		
		import items-3052371-doc1.xlsx

	DATA - SAMPLE - Load new rm_type for Bedford Main Campus (edu)								( 3052346 )
		import rmtype_bed-mc.csv

	DATA - SAMPLE - Add bu-dv-dp values for Bedford Main Campus (edu)							( 3052334 )
		import 3 files attached.

	DATA - SAMPLE - Load the georeference data for the Bedford Campus into the afm_dwgs table				( 3052197 )
		import afm_dwgs_bedford_ec_mc.csv

	DATA - SAMPLE - Adds or updates building photos to the bl table for Bedford Campus Buildings.				( 3051879 )
		import building photos		

	DATA - SAMPLE - Bedford Main Campus Building Photos									( 3052003 )
		import building photos		

	DATA - SAMPLE - Floors and Rooms for building NB									( 3052355 )
		import floor and rooms

	DATA - SAMPLE - Add sample data for the StackControl Technologies view							( 3048850 )
		import the 2 files attached

	DATA - SAMPLE - Add massive varieties and amounts of EAM, CPM, Portfolio Scenario, 
			 Space Data for BL NC05 and the Bedford Campus								( 3051230 )
		import the files per instructions

	DATA - SAMPLE - Update Bedford Site_id's from BED-EC and BED-NC to Single Site of BEDFORD; 				( 3051878 )
		import the 3 files attached
		DELETE FROM site WHERE site_id = 'BED-EC';
		DELETE FROM site WHERE site_id = 'BED-NC';
		DELETE FROM afm_dwgs WHERE dwg_name = 'BED-EC-CAMPUS'; 0 records 
		DELETE FROM afm_dwgs WHERE dwg_name = 'BED-NC-CAMPUS'; 0 records

	DATA - SAMPLE - Bedford Site Longitude and Latitude									( 3052131 )
		import Bedford-site-lon-lat.csv

	DATA - SAMPLE - Equipment for building NB										( 3052352 )
		import 1_warranty.csv; 2_eqstd.csv; 3_eq.csv		

	DATA - SAMPLE - Bedford Campus Building and afm_dwgs updates.								( 3052001 )
		import 2 csv files attached

	DATA - SAMPLE - Add Bedford Main Campus Data (afm_dwgs, fl, rm)								( 3052174 )
		import attached files

	DATA - SAMPLE - Bedford Main Campus Gros table records. This updates the Internal and External Gros records.		( 3052337 )
		import items-3052337-doc1.csv

	DATA - SAMPLE - remove two records from helpdesk_sla_response that correspond to PM SLAs with multiple priorities	( 3050126 )
		DELETE FROM helpdesk_sla_response WHERE activity_type = 'SERVICE DESK - MAINTENANCE'
		AND priority = 2 AND ordering_seq IN (11, 13);

	DATA - SAMPLE - Taxes & Parcels - BOSPRP2 - Update tax_value_assessed for tax costs (Ref. KB 3049023, 3049156)		( 3049631 )
		import data into cost_tran tables

	DATA - SAMPLE - Run a script and import files to create sample data for multiple part storage locations			( 3052106 )
		import the 7 files attached

	DATA - SAMPLE - SFA - REPM sample data and standard cost background data such as Cost Category data			( 3052318 )
		Apply the scripts per instructions.

	DATA - SAMPLE - EAM - HQ-DATA Files That Come in With the 22.1 Build Needs to be Manually Imported 			( 3051350 )
		import attached files

	DATA - SAMPLE - Updated EQ Criticality, Adds Program Type, and Program, Addes Workpackages for project 2015-000001, 
		Updates the WBS values for Project 2015-000001 activity_log records.						( 3052132 )
		import attached files	

	DATA - SAMPLE -This update adds work packages and actions for Jansen-Integration and updates 
			the WBS codes for projects: Jansen-Integration and 2015-000001						( 3052134 )
		import attached files				

	DATA - SAMPLE - EAM - Adds and Updates EQSTD and EQ table data. 							( 3052324 )
		import 1-eqstd-KB3052324.xlsx (document 1)
    		import 2-eq-KB3052324.xlsx (document 2)		

	DATA - SAMPLE - Update the following Bedford Main Campus Room field data: dwgname and ehandle.				( 3052338 )
		import rm_bed-mc_bl_fl_rm_dwg_ehandle.csv

	DATA - SAMPLE - New Equipment and Equipment Standards for SRL 03 and B1 to support EAM Business Value Script. 		( 3052391 )
		import the 2 files attached

	DATA - SAMPLE - New eq_systems table and system_bl data to support the EAM Business Value Script.			( 3052392 )
		import the 2 files attached

	DATA - SAMPLE - This adds sample data to the eq_rm table.								( 3052399 )
		import items-3052399-doc1.xlsx

	DATA - SAMPLE - Energy Bill additions for Campus data set 								( 3052395 )
		import attached files.

	DATA - SAMPLE -  Sample Team Space teams  for demonstration purposes 							( 3052282 )
		import 4 file attached

	DATA - SAMPLE - Populate missing site_id values into vn_ac table in canonic database 					( 3052107 )
		UPDATE vn_ac v SET v.site_id = (SELECT b.site_id FROM bl b WHERE b.bl_id = v.bl_id);

	DATA - SAMPLE - BLDGOPS - update the value of craftsperson assignment to Complete if the work request is complete 	( 3052288 ) 
		UPDATE afm.wrcf LEFT JOIN afm.wr ON wr.wr_id = wrcf.wr_id SET wrcf.status = 'Complete' WHERE wr.status = 'Com';

	DATA - SAMPLE - Change a part storage location from SRL to NC01                      			        	( 3052350 ) 
		UPDATE pt_store_loc SET pt_store_loc_id = 'NC01', pt_store_loc_name = 'North Campus Bldg 1', bl_id = 'NC01'
		WHERE pt_store_loc_id = 'SRL';
		UPDATE po SET receiving_location = 'NC01'WHERE receiving_location = 'SRL';

	DATA - SAMPLE - Team Member (team table) Sample Data 									( 3052411 ) 
		import items-3052411-doc1.csv
		
	DATA - SAMPLE - Load EQ data for Bedford Main Campus									( 3052413 )
		import csv file

	DATA - SAMPLE - Load parcel data for Bedford Campus									( 3052190 )
		import parcel.csv

	DATA - SAMPLE - PM Procedures, Steps, and Resources for Equipment in building NB 					( 3052423 )
		import 7 files attached

	DATA - SAMPLE -  metrics trend values update for E&R 									( 3052416 )               
		import file

	DATA, DWGS - Lack of Sample Data for Security / Lighting / HVAC Zones 							( 3046085 )
		import 2 XML files attached

	DATA, DWG - em.dwgname is not watching with em.bl_id and em.fl_id 
		in HQ10.db databases - db version # 140 ; db version date: 2014-09-12 						( 3045466 ) 
		 UPDATE em SET dwgname = 
		(SELECT dwgname FROM rm WHERE bl_id = em.bl_id AND fl_id = em.fl_id AND rm_id = em.rm_id)

	DATA - SAMPLE - Updates bl_id and site_id in the activity_log table 
		for Project 2015-000001 and JANSEN-INTEGRATION Project								( 3052750 ) 
		import items-3052750-doc1.xlsx

	DATA - SAMPLE - Update the wbs_id for two activity log records entered in KB 3052134.					( 3052535 ) 
		import items-3052535-doc1.xlsx

 	DATA - SAMPLE - Update Pending Action of 6 eq records. This supports sample data for EAM Asset Disposal Console.	( 3052848 )
		import items-3052848-doc1.xlsx

	DATA - SAMPLE - Update eqstd.category with consistant values that are less than 17 characters.				( 3052534 ) 
		import items-3052534-doc1.xlsx

	DATA - SAMPLE - Team Member Sample Data, re-adding records that were mistakenly deleted					( 3052606 ) 
		import team_Overwritten_Records_KB3052606.csv

	DATA - SAMPLE - update employee records in the TEAM table								( 3052613 )
		UPDATE afm.team SET source_table = 'em' WHERE em_id IS NOT NULL AND source_table IS NULL;

		UPDATE afm.team SET team.address_archive = ISNULL(RTRIM(em.bl_id),'' )|| '-' ||ISNULL(RTRIM(em.fl_id),'' )|| '-' ||ISNULL(RTRIM(em.rm_id),'' ),
                team.cell_num_archive = em.cellular_number, 
                team.contact_type_archive = em.em_std,
                team.email_archive = em.email,
                team.fax_archive = em.fax,
                team.name_archive = ISNULL(RTRIM(em.name_last),'' )|| ', ' ||ISNULL(RTRIM(em.name_first),'' ),
                team.phone_archive = em.phone                
		FROM afm.team 
		LEFT JOIN afm.em ON team.em_id=em.em_id
		WHERE team.source_table  = 'em' AND team.status<>'Removed';

	DATA - SAMPLE - TEAM SPACE - set the sample Team Space teams to have "Needs Team Space" = Yes				( 3052619 ) 
		import team_properties_NeedsTeamSpace_KB3052619.csv

	DATA - SAMPLE - TEAM SPACE - made a few rooms on NC05-03 hotelable							( 3052697 ) 
		import rm_nc05_hotelable.csv

	DATA - SAMPLE - TEAM SPACE & EAM - Populate the Team Name field when it's empty						( 3052521 ) 
		UPDATE team_properties SET team_name = team_id WHERE team_name IS NULL;

	DATA - SAMPLE - SSP - Correct floor sort orders for display on the Stack Control					( 3052482 ) 
		import fl_sort_order_SSP_KB3052482.csv

	DATA - SAMPLE - SMP - Add building photos from "KB 3051230/4-SMP-data" that did not make it 
			into the 2016-04-05 Hq.db update 									( 3052494 ) 
		import bl images
	
	DATA - SAMPLE - SFA - Bedford campus Amoritzation costs									( 3052498 ) 
		import attached files

	DATA - SAMPLE - Remove SB "2015 Jansen Integration"									( 3052480 ) 
		DELETE FROM sb WHERE sb_name = '2015 Jansen Integration';

	DATA - SAMPLE - re-import the sample data for the StackControl Technologies view					( 3052578 ) 
		DELETE FROM afm.gp WHERE AFM.gp.portfolio_scenario_id = 'Headquarters Baseline';
		DELETE FROM afm.portfolio_scenario WHERE AFM.portfolio_scenario.portfolio_scenario_id = 'Headquarters Baseline';
		import sp_001_portfolio_scenario_stackdata_kb3052578.csv
		import sp_002_gp_stackdata_kb3052578.csv

	DATA - SAMPLE - Project 2015-000001 Data Updates.									( 3052749 ) 
		import items-3052749-doc1

	DATA - SAMPLE - Postal codes incorrect for Bedford/Billerica buildings,							( 3052614 ) 
		import bl.csv and check the postal codes.

	DATA - SAMPLE - New sb and sb_items Sample Data for Jansen Integration Op 2 Space Requirement. 
			Supports EAM BVS Scenario.										( 3052850 ) 
		import doc1
		import doc3
		
	DATA - SAMPLE - New Photos and Updates to existing eqstd photos that were showed outdated/old pictures.		( 3052541 ) 
		import new photos

	DATA - SAMPLE - invoice line item data											( 3052702 ) 
		import items-3052702-doc1.csv

	DATA - SAMPLE - HVAC System for building NB										( 3052703 ) 
		import files
		check the KB for verification

	DATA - SAMPLE - Generic (non-vendor) Equipment Photos for New Equipment Standards used in Building NB			( 3052849 ) 
		import photos using DCW

	DATA - SAMPLE - Energy Data for Bedford Site North Campus Buildings							( 3052808 ) 
		execute duw script

	DATA - SAMPLE - ENERGY - replace all bas_data_time_norm_num records							( 3052706 ) 
		TRUNCATE TABLE bas_data_time_norm_num;
		import the csv file using Run Script

	DATA - SAMPLE - ENERGY - bill_line records										( 3052758 ) 
		import 3 XML files attached

	DATA - SAMPLE - EAM - Updates eq records for JANSEN and SRL for EAM Sample Data						( 3052704 ) 
		import KB3052704-jansen-eq.csv
		import KB3052704-srl-eq-dep-val.csv

	DATA - SAMPLE - EAM Replace SRL 03 eq_rm existing sample data with new eq_rm data.					( 3052793 ) 
		DELETE FROM eq_rm WHERE bl_id = 'SRL';
		import items-3052793-doc1.xlsx

	DATA - SAMPLE - EAM - Updates to Activity Log Records for Project 2015-000001 and deletes 2 records.			( 3052731 ) 
		import KB3052731-activity_log.xlsx
		DELETE FROM activity_log WHERE activity_log_id= '9088';
		DELETE FROM activity_log WHERE activity_log_id= '9089';

	DATA - SAMPLE - EAM - Updates and Adds eqstd table sample data.								( 3052657 ) 
		import items-3052657-doc1.xlsx
		UPDATE eqstd SET eqstd.option2='' WHERE eqstd.option2='EAM'

	DATA - SAMPLE - EAM - Update Work Package for activity_log.activity_log_id 9082						( 3052820 ) 
		import items-3052820-doc1.xlsx

	DATA - SAMPLE - EAM - Two New Work Packages and New activity_log records with Equipment for Project 2015-000001 
				and updates to 11 Existing Work Packages							( 3052826 ) 
		import the 2 XLSX files attached
	
	DATA - SAMPLE - EAM - Delete one record from system_bl table.								( 3052564 ) 
		DELETE FROM system_bl WHERE system_id= 'LAB-SRL';

	DATA - SAMPLE - EAM - Delete four sample data records from activity_log.						( 3052819 ) 
		Delete from activity_log where activity_log_id = '9088';
		Delete from activity_log where activity_log_id = '9089';
		Delete from activity_log where activity_log_id = '9188';
		Delete from activity_log where activity_log_id = '9189';

	DATA - SAMPLE - EAM - Add and update equipment sample data.								( 3052668 ) 
		import KB3052668-eq-2.csv

	DATA - SAMPLE - EAM - Add Sample Project data for Project 2015-000001 and Project JANSEN-INTEGRATION.			( 3052671 ) 
		import KB 3052671-project.csv

	*DATA - SAMPLE - Delete Duplicate Records from KB 3051350 afm_metric_trend_values_EAM_kb3049539.csv.			( 3052499 ) 
		DELETE FROM gp WHERE gp_id > '3881' and gp_id < '3949'
		*nothing deleted. run it again?

	DATA - SAMPLE - DATA CORRECTION - reconcile cost_tran_sched records with source bill_archive records			( 3052529 ) 
		execute items-3052529-doc1.sql
		0=SELECT COUNT(*) FROM bill_archive ba, bill_type bt
			WHERE ba.bill_type_id = bt.bill_type_id
			AND not exists (select 1 from cost_tran_sched where cost_tran_sched_id=ba.cost_tran_sched_id 
					AND cost_cat_id = bt.cost_cat_id)

	DATA - SAMPLE - BLDGOPS - MPSL - Run a script to create sample work requests for multiple part storage locations	( 3052477 ) 
		execute per instructions		

	DATA - SAMPLE - BLDGOPS - Add vendor part numbers to the Part Vendors table						( 3052502 ) 
		import the 2 files in order

	DATA - SAMPLE - Bedford Main Campus Building Photos									( 3052003 ) 

	DATA - SAMPLE - Adds or updates building photos to the bl table for Bedford Campus Buildings.				( 3051879 ) 
		
	DATA - SAMPLE - add value for gross external area for MARCEL building							( 3052500 ) 
		UPDATE bl SET area_gross_ext = 285000 WHERE bl_id = 'MARCEL';

	DATA - SAMPLE - Add image and document from KB 3051230 that did not make it into the 2016-04-05 Hq.db update		( 3052489 ) 
		close  it

	DATA - SAMPLE - Add georeference data for NC05 building.								( 3052639 ) 
		import afm_dwgs_nc05.csv

	DATA - SAMPLE - Add Asset Survey Data to support EAM BVS Scenario							( 3052802 )
		import data
		verify

	DATA - SAMPLE - Add 1 eq record that did not make it into the Canonic v142 dated 2016-04-05				( 3052533 ) 
		import items-3052533-doc1.xlsx

	DATA - DWGS - Create Egress Plans for DALLASOF										( 3040998 ) 
		delete from regcompliance where bl_id='DALLASOF'
		import regcomplianceDALLASOF.xml

	DATA - SAMPLE - EAM - Delete eq_system data records 1-88 and add 161 new records to the eq_system table.		( 3052669 ) 
		DELETE FROM eq_system WHERE auto_number > 0 AND auto_number < 89;
		import items-3052669-doc1.xlsx

	DATA - SAMPLE - EQ - remove manufacturer names and model numbers 							( 3052881 )
		for equipment standards and equipment used in building NB 


	3052848 DATA - SAMPLE - Update Pending Action of 6 eq records. This supports sample data for EAM Asset Disposal Console.
		import items-3052848-doc1.xlsx

	3053105 DATA - SAMPLE - SSP - The Dallas buildings do not have location information and so do not appear in the Define Geographic Locations view
		import the 2 CSV files attached

	3052982 DATA - SAMPLE - OLD site_id (ATHENS-U) in Activity Log Records must be changed to site_id "Bedford."
		UPDATE activity_log SET activity_log.site_id='BEDFORD' WHERE activity_log.site_id="ATHENS-U"

	3052989 DATA - SAMPLE - Env&Risk - Some tables have site_id-bl_id values that doesn't match any existing site_id-bl_id value in bl table
		UPDATE bill SET site_id='OLDCITY' WHERE bl_id='I202' AND site_id='MARKET';
		UPDATE bill_archive SET site_id='OLDCITY' WHERE bl_id='I202' AND site_id='MARKET';
		UPDATE compliance_locations SET site_id='DALSTE2' WHERE bl_id='DALLASOF' AND site_id='DALSTE1';
		UPDATE compliance_locations SET site_id='DALSTE2' WHERE bl_id='DALLASDC' AND site_id='DALSTE1';
		UPDATE msds_h_location SET site_id='DALSTE2' WHERE bl_id='DALLASDC' AND site_id='DALSTE1';
		UPDATE msds_h_location SET site_id='DALSTE2' WHERE bl_id='DALLASOF' AND site_id='DALSTE1';
		UPDATE msds_h_location SET site_id='DALSTE1' WHERE bl_id='DALLASHQ' AND site_id='DALSTE2';
		UPDATE msds_h_location SET site_id='BEDFORD' WHERE bl_id='SRL' AND site_id='ATHENS-U';
		UPDATE msds_location SET site_id='DALSTE2' WHERE bl_id='DALLASDC' AND site_id='DALSTE1';
		UPDATE msds_location SET site_id='DALSTE2' WHERE bl_id='DALLASOF' AND site_id='DALSTE1';
		UPDATE msds_location SET site_id='DALSTE1' WHERE bl_id='DALLASHQ' AND site_id='DALSTE2';
		UPDATE msds_location SET site_id='BEDFORD' WHERE bl_id='SRL' AND site_id='ATHENS-U';
		UPDATE waste_areas SET site_id='SHANGSTE' WHERE bl_id='FELAB' AND site_id='FESTE2';

	3053167 DATA - SAMPLE - ENERGY - bill_archive bills for bill_type_id Fuel Oil 1 should be Fuel Oil 2
		UPDATE bill_archive SET bill_type_id = 'FUEL OIL 2' WHERE bill_type_id LIKE 'FUEL OIL%' AND bill_id LIKE 'O-NC06%';

	3052949 DATA - SAMPLE - EAM project proposal data:  eqstd updates, eq_req_items, sb_items data for Space Budget "Jansen Integration Opt 2"
		import 3 XLSX files attached

	3052950 DATA - SAMPLE - EAM - Updates to equipment manufacturers for Jansen and SRL building equipment to make them Generic.
		import items-3052950-doc1.xlsx
	
	3052995 DATA - SAMPLE - EAM - Update eqstd.category for 3 eqstd records.
		UPDATE eqstd SET eqstd.category='Firestop' WHERE eqstd.eq_std='FIREEX'
		Commit;
		UPDATE eqstd SET eqstd.category='HVAC Controls' WHERE eqstd.eq_std='HVAC-SYS'
		Commit;
		UPDATE eqstd SET eqstd.category='Laboratory' WHERE eqstd.eq_std='MET-ANLYS-ASM'
		Commit;

	3052994 DATA - SAMPLE - EAM - Update date_est_start for project 2015-000001, work package "11 - Assets to Dispose".
		UPDATE work_pkgs
		SET work_pkgs.date_est_start='2015-05-04' WHERE work_pkgs.project_id='2015-000001' and work_pkgs.work_pkg_id='11 - Assets to Dispose'
		Commit;

	3052993 DATA - SAMPLE - EAM - Update activity_log.wbs_id for activity_log.activity_log_id "9082"
		UPDATE activity_log SET activity_log.wbs_id='0.03' WHERE activity_log.activity_log_id='9082' 
		Commit;

	3053007 DATA - SAMPLE - EAM - Add 3 new equipment standards to support EAM Disposal
		import eqstd.csv
		UPDATE eqstd SET eqstd.option2='' WHERE eqstd.option2='new'
		COMMIT;

	3053008 DATA - SAMPLE - EAM - Update 10 Equipment Records to support EAM Disposal Process
		import items-3053008-doc1.xlsx

	3053049 DATA - SAMPLE - EAM - Team data to fill holes in the Team table data and supporting tables (em, emstd, vn, contacts, team_properties).
		import attached files in order

	3052996 DATA - SAMPLE - EAM - Delete eqstd record: "MET-ANAL-SYS" and update the eqstd.csi_id for eqstd "MET-ANLYS-SYS."
		Delete from eqstd where eq_std = 'MET-ANAL-SYS';
		Commit;
		UPDATE eqstd SET eqstd.csi_id='11600' WHERE eqstd.eq_std='MET-ANLYS-ASM' 
		Commit;

	3053172 DATA - SAMPLE - EAM - Add photo for 1 Contact; update data for 2 Contact records. This data supports EAM Scenario.
		import csv file
		import xlsx file
		UPDATE contact SET contact.option2='' WHERE contact.option2='newphoto'
		COMMIT;

	3053139 DATA - SAMPLE - EAM - Add 4 eq records and update 8 eq records to enable demonstration of EAM Maximo Connectors
		import items-3053139-doc1.xlsx

	3053115 DATA - SAMPLE - EAM - Add 3 photos for vn and em tables to the Canonic dB version 142 dated 2016-04-25. These photos support support EAM.
		import em.csv and vn.csv
		UPDATE vn   SET vn.option2='' WHERE vn.option2='newphoto'
		COMMIT;
		UPDATE em SET em.option2='' WHERE em.option2='newphoto'
		COMMIT;

	3053175 DATA - SAMPLE - EAM - Add 12 new Team records, update 3 Team records, delete 1 Team Record. Supports EAM BVS.
		import items-3053175-doc1.xlsx
		Delete from team where autonumbered_id = '305';
		Commit;

	3053048 DATA - SAMPLE - EAM - 1 Equipment Photo that did not make it in from KB 3052541 and 1 additional photo.
		import eqstd.csv
		UPDATE eqstd SET eqstd.option2='' WHERE eqstd.option2='checkmate'
		COMMIT;

	3053016 DATA - SAMPLE - EAM -  New Projteam data to support EAM  and EAM Business Value Script.
		import the 2 xlsx files attached
		
	3052920 DATA - SAMPLE - COND ASSESS - Inconsistent Building/Site data in Project Database
		UPDATE activity_log, bl SET activity_log.site_id = bl.site_id 
		WHERE activity_log.bl_id = bl.bl_id AND activity_log.bl_id IS NOT NULL AND activity_log.site_id <> bl.site_id;
		COMMIT;

	3052983 DATA - SAMPLE - BLDGOPS - Update OLD Site_id (ATHENS-U) in wr and hwr tables to be site_id "BEDFORD."
		UPDATE wr SET wr.site_id='BEDFORD' WHERE wr.site_id='ATHENS-U'
		Commit;

		UPDATE hwr SET hwr.site_id='BEDFORD' WHERE hwr.site_id='ATHENS-U'
		Commit;

	3053044 DATA - SAMPLE - BLDGOPS - Add a matching ordering sequence value to a few sample SLAs that currently don't have one
		UPDATE helpdesk_sla_request SET match_ordering_seq = ordering_seq WHERE match_ordering_seq IS NULL;
		commit;

	3049564	DATA - Environmental & Risk Management Highlight Hazardous Waste Sample Data Needs To Be Re-Located into Storage Area (Removed from Corridor and Vertical Penetration)
		UPDATE waste_out SET rm_id = '169' WHERE bl_id = 'HQ' AND rm_id IN ('124', '158');

	3053164 DATA - SFA sample data Book Value updates for NC buildings
		import sfa-data-bl-value_book-updates.csv

	3053335 DATA - SAMPLE - Update team.num_archive for 7 team table records.
		import items-3053335-doc1.xlsx

	3053322 DATA - SAMPLE - Update eq.mfr to generic names. This KB includes records overlooked in KB 3052950.
		import items-3053322-doc1.xlsx

	3053298 DATA - SAMPLE - Correct 1 eqstd record's spec_depth, spec_width, area values from KB 3052949
		UPDATE eqstd SET eqstd.spec_depth='5.00' WHERE eqstd.eq_std='METAL-CUT'
		UPDATE eqstd SET eqstd.spec_width='2.00' WHERE eqstd.eq_std='METAL-CUT' 
		UPDATE eqstd SET eqstd.area='10.00' WHERE eqstd.eq_std='METAL-CUT'
		Commit;

	3053428 DATA - ENERGY - Update bill_line_archive records
		UPDATE bill_line_archive SET bill_type_id = 'FUEL OIL 2' WHERE bill_type_id LIKE 'FUEL OIL%' AND bill_id LIKE 'O-NC06%';

	3053155 DATA - SAMPLE - SFA sample data area updates for NC buildings	
		import sfa-data-bl-NC-area-updates.csv

	Clean up the DCW tables
		- truncate table afm_flds_trans
		- truncate table afm_transfer_set
	

Version 22.1 Multi-Lingual Database Schema Revision History

PNav changes
============

   PNAV - REPM - Rename the Portfolio Forecasting application to Advanced Portfolio Forecasting. (3050181, 3050182)
                 Reinstate the Portfolio Forecasting application, which was replaced in database version 141 as part of KB 3047731. 

   PNAV - EAM  - Add Telecom Asset Management application. (3050181, 3050182)

Version 22.1 Database Schema Revision History (Database Version 141)

 Schema Preferences: 	
	- Update Db Version Date to: 2015-07-10
	- Update Db Version number to:	141

Schema changes
==============

_______
System:

	SCHEMA - Wish to add an ordering sequence to metrics on a scorecard(3044025)
		Copy the field definition in afm_flds from afm_ptasks.display_order to the afm_metric_scards table

	SCHEMA - The necessity of giving one English word more than one translations (3034586)

	SCHEMA - questionnaire_id is missing from the hactivity_log table(3045712)
		import hactivity_log.questinnaire_id into DB
		UPDATE afm_flds SET comments='v22.1' WHERE table_name='hactivity_log' AND field_name='questionnaire_id';

	SCHEMA - MSSQL: The index key size cannot exceed 900 bytes (3047032)
		UPDATE afm_flds SET data_type=12 WHERE table_name in ('lang_files','lang_string') and field_name in ('constant','filename','string_english')

	SCHEMA - Add source fields to afm_notifications_log table (KB 3046983) - (3047182)

	SCHEMA - active_plantypes.title should be translatable(3046157)
		Add <field table="active_plantypes" field="title" />

	SCHEMA & SAMPLE DATA - PDF Printing - Add table plantype_groups and add fields to table active_plantypes(3047346)

	SCHEMA - SYSTEM - Metrics Email Notifications - 1 new table with 2 fields plus 2 other new fields	(3047753)
		INSERT INTO afm_flds(table_name,field_name,ml_heading,data_type,afm_size,dflt_val,allow_null,comments) VALUES ('notify_templates','metric_collect_group_by','Metric
Granularities',12,512,NULL,1,'v22.1');
		INSERT INTO afm_tbls(table_name,title,comments) VALUES('afm_metric_notify','Metrics Notifications','v22.1');
		INSERT INTO afm_flds(table_name,field_name,ml_heading,data_type,afm_size,dflt_val,allow_null,primary_key,ref_table,comments) VALUES ('afm_metric_notify','metric_name','Metric
Name',1,64,NULL,0,1,'afm_metric_definitions','v22.1');
		INSERT INTO afm_flds(table_name,field_name,ml_heading,data_type,afm_size,dflt_val,allow_null,primary_key,ref_table,comments) VALUES ('afm_metric_notify','template_id','Notification
Template Code',1,32,NULL,0,2,'notify_templates','v22.1');
		INSERT INTO afm_flds(table_name,field_name,ml_heading,data_type,afm_size,dflt_val,allow_null,comments) VALUES ('notifications','metric_value_id','Metric Value ID',4,10,NULL,1,'v22.1');

	SCHEMA - Improvement - notify_templates.trigger_date_field - increase field size from 32 to 64	KB# 3049046
		UPDATE afm_flds set afm_size=64 where table_name='notify_templates' and field_name='trigger_date_field'
	
	SCHEMA - Metrics Notifications - notifications.metric_value_id should be FK to afm_metric_trend_values.auto_number KB# 3049100
		update afm_flds set ref_table='afm_metric_trend_values',dep_cols='metric_value_id' where table_name='notifications' and field_name='metric_value_id';

	SCHEMA - Connectors - Add Connector Log History table	(3046736)
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_log', 'run_id', 0, 'v22.1 Connectors', 4, 'Connector Run ID', 2, 0, 10);
		insert into afm_tbls (table_name, comments, title) values ('afm_conn_logh', 'v22.1 Connectors', 'ARCHIBUS Connector Log History');
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'conn_log_id', 0, 'v22.1 Connectors', 4, 'Connector Log ID', 2, 1, 10);
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'run_id', 0, 'v22.1 Connectors', 4, 'Connector Run ID', 2, 0, 10);
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'connector_id', 0, 'v22.1 Connectors', 1, 'Connector Code', 0, 0, 32);
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'date_log', 1, 'v22.1 Connectors', 9, 'Date Log', 0, 0, 1);
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'msg', 1, 'v22.1 Connectors', 12, 'Message', 0, 0, 2000);
		insert into afm_flds (table_name, field_name, allow_null, comments, data_type, ml_heading, num_format, primary_key, afm_size) values ('afm_conn_logh', 'time_log', 1, 'v22.1 Connectors', 10, 'Time Log', 0, 0, 1);

		update afm_flds set afm_type = 2070 where table_name = 'afm_conn_log';
		update afm_flds set afm_type = 2070 where table_name = 'afm_conn_logh';

	SCHEMA - SYSTEM - add new fields to afm_redlines to support the Markup Project Task view	(3047621)

	SCHEMA - expansion of assigned documents feature - Changes for docs_assigned and docs_assigned_sync	(3047869)

	SCHEMA - SYSTEM - chhange afm_redlines.image field name to afm_redlines.image_file	3048667
		UPDATE afm_flds SET field_name='image_file' WHERE table_name='afm_redlines' AND field_name='image'
		alter table afm_redlines rename image to image_file

	SCHEMA - Rename ml_heading for afm_conn_flds.is_schema_field 	3048169

______
Space:

	SCHEMA - Define Employee view consolidation(3046245)
		import xlsx file.
		UPDATE afm_flds SET ml_heading = 'Phone - Mobile' WHERE table_name = 'em' AND field_name = 'cellular_number';
		UPDATE afm_flds SET ml_heading = 'Phone - Work' WHERE table_name = 'em' AND field_name = 'phone';

	SCHEMA - SPACE, REPM - Planning - new and modified fields for the Space & Portfolio Planning Console and Space Requirements	(3047394)
	SCHEMA - Define Employee view consolidation (3046245)

	SCHEMA - database field name is misspelled: sb_items.description	3048475
		UPDATE afm_flds SET field_name='description' WHERE table_name='sb_items' AND field_name='desciption'
		alter table sb_items rename desciption to description

	SCHEMA - update ML Headings of the SB and SB_ITEMS table to use the word "Requirements" instead of "Budget"	3048474
		import CSV attaced


	SCHEMA - update ARCHIBUS Type for area fields in SB_ITEMS so that those fields are editable via Web Central	KB# 3049028
		UPDATE afm_flds set afm_type=2050 where table_name='sb_items' and field_name in ('rm_std_area', 'unit_area')
	
________
BldgOPs:

	- SQL view files - Add another field to the "create view" script for view wr_step_waiting(3047373)
		DROP VIEW wr_step_waiting;
		CREATE VIEW wr_step_waiting as select pkey_value as wr_id,em_id,vn_id,cf_id,user_name,
		    date_created,time_created,date_response,time_response,
		    status,comments,step,step_code,step_type,step_log_id,activity_id,role_name,rejected_step  from
		    helpdesk_step_log where date_response is null and table_name = 'wr';

	SCHEMA,PNAV - Add new PNav entries and table regreq_pmp to support Compliance and Building Ops integration (KB 3046857) - (3047313)

	SCHEMA - wrtl_sync.wr_id should allow null value - An error message popup when add Tools to WR in My work tab.(3046849)
		UPDATE afm_flds SET allow_null=1 WHERE table_name='wrtl_sync' and field_name='wr_id';

	SCHEMA - COBie Connector(3047243)

	SCHEMA - Add and modify afm_flds to support Bldg Ops Workflow Improvments for 22.1 (3047347)

	SCHEMA - add field prority_label to the wr table to support showing priority labels for work requests(3047348)

	SCHEMA - BLDGOPS - add field to support immediately scheduling On-Demand SLAs	(3047630)
	
	SCHEMA - BLDGOPS - Add fields to two existing On Demand Work SQL views to support Bldg Ops workflow and reporting enhanements	(3047637)
		1. import csv file attached		
			DROP view hwr_month
			CREATE VIEW hwr_month as select hwr.wr_id,hwr.site_id,hwr.bl_id,hwr.fl_id,hwr.rm_id,hwr.requestor,hwr.status,hwr.dv_id,hwr.dp_id,hwr.ac_id,hwr.repair_type,
			    hwr.cause_type,hwr.prob_type,hwr.date_requested,hwr.tr_id,hwr.eq_id,hwr.cost_est_total,hwr.cost_total,
			    hwr.wo_id,hwr.work_team_id,hwr.escalated_response,hwr.escalated_completion,hwr.date_completed,hwr.time_completed,hwr.date_escalation_response,hwr.time_escalation_response,hwr.date_escalation_completion,hwr.time_escalation_completion,hwr.supervisor,hwr.request_params_updated,hwr.date_esc_comp_orig,
			    cast(datepart(year,date_requested) as char(4))+'-'+cast(datepart(month,date_requested) as char(2)) as month,
			    cast(datepart(year,date_requested) as char(4))+'-'+cast(datepart(week,date_requested) as char(2)) as week,
			    eq.eq_std as eq_std,cost_est_total-cost_total as cost_var from
			    hwr left outer join eq on hwr.eq_id = eq.eq_id;
			
			drop view wrhwr;
			CREATE VIEW wrhwr AS (SELECT ac_id,act_labor_hours,activity_log_id,bl_id,cause_type,cf_notes,completed_by,cost_est_labor,cost_est_other,cost_est_parts,cost_est_tools,cost_est_total,cost_labor,cost_other,cost_parts,cost_tools,cost_total,curr_meter_val,date_assigned,date_completed,date_est_completion,date_requested,date_stat_chg,desc_other_costs,description,down_time,dp_id,dv_id,eq_id,est_labor_hours,fl_id,location,msg_delivery_status,option1,option2,phone,pmp_id,pms_id,priority,prob_type,repair_type,requestor,rm_id,satisfaction,satisfaction_notes,status,time_assigned,time_completed,time_requested,time_stat_chg,tr_id,wo_id,wr_id,rsres_id,res_id,rmres_id,vn_id,activity_type,dispatcher,step_status,doc1,manager,doc2,doc3,doc4,site_id,supervisor,date_closed,escalated_completion,time_escalation_completion,time_escalation_response,escalated_response,date_escalation_completion,date_escalation_response,serv_window_days,serv_window_end,serv_window_start,allow_work_on_holidays,work_team_id,lon,lat,geo_objectid,parent_wr_id, (IF status = 'R' THEN 0 ELSE (IF status = 'Rev' THEN 1 ELSE (IF status = 'Rej' THEN 2 ELSE (IF status = 'A' THEN 3 ELSE (IF status = 'AA' THEN 4 ELSE (IF status = 'I' THEN 5 ELSE (IF status IN ( 'HP', 'HA', 'HL') THEN 6 ELSE (IF status = 'S' THEN 7 ELSE (IF status = 'Can' THEN 8 ELSE (IF status = 'Com' THEN 9 ELSE 10 ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) AS status_sort FROM wr) UNION ALL (SELECT ac_id,act_labor_hours,activity_log_id,bl_id,cause_type,cf_notes,completed_by,cost_est_labor,cost_est_other,cost_est_parts,cost_est_tools,cost_est_total,cost_labor,cost_other,cost_parts,cost_tools,cost_total,curr_meter_val,date_assigned,date_completed,date_est_completion,date_requested,date_stat_chg,desc_other_costs,description,down_time,dp_id,dv_id,eq_id,est_labor_hours,fl_id,location,msg_delivery_status,option1,option2,phone,pmp_id,pms_id,priority,prob_type,repair_type,requestor,rm_id,satisfaction,satisfaction_notes,status,time_assigned,time_completed,time_requested,time_stat_chg,tr_id,wo_id,wr_id,rsres_id,res_id,rmres_id,vn_id,activity_type,dispatcher,step_status,doc1,manager,doc2,doc3,doc4,site_id,supervisor,date_closed,escalated_completion,time_escalation_completion,time_escalation_response,escalated_response,date_escalation_completion,date_escalation_response,serv_window_days,serv_window_end,serv_window_start,allow_work_on_holidays,work_team_id,lon,lat,geo_objectid,parent_wr_id, (IF status = 'R' THEN 0 ELSE (IF status = 'Rev' THEN 1 ELSE (IF status = 'Rej' THEN 2 ELSE (IF status = 'A' THEN 3 ELSE (IF status = 'AA' THEN 4 ELSE (IF status = 'I' THEN 5 ELSE (IF status IN ( 'HP', 'HA', 'HL') THEN 6 ELSE (IF status = 'S' THEN 7 ELSE (IF status = 'Can' THEN 8 ELSE (IF status = 'Com' THEN 9 ELSE 10 ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) AS status_sort FROM hwr);

	SCHEMA - BLDGOPS - Add field rejected_step to table hhelpdek_step_log	(3047639)

	SCHEMA - BldgOps - add two fields to wr_sync to determine step history and apply the EditEstAndSchedAfterStepComplete parameter	3048318

	SCHEMA - BLDGOPS - SCHEMA - BLDGOPS - Add fields to two existing On Demand Work SQL views to support Bldg Ops workflow and reporting enhanements	3047637
		-check the hwr_month;wrhwr views

	SCHEMA; SQL VIEWS - 7 fields are missing in wrhwr in schemawiz-add-work-wizard-sql-views-oracle.sql	3048044
		DROP VIEW wrhwr;
		CREATE VIEW wrhwr AS (SELECT ac_id,act_labor_hours,activity_log_id,bl_id,cause_type,cf_notes,completed_by,cost_est_labor,cost_est_other,cost_est_parts,cost_est_tools,cost_est_total,cost_labor,cost_other,cost_parts,cost_tools,cost_total,curr_meter_val,date_assigned,date_completed,date_est_completion,date_requested,date_stat_chg,desc_other_costs,description,down_time,dp_id,dv_id,eq_id,est_labor_hours,fl_id,location,msg_delivery_status,option1,option2,phone,pmp_id,pms_id,priority,prob_type,repair_type,requestor,rm_id,satisfaction,satisfaction_notes,status,time_assigned,time_completed,time_requested,time_stat_chg,tr_id,wo_id,wr_id,rsres_id,res_id,rmres_id,vn_id,activity_type,dispatcher,step_status,doc1,manager,doc2,doc3,doc4,site_id,supervisor,date_closed,escalated_completion,time_escalation_completion,time_escalation_response,escalated_response,date_escalation_completion,date_escalation_response,serv_window_days,serv_window_end,serv_window_start,allow_work_on_holidays,work_team_id,lon,lat,geo_objectid,date_esc_comp_orig, date_esc_resp_orig, time_esc_comp_orig, time_esc_resp_orig, parent_wr_id, priority_label, request_params_updated, (IF status = 'R' THEN 0 ELSE (IF status = 'Rev' THEN 1 ELSE (IF status = 'Rej' THEN 2 ELSE (IF status = 'A' THEN 3 ELSE (IF status = 'AA' THEN 4 ELSE (IF status = 'I' THEN 5 ELSE (IF status IN ( 'HP', 'HA', 'HL') THEN 6 ELSE (IF status = 'S' THEN 7 ELSE (IF status = 'Can' THEN 8 ELSE (IF status = 'Com' THEN 9 ELSE 10 ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) AS status_sort FROM wr) UNION ALL (SELECT ac_id,act_labor_hours,activity_log_id,bl_id,cause_type,cf_notes,completed_by,cost_est_labor,cost_est_other,cost_est_parts,cost_est_tools,cost_est_total,cost_labor,cost_other,cost_parts,cost_tools,cost_total,curr_meter_val,date_assigned,date_completed,date_est_completion,date_requested,date_stat_chg,desc_other_costs,description,down_time,dp_id,dv_id,eq_id,est_labor_hours,fl_id,location,msg_delivery_status,option1,option2,phone,pmp_id,pms_id,priority,prob_type,repair_type,requestor,rm_id,satisfaction,satisfaction_notes,status,time_assigned,time_completed,time_requested,time_stat_chg,tr_id,wo_id,wr_id,rsres_id,res_id,rmres_id,vn_id,activity_type,dispatcher,step_status,doc1,manager,doc2,doc3,doc4,site_id,supervisor,date_closed,escalated_completion,time_escalation_completion,time_escalation_response,escalated_response,date_escalation_completion,date_escalation_response,serv_window_days,serv_window_end,serv_window_start,allow_work_on_holidays,work_team_id,lon,lat,geo_objectid, date_esc_comp_orig,date_esc_resp_orig,time_esc_comp_orig,time_esc_resp_orig,parent_wr_id,priority_label,request_params_updated, (IF status = 'R' THEN 0 ELSE (IF status = 'Rev' THEN 1 ELSE (IF status = 'Rej' THEN 2 ELSE (IF status = 'A' THEN 3 ELSE (IF status = 'AA' THEN 4 ELSE (IF status = 'I' THEN 5 ELSE (IF status IN ( 'HP', 'HA', 'HL') THEN 6 ELSE (IF status = 'S' THEN 7 ELSE (IF status = 'Can' THEN 8 ELSE (IF status = 'Com' THEN 9 ELSE 10 ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) ENDIF) AS status_sort FROM hwr);
	
	SQL VIEW, SCHEMA - hwr_month is missing four fields: time_requested, date_assigned, time_assigned, satisfaction	3048008
		DROP VIEW hwr_month;
		CREATE VIEW hwr_month as select hwr.wr_id,hwr.site_id,hwr.bl_id,hwr.fl_id,hwr.rm_id,hwr.requestor,hwr.status,hwr.dv_id,hwr.dp_id,hwr.ac_id,hwr.repair_type,
    hwr.cause_type,hwr.prob_type,hwr.date_requested,hwr.tr_id,hwr.eq_id,hwr.cost_est_total,hwr.cost_total,
    hwr.wo_id,hwr.work_team_id,hwr.escalated_response,hwr.escalated_completion,hwr.date_completed,hwr.time_completed,hwr.date_escalation_response,hwr.time_escalation_response,hwr.date_escalation_completion,hwr.time_escalation_completion,hwr.supervisor,hwr.date_esc_comp_orig,hwr.request_params_updated,hwr.time_requested,hwr.date_assigned,hwr.time_assigned,hwr.satisfaction,
    cast(datepart(year,date_requested) as char(4))+'-'+cast(datepart(month,date_requested) as char(2)) as month,
    cast(datepart(year,date_requested) as char(4))+'-'+cast(datepart(week,date_requested) as char(2)) as week,
    eq.eq_std as eq_std,cost_est_total-cost_total as cost_var from
    hwr left outer join eq on hwr.eq_id = eq.eq_id;	

	SQL VIEWS - BLDGOPS - Update SQL files to add fields to two existing On Demand Work SQL views to support Bldg Ops workflow and reporting enhanements	3047636
		modify SQLVIEWS

	INDEX - Create index on helpdesk_step_log.pkey_value to improve performance of Building Operations Console (3047412)
		IF EXISTS (SELECT 1 FROM sysindex where index_name = 'HELPDESK_STEP_LOG_PKEY_VALUE') DROP INDEX helpdesk_step_log.HELPDESK_STEP_LOG_PKEY_VALUE;
		CREATE INDEX helpdesk_step_log_pkey_value ON helpdesk_step_log (pkey_value);

       SCHEMA - gp_id and ta_id are missing from the hactivity_log table.	3048246

_____________
Reservations:

	SCHEMA/SQL VIEWS - Database required changes in abs and sql files for Reservations KB3043641 (3044109)
		DROP VIEW resrmview;
		DROP VIEW rrmonrmcap;
		CREATE VIEW resrmview AS (SELECT bl_id,comments,config_id,cost_rmres,date_cancelled,date_created,date_last_modified,date_rejected,date_start,fl_id,guests_external,guests_internal,recurring_order,res_id,rm_arrange_type_id,rm_id,rmres_id,status,time_end,time_start,user_last_modified_by,verified, attendees_in_room FROM reserve_rm) UNION ALL (SELECT bl_id,comments,config_id,cost_rmres,date_cancelled,date_created,date_last_modified,date_rejected,date_start,fl_id,guests_external,guests_internal,recurring_order,res_id,rm_arrange_type_id,rm_id,rmres_id,status,time_end,time_start,user_last_modified_by,verified, attendees_in_room FROM hreserve_rm);
		CREATE VIEW rrmonrmcap AS SELECT bl.ctry_id, bl.site_id, resrmview.bl_id,resrmview.fl_id,resrmview.rm_id, resrmview.rm_arrange_type_id, resrmview.config_id, resrmview.date_start, resview.dv_id, resview.dp_id, resrmview.time_start, resrmview.time_end, CAST(year(resrmview.date_start) AS VARCHAR(4)) + '-' + (CASE WHEN MONTH(resrmview.date_start) < 10 THEN '0' ELSE '' end) + CAST(MONTH(resrmview.date_start) AS VARCHAR(2)) AS monthtxt, ROUND(CAST((resrmview.attendees_in_room) AS real)/rm_arrange.max_capacity * 100,2) AS capacity_use, resview.status FROM      resrmview      LEFT OUTER JOIN rm_arrange ON rm_arrange.bl_id = resrmview.bl_id AND rm_arrange.fl_id = resrmview.fl_id AND      rm_arrange.rm_id = resrmview.rm_id  AND  rm_arrange.config_id = resrmview.config_id  AND      rm_arrange.rm_arrange_type_id = resrmview.rm_arrange_type_id LEFT OUTER JOIN resview ON resrmview.res_id = resview.res_id      LEFT OUTER JOIN bl ON bl.bl_id = resrmview.bl_id 

	SCHEMA - RESERVATIONS - Review the app and rename all "Reservation name" titles to "Subject".	3047097
	
____
EAM:

	SCHEMA - EAM - Create eq_req_items table (3047867)
	SCHEMA - EAM - Add new disposal and status fields to eq, ta , bl and property tables (3047872)
	SCHEMA - EAM - New table for Asset & Equipment Receipt mobile app (3047772)
	SCHEMA - EAM - Add and update the Criticality, Score, Status, and Scorecard doc fields in the project table	(3047871)
	SCHEMA - EAM - add table and fields definition for Asset transaction history table asset_trans	(3047875)
	SCHEMA - EAM - Telecom - add new fields to eq, eqport, jk, and pnport tables for the new telecom connection functionality being added to EAM	(3047945)
	SCHEMA - EAM - Add gp_id and ta_id fields to activity_log table(3047870)
	SCHEMA - EAM connector schema changes (eq, eqstd, vn)	(3047850)

	SCHEMA - update ARCHIBUS Type and Numeric Format for area and currency fields in sb_items, rmstd, eqstd, eq	3048472
		Make the following updates to sb_items:
		sb_items.unit_area - set ARCHIBUS Type = Area, set Numeric Format = Area
		sb_items.rm_std_area - set ARCHIBUS Type = Area, set Numeric Format = Area
		sb_items.eq_cost - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		sb_items.cost_of_space - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		sb_items.cost_of_furn - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		sb_items.cost_of_move - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency

		Make the following changes to rmstd:
		rmstd.cost_of_em - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		rmstd.cost_of_furn - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		rmstd.cost_of_move - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		rmstd.cost_of_space - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency

		Make the following changes to eqstd:
		eqstd.price - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		eqstd.cost_moving - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency

		Make the following changes to eq:
		eq.cost_dep_value - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		eq.cost_purchase - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		eq.cost_replace - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency
		eq.value_salvage - set ARCHIBUS Type = Currency, set Numeric Format = Budget Currency

	SCHEMA - EAM - Changes to asset transation table	3048253
		UPDATE afm_flds SET allow_null = 1 WHERE table_name = 'asset_trans' AND field_name IN ('value_new', 'value_old');
		UPDATE afm_flds SET dflt_val = 'Location' WHERE table_name = 'asset_trans' AND field_name = 'trans_type';
		import CSV file.
	
	SCHEMA - EAM - New field in eq_sync table	3048528
	SCHEMA - EAM - New table for Asset & Equipment	3047772
_____
REPM:

	SCHEMA, DATA - REPM - for Chart of Accounts Cost Groupings	(3047727)
	SCHEMA - REPM - Manage Property Taxes - Add new fields to existing tables parcel and cost_tran_recur	(3047752)
	SCHEMA - REPM - Add new fields to ccost_sum table   - Taxes and Parcels	3048416
____
E&R:

	SCHEMA - SDS - The size of 'mob_locked_by' should be the same as afm_users.user_name (3047722)
		UPDATE afm_flds SET afm_size = 64 WHERE table_name = 'msds_location_sync' AND field_name = 'mob_locked_by';

	SCHEMA - ENERGY - Energy Management Bill/Meter Reconciliation Schema Additions	(3047759)

	SCHEMA, PNAV - EP - Add a new task "Manage Document Library" to the Emergency Preparedness navigator, and required fields to the database (3047105)

	SCHEMA - EP - Add new fields to advisory table to support EP Advisory Bulletin enhancement (3047884)

	SCHEMA,PNAV,WFR - EP - Add new PNav entries and table 'team' to support EP Emergency Contacts enhancement (3047789)
		Import 4 XML files for Schema, WFR, and PNav changes, attached in Doc1

	SCHEMA, DATA - CLEAN BLDG - Add color fields to tables cb_hazard_rank and cb_hazard_rating	(3047647)

	SCHEMA - ML Headings - change 'MSDS' to 'SDS'	3048763 - already done
		UPDATE afm_flds SET ml_heading = 'Date of \x0d\x0aSuperseded SDS' WHERE ml_heading = 'Date of \x0d\x0aSuperseded MSDS';
		UPDATE afm_flds SET ml_heading = 'Date of \x0d\x0aSuperseded SDS' WHERE ml_heading = 'Date of Superseded MSDS';
		UPDATE afm_flds SET ml_heading = 'Provider''s \x0d\x0aSDS ID' WHERE ml_heading = 'Provider''s \x0d\x0aMSDS ID';
		UPDATE afm_flds SET ml_heading = 'SDS \x0d\x0aSource URL' WHERE ml_heading = 'MSDS \x0d\x0aSource URL';

	SCHEMA - ML/SL Heading - Single heading change of MSDS for Mobile KB# 3049079	
		UPDATE afm_flds SET ml_heading = 'SDS Code' WHERE table_name='ehs_chemicals' AND field_name = 'msds_id';
		UPDATE afm_flds SET sl_heading = 'SDS ID' WHERE sl_heading = 'MSDS ID';

	SCHEMA - E&R - Update ML Headings for MSDS --> SDS	3048007
	
	SCHEMA - ENERGY - Energy Management Bill/Meter Reconciliation Schema Additions	3047759
	
	SCHEMA - ENERGY - remove new, unused vn_rate_desc field from bill_line% tables	3048571
		UPDATE bill_line SET vn_rate_desc = NULL;
		UPDATE bill_line_archive SET vn_rate_desc = NULL;
		DELETE FROM afm_flds WHERE field_name = 'vn_rate_desc' AND table_name LIKE 'bill_line%';
		COMMIT;
		alter table bill_line delete vn_rate_desc
		alter table bill_line_archive delete vn_rate_desc
	

_______
Mobile:

	SCHEMA - New tables and fields for Materials Inventory mobile app (3047232)

	SCHEMA - Mobile - surveymob_sync.mob_locked_by: change Validate Data? from No to Yes(3047005)
		UPDATE afm_flds SET afm_size=64,validate_data=1 where table_name='surveymob_sync'and field_name='mob_locked_by';

	SCHEMA - MOBILE - Add table to support syncing mobile log messages (3047713)

	SCHEMA - error when loading the wr_sync view in Smart Client	3048569
		UPDATE afm_flds SET dep_cols = 'work_team_id' WHERE table_name = 'wr_sync' AND field_name = 'fwd_work_team_id';
	
		
RUN SCW
=======

active_plantypes;lang%;regreq_pmp;plantype_groups;wrtl_sync;afm_metric_scards;hactivity_log;aisle;cabinet;shelf;bin;msds_location;msds_location_sync;msds_h_location;lang_files;lang_string;surveymob_sync;em;afm_connector;afm_conn_flds;afm_notifications_log;afm_wf_steps;cf;helpdesk_roles;helpdesk_sla_response;helpdesk_sla_steps;helpdesk_step_log;hhelpdesk_step_log;wr;hwr;wr_sync;wrcf;hwrcf;wrcf_sync;activity_log;hactivity_log;wr_step_waiting;wr;hwr

notify_templates;afm_metric_notify;notifications;afm_conn_logh;afm_conn_log;eq_req_items;eq;ta;bl;property;eq_sync;msds_location_sync;vn_rate;vn_svcs_contract;bas_data_point;bill_line;bill_line_archive;advisory;team;gp;portfolio_scenario;sb;sb_items;bu;afm_redlines;helpdesk_sla_response;hhelpdesk_step_log;coa_source;coa_cost_group;ac;cost_cat;cb_hazard_rank;cb_hazard_rating;parcel;cost_tran_recur;docs_assigned;docs_assigned_sync;project;asset_trans;eq;eqport;jk;pnport;eq;eqstd;vn;activity_log;em;mobile_log

wr_sync;asset_trans;eq_sync;wr_sync;vn_rate;vn_rate_desc;vn_svcs_contract;bas_data_point;bill_line;bill_line_archive;ccost_sum;hactivity_log;asset_trans



Localization:
=============

	- To get the new fields from the last update into afm_flds_lang run:
			INSERT INTO afm_flds_lang (table_name, field_name) 
				SELECT table_name, field_name FROM afm_flds 
				WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
						  WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
						  AND afm_flds_lang_inner.field_name = afm_flds.field_name )


WFR changes
===========

	WFR - New Workflow rule for Materials Inventory mobile app (3047235)

		INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
		VALUES ('1','NO CHANGE','Materials Inventory mobile app Service',NULL,NULL,'AbRiskMSDS','MsdsMobileService','Message',NULL,'<xml_rule_properties description="Materials Inventory mobile app Service"><eventHandlers>
	<eventHandler 
	class="com.archibus.eventhandler.msds.mobile.impl.MsdsMobileService" method=""> <inputs/>
	</eventHandler></eventHandlers></xml_rule_properties>')

	WFR - Exchange Listener Scheduled WFR is started a second time after 1 hour(3046107)		
		import the attached csv file to change the repeatCount to 0
	
	WFR - ProjMgmt - Define new WFR for project service in AbCommonResources	3048319
		INSERT INTO afm_wf_rules (activity_id, rule_id, xml_rule_props, rule_type, is_active) VALUES ('AbCommonResources', 'ProjectService', '<xml_rule_properties description=""><eventHandlers><eventHandler class="com.archibus.service.project.ProjectService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>', 'Message',1)

	WFR - DML changes for connectors in Bali 4(3046424)
		UPDATE afm.afm_wf_rules SET xml_rule_props = '<xml_rule_properties description="Load input file into AFM DB.">      <eventHandlers>        <eventHandler class="com.archibus.app.common.connectors.service.ConnectorJob" method="">         <inputs>          </inputs>        </eventHandler>      </eventHandlers>    </xml_rule_properties>' WHERE rule_id = 'ConnectorJob';
		UPDATE afm.afm_wf_rules SET xml_rule_props = '<xml_rule_properties description="Load input file into AFM DB.">      <eventHandlers>        <eventHandler class="com.archibus.app.common.connectors.service.ConnectorService" method="">         <inputs>          </inputs>        </eventHandler>      </eventHandlers>    </xml_rule_properties>' WHERE rule_id = 'ConnectorService';
		UPDATE afm.afm_wf_rules SET xml_rule_props = '<xml_rule_properties description="">      <eventHandlers>        <eventHandler class="com.archibus.app.common.connectors.service.ConnectorService" method="scheduleConnector">          <inputs/>                </eventHandler>      </eventHandlers>    </xml_rule_properties>' WHERE rule_id = 'scheduleConnector';
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('SET USER VALUE', 'com.archibus.app.common.connectors.impl.archibus.translation.field.SetValueFromUser');
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('SET CONFIG VALUE', 'com.archibus.app.common.connectors.impl.archibus.translation.field.SetValueFromField');
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('ADD', 'com.archibus.app.common.connectors.impl.archibus.translation.aggregate.Add');
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('MIN', 'com.archibus.app.common.connectors.impl.archibus.translation.aggregate.Min');
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('MAX', 'com.archibus.app.common.connectors.impl.archibus.translation.aggregate.Max');
		INSERT INTO afm.afm_conn_rule_cat (rule_id, class_name) VALUES ('UPLOAD DOCUMENT', 'com.archibus.app.common.connectors.impl.archibus.translation.aftereffect.UploadDocument');
	
	WFR - Change the WFR definition for the Publish Page Navigation grid refresh (3047390)
		UPDATE afm_wf_rules SET xml_rule_props=REPLACE(xml_rule_props,'"com.archibus.eventhandler.NavigationPagesPublisher" method="getPageNavigationPublishedDates"','"com.archibus.eventhandler.NavigationPagesPublishedDates" method="getPageNavigationPublishedDates"') WHERE activity_id='AbSystemAdministration' AND rule_id='getPageNavigationPublishedDates';

	WFR - ENERGY - Energy Management Bill/Meter Reconciliation -- Workflow Rules (3047760)

	WFR - Compliance - Add new Scheduled WFR For Compliance-BuildingOps Integration (3047691)
	
	WFR - ENERGY - error when loading view Accounting Supervisor-Review and Approve Bills	3048390
		UPDATE afm_wf_rules SET is_active=1, xml_rule_props='<xml_rule_properties description=""><eventHandlers><eventHandler class="com.archibus.eventhandler.energy.BillMeterReconciliationService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>'
		WHERE rule_id = 'BillMeterReconciliationService';
		UPDATE afm_wf_rules SET is_active=1, xml_rule_props='<xml_rule_properties description=""><eventHandlers><eventHandler class="com.archibus.eventhandler.energy.BillProrationService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>'
		WHERE rule_id = 'BillProrationService';
	
	WFR - Environmental & Risk Management- New Workflow rule for Compliance Management Reports	3048660
		INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
		 VALUES ('1','NO CHANGE','Recurring Schedule Export',NULL,NULL,'AbCommonResources','RecurringScheduleExport','Message',NULL,'<xml_rule_properties description="Recurring Schedule Export"><eventHandlers><eventHandler class="com.archibus.app.solution.recurring.RecurringScheduleExport" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>');
	
	WFR - EAM - New Workflow rule for Asset & Equipment Receipt mobile app	(3047767)

		INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
		VALUES ('1','NO CHANGE','Asset & Equipment Receipt mobile app Service',NULL,NULL,'AbAssetManagement','AssetReceiptMobileService','Message',NULL,'<xml_rule_properties description="Asset and Equipment Receipt mobile app Service"><eventHandlers>
<eventHandler 
class="com.archibus.eventhandler.eam.receipt.mobile.impl.AssetReceiptMobileService" method=""> <inputs/>
</eventHandler></eventHandlers></xml_rule_properties> ')

	WFR - EAM - Add new workflow rule for EAM ProjectRequirementsService	(3047866)

	WFR - EAM - Mobile - Move Asset & Equipment Survey mobile app WFR to the EAM package	(3047940)
		UPDATE afm_wf_rules SET xml_rule_props=replace(xml_rule_props,'com.archibus.app.asset.mobile.service.impl.AssetMobileService','com.archibus.eventhandler.eam.survey.mobile.impl.AssetMobileService') WHERE activity_id='AbAssetManagement' and rule_id='AssetMobileService'

	WFR - EAM - Add new workflow rule for EAM ProjectRequirementsService	3047866
		update afm_wf_rules set xml_sched_props=null where rule_id='ProjectRequirementsService'
	
	WFR - EAM - New Workflow rule for Asset & Equipment Receipt Form	3047944
		INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
		 VALUES ('1','NO CHANGE','Asset Receipt Service',NULL,NULL,'AbAssetEAM','AssetReceiptService','Message',NULL,'<xml_rule_properties description="Asset Receipt Service"><eventHandlers>
<eventHandler class="com.archibus.eventhandler.eam.receipt.AssetReceiptService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>')
		delete from afm_wf_rules where activity_id='AbAssetEAM' and rule_id='AbAssetManagement'
	
	WFR - EAM - New Workflow rule for Telecom Console	3048136
		INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
		 VALUES ('1','NO CHANGE','Telecom Service',NULL,NULL,'AbAssetEAM','TelecomService','Message',NULL,'<xml_rule_properties description="Telecom Service"><eventHandlers>
<eventHandler class="com.archibus.eventhandler.eam.telecom.TelecomService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>');
	
	WFR - Define new WFR for EAM - datachange event listener 	3048782

	WFR - AbSystemAdministration            UserAndSecurityHandler        Description:     Supports Web Central Applications and Mobile apps security and users.
               Active: Yes        Security Group: % 		Rule Type:      Message              

		XML Rule Properties:  <xml_rule_properties description="">  <eventHandlers>  <eventHandler class="com.archibus.eventhandler.security.UserAndSecurityHandler" method=""> <inputs/>
    			</eventHandler>   </eventHandlers> </xml_rule_properties>


PNav changes
============

	PNAV - The Assign Process to Role view is the older one, in Webcentral it is not replaced with a new one (3045671)
		UPDATE afm_ptasks SET task_file = 'ab-sys-role-user-procs.axvw', task_id = 'Assign Processes to Roles or Users' WHERE task_id = 'Assign Processes to Roles';

	PNAV - Smart Client PN has wrong name for GIS (3045902)
		UPDATE afm_processes SET title='Geospatial Extensions for Esri' WHERE activity_id='AbSpaceRoomInventoryBAR' AND process_id='Extensions for ArcGIS (SC-CAD)' AND title='Extensions for ArcGIS';

	PNAV - Remove the "2.0" from the connectors label in the pnav(3045670)
		UPDATE afm_ptasks SET task_id = 'ARCHIBUS Connectors' WHERE task_id = 'ARCHIBUS Connectors v2.0'

	PNAV - Rearrange position of some tasks in Compliance Operational Reports process(3047065)

	PNAV - Portfolio Manager Home page needs Portfolio Forecast Wizard task view name updated.(3046688)
		UPDATE afm_ptasks SET task_file = 'ab-alloc-wiz.axvw' WHERE task_file = 'ab-alloc-group.axvw';

	PNAV - Missing Help page for Reserve a Room(3047092)
		UPDATE afm_processes SET help_link='\Subsystems\webc\Content\web_user\res\reserve\create_rm_resource_res.htm' WHERE title LIKE '%Reserve Rooms%';
		
	PNAV - Enter an HTML5 chart secondary grouping example views to Process Navigator(3046815)
		INSERT INTO afm_ptasks(activity_id,process_id,task_id,task_file,task_type,display_order) VALUES('AbSolutionsUIAddIns','HTML5 Chart Views','Column Chart with One Value Grouped by Two Criteria','ab-ex-htmlchart-one-value-mult-criteria.axvw','WEB URL',2150);
		INSERT INTO afm_ptasks(activity_id,process_id,task_id,task_file,task_type,display_order) VALUES('AbSolutionsUIAddIns','HTML5 Chart Views','Drill-down to a Chart with Secondary Grouping','ab-ex-htmlchart-drill-down-report-from-2d.axvw','WEB URL',2750);

	PNAV - Define Employee view consolidation - Update Pnav entries(3046296)
		UPDATE afm_ptasks SET task_file = 'ab-common-def-em.axvw' WHERE task_file = 'ab-sp-def-em.axvw';
		UPDATE afm_ptasks SET task_file = 'ab-common-def-em.axvw' WHERE task_file = 'ab-em-add-or-update.axvw';

	PNAV - Cosmetic error on Asset Portal view name(3045088)
	        UPDATE afm_ptasks SET task_id='View and Edit Leases by Lessor' where task_id like '%View and Assign Equipment by Lease%';
	        UPDATE afm_ptasks SET task_id='View and Edit Equipment by Lease' where task_id like '%View and Assign Leases by Lessor%';

	PNAV - Correct task title that apperas in the process navigator to elminate plurals(3047176)
		UPDATE afm_ptasks SET task_id='Define Cost Classes' WHERE task_id like '%Define Costs Classes%';

	PNAV - Commissoning - Define Assessment Questionnaires -  Rename process task and view file name (Ref. KB 3045369) - (3047073)
		INSERT INTO afm_ptasks(activity_id,process_id,task_id,task_file,task_type,display_order) VALUES('AbProjCommissioning','Set Up','Define Commissioning Questionnaires','ab-questionnaire-commissioning-edit.axvw','WEB URL',2100);
		INSERT INTO afm_ptasks(activity_id,process_id,task_id,task_file,task_type,display_order) VALUES('AbRiskES','Business Process Owner','Define Assessment Environment Questionnaires','ab-questionnaire-assessment-environment-edit.axvw','WEB URL',1100);

	PNAV - Add two existing tasks to the energy mgmt pnav to support submetering(3045394)

	PNAV - EP - Update PNAV for revised Emergency Prep App	(3047880)

	PNAV - EnvSust - View Title Does Not Match PNav Title	(3046068)
		UPDATE afm_ptasks SET task_id = 'Manage Sustainability Assessment Items' WHERE task_file = 'ab-ca-mng-ca-itms.axvw' AND activity_id = 'AbRiskES';
		UPDATE afm_ptasks SET task_id = 'Manage My Sustainability Assessment Items' WHERE task_file = 'ab-ca-my-ca-itms.axvw' AND activity_id = 'AbRiskES';
		UPDATE afm_ptasks SET task_id = 'Manage Condition Assessment Items' WHERE task_file = 'ab-ca-mng-ca-itms.axvw' AND activity_id = 'AbCapitalPlanningCA';
		UPDATE afm_ptasks SET task_id = 'Manage My Condition Assessment Items' WHERE task_file = 'ab-ca-my-ca-itms.axvw' AND activity_id = 'AbCapitalPlanningCA';

	PNAV - Compliance - Add PNav entry for new report for Compliance-BuildingOps integration (3047534)
		import attached file
		DELETE FROM afm_ptasks WHERE activity_id='AbRiskCompliance' and process_id='Operational Reports' and task_id='----';

	PNAV - SYSTEM - Add View Mobile Log to System Administration / Mobile Apps Manager (ref. KB 3047742)	(3047743)
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbSystemAdministration','Mobile Apps Manager','View Mobile Log','ab-mobile-log.axvw','WEB URL', 700);
	
	PNAV - SYSTEM - Metrics Email Notifications - Map new tasks to System Admin/ Add-In Manager/ Metrics	(3047756)
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbSystemAdministration','Add-In Manager','Define Notification Categories for Metrics','ab-def-notifycat-metrics.axvw','WEB URL', 492);
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbSystemAdministration','Add-In Manager','Define Notification Messages for Metrics','ab-def-notify-msgs-metrics.axvw','WEB URL',494);
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbSystemAdministration','Add-In Manager','Manage Notification Templates for Metrics','ab-notify-template-metrics.axvw','WEB URL',496);
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbSystemAdministration','Add-In Manager','View Notifications Log for Metrics','ab-notifications-log-metrics.axvw','WEB URL',498);

	PNAV - ENERGY - Tasks for Bill Meter Reconciliation and Proration views, new bill summary reports, and task re-ordering (3047781)
		UPDATE afm_ptasks SET task_id = 'Utility Analytics' WHERE task_id = 'Analytics' AND activity_id='AbRiskEnergyManagement' AND process_id='Energy Manager';
		UPDATE afm_ptasks SET task_id = 'Process Meter Readings' WHERE task_id = 'Process BAS Data';
		import XML file.
		DELETE FROM afm_ptasks WHERE activity_id = 'AbRiskEnergyManagement' AND task_id = 'Analytics';
		DELETE FROM afm_ptasks WHERE activity_id = 'AbRiskEnergyManagement' AND process_id='Energy Manager' AND task_id = '-';
		DELETE FROM afm_ptasks WHERE activity_id = 'AbRiskEnergyManagement' AND process_id='Energy Manager' AND task_id = 'Utility Bill Metrics' AND display_order = 2700;
		UPDATE afm_ptasks SET task_id = 'Utility Bill Metrics', display_order= 400 WHERE activity_id = 'AbRiskEnergyManagement' AND task_id = 'Utility Metrics' AND process_id='Energy Manager';
		UPDATE afm_ptasks SET task_id = 'Utility Reports' WHERE activity_id = 'AbRiskEnergyManagement' AND task_id = 'Reports' AND process_id='Energy Manager';

	PNAV - Solutions - GIS - Add entries for new Leaflet map technology examples	(3047877)

	PNAV - Compliance - Move new Compliance-BldgOps Reports to separate Process	(3047788)
		Import the attached (Doc1) xml file to create the new Compliance process
		UPDATE afm.afm_ptasks SET process_id='Work Status Reports'
		WHERE activity_id='AbRiskCompliance' AND task_id in ('Programs with Overdue PM Schedules','Programs with Overdue Work','Programs with Active Work','Compliance Work History')

		DELETE FROM afm.afm_ptasks wHERE  activity_id='AbRiskCompliance' AND process_id='Operational Reports' AND task_id='-----'

	PNAV - EH&S - Add task for "Manage Document Library" and change the task name of other existing one	(3047035)
		DELETE FROM afm_ptasks WHERE activity_id ='AbRiskEHS' AND process_id='EHS - Documentation' AND task_id='Track Documents';

	PNAV - SDS - Add PNav Entries for MSDS Sub-Room Location definition view (3047737)
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRiskMSDS','Business Process Owner - Facilit','Define Subroom Locations','ab-sp-def-loc-subrm.axvw','WEB URL',800);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRiskMSDS','Business Process Owner - Facilit','-',NULL,'LABEL',150);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRiskMSDS','Business Process Owner - Facilit','--',NULL,'LABEL',850);

	PNAV - SDS - Multiple updates to SDS (MSDS) Process Navigator entries	(3047828)

	PNAV - REPM - Manage Property Taxes - Add NEW tasks required to manage parcels and property taxes	(3047757)
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,display_order) VALUES ('AbRPLMCosts','Business Process Owner','---',600);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRPLMCosts','Business Process Owner','Manage Parcels','ab-rplm-manage-parcels-tax.axvw','WEB URL',700);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRPLMCosts','Business Process Owner','Contacts','ab-ca-cont-rep.axvw','WEB URL',800);

		INSERT INTO afm_ptasks (activity_id,process_id,task_id,display_order) VALUES ('AbRPLMCosts','Cost Administrator','-------',1000);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRPLMCosts','Cost Administrator','Manage Tax Action Items','ab-rplm-tax-activity-items.axvw','WEB URL',1100);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRPLMCosts','Cost Administrator','View Tax Costs','ab-rplm-cost-mgmt-cost-rep-tax.axvw','WEB URL',1200);
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,display_order) VALUES ('AbRPLMCosts','Cost Administrator','--------',1500);

	PNAV - ENERGY - Add new task for editing archived utility bills	(3047887)
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_type,display_order) VALUES ('AbRiskEnergyManagement','BPO - Utilities','---','LABEL','800');
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_file,task_type,display_order) VALUES ('AbRiskEnergyManagement','BPO - Utilities','Edit Archived Bills','ab-energy-bill-archive-edit-tabs.axvw','WEB URL','900');

	PNAV - SPACE - Change task "Space Planning Console" to "Workspace Transactions Console".	(3047730)
		UPDATE afm_ptasks SET task_id = 'Workspace Transactions Console' WHERE task_id = 'Space Planning Console';

	PNAV - REPM - Update the Portfolio Forecasting PNav with additional background data tasks and updated Space & Portfolio Planning Console	(3047731)
		1) Run the SQL in Document 1 to delete tasks associated with the current Background Data and Portfolio Forecasting processes.
		2) Import the CSV file in Document 2 to replace those processes removed in step 1.

	PNAV - BLDGOPS - Create new processes for use with the Building Operations Console in the HQ - Canonic database	(3047734)
		import 01_afm_processes.csv
		import 02_afm_ptasks.csv

	PNAV - EAM - entries for Asset Management and Enterprise Asset Management	(3047923)		
		import eam_afm_activities.xlsx -- New Asset Management and Enterprise Asset Management activities
		import eam_afm_actprods.xlsx -- Assigns new activities to existing Asset Management domain
		import eam_afm_processes.xlsx -- New processes for all new activities
		import eam_afm_ptasks.xlsx -- New tasks for all new processes

	PNAV - SPACE - Add Space Planning application, processes, tasks, role access, and domain association	(3047739)

	PNAV - SPACE - Add the Edit Print and Drawing Attributes task to the Space Inventory, Background Data process	(3047740)

	PNAV - BLDGOPS - Extra Process are shown for On Demand Work application.	(3047702)
			apply the afm_roleprocs updates

	PNAV - Add the Strategic Space Planning / Space Planner role and its tasks to the Smart Client PNav	3048353
	
	PNAV - Add HTML5 Markup Control sample views to Process Navigator	3048314
		Path: Technologies / User Interface Add-Ins / HTML5 Markup Control / Markup Control with Floor Plan
		http://localhost:8080/archibus/ab-ex-svg-dwg-markup-control-dwg.axvw
		The new "HTML5 Markup Control" process should be added between "HTML5 Drawing Views" and "Dashboard Views"
	
	PNAV - Add Process Navigator entries for Stack Control.	3048295
		
	PNAV - Add task for managing reference documents to Building Operations BPO processes	3048290
		
	PNAV - EAM - Smart Client and Smart Client Extensions menu for EAM	3048436
		
	PNAV - EAM - Wherever the item" Asset Lifecycle Console" is listed, it is misspelled as "Asset 'Lifecyle' Console"	3048027
		delete from afm_ptasks where task_id like 'Asset Lifecyle Console'(Added by the KB above)
	
	PNAV - ENERGY - Correction Energy Management	3048484
		UPDATE afm_ptasks SET task_file = 'ab-energy-bill-prorate.axvw' WHERE task_file = 'an-energy-bills-prorate.axvw' OR task_file = 'ab-energy-bills-prorate.axvw';
		UPDATE afm_ptasks SET task_id = 'Prorate Utility Bills' WHERE task_id = 'Utility Bill Proration';
	
	PNAV - Enterprise Asset Management - PNav for Reports	3048587
		Import:
		01_eam_reports_afm_processes.xlsx
		02_eam_reports_afm_roleprocs.xlsx
		03_eam_reports_afm_ptasks.xlsx
	
	PNAV - EP - Extra title in Executive process on PN for Emergency Preparedness	3048029
		UPDATE afm_processes SET process_id = 'Executive Reports' WHERE activity_id = 'AbRiskEmergencyPreparedness' AND process_id = 'Executive';
		UPDATE afm_ptasks SET process_id = 'Executive Reports' WHERE activity_id = 'AbRiskEmergencyPreparedness' AND process_id = 'Executive';
		UPDATE afm_roleprocs SET role_name = 'EXECUTIVE MANAGER (ACP)' WHERE role_name = '4 - PROCESS OWNER (ACP)' AND activity_id = 'AbRiskEmergencyPreparedness' AND process_id LIKE 'Executive%'
		DELETE FROM afm_ptasks WHERE activity_id = 'AbRiskEmergencyPreparedness' AND task_id = 'Managers';
		DELETE FROM afm_roleprocs WHERE activity_id = 'AbRiskEmergencyPreparedness' AND process_id LIKE 'Executive%' AND role_name NOT LIKE 'EXECUTIVE MANAGER%';

	PNAV - EP - help topics for new PN process entries	3048028
		UPDATE afm_processes SET help_link = '/Subsystems/webc/Content/emerg_prep/doc/doc_library.htm' WHERE activity_id = 'AbRiskEmergencyPreparedness' AND process_id = 'Documentation'
	
	PNAV - EP - Update PN name in two places for Emergency Prep	3048067
		UPDATE afm_ptasks SET task_id = 'Highlight Hazardous Materials' WHERE activity_id LIKE '%Emergency%' AND task_id = 'Highlight Hazardous Chemical Locations';
	
	PNAV - Manage Property Taxes - New task	3048215
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbRPLMCosts','Business Process Owner','Define Action Types for Taxes','ab-rplm-tax-activitytype-edit.axvw','WEB URL', 750);
	
	PNAV - Metrics - Remap task entries to updated view file names	3048276
		UPDATE afm_ptasks SET task_file = 'ab-metric-metrics-def.axvw' WHERE activity_id='AbSystemAdministration' and process_id='Add-In Manager' and task_id='Define Metrics'
		UPDATE afm_ptasks SET task_file = 'ab-metric-gran-def.axvw' WHERE activity_id='AbSystemAdministration' and process_id='Add-In Manager' and task_id='Define Granularities'
		UPDATE afm_ptasks SET task_file = 'ab-metric-scorecard-def.axvw' WHERE activity_id='AbSystemAdministration' and process_id='Add-In Manager' and task_id='Define Scorecards'
		UPDATE afm_ptasks SET task_file = 'ab-metric-trend-values.axvw' WHERE activity_id='AbSystemAdministration' and process_id='Add-In Manager' and task_id='Metrics Trend Values'
	
	PNAV - Mobile Apps Manager - Rename task from "Select Plan Types" to "Manage Plan Types"	3048339
		update afm_ptasks set task_id='Manage Plan Types' WHERE task_file='ab-sp-space-book-plan-types.axvw'
	
	PNAV - Port FCast - Add reports made for Strategice Space Planning to the Portfolio Forecasting application as well.	3048648
		
	PNAV - Property Taxes - Add new task to define contacts, move Contacts report to Cost Administrator	3048635
		delete from afm_ptasks WHERE activity_id='AbRPLMCosts' and process_id='Business Process Owner' and task_id='Contacts'
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbRPLMCosts','Business Process Owner','Define Contacts','ab-ca-def-cont.axvw','WEB URL', 750);
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) VALUES('AbRPLMCosts','Cost Administrator','Contacts','ab-ca-cont-rep.axvw','WEB URL', 1300);

	PNAV - Smart Client PN has wrong name for GIS	3045902
	
	PNAV - Solutions - GIS - Add entries for new Leaflet map technology examples	3047877
		UPDATE afm_ptasks SET task_id = 'Enhanced Maps - Extensions for Esri' WHERE task_id = 'Enhanced Maps - Extensions' AND activity_id='AbSolutionsUIAddIns' AND process_id='GIS Views';
		UPDATE afm_ptasks SET display_order = 2500, task_id = 'Map with Multi-Datasource (Leaflet)', task_file = 'ab-leaflet-multi-datasource-map.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Map with Esri Base and Data Layers Selectors (Leaflet)';
		UPDATE afm_ptasks SET display_order = 2600, task_id = 'Map with Marker Action (Leaflet)', task_file = 'ab-leaflet-marker-action.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Thematic Unique Value Markers - Numeric (Leaflet)';
		UPDATE afm_ptasks SET display_order = 2700, task_id = 'Map with Layers - Esri (Leaflet)', task_file = 'ab-leaflet-esri-switch-layers.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Map with Esri Base Layers Selector (Leaflet)';
		UPDATE afm_ptasks SET display_order = 2800, task_id = 'Map with Layers - Google (Leaflet)', task_file = 'ab-leaflet-google-switch-layers.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Map with Google Base Layers Selector (Leaflet)';
		UPDATE afm_ptasks SET display_order = 2900, task_file = 'ab-leaflet-esri-geocode.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Map with Address Geocoder (Leaflet)';
		UPDATE afm_ptasks SET display_order = 3000, task_id = 'Map with Asset Locator (Leaflet)', task_file = 'ab-leaflet-locate-asset.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Map with Asset Locator (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4000 WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = '-';
		UPDATE afm_ptasks SET display_order = 4100 WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Simple Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4200, task_id = 'Simple Clustered Markers (Leaflet)' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Simple Cluster Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4300, task_id = 'Thematic (Unique Value) Markers (Leaflet)' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Thematic Unique Value Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4400, task_id = 'Thematic (Class Break) Markers (Leaflet)', task_file = 'ab-leaflet-map-thematic-class-break-renderer.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Thematic Class Break Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4500 WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Graduated Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4600, task_id = 'Thematic (Unique Value) Graduated Markers (Leaflet)' WHERE activity_id = 'AbSolutionsUIAddIns' AND 		process_id = 'GIS Views' AND task_id = 'Thematic (Unique Value)-Graduated Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4700, task_id = 'Thematic (Class Break) Graduated Markers (Leaflet)' WHERE activity_id = 'AbSolutionsUIAddIns' AND 		process_id = 'GIS Views' AND task_id = 'Thematic (Class-Break)-Graduated Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4800, task_file='ab-leaflet-map-proportional-renderer.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Proportional Markers (Leaflet)';
		UPDATE afm_ptasks SET display_order = 4900, task_id = 'Thematic (Unique Value) Proportional Markers (Leaflet)',task_file='ab-leaflet-map-thematic-proportional-unique-value-renderer.axvw' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = 'Thematic (Unique Value)-Proportional Markers (Leaflet)';
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_type,task_file,display_order) VALUES ('AbSolutionsUIAddIns','GIS Views','Thematic (Class Break) Proportional Markers (Leaflet)','WEB URL','ab-leaflet-map-thematic-proportional-class-break-renderer.axvw',5000);
		UPDATE afm_ptasks SET task_type = 'LABEL', display_order = 6000, task_id = '--', task_file = '' WHERE activity_id = 'AbSolutionsUIAddIns' AND process_id = 'GIS Views' AND task_id = '--';
		INSERT INTO afm_ptasks (activity_id,process_id,task_id,task_type,task_file,display_order) VALUES ('AbSolutionsUIAddIns','GIS Views','Floor Plan Geometry from JSON (Leaflet)','WEB URL','ab-leaflet-map-geometry-from-json.axvw',6100);

	PNAV - Space Planning - Correct application and process icons on PNav for new application Strategic Space Planning	3048289
		UPDATE afm_activities SET icon_small = 'ab-icon-space-allroom.gif' WHERE activity_id = 'AbSpacePlanning';
	
	PNAV - SPACE PLANNING - Help topic links for the new Strategic Space Planning processes	3048034
		import .csv attached
	
	PNAV - SYSTEM - Mobile Apps Manager - Add task: "Pending Mobile Occupancy Surveys"  (ref. KB 3046872)	3048345
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, task_file, task_type, display_order) 
		VALUES('AbSystemAdministration','Mobile Apps Manager','Pending Mobile Occupancy Surveys','ab-mob-occup-survey-pending.axvw','WEB URL', 800);
	
	PNAV - Updated PNAV help links for EAM and Compliance 	3048595

	PNAV - Telecom Smart Client Extension PNAV Entries 	3048713

	PNAV - REPM - New ptasks for Chart of Accounts views	3048711

	PNAV - Assign EAM Mobile App Security Group to roles	3048700

	PNAV - EAM - Add Edit Rmstd task to EAM for licensing	 3048749
		
	PNAV - EP is missing the tasks for defining the document folders and types	3048753

	PNAV - EAM - Telecom PNAV picks	3048760

	PNAV, DATA - EAM Home Page & Metrics	3048719

	PNAV - Database Help links for three EAM processes are wrong	KB# 3048864

	PNAV - EAM Navigator Updates	KB# 3049050

	PNAV - Smart Client - Add PNAV Entries for Populate Faceplates and Populate Panels	KB# 3049042
		
	PNAV - Updated PNAV entry to include publishing of faceplates and panels with publishing of equipment and jacks	KB# 3049052

	PNAV, DATA - Asset Home Page and Metrics	KB# 3049051

	PNAV - EP - Task & title consistency for Emergency Preparedness KB# 3048081
		UPDATE afm_processes SET title = 'Emergency Response and Recovery Teams' WHERE title = 'Emergency Response & Recovery Teams';
		UPDATE afm_ptasks SET task_id = 'View Egress and Occupancy Plans' WHERE task_id = 'View Egress & Occupancy Plans';
		UPDATE afm_ptasks SET task_id = 'Egress and Occupants' WHERE task_id = 'Egress & Occupants';

	PNAV - EAM Add Document Template picks to PNav 3049091

	PNAV - correct misspelling of Emerg Prep PTask entry	KB# 3049228
		UPDATE afm_ptasks SET task_id = 'Highlight Hazard Assessments' WHERE task_id = 'Highlight Hazard Assesments';

	PNAV - add task entry for new Hazmat view for archived records (ab-msds-old-rpt-search.axvw)	KB# 3049234

	afm_roleprocs update
			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'EXECUTIVE MANAGER' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_processes.process_id IN ('Executive Reports','Process' )
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'EXECUTIVE MANAGER' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );	

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'EXECUTIVE MANAGER (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_processes.process_id IN ('Executive Reports','Process' )
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'EXECUTIVE MANAGER (ACP)' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );
			
			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER (ACP)' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'ACTIVITY LICENSEE' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'ACTIVITY LICENSEE' 
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			DELETE FROM afm_roleprocs WHERE (SELECT is_active FROM afm_processes WHERE
				afm_roleprocs.activity_id = afm_processes.activity_id AND afm_roleprocs.process_id = afm_processes.process_id ) = 0
					OR (SELECT is_active FROM afm_activities WHERE afm_roleprocs.activity_id = afm_activities.activity_id  ) = 0
					OR process_id LIKE '%rmtrans%';

			DELETE FROM afm_roleprocs WHERE role_name IN ( '4 - PROCESS OWNER', '4 - PROCESS OWNER (ACP)', 'ACTIVITY LICENSEE' )
				AND process_id IN ('Executive Reports','Process' );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, '4 - SYSTEM ADMINISTRATOR' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - SYSTEM ADMINISTRATOR'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'SYSTEM ADMINISTRATOR' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'SYSTEM ADMINISTRATOR'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );

			INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )  
				SELECT afm_processes.activity_id, afm_processes.process_id, 'SYSTEM ADMINISTRATOR (ACP)' 
				FROM afm_processes, afm_activities 
				WHERE afm_activities.activity_id = afm_processes.activity_id
				AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 
				AND afm_activities.activity_id = 'AbSystemAdministration'
				AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'SYSTEM ADMINISTRATOR (ACP)'
							AND afm_roleprocs.activity_id = afm_processes.activity_id 
							AND afm_roleprocs.process_id = afm_processes.process_id );
Data changes
============

	DATA - Work request created by Reservation doesn't have correct ordering seq. (3047310)
		DELETE FROM helpdesk_sla_request WHERE prob_type = 'RES. CLEANUP'

	DATA - Why does Sybase canonic database have 743 records in lang_files(3046394)
		DELETE FROM lang_files;

	DATA - Update the list of Countries utilizing the Euro(3046393)
		UPDATE afm_currencies SET comments='Euro - used in Austria,	Belgium, Cyprus, Estonia, Finland, France, Germany, Greece, Ireland, Italy, Latvia, Luxembourg, Malta, The Netherlands, Portugal, Slovenia, Slovakia and Spain'
WHERE description='European Euro';

	DATA - There is only one building under site'ATHENS-U',but on site map,there are 2 buildings avaliable and selectable(3045889)

	DATA - Sample data site id for bas_measurement_scope where bl_id='DALLASOF'(3045687)
		UPDATE bas_measurement_scope SET site_id='DALSTE2' WHERE data_point_id=9;

	DATA - Sample Data error in rm table(3046090)
		UPDATE rm SET count_em=(SELECT count(*) FROM em WHERE rm.bl_id=em.bl_id AND rm.fl_id=em.fl_id AND rm.rm_id = em.rm_id)
		
	DATA - Portfolio Forecasting Sample Data Change(3045572)
		UPDATE ls SET date_end = '2014-11-30' WHERE ls_id='L-DRP-03-2013';

	DATA - New security groups used by Materials Inventory mobile app(3047236)
		INSERT INTO afm_groups(group_name,group_title) VALUES('RISK-MSDS-MOB','Review features of mobile Materials Inventory App.');
		INSERT INTO afm_groups(group_name,group_title) VALUES('RISK-MSDS-MOB-ED','Review and edit features of mobile Materials Inventory App.');
		INSERT INTO afm_groups(group_name,group_title) VALUES('RISK-MSDS-MOB-INV','Review and inventory features of mobile Material Inventory App.');

	DATA - Need a record in the afm_dwgs table to support the ATHENS-U-CAMPUS drawing(3045648)
		INSERT INTO afm_dwgs (dwg_name, base_metric_units, report_height, report_scale, report_title_position, report_width, space_hier_field_values, title, units, dwg_file, report_height_tabloid, report_width_tabloid)
		VALUES ('ATHENS-U-CAMPUS', 1, 3.0, 1, 1, 5.0, 'ATHENS-U', 'Athens University Campus', 1, 'athens-u-campus.dwg', 10.0, 16.0)

	DATA - METRICS: Spell & Syntax Corrections for Metrics' Definitions(3046185)
		
	DATA - METRICS & HOME PAGES: There are two typos in the text for the Area Per Occupant metric. Also a suggested rewording for the Description text (2 smalll errors there) (3046000)
		see the KB 3046185;
		UPDATE afm_metric_trend_values SET collect_by_value='HUMAN RESOURCES-NEW ENGLAND' WHERE collect_by_value='HUMAN REOURCES-NEW ENGLAND';

	DATA - JS Map: In MS-SQL the map for an entire region does not show the markers(3044713)
		UPDATE regloc, compliance_locations SET lat=31.04, lon=-91.836 WHERE state_id='la' AND regloc.location_id=compliance_locations.location_id;
		UPDATE regloc, compliance_locations SET lat=28.1, lon=-81.6 WHERE state_id='fl' AND regloc.location_id=compliance_locations.location_id;

	DATA - HQ Demo data: adjust buildings' latitude & longitude values and addresses to better match reality and remove overlaps(3047340)

	DATA - External gros missing from Scenario Code Select Value.(3045720)
		UPDATE bl SET area_gross_ext = 380000 WHERE bl_id = 'LX';

	DATA - Execute SQL to populate site lat & lon values based on building locations(3047341)
		UPDATE site s SET lat = (SELECT AVG(lat) FROM bl WHERE bl.site_id = s.site_id AND bl.lat IS NOT NULL), lon=(SELECT AVG(lon) FROM bl WHERE bl.site_id = s.site_id AND bl.lon IS NOT NULL) WHERE s.geo_objectid IS NULL AND s.lat IS NULL AND s.lon IS NULL;

	DATA - Create Application Parameter for DemoMode(3045667)
		INSERT INTO afm_activity_params (activity_id, param_id, description, param_value ) VALUES ( 'AbSystemAdministration', 'DemoMode', 'Set value to 1 to have views restrict to demonstration data.', '0' )

	DATA - CPM connectors to be added to AFM Connector tables(3045730)
		import abprojcapbud-ez-on-ramp-01_afm_connector.csv,
		import  abprojcapbud-ez-on-ramp-02_afm_conn_flds.csv

	DATA - Connector Example Data(3047296)
		import projects/hq/datafeeds/solutions/connectors/installs/connector_v2_examples_r1.csv
		import projects/hq/datafeeds/solutions/connectors/installs/connector_flds_v2_examples_r1.csv

	DATA - COBie(3047245)

	DATA - add workflow steps to afm_wf_steps to support Change, Return, and Reject actions(3047391)
		attached .CSV file for import into afm_wf_steps(depends on 3047347)

	DATA - add security group VIEW-ALL-WORK-REQUESTS(3047392)
		add  VIEW-ALL-WORK-REQUESTS group (see attached)

	DATA - Add new plan type for Materials Inventory mobile app(3047250)
		INSERT INTO active_plantypes(title,plan_type,view_file,hs_ds,label_ds,label_ht) VALUES('Inventory','18 - INVENTORY','ab-risk-material-inventory.axvw','inventoryRmHighlightDs','inventoryRmLabelDs',0.5)
		UPDATE active_plantypes SET title='Materials Inventory' WHERE plan_type='18 - INVENTORY';

	DATA - Add messages to database for Move Mgmt(3047083)

	DATA - Add descriptions for new connector rules(3047248)

	DATA - Add activity parameters to EH&S to be used by notification emails(3046993)

	DATA - add a message to notify supervisors when a craftsperson returns a work request(3047393)

	DATA - Activate Materials Inventory mobile app by adding it into afm_mobile_apps table(3047233)
		INSERT INTO afm_mobile_apps(activity_id,title,main_page_url,security_group,display_order) 
VALUES('AbMaterialInventory','Materials Inventory','MaterialInventory/index.html','RISK-MSDS-MOB',650)

	DATA - Bldgs - Fix additional invalid/inconsistent geographic hierarchy data in the building table (Bali4)	(3045445)
		import XML file updates property.site_id for 7 properties.
		import XML file updates bl.site_id for 4 buildings.
		execute the SQL file

	DATA - Reservations - Error in Reservations Demo data - not correct Excluded configurations	(3045748)
		add "'" as prefix for not null excluded configurations

	DATA - EAM - New security group used by Asset & Equipment Receipt mobile app	(3047766)
		INSERT INTO afm_groups(group_name, group_title) VALUES ('ASSET-REG-MOB','Asset & Equipment Receipt');

	DATA - EAM - Activate Asset & Equipment Receipt mobile app by adding it into afm_mobile_apps table	(3047765)
		INSERT INTO afm_mobile_apps(activity_id,security_group,title,main_page_url,display_order) VALUES ('AbAssetReceipt','ASSET-REG-MOB','Asset & Equipment Registration','AssetReceipt/index.html', '550');

	DATA - SDS - Rename the security groups used by Materials Inventory mobile app	(3047773)
		UPDATE afm_groups SET group_name='RISK-HAZMAT-MOB' WHERE group_name='RISK-MSDS-MOB';
		UPDATE afm_groups SET group_name='RISK-HAZMAT-MOB-ED' WHERE group_name='RISK-MSDS-MOB-ED';
		UPDATE afm_groups SET group_name='RISK-HAZMAT-MOB-INV' WHERE group_name='RISK-MSDS-MOB-INV';

	DATA - ENERGY - Energy Management Bill/Meter Reconciliation - Sample Data	(3047761)
	
	DATA - SDS - Update app information for Materials Inventory app	(3047774)
		UPDATE afm_mobile_apps set security_group='RISK-HAZMAT-MOB', title='Hazardous Materials', activity_id='AbHazardousMaterials' where activity_id='AbMaterialInventory'

	DATA - E&R - Change some bill_archive records in which the site_id doesn't match the current assigned site_id to the building	(3047776)
		UPDATE bill_archive SET site_id = 'DALSTE2' WHERE bl_id='DALLASOF' AND site_id='DALSTE1'
		UPDATE bill_archive SET site_id = 'MARKET' WHERE bl_id='I202' AND site_id='OLDCITY'
		UPDATE bas_measurement_scope SET site_id='DALSTE2' WHERE bl_id='DALLASOF' AND site_id='DALSTE1';

	DATA - Reservations - New activity parameter required: Outlook Plugin - require specifying the capacity before saving the reservation	(3045887)
	
	DATA - CONNECTORS - EAM connector data changes (afm_conn_rule_cat, afm_connector, afm_conn_flds)	(3047898)
	
	DATA - ACTIVITY PARAMS - BLDGOPS - Add two application parameters to Bldg Ops in order to control behavior of Bldg Ops Console, to improve performance	(3047926)
	
	DATA - Reservations - Outlook Plugin messages for KB 3047716 and quantity label for KB 3047824 (3047973)
	
	DATA - ACTIVITY PARAMS - REPM - Manage Property Taxes - Create Activity Parameter to identify Property Tax Actions	(3047853)

	DATA - CPM - for CPM-PjM-Project Templates	(3047782)
		INSERT INTO projecttype(project_type, description) VALUES ('Upgrade','Upgrade project');
		INSERT INTO projecttype(project_type, description) VALUES ('Upgrade/Refurbish','Upgrade/Refurbish project');
		INSERT INTO projecttype(project_type, description) VALUES ('IT Renovation','IT Renovation project');
		import attached files

	DATA - SPACE - changes to active_plantype and plantype_groups records for Room Highlights	(3047749)

	DATA - DWG PUBLISHING - Add two new publishing rules for background layers(3047954)

	DATA - MOBILE - Add Activity Parameter to Indicate Mobile Document and Floorplan Storage Location	3048316
		Change the name to StoreMobilDocsAndPlansInDeviceDb
	
	DATA - MOBILE - Update names for plan types that use Workspace Transactions	3048262
		UPDATE active_plantypes SET plan_type='15 - OCCUPANCY-TRANS' WHERE plan_type='15 - SPACE_OCCUPANCY';
		UPDATE active_plantypes SET plan_type='16 - VACANCY-TRANS' WHERE plan_type='16 - SPACE_VACANCY';
		UPDATE active_plantypes SET plan_type='17 - SURVEY-TRANS' WHERE plan_type='17 - SPACE_SURVEY';
	
	DATA - add plan type groups for mobile apps	3048264
		
	DATA - COMPLIANCE - Add sample data for Compliance-BuildingOps integration	3048377
	
	DATA - EAM - Add 'Scenario' to project type (projecttype)	3048385
	DATA - EAM - Add PROPOSED PROJECT LOCATION to activitytype table	3048387
	
	DATA - ENERGY - Connectors - Update vn_ac and xls bill connector definitions	3048442
	DATA - ENERGY - Metric Definition and Scorecard Assignment - Utility Bill Discrepancy Alert	3048482
	DATA - ENERGY - Sample Data Additions/Updates for Energy Mgmt Bill/Meter Reconciliation	3048486
		DELETE FROM bill WHERE bill_id IN ('E_DALLASOF_2013_05','E_DALLASOF_2013_06','E_DALLASOF_2013_07','E_CHICMAN_2013_05','E_CHICMAN_2013_06','E_CHICMAN_2013_07');

	DATA - Sample Data For Space/Portfolio Scenaros and Enterprise Asset Management	3048606

	DATA - Hazmat - Add example subroom locations and SDS records	3048624
	
	DATA - MSDS - insert missing historical MSDS constituent and chemical records	3048396
	
	DATA - RESERVATIONS - New activity parameter required in Reservations	3048020
	
	DATA - Proj Mgmt - Sample Data Update for project BUILD-HQ-NEW		3048483
		UPDATE activity_log SET assigned_to = 'AI' WHERE activity_log_id IN (256,257);
		UPDATE activity_log SET assigned_to = 'AIX' WHERE activity_log_id IN (246,258);
	
	DATA - REPM - Cost Wizard parcel and tax sample data	3048674
	
	DATA - Reservations - Error in Reservations Demo data - resource standa.rds not allowed	3048093
		UPDATE rm_config SET excluded_config = '''' + excluded_config where excluded_config not like '''%';
		The restriction returns no fields. No records were updated.
	
	DATA - SPACE - changes to active_plantype and plantype_groups records for Room Highlights	3047749
	
	DATA - Space and Portfolio and EAM Sample Data - Add 1 New Category and 3 New Room Types	3048676
	
	DATA - User Task Assignments - AFM/AFMX/AI, etc. do not have the mobile Hazardous Materials App assigned	3048605
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('ACTIVITY LICENSEE', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('ACTIVITY LICENSEE', 'RISK-HAZMAT-MOB-ED');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('ACTIVITY LICENSEE', 'RISK-HAZMAT-MOB-INV');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS', 'RISK-HAZMAT-MOB-ED');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS', 'RISK-HAZMAT-MOB-INV');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS (ACP)', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS (ACP)', 'RISK-HAZMAT-MOB-ED');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('2 - WORKFLOW PROCESS (ACP)', 'RISK-HAZMAT-MOB-INV');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('4 - PROCESS OWNER', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('4 - PROCESS OWNER', 'RISK-HAZMAT-MOB-ED');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('4 - PROCESS OWNER', 'RISK-HAZMAT-MOB-INV');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('FIELD TECHNICIAN', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('FIELD TECHNICIAN (ACP)', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('EXECUTIVE MANAGER', 'RISK-HAZMAT-MOB');
		INSERT INTO afm_groupsforroles(role_name, group_name) VALUES ('EXECUTIVE MANAGER (ACP)', 'RISK-HAZMAT-MOB');

	DATA- ROLES - Registering with TRAM user gives error for missing RoomInventory activites 	3048104
		INSERT INTO afm_roleprocs ( activity_id, process_id, role_name ) VALUES ( 'AbSpacePersonnelInventory', 'Background Data', '2 - WORKFLOW PROCESS (ACP)' );
		INSERT INTO afm_roleprocs ( activity_id, process_id, role_name ) VALUES ( 'AbSpacePersonnelInventory', 'Manager', '2 - WORKFLOW PROCESS (ACP)' );

	DATA - E&R - Change some bill_archive records in which the site_id doesn't match the current assigned site_id to the building 3047776

	DATA - Telecom Sample Data for EAM for 22.1	3048712

	DATA - Remove legacy portfolio scenario data; insert new data for BOSMED baseline	3048649
		DELETE FROM gp WHERE portfolio_scenario_id IS NOT NULL;
		DELETE FROM portfolio_scenario;
		Import the CSV files in the ZIP attached as Document 1. Import then in the order as named.

	DATA - METRICS - Apply this KB after all other metrics KBs - Set Metric Status as Deactivated and Test Status as Not Tested for all metrics 	 3048735
		UPDATE afm_metric_definitions SET metric_status = 'D', metric_status_test = 'XT';
	
	DATA - SYSTEM - Add Publishing rules for faceplates and patch panels	 3048734

	DATA - ENERGY - Add EDI sample to stock database	 3048758

	DATA - Add an application parameter to control the maximum number of work requests per category band	KB# 3049024

	DATA - Android Moblie Device: Downloading employee failed and there is one 'document storage is corrupted' error in.	KB# 3048891
		update em set em.em_photo = NULL where em.em_id = 'PITT, ROBERT';

	DATA - COMPLIANCE - Add sample data for Compliance-BuildingOps integration	KB# 3048377

	DATA - Edit Metric Defintion, Missing Metric Granularity and value in the Metric Trend Value table	KB# 3048978

	DATA - Error while trying to import a EDI connector for the second time	KB# 3048577
		update afm_conn_flds set is_schema_field=0 where connector_id='EDI_Import' and rule_id='SKIP FIELD' and is_schema_field=1;

	DATA - missing description for ASSET VALIDATION connector rule.	KB# 3048909

	DATA - REPM - for BVP Demo Data Updates	KB# 3047728

	DATA - Sample Connector Issues	KB# 3048901

	DATA - Space and Portfolio and EAM Sample Data WO, WR, and Activity Log Additional Data to be imported into the Canonic Db version 141, date 6/25/2015	KB# 3048989

	DATA - EAM Sample Data - Update Project Record - Project 2015-000001 KB# 3049066

	DATA - update to Parcel and Tax sample data	KB# 3049023
		UPDATE cost_tran_recur SET amount_expense_total_payment = '1645443.91', amount_expense_base_payment = '1645443.91', ac_id = '47200' WHERE pr_id = 'BOSPRP2' AND cost_cat_id = 'TAX - PROPERTY TAX';
		-- Reduce number of recur costs trans PROPERTY TAX per parcel from 10 to 4
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-03';
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-04';
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-05';
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-06';
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-07';
		DELETE FROM cost_tran_recur WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-43';

		-- Reduce number of parcels from 10 to 4
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-03';
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-04';
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-05';
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-06';
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-07';
		DELETE FROM parcel WHERE pr_id = 'BOSPRP2' AND parcel_id = '6980 08-43';

		import 003a-cost_tran_recur-ls-pw-001.csv(the file has not set any auto_numer-> new records are created)

		UPDATE cost_tran_recur  SET tax_value_assessed =  222959880/4
		  WHERE pr_id = 'BOSPRP2' AND cost_cat_id = 'TAX - PROPERTY TAX' AND parcel_id IN ('6980 08-45', '6980 08-47', '6980 08-49', '6980 08-51');

	DATA - All plan types in active_plantypes table should be active KB# 3049090
		UPDATE active_plantypes set active=1

	DATA - User Z-BIM's email is same as that of user AFM, which may cause some application issue KB# 3049081
		update afm_users set email='z-bim@tgd.com' where user_name='Z-BIM'

	DATA - SPACE - Update rooms in SRL and AB to secondary circulation, to make them usable KB# 3049111
		UPDATE rm SET rm_cat = 'SECONDCIRC', rm_type = 'SECONDCIRC' WHERE (bl_id = 'SRL' OR bl_id = 'AB') AND (rm_id LIKE '%08COR%' OR rm_id LIKE '%11COR%' OR rm_id LIKE '%30COR%' OR rm_id LIKE '%68COR%' OR rm_id LIKE '%72COR%');

	DATA - clean up some anomalies in historic MSDS data	KB# 3049122
		UPDATE msds_h_location mhl1 SET mhl1.container_status = 'DISPOSED' WHERE mhl1.container_status = 'In Inventory' AND mhl1.auto_number NOT IN (SELECT mhl2.auto_number FROM msds_location mhl2) AND mhl1.date_archived || mhl1.time_archived = 
		(SELECT MAX(mhl3.date_archived || mhl3.time_archived) FROM msds_h_location mhl3 WHERE mhl1.auto_number = mhl3.auto_number);

	DATA - REPM - Property sample data for Property Code BOSPRP2 KB# 3049148

	DATA - Reservations - Error in Reservations Demo data - resource standards not allowed KB# 3049206
		UPDATE rm_arrange SET res_stds_not_allowed = '''' + res_stds_not_allowed where res_stds_not_allowed not like '''%';
	
	DATA - Highlight in the drawing does not match with highlight pattern KB# 3048485

	DATA - Add demo data to show Doc. Management features in EH&S	KB# 3049026
	DATA - Add top level example folders for Doc Library features in Emergency Preparedness	 KB# 3049103

	DATA - EAM Sample Data - Project Scorecard KB# 3049174
	DATA - EAM Red Line Sample Data KB# 3049188
		import afm_redline.xlsx
		INSERT INTO work_pkgs ( project_id, work_pkg_id ) VALUES ('2015-000001', '00 - Project Locations');
		import activity_log + documents

	DATA - Images Will Not Transfer In Using DUW, Must Use Smart Client - This Affects all images that were transferred in for Bali 4 EAM And Portfolio Scenario Data KB# 3049211
		import the images from KB 3048606
		-eq – 31 images
		-eqstd table – 34 images
		-em – 16 images
		-fnstd – 12 images
		-site – 1 image
		-contact – 16 images

	DATA - REPM - Lease Data for Leases 001, 002, 003, and L-Chicman - To be included in Bali 4 KB# 3049072
	DATA - REPM - BVP demo script data updates  (3049316)

        DATA - TELECOM - Add port configuration data for std CISCO-SW-24 (3049318)
        DATA - TELECOM - Add equipment to SRL 03 with jack connectivity data (3049312)

Version 21.3 Database Schema Revision History (Database Version 140)


Schema Preferences:

- Update Db Version Date to:	2014.09.18 
- Update Db Version number to:	140


______________________________    
SCHEMA CHANGES


 System:
	-SCHEMA - Table type inconsistency for ARCHIBUS tables ( 3043386 )
		UPDATE afm_tbls SET table_type='APPLICATION DICTIONARY' WHERE table_name in ('afm_bim_categories', 'afm_bim_param');
		UPDATE afm_tbls SET table_type='PROCESS NAVIGATOR' WHERE table_name in ('afm_tasks', 'afm_subtasks');
	-SCHEMA, FILES - Create an index on afm_metric_trend_values for fields 'metric_date', 'collect_group_by' ( 3042579 )
	-SCHEMA - Correct the definition of view activity_log_hactivity_log( 3045021 )


 Metrics:
	-SCHEMA Add fields 'values_remove_older_than' and 'values_remove_method' to afm_metric_definition ( 3043301 )
	-SCHEMA - METRICS - Create archive table afm_hmetric_trend_values, in order to archive old metric values( 3043313 )
	-SCHEMA - Greek-ing metrics titles ( 3042918 )


 Connectors:
  	-SCHEMA - Add tables/fields/wfr/connector data ( 3044625 )
	

 Real Estate Portfolio Management:
	-SCHEMA - SCHEMA - Widen the field size of gp.name to 64( 3045365 )
		UPDATE afm_flds SET afm_size=64 WHERE table_name='gp' AND field_name='name';
	-SCHEMA - Changes for Portfolio Forecast Wizard ( 3044649 )
 

 Lease Administration:
  	-SCHEMA - Create new table 'ls_contacts' for lease multiple contacts ( 3044759 )
	-SCHEMA - Follow up KB 3043753  - allow null value for lessor_id field in ta_lease table ( 3045002 ) 
		UPDATE afm_flds SET allow_null=1 WHERE table_name='ta_lease' and field_name='lessor_id';
 

 Government Real Property:
	-SCHEMA - MS SQL - ORCL - Add missing fields for view ab-rplm-gvmnt-rp-add-new-prop.axvw. ( 3042646 )
 

 Capital Project Management
	-SCHEMA - Set afm_flds.max_val=9 for project.priority ( 3045515 )
		UPDATE afm_flds set max_val=9 where table_name='project' and field_name='priority';


 Space Planning & Management:
	-SCHEMA - Adding Date Last Surveyed to the rm table ( 3044922 )
	-SCHEMA - Remove the AUTOINCREMENT for pct_id in hrmpct table ( 3043869 )
	

 Move Management:
	-SCHEMA - Update ml_heading for fields date_app_mgr2 and date_app_mgr3 ( 3043493 )
		UPDATE afm_flds SET ml_heading = 'Date Manager 2 Approved' WHERE table_name = 'mo' AND field_name = 'date_app_mgr2';
		UPDATE afm_flds SET ml_heading = 'Date Manager 3 Approved' WHERE table_name = 'mo' AND field_name = 'date_app_mgr3';


 Asset Management:
	-SCHEMA - add new redline document fields (survey_redline_eq) to tables eq and eq_audit ( 3044834 )
	-SCHEMA - YDim field types do not have ft/M appended to their titles( 3044814 )
		SET numeric_format TO length FOR standard depth
		UPDATE afm_flds SET num_format=4 WHERE table_name='eqstd' AND field_name='spec_depth';
		
 
 Building Operations:
	-SCHEMA - set minimum values to zero for Building Operations costs fields ( 3044373 )
	-SCHEMA - add new table for Building Operations: cf_work_team ( 3044606 )
 

 Energy Management:
	-SCHEMA - Add tables and fields for BAS / sub-meter analytics features ( 3044921 )
	-SCHEMA - Add indexes for Energy sub-metering analytics / BAS reports ( 3045295 )
		IF EXISTS (SELECT 1 FROM sysindex WHERE index_name='bas_data_clean_num_comboIndex') DROP INDEX bas_data_clean_num.bas_data_clean_num_comboIndex;
		CREATE INDEX bas_data_clean_num_comboIndex ON bas_data_clean_num (date_measured, time_measured, process_status);
		IF EXISTS (SELECT 1 FROM sysindex WHERE index_name='bas_data_time_norm_num_comboIndex') DROP INDEX bas_data_time_norm_num.bas_data_time_norm_num_comboIndex;
		CREATE INDEX bas_data_time_norm_num_comboIndex ON bas_data_time_norm_num (date_measured, time_measured, interval);
	-SCHEMA / PNAV / DATA -  Changes to support Energy Management Easy On-Ramp ( 3045302 )
 

 MSDS:
	-SCHEMA - For Bali3: MSDS data - url field length expansion needed ( 3044910 )
		UPDATE afm_flds SET afm_size = 512 WHERE table_name = 'msds_data' AND field_name = 'url';
		UPDATE afm_flds SET afm_size = 512 WHERE table_name = 'msds_h_data' AND field_name = 'url';
 

 Workplace Services Portal:
	-SCHEMA - Add new field to Work_team table ( 3044603 )
	-SCHEMA - Enable auto-closing completed Service Requests and Work Requests ( 3044286 )
	

 HelpDesk / ServiceDesk:
  	-SCHEMA - create new table hhelpdesk_step_log ( 3044604 )
		

 Hoteling:
	-SCHEMA, DATA - changes to support check-in feature for Hoteling ( 3043986 )	
	

 Reservations:
	-SCHEMA - Database changes and new fields for Reservations, regarding Attendees.( 3044099 )
	-SCHEMA - Database required changes for Reservations, regarding Attendees fields and Attendees Message  ( 3044100 )
	-SCHEMA - Reservations - Conference Calls - database changes required ( 3044911 )
	-SCHEMA - View resview definition seems missing fields outlook_unique_id, occurrence_index ( 3045172 )
		DELETE FROM afm_flds where field_name = 'outlook_unique_id' and table_name='resview'	
  

 Mobile:
	-SCHEMA - Mobile Maintenance Manager application - add new tables and fields ( 3044292 )
	-SCHEMA - New single line heading definitions for 21.2 Mobile updates ( 3043267 )
	-SCHEMA - Mobile Space Occupancy application 21.3 enhancements - add new table and fields ( 3044530 )
	-SCHEMA - Add Questionnaire schema additions required for Mobile Assessments ( 3044951 ) 
		UPDATE afm_flds SET allow_null=1 where table_name='activity_log_sync' and field_name='questionnaire_id';
	-SCHEMA - update rmpctmob_sync.pct_id field to accept values from rmpct.pct_id and also values like ‘MobileId-1’ ( 3044983 ) 
		UPDATE afm_flds SET data_type=1 WHERE table_name='rmpctmob_sync' AND field_name='pct_id';
	-SCHEMA - Mobile Space Occupancy application 21.3 enhancements - add new fields( 3044720 )
	-SCHEMA - Match the field size for eq_audit.mob_locked_by field size to that of the field afm_users.user_name (64) ( 3043212 )
		UPDATE afm_flds set afm_size=64 where field_name='mob_locked_by';	


 GIS:
	-SCHEMA - Modify schema to support Extensions for ArcGIS ( 3044264 )
	-SCHEMA - Update schema to support standard and enhanced mapping ( 3044632 )
	-SCHEMA - Update schema to support standard and enhanced mapping ( 3044632 ) 
		Add lat, lon, and geo_objectid to activity_log_hactivity_log
	-SCHEMA - VIEWS - lat, lon, and geo_objectid fields are missing from the wrhwr sql view ( 3045046 )


 Drawings:
  	-SCHEMA - Correct dwgname String Format values for all tables where used ( 3045548 )
		UPDATE afm_flds SET string_format=10 where field_name='dwgname' and string_format <> 10;


Localization:
	- To get the new fields from the last update into afm_flds_lang run:
		INSERT INTO afm_flds_lang (table_name, field_name) 
			SELECT table_name, field_name FROM afm_flds 
			WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
				WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
				AND afm_flds_lang_inner.field_name = afm_flds.field_name )

 
	

______________________________
_
WFR CHANGES:


 Metrics:
	-WFR definition for delete/archive scheduled WFR ( 3043301 )
	

 Connectors:
	-WFR - ConnectorHandler WFR is deprecated with addition of ConnectorService. ( 3045145, 3045457 )
		DELETE FROM afm.afm_wf_rules WHERE rule_id = 'ConnectorHandler';


 Building Operations:
	-WFR add workflow rule BldgopsPartInventoryService ( 3044607 )


 Energy Management:
	-WFR - For Bali3: Add new WFR entry required for BAS / submeter analytics ( 3044956 )
	-WFR - New WFR required for Energy - BAS process data ( 3045314 )

	
 GIS:
	-WFR - Add new WFR for ArcGIS Services ( 3043213 )
	-WFR - Add Workflow Rules for the Extensions for ArcGIS ( 3044662 )
	

 Page Navigation:
	-WFR - Register a workflow rule ( 'AbSystemAdministration', 'getPageNavigationPublishedDates' ) needed for Page Navigation Publishing ( 3043993 )
	-WFR - Register the workflow rule ( 'AbSystemAdministration','updateOrderOfMyFavorites' )  to allow favorites reordering in one transaction from Page Navigation ( 3043897 )
	-WFR - Remove rule AbCommonResources - getDataRecordsPlusProjectInfo from canonical database ( 3043590 )
		DELETE FROM afm_wf_rules WHERE activity_id = 'AbCommonResources' AND rule_id = 'getDataRecordsPlusProjectInfo';


	
_____________________________________________
PNAV CHANGES

 System:
	-PNAV - Assign AbRiskEHS Activity to TRAM to enable Mobile ( 3045194 )
		INSERT INTO afm_roleprocs(role_name,activity_id,process_id) VALUES ('2 - WORKFLOW PROCESS (ACP)', 'AbRiskEHS', 'EHS - Incident Reporting');
	-PNAV - Add the Scheduled Workflow Rules view to the System Administration / Add-In Manager process ( 3045322 )
		UPDATE afm_ptasks SET task_id='Scheduled Workflow Rules', task_file='ab-wf-rules-scheduled.axvw' where task_id = 'Use Workflow Process Monitor';
		DELETE FROM afm_ptasks WHERE task_file = 'ab-running-rules-list-ui.axvw';
	-PNAV - Replace "Assign Processes to Roles" and "Assign Processes to Users" with new task "Assign Processes to Roles or Users" ( 3044179 )
		UPDATE afm_ptasks SET task_id='Assign Processes to Roles or Users', task_file='ab-sys-role-user-procs.axvw' 
		WHERE activity_id='AbSystemAdministration' AND process_id='ARCHIBUS Administrator - UserSec' AND task_id='Assign Processes to Roles';
		DELETE FROM afm_ptasks WHERE activity_id='AbSystemAdministration' AND process_id='ARCHIBUS Administrator - UserSec'AND task_id='Assign Processes to Users';
	
 
 Real Estate Portfolio Management:
	-PNAV - PNav and User updates for new 21.3 Portfolio Forecasting Console( 3044647 )
	-PNAV - Update the task_file for Portfolio Forecast Wizard in the PNav ( 3044725 )
		UPDATE afm_ptasks SET task_file='ab-alloc-wiz.axvw' where activity_id='AbRPLMGroupSpaceAllocation' and process_id='Portfolio Forecasting' and task_id='Portfolio Forecast Wizard' and task_file='ab-alloc-group.axvw';
	

 Lease Administration:
	-PNAV - Reword the PN task to match view name: Leases Expiring within 90 Days ( 3045074 )
		UPDATE afm_ptasks SET task_id='View Leases Expiring within 90 Days' where task_id = 'View Leases About to Expire Within 90 Days';
		
 Capital Project Management:
	-PNAV - CPM Home page change to view file name ( 3042608 )
		UPDATE afm_ptasks SET task_file = 'ab-proj-fcpm-invs.axvw' where task_id='Invoices by Vendors' AND task_file = 'ab-proj-fcpm-invs-rcd.axvw';

		
 Space Planning & Management:
	-PNAV - Add "Locate Employee" to the Client process within Personnel & Occupancy ( 3044810 )
	-PNAV- Change the PNAV to have the Space Console appear first in the display order ( 3043004 )


 Move Management:
	-PNAV - Add a “Define Problem Types” view to the 'Business Process Owner' process for Move Management ( 3043420 )
	    INSERT INTO afm_ptasks (display_order, icon_small, is_hotlist, task_file,task_type, activity_id, process_id, task_id) 
 		VALUES (150, 'ab-icon-task.gif', 0, 'ab-probtype-edit.axvw', 'WEB URL', 'AbMoveManagement', 'Business Process Owner', 'Define Problem Types');

 
 Asset Management:
	-PNAV - add entries for Asset Management new views ( 3043497 )
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','-',1300,'LABEL', NULL, 'ab-icon-task-label.gif') ;
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','View and Edit Lessors',1400,'WEB URL', 'ab-eq-lessor-edit.axvw', 'ab-icon-task-console.gif') ;
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','View and Edit Leases',1500,'WEB URL', 'ab-eq-lease-edit.axvw', 'ab-icon-task-console.gif') ;
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','View Equipment by Lease',1600,'WEB URL', 'ab-eq-eq-by-lease.axvw', 'ab-icon-task-rpt3.gif') ;
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','View Lease by Lessor',1700,'WEB URL', 'ab-eq-lease-by-lessor.axvw', 'ab-icon-task-rpt3.gif') ;
		INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file,icon_small) 
		VALUES('AbAssetManagement','Equipment','View Leases About to Expire Within 90 Days',1800,'WEB URL', 'ab-eq-lease-expire-90-days.axvw', 'ab-icon-task-rpt3.gif') ;
	-PNAV - Update the title for the views 'ab-eq-eq-by-lease.axvw' and 'ab-eq-lease-by-lessor.axvw' ( 3045069 )
		UPDATE afm_ptasks SET task_id='View and Assign Equipment by Lease' WHERE task_file='ab-eq-eq-by-lease.axvw';
		UPDATE afm_ptasks SET task_id='View and Assign Leases by Lessor' WHERE task_file='ab-eq-lease-by-lessor.axvw';	
 

 Building Operations:
	-PNAV - add new views to Building Operations processes ( 3044406 )
	-PNAV - Create new processes for use with the new Building Operations Console in the HQ - Canonic database ( 3043612 )
	-PNAV - corrections to Building Ops Console processes ( 3044761 )
		DELETE FROM afm_processes WHERE process_id IN ('BPO BldgOpsConsole', 'Maintenance BldgOpsConsole');


 Energy Management:
	-PNAV - Add PNav entries for Energy BAS / sub-metering features ( 3044978 ) 

 
 Workplace Services Portal:
	-PNAV - Add two tasks to the System Administration / Mobile Apps Manager process to support Mobile Workplace Services Portal ( 3044944 )


 Hoteling:

	-PNAV - Add Confirm Bookings view to navigation.( 3044897 )


 Mobile:
	-PNAV - PNav Items for Questionnaires for Mobile Assessment Application ( 3044967 ) 


 GIS:
	-PNAV - Update PNAV for GIS Views for v21.3 ( 3044272 )
	-PNAV - Assign Extensions for ArcGIS (SC-CAD) Process to AFM( 3044865 )
	-PNAV - Add PNAV tasks for the Extensions for ArcGIS ( 3044958 )
	-PNAV - Add PNAV Processes & Tasks for Extensions for ArcGIS - Smart Client Extension ( 3044664 )
	
	
 HTML5 Charting:
	-PNAV - Add HTML5 charting process navigator entries to Hq sample database ( 3044407 )
	-PNAV - Add HTML5/SVG Drawing entries to Process Navigator ( 3044427 )


 Drawing control:
	-PNAV - Add new drawing tool links to AutoCAD PNAV ( 3043223 )
	-PNAV - Add new tasks to Process Navigator for drawing control templates ( 3044485 )


 Page Navigation - Quick-Start Home Page:
	-PNAV - Additional tasks for the Quick-Start Home Page ( 3044069 )
	-PNAV - Update the P-Nav tasks in ACAD for Quick-Start role ( 3042620 )
	-PNAV - Add Help links for Quick-Start home page( 3042348 )
 

 Technologies:
	-PNAV - Refine Technologies processes to distinguish between HTML5 and Flash ( 3044549 )
		UPDATE afm_processes SET title='Flash Drawing Views' WHERE activity_id='AbSolutionsUIAddIns' and process_id='Drawing Views';
		UPDATE afm_processes SET title='Flash Chart Views' WHERE activity_id='AbSolutionsUIAddIns' and process_id='Chart Views';
		UPDATE afm_processes SET title='Flash Chart Views in 3D' WHERE activity_id='AbSolutionsUIAddIns' and process_id='Chart Views in 3D';



_____________________________________________
DATA CHANGES
 
 System:
	-DATA - Change the Base Units in the schema.db to be "per Locale" ( 3042683 )
		UPDATE afm_scmpref SET units=2;
	-DATA - Add security group to new role OPS APPROVER ( 3042619 )
		INSERT INTO afm_groupsforroles (group_name, role_name) VALUES ('%', 'OPS APPROVER');
 	-DATA - AbExtensionsMyArchibus activity should not be assigned in default databases ( 3043178 )
		DELETE from afm_activities WHERE activity_id='AbExtensionsMyArchibus';
 	-DATA - Add sample data for AIDEMOxx users ( 3042976 )

 
Metrics:
	-DATA - Transform ops_OntimePMCompletion_percent_monthly metric to ratio metric( 3043695 )
	-DATA - Rename appropriate "income" metrics to "revenue" metrics. ( 3042837 )
	-DATA - Check and correct binding expressions in metrics formulas or where clauses ( 3043658 )
	-DATA - Update definition for the the Facility Condition Index metric. ( 3042563 )
	-DATA - Update metric definition for spac_GrossArea_monthly ( 3042523 )
	-DATA - create two Alert Metrics for Building Operations -  Part Inventory: ops_alert_PartEstimates_InStockNotReserved, ops_alert_Parts_Understocked( 3044920 )
	-DATA - Add new metric - Scale up "Carbon Footprint to Revenue" by a factor of 1 million ( 3042339 )
	-DATA - Remaining REPM, PROJ, OPS Metrics , Create biz_implication and assumption values for these metrics. ( 3045353 )
	-DATA - EHS, ENV and RISK Metrics, Create biz_implication and assumption values for these metrics. ( 3045025 )
	-DATA - Add assumptions and biz implication values to select metric definitions( 3044633 )

	
 Connectors:
	-DATA - Populate tables for Connectors ( 3044625 )
	-DATA - Validate Add and Populate table connector rules ( 3045217 )


 Real Estate Portfolio Management - Lease Administration:
	-DATA - Add sample data to ls_contacts ( 3044759 )
	-DATA - Sample data required for Lease Portfolio Console and lease contacts ( 3045402 )
	-DATA - Sample Data for 21.3 Portfolio Scenario Wizard( 3044657 )


 Capital Project Management:
	-DATA - Updates to HQ-BUILD-HQ-NEW dataset for CPM ( 3042019 )
		DELETE FROM invoice WHERE project_id='BUILD-HQ-NEW' AND invoice_id IN ('2005000005','2005000003');
 	-DATA - Sample Data revisions for Portfolio Forecasting Wizard( 3044726 )
 	-DATA - FCPM - Invoice sample data status change to "Sent To Finance'( 3042421 )	
		UPDATE invoice SET status = 'SENT', fac_org_level_01 = '1', fac_org_level_02 = '2', fac_org_level_03 = '3', 
		fac_org_level_04 = '4', fac_org_level_05 = '5', fac_org_level_06 = '6'
		WHERE project_id IS NOT NULL AND vn_id IS NOT NULL AND status = 'ISSUED';

	
 Space Planning & Management:
	-DATA - Add a new application parameter to control whether or not the Space Console loads on open( 3044215 )
	-DATA - Dallas Office building has extra floors - remove and update area values - ( 3045346 )
	

 Move Management:
	-DATA - Move, Furniture, Copy and Department space have the same screens and fields as maintenance.( 3042647 )
	-DATA - Employee data for SRL building ( 3044990 ) 


 Asset Management:
	-DATA - Enhancements to Part Inventory sample data ( 3045283 )
	

 Building Operations - HelpDesk:
	-DATA - Add MobileWorkRequestsMaxQuantityToSync Activity Parameter for AbBldgOpsHelpDesk application with default value of 250 ( 3039780 )
	-SCRIPT - Update to Database production SQL script - adjust afm_roleprocs to account for new Bldg Ops processes ( 3044734 ) 
		*DELETE FROM afm_roleprocs WHERE (SELECT is_active FROM afm_processes 
		WHERE afm_roleprocs.activity_id = afm_processes.activity_id AND afm_roleprocs.process_id = afm_processes.process_id ) = 0
		OR (SELECT is_active FROM afm_activities WHERE afm_roleprocs.activity_id = afm_activities.activity_id  ) = 0
		OR process_id LIKE '%rmtrans%' OR process_id LIKE '%BldgOpsConsole%';
	-DATA - Update the date fields of open work requests so they are current ( 3045077 )
	-DATA - changes to BOSMED Service Level Agreements ( 3045299 )
	-DATA - Add new application parameter for Building Operations called EditEstAndSchedAfterStepComplete ( 3044605 )

 
 Environmental & Risk Management:
	-DATA - Delete the extra city value of COPENHAGEN associated with the state PA in the city table. ( 3045418 )
	-DATA - Compliance Map Demo - Add missing latitude / longitude data for SPRING_N and DALLASHQ( 3043226 )
	-DATA - For Compliance, fix value in regulation.hierarchy_ids field for one record (NESHAP) ( 3042754 )
		UPDATE regulation SET hierarchy_ids = 'CAA|NESHAP|' WHERE regulation='NESHAP';
	-DATA - Incidents Map Demo Data - Fix invalid/inconsistent geographic hierarchy data in the building table( 3045443 )
	-DATA - Change Responsible Person for Programs and Requirements to employees with mapped afm_user ( 3043416 )
		UPDATE regrequirement SET em_id='GREEN, JARED' WHERE em_id='ABBOT, PAUL';
		UPDATE regprogram SET em_id='CARLO, ALFRED' WHERE em_id='ABBOT, PAUL';
		UPDATE regprogram SET em_id='DAMON, BEN' WHERE em_id='ACEVEDO,BRETT';
		UPDATE regprogram SET em_id='FINERS, CHRIS' WHERE em_id='ANDERSON, CAROLINE';
		UPDATE regprogram SET em_id='KOSTER, MARK' WHERE em_id='APPLEBY, STEVE';
		UPDATE regprogram SET em_id='SMITH, ALBERT' WHERE em_id='BACHMAN, ELLEN';
		UPDATE regprogram SET em_id='SMITH, PAUL' WHERE em_id='BAKER, GEORGE';
		UPDATE regprogram SET em_id='SMITH, SALLY' WHERE em_id='BARNES, GREG';

 
 Energy Management:
	-DATA - Additional records for Energy / BAS submetering analytics demo data ( 3045453 )
	-DATA - Add example data for Energy - sub-meter analytics ( 3045370 )
	-DATA - Remove the application parameter ESRIArcGisOnlineServicesKey since users do not need to enter any value ( 3043778 )
		DELETE FROM afm_activity_params WHERE param_id = 'ESRIArcGisOnlineServicesKey';
  	-DATA - Correct energy conversion sample data ( 3043935 )
		UPDATE bill_unit SET rollup_type = 'Energy',conversion_factor = 0.1025, description = 'Hundred Cubic Feet (CCF).  Heat content value obtained from http://www.eia.gov/tools/faqs/faq.cfm?id=45&t=8.' 
		WHERE bill_type_id = 'GAS - NATURAL' AND bill_unit_id = 'CCF';
 
 
 Workplace Services Portal:
  	-DATA -  Remove unnecessary SLA step records from Canonic DB ( 3042985 )
		UPDATE helpdesk_sla_steps SET activity_id = 'AbBldgOpsHelpDesk', status = 'REQUESTED' WHERE step = 'Edit and Approve';
		DELETE FROM afm_wf_steps WHERE status = 'R' AND step != 'Basic';
		DELETE FROM afm_wf_steps WHERE status = 'A' AND step = 'Dispatch';
		DELETE FROM afm_wf_steps WHERE status = 'Com' AND step = 'Satisfaction Survey';
		DELETE FROM helpdesk_step_log WHERE date_response IS NULL AND step = 'Edit and Approve';
 
 Reservations:
	-DATA - Reservations - new activity parameter required for limiting the maximum occurrences for recurring reservations ( 3042232 )
	-DATA - Add new activity parameter for Reservations( 3044093)
	-DATA - Reservations Demo Data - ( 3045363 )
	-DATA - Database updates required for Reservations KB 3044774 ( 3045183 )
 	-DATA - Reservations PlugIn for Microsoft Outlook - Adjust city time zones so that they are accurate in HQ canonic database ( 3044198 )
		UPDATE city SET timezone_id = 'America/New_York' WHERE timezone_id = 'EST' AND state_id != 'IN';
		UPDATE city SET timezone_id = 'America/Chicago' WHERE state_id = 'IN';
		UPDATE city SET timezone_id = 'America/Chicago' WHERE timezone_id = 'CST' AND state_id != 'MEXI';
		UPDATE city SET timezone_id = 'America/Mexico_City' WHERE state_id = 'MEXI';
		UPDATE city SET timezone_id = 'America/Denver' WHERE state_id = 'CO';
		UPDATE city SET timezone_id = 'America/Los_Angeles' WHERE timezone_id = 'PST';
 

 Mobile: 
 	-DATA - Add plan type for Mobile Workplace Services Portal mobile application for My Department Space( 3042618 )
	-DATA - Activate Mobile Solutions application, by adding it into afm_mobile_apps table ( 3043946 ) 
		INSERT INTO afm_groups(group_name,group_title) VALUES ('SYSTEM-MGR-MOB', 'Solutions Templates');
		INSERT INTO afm_mobile_apps(activity_id, main_page_url, title, security_group) VALUES('AbSolutions', 'Solutions/index.html', 'Solutions Templates', 'SYSTEM-MGR-MOB');
	-DATA - Add new records in active_plantypes table( 3044743 )
	-DATA - Change GUEST-MOBILE user from role "1 - SELF SERVICE" to "1 - SELF SERVICE (ACP)" ( 3044937 )
	-DATA - Mobile sample database - add SRL building ( 3043557 )
	-DATA - Add user account changes to make mobile applications and roles conform to licensing.( 3044843 )
	-DATA - Several new users need changes to their user account to sign in with mobile. ( 3045551 )
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'ASSET-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'OPS-CA-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'RISK-IR-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'WORKSVC-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'SYSTEM-MGR-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START' AND group_name = 'WORKSVC-MOB';

		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND group_name = 'ASSET-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND group_name = 'OPS-CA-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND goup_name = 'RISK-IR-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND group_name = 'WORKSVC-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND group_name = 'SYSTEM-MGR-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = '4 - PROCESS OWNER - QUICK-START (ACP)' AND group_name = 'WORKSVC-MOB';

		DELETE FROM afm_groupsforroles WHERE role_name = 'Z-APP-AND-DOM' AND group_name = 'OPS-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = 'Z-APP-AND-DOM' AND group_name = 'SPAC-MOB';
		DELETE FROM afm_groupsforroles WHERE role_name = 'Z-APP-AND-DOM' AND group_name = 'SPAC-SURVEY';
		DELETE FROM afm_groupsforroles WHERE role_name = 'Z-APP-AND-DOM' AND group_name = 'SPAC-SURVEY-POST';

		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('4 - PROCESS OWNER - QUICK-START', 'AbSpacePersonnelInventory', 'Manager Dash 3'); 
		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('4 - PROCESS OWNER - QUICK-START (ACP)', 'AbSpacePersonnelInventory', 'Manager Dash 3'); 

		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('2 - WORKFLOW PROCESS', 'AbSpacePersonnelInventory', 'Client RmTrans'); 
		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('2 - WORKFLOW PROCESS (ACP)', 'AbSpacePersonnelInventory', 'Client RmTrans'); 

		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('FIELD TECHNICIAN', 'AbSpacePersonnelInventory', 'Client RmTrans'); 
		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('FIELD TECHNICIAN (ACP)', 'AbSpacePersonnelInventory', 'Client RmTrans'); 
		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('FIELD TECHNICIAN', 'AbRiskEHS', 'EHS - Track'); 
		INSERT INTO afm_roleprocs (role_name, activity_id, process_id) VALUES ('FIELD TECHNICIAN (ACP)', 'AbRiskEHS', 'EHS - Track'); 

	-DATA - Site Pictures for Mobile Marquee Images ( 3045563 )
	-DATA - Mobile dataset -- add document to assessment ( 3045308 )
	-DATA - Mobile data set - add photos to site and building ( 3045310 )
	-DATA - Enable Mobile for user HAPET ( 3045227 )
	-DATA - Add mobile security groups to roles EXECUTIVE MANAGER and EXECUTIVE MANAGER (ACP) - ( 3045367 )
	-DATA - Mobile data set -- additions and corrections  ( 3045312 )
	-DATA - Mobile Assessment questionnaire sample data attached ( 3045421 )
	-DATA - New Problem Types for Mobile Workplace Service Portal. ( 3042647 )
	

 GIS:
	-DATA - Add Connectors and Connector Fields for Extensions for ArcGIS ( 3044946 )
	-DATA - Update Connectors for the Extensions for ArcGIS - ( 3045289 )	


 Drawings:
	-DATA - Demo data - Populate rm.dwgname field for HQ-RF record( 3043211 )
		UPDATE rm SET dwgname='HQRF' WHERE bl_id='HQ' AND fl_id='RF';
	-DATA - Change the file name of BOSMED drawing ( 3042611 )
	-DATA - Correct the drawing names and drawing files names of the BOSMED floors (1 and 2) to match the Revit model ( 3043373 )
		UPDATE afm_dwgs SET dwg_name = 'BOSMED01_02-LEVEL 1', dwg_file = 'bosmed01_02-level 1.rvt' WHERE dwg_name = 'BOSMED01';
		UPDATE afm_dwgs SET dwg_name = 'BOSMED01_02-LEVEL 2', dwg_file = 'bosmed01_02-level 2.rvt' WHERE dwg_name = 'BOSMED02';
		UPDATE rm SET dwgname = 'bosmed01_02-level 1' WHERE bl_id = 'BOSMED' AND fl_id = '01';
		UPDATE rm SET dwgname = 'bosmed01_02-level 2' WHERE bl_id = 'BOSMED' AND fl_id = '02';
	-DATA - Suites layer title- Update the title for the suites layer title from 'Commercial' to 'Suites' ( 3029146 )
		UPDATE afm_layr SET title='Suite' WHERE layer_name IN ('SU', 'SU$', 'SU$TXT');	


 BIM:
	-DATA - Change afm_users.bim_license value for user AFMSTART( 3042663 )
	-DATA - Add missing values in the afm_dwgs table for the BOSMED01_02 Revit model, to prevent Publish Model to fail ( 3044801 )
	-DATA - Record added to afm_bim_params table to create fn. json.zlib file for furniture from Revit ( 3042531 ) 
	-DATA - In canonic HQ DB, change drawing names and drawing file names for BOSMED drawings that attach to Revit ( 3042706 )



Version 21.2 Database Schema Revision History (Database Version 139)

Schema Preferences:

- Update Db Version Date to: 2013.11.11
- Update Db Version number to: 139

Schema changes

SYSTEM:
- Increase afm_flds.dflt_val size to VARCHAR(128); also in afm_flds_trans ( 3042049 )
       UPDATE afm_flds SET afm_size=128, data_type=12 WHERE table_name IN ('afm_flds', 'afm_flds_trans') AND field_name='dflt_val';
       ALTER TABLE afm_flds MODIFY  dflt_val VARCHAR(128)  DEFAULT NULL;
       ALTER TABLE afm_flds_trans MODIFY  dflt_val VARCHAR(128)  DEFAULT NULL;
- Update the Process Type enum display value for "PAGES" to be more descriptive for navigation pages( 3041703 )
       UPDATE afm_flds SET enum_list='WEB;Web PNav;WEB-DASH;Web Dashboard;WEB-PAGENAV;Web Page Navigator;SC;Smart Client;SCOVERLAY;Smart Client Extension;WINDOWS;Client/Server;OVERLAY;Client/Server Overlay;PAGES;Nav Page Processes;WEB&PAGES;Web Pnav & Pages'where table_name='afm_processes' and field_name='process_type';
- Update the Process Type enum display value for "PAGES" to be more descriptive for navigation pages.	(3041703)
       UPDATE afm_flds SET enum_list='WEB;Web Process Navigator;WEB-DASH;Web Dashboard;WEB-PAGENAV;Web Page Navigator;SC;Smart Client;SCOVERLAY;Smart Client Extension;WINDOWS;Client/Server;OVERLAY;Client/Server Overlay;PAGES;Web Page Navigator Process;WEB&PAGES;Web Pnav & Pages'WHERE table_name='afm_processes' AND field_name='process_type';
- Add 'deleteEm' and 'deleteDv' values for enum list field rmpctmob_sync.action	(3042577)
       UPDATE afm_flds SET enum_list = 'N/A;N/A;insert;insert;update;update;delete;delete;deleteEm;deleteEm;deleteDv;deleteDv' WHERE table_name = 'rmpctmob_sync' AND field_name = 'action';
- Unable to create work requests on Sybase Runtime v9 - triggers not supported ( 3042271 )
       DROP TRIGGER WRAUTONUMBER;
       DROP TRIGGER WOAUTONUMBER;
METRICS:
- Add schema changes for metrics subsystem ( 3040574)
- Delete field afm_metric_trend_values.aggregate_as ( 3040816)
- Add the  Display Format (Metric) column afm_metric_definitions.value_disp_format_m field. ( 3040989 )
CAD:
- Add support for saving the intermediate format of the model when publishing to SVG ( 3040219)
      UPDATE afm_flds set enum_list='NONE;None;ALL;All;SVG;SVG;SVG and JSON;SVG and JSON;SWF;SWF;EMF;EMF;SWF and EMF;SWF and EMF;JSON;JSON;BY OWNER;By Owner;LAYERED BY OWNER;Layered By Owner;QUERY TEXT;Query Text;QUERY TABLE;Query Table;ASSET;Asset;RESTRICTION;Restriction;URL;URL;DYNAMIC;Dynamic' where afm_flds.table_name = 'afm_dwgpub' and afm_flds.field_name = 'rule_type'
            MOBILE:
        
- Add new fields: activity_log_id, project_id, activity_type, cost_estimated in activity_log_sync table ( 3039842)
- Add new fields: wr_sync.time_assigned/time_requested ( 3040169)
- Schema changes for Space Book mobile app enhancements ( 3040554)
- Main App page: the application names under the icons are in English ( 3040041)
     Add <field table="afm_mobile_apps" field="title"/> into afm_scmpref.preferences
- Equipment Status field should include "Missing" as an option ( 3039601)
     UPDATE afm_flds SET enum_list = enum_list + ';miss;Missing' WHERE table_name IN ('eq', 'eq_audit') AND field_name='status';
     UPDATE afm_flds SET dflt_val = 'miss' WHERE table_name IN ('eq', 'eq_audit') AND field_name='status';
- Add new fields: hs_hide and hs_hide2 into active_plantypes table ( 3040284)
- Add sync tables for Incident Reporting mobile app ( 3039985)
- Add Db changes for Asset And Equipment Survey mobile app enhancements ( 3040477)
- Add field wr_sync.date_escalation_completion (copy of the wr.date_escalation_completion field ( 3040840)
- Change afm_mobile_apps.activity_id field definition to ANY CHAR, and change its values to CamelCase ( 3040962 )
     UPDATE afm_flds SET string_format=5 WHERE table_name='afm_mobile_apps' AND field_name='activity_id'
- Add survey photo and comments fields into rm table ( 3041704 )
- Add display_order field to the afm_mobile_apps table ( 3041693 )
- Add table and fields for the menus in the WorkplacePortal mobile app ( 3041676 )
     afm_mobile_menu - new table
     activitytype.menu_icon,mobile_action,display_order,title,description - new fields
- Add fields in activity_log_sync table for Workplace Portal mobile app ( 3041706 )
     activity_log_sync.prob_type
     activity_log_sync.date_requested
     activity_log_sync.status
     activity_log_sync.requestor
     activity_log_sync.phone_requestor
- Add rmpctmob_sync.activity_log_id field - copy of rmpct.activity_log_id ( 3041793 )
- Add the value 'delete' enum_list for field rmpctmob_sync.action.
- Set rmpctmob_sync.pct_id to allow null values( 3041709 )
- Loading the surveyrm_sync table in SC gives an error	(3040305)
     UPDATE afm_flds SET dep_cols = 'survey_id' WHERE table_name = 'surveyrm_sync' AND field_name = 'survey_id';
BLDG OPS:
- Add new fields ( 3040684)
- Update Enumeration lists ( 3040683)
- Add field "role_name" to wr_step_waiting view ( 3040716 )
- Change data type and increase size for table_name 'helpdesk_sla_response' AND field_name IN ('workflow_name', 'service_name') ( 3041516 )
     UPDATE afm_flds SET data_type=12, afm_size=128 WHERE table_name = 'helpdesk_sla_response' AND field_name IN ('workflow_name', 'service_name');
RESERVATIONS:
- Database updates required for Reservations ( 3039833)
- New field required for Room Reservations track of show/no show ( 3041270 )
- import items-3041270-doc1.xml
- copy field to hreserve_rm
- copy the field to resrmview
- re-create resrmview view
- Reservations SQL views definitions scripts may be outdated ( 3040922 )
     UPDATE afm_flds SET afm_size=24 WHERE table_name IN ('rrdayrmres','rrdayrmresplus', 'rrdayrresplus', 'rrwrrestr') AND field_name='phone';
     UPDATE afm_flds SET afm_size=32 WHERE table_name 'rrwrrestr' AND field_name='prob_type';
     UPDATE the sql scripts: \schema\ab-products\bldgops\common\schemawiz-update-reservation-sql-views-*.sql
EH&S:
- Remove ehs_incident_witness_sync.mob_incident_id validation ( 3041037 )
     UPDATE afm_flds SET validate_data=0 WHERE table_name='ehs_incident_witness_sync' and field_name='mob_incident_id'
     UPDATE afm_flds SET dep_cols=null WHERE table_name='ehs_incidents_sync' and field_name='mob_incident_id'
- Fields with enum_list "0;No;1;Yes" should have data_type SmallInt( 3041119 )
     UPDATE afm_flds set data_type=5 where enum_list = '0;No;1;Yes' and data_type <> 5
- Add “Closed;Audit Closed” to the enumeration list in survey.status field ( 3040477 )
     UPDATE afm_flds SET enum_list='Issued;Issued to Auditor;On Hold;Audit On Hold;Completed;Audit Completed;Closed;Audit Closed' WHERE table_name='survey' AND field_name='status'
ENERGY MGMT:
- Modify qty_energy field in Energy Mgmt tables, increase the size from 12 to 16 and decimals precision from 2 to 6 ( 3041351 )
WASTE MGMT:
- A few fields violate schema best practices ( 3039696 )
- Set numeric IDs to no separator
     UPDATE afm_flds SET num_format = 2 WHERE table_name = 'ehs_chemicals' AND field_name = 'msds_id';
     UPDATE afm_flds SET num_format = 2 WHERE table_name = 'waste_out' AND field_name = 'waste_id';
- Set numerics to default value of zero and not allow null
     UPDATE afm_flds SET dflt_val = 0, allow_null = 0 WHERE table_name LIKE 'waste%' AND field_name = 'number_containers';
- Set to not allow null
     UPDATE afm_flds SET allow_null = 0 WHERE table_name = 'waste_manifests' AND field_name IN ('discrepancy_type','discrepancy_residue','discrepancy_qty','discrepancy_partial_rejection','discrepancy_full_rejection','international_shipments');
     UPDATE afm_flds SET allow_null = 0 WHERE table_name = 'waste_profiles' AND field_name IN ('transp_hazardous','specific_gravity','is_recyclable','status');
     UPDATE afm_flds SET allow_null = 0 WHERE table_name = 'waste_facilities' AND field_name IN ('treatment','recycle','disposal','status');
- Change from char to Varchar
     UPDATE afm_flds SET data_type = 12 WHERE data_type = 1 AND table_name='waste_mgmt_methods' AND field_name IN ('method_name','method_group');
     UPDATE afm_flds SET data_type = 12 WHERE data_type = 1 AND table_name='waste_manifests' AND field_name = 'handling_instructions';
     UPDATE afm_flds SET data_type = 12 WHERE data_type = 1 AND table_name='waste_profiles' AND field_name = 'waste_name';
     UPDATE afm_flds SET data_type = 12 WHERE data_type = 1 AND table_name='waste_mgmt_method' AND field_name = 'method_group';
- Add comments for allowable exceptions to the norm
     UPDATE afm_flds SET comments = comments + ' - Note: Allowing null and no default value is appropriate for this field, even though of a numeric data type.' WHERE field_name IN ('lat','lon');
     UPDATE afm_flds SET comments = comments + ' - Note: Allowing null and no default value is appropriate for this field, even though of a numeric data type.' FROM afm_flds WHERE field_name = 'msds_id' AND allow_null = 1;
CPM:
- table and fields additions/update, forecast, invoice ( 3041136 )
SPACE:
- New table/fields and tables for Space Occupancy mobile app ( 3041709 )
- New Fields:
    -surveyrm_sync.cap_em - Employee Capacity-smallint - as copy from rm.cap_em
    -surveymob_sync.survey_type - Survey Type- enum:N/A;N/A;SpaceBook;SpaceBook;Occupancy;Occupancy
- New Table:rmpctmob_sync
- Remove two values from the enumeration list in rmcat.used_in_calcs ( 3041160 )
     UPDATE afm_flds SET enum_list='all_totals;All Totals;no_totals;No Totals' where table_name='rmcat' and field_name='used_in_calcs';
            LOCALIZATION:  
- Localize afm_currencies.description field ( 3040207 )
- Make changes for the 21.2 ML Single-line headings( 3040474)
1) Add Single-Line Headings fields for each of the languages (e.g. sl_heading_nl, sl_heading_fr, etc.) to the ARCHIBUS Fields Language Translations (afm_flds_lang) table.  Use the same characteristics as the (afm_flds.sl_heading) field.
INSERT INTO afm_flds ( afm_module,afm_size,afm_type,allow_null,attributes,comments,data_type,decimals,dep_cols,dflt_val,edit_group,edit_mask,enum_list,field_grouping,field_name,is_atxt,
is_tc_traceable,max_val,min_val,ml_heading,num_format,primary_key,ref_table,review_group,sl_heading,string_format,table_name,validate_data,transfer_status)
SELECT	0,64,2050,allow_null,attributes,'v21.2 Mobile',data_type,decimals,NULL,dflt_val,edit_group,edit_mask,enum_list,field_grouping,'sl' || substring(field_name,3,length(field_name)),is_atxt,
is_tc_traceable,max_val,min_val,'SL' || substring(ml_heading,3,length(ml_heading)),num_format,primary_key,NULL,review_group,sl_heading,5, table_name,validate_data,transfer_status
FROM afm_flds WHERE table_name = 'afm_flds_lang' AND field_name like 'ml_heading%'
2) Add a new entry for afm_flds.sl_headings (shown below) to Schema Preferences (XML) (afm_scmpref.preferences). <field table="afm_flds" field="sl_heading" translationTable="afm_flds_lang"/>
3) In the ARCHIBUS Fields table, add an additional enum option: "3;TYPE_SL_HEADING" for the lang_strings.string_type field.  (We don't need this for 21.1 ML, but we will for the localization kit for 21.2).
UPDATE afm_flds SET enum_list='0;TYPE_DEFAULT;2;TYPE_ML_HEADING;3;TYPE_SL_HEADING' WHERE table_name='lang_strings' AND field_name='string_type'
- Update the afm_flds_lang table with new fields from afm_flds
     INSERT INTO afm_flds_lang (table_name, field_name)
     SELECT table_name, field_name FROM afm_flds
     WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
     WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
     AND afm_flds_lang_inner.field_name = afm_flds.field_name )
     Run schema update wizard for tables:
     'activity_log_sync;docs_assigned_sync;ehs_incident_witness_sync;ehs_incidents_sync;eq;eq_audit;survey;surveyrm_sync;wr_sync;active_plantypes;afm_metric%;rm_config;afm_flds_lang'
     'invoice;project;wr_step_waiting;proj_forecast%;afm_currencies'
     'bill;bill_archive;bill_line;bill_line_archive;rm;afm_mobile_%;afm_metric_definitions;surveyrm_sync;surveymob_sync;rmpctmob_sync;activity_log_sync;activitytype'
     'rmpctmob_sync;helpdesk_sla_response;waste_out;waste_manifests;waste_profiles;waste_mgmt_methods;waste_facilities'
     Re-create SQL views

WFR changes

SYSTEM:
- WFR errors in ( 3041100 )
     update scheduled WFR to run 5 min apart.
- In afm_wf_rules table, XML Schedule Properties field not empty for non-scheduled WFRs( 3041014 )
     UPDATE afm_wf_rules SET xml_sched_props=null WHERE xml_sched_props IS NOT NULL AND rule_type<>'Scheduled'
- Disable non-essential WFRs from running on startup as on startup the SmartClient can crash because of a database error caused by rule ApplyIndexesService ( 3042287 )
     UPDATE afm_wf_rules SET xml_sched_props = REPLACE(xml_sched_props, 'runOnStartup="true"', 'runOnStartup="false"')
     WHERE is_active=1 AND rule_type='Scheduled' AND xml_sched_props LIKE '%runOnStartup="true"%'
     AND activity_id||'-'||rule_id NOT IN
    (SELECT activity_id||'-'||rule_id FROM afm_wf_rules WHERE is_active=1 AND rule_type='Scheduled'
    AND
    ((activity_id='AbBldgOpsHelpDesk' AND rule_id='runSLAEscalations') OR
    (activity_id='AbCommonResources' AND rule_id='ScheduledNotificationService') OR
    (activity_id='AbSpaceRoomInventoryBAR' AND rule_id='updateRmAndEmFromRmpct') OR
    (activity_id='AbSystemAdministration' AND rule_id='removeUnlicensedActivities'))
     )
MOBILE:
- Add a new workflow rule for Incident Reporting mobile app ( 3039984 )
     INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props,xml_sched_props) VALUES ('1','NO CHANGE','EHS Mobile Service',NULL,NULL,'AbRiskEHS','EHSMobileService','Message',NULL,'<xml_rule_properties description="EHS Mobile Service"><eventHandlers><eventHandler class="com.archibus.eventhandler.ehs.mobile.EhsMobileService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>',NULL);
- Add AssessmentMobileService workflow rule ( 3040076 )
     INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props,xml_sched_props) VALUES ('1','NO CHANGE',NULL,NULL,NULL,'AbCapitalPlanningCA','AssessmentMobileService','Message',NULL,'<xml_rule_properties description=""><eventHandlers><eventHandler class="com.archibus.app.assessment.mobile.service.impl.AssessmentMobileService" method=""><inputs/></eventHandler></eventHandlers></xml_rule_properties>','<xml_schedule_properties><schedule startTime="01-01-2004 12:00:00" endTime="" runOnStartup="false"><simple repeatCount="-1" repeatInterval="86400000"/></schedule></xml_schedule_properties>');
- Add new WFR for Page Navigator ( 3040687 )
     INSERT INTO afm_wf_rules (xml_rule_props, is_active, rule_type, description, activity_id, rule_id) VALUES ('<xml_rule_properties description="Initiates navigation page generation for a particular role-locale record"> <eventHandlers> <eventHandler class="com.archibus.eventhandler.NavigationPagesPublisher" method="generatePagesForRole"> <inputs> </inputs> </eventHandler> </eventHandlers> </xml_rule_properties>', 1, 'Message','Initiates navigation page generation for a particular role-locale record','AbCommonResources','generateNavigationPagesForRole')
     INSERT INTO afm_wf_rules (xml_rule_props, is_active, rule_type, description, activity_id,rule_id) values ('<xml_rule_properties description="Returns data records as for the report grid augmented with additional properties"> <eventHandlers> <eventHandler class="com.archibus.eventhandler.ViewHandlers" method="getDataRecordsPlusProjectInfo"> <inputs> </inputs> </eventHandler> </eventHandlers> </xml_rule_properties>', 1, 'Message','Returns data records for Bali 1 Page Navigator', 'AbCommonResources', 'getDataRecordsPlusProjectInfo')
- New Workflow rule, 'WorkplacePortalMobileService', for Workplace Portal mobile app ( 3041705 )
- New Workflow rule, 'SpaceOccupancyMobileService', for Space Occupancy mobile app( 3041710 )
- Update the AbWorkplacePortal-WorkplacePortalMobileService WFR to point to the renamed package (com.archibus.app.workplace.mobile.service.impl) ( 3041796 )
- Add Workflow rule definition for Workplace Portal mobile app - Reservations and Hoteling modules( 3041925 )
METRICS:
- Add New WFR for metrics calculation ( 3040790)

PNAV changes

SYSTEM ADMIN:
- Add a task for "Add Field" ( ab-schema-add-field.axvw ) to the System Admin process ( 3039861 )
     INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbSystemAdministration', 'Add-In Manager', 'Add Field', 950, 'WEB URL','ab-schema-add-field.axvw')
- Add or replace the task "Edit ARCHIBUS Data Dictionary" ( 3039999 )
     UPDATE afm_ptasks SET task_file='ab-edit-data-dictionary.axvw' WHERE task_file = 'ab-data-dictionary.axvw';
- Database changes to support the 21.2 Page Navigation functionality ( 3040687 )
     INSERT INTO afm_activities (activity_id,summary,title,display_order,version) VALUES ('AbNavigationPages','Navigation activity to facilitate role-to-process or role-to-page relation.', 'Page Navigator',0,1)
     INSERT INTO afm_ptasks (display_order, icon_small, task_file, task_type, activity_id, process_id, task_id) VALUES (450,'ab-icon-task.gif','ab-publish-navigation-pages.axvw','WEB URL','AbSystemAdministration','Add-In Manager','Publish Navigation Pages by Role')
- Add "Use Building Operations Console" to the PNav in System Administration( 3040919 )
- Add Pnav entry for 'Review Record Counts' - ab-records-count.axvw ( 3041654 )
- Add roles and page navigators for the AI* and AFM* users ( 3041698 )
MOBILE:
- Add the AIM, AFMM mobile page navigator users, their processes, ptasks, and roleprocs ( 3042091 )
- View 'Select Space Book Plan Types' should be renamed since it is used also by Space Occupancy app ( 3041897 )
METRICS:
- Add PNav entries for Metrics:
     INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbSystemAdministration', 'Add-In Manager', 'Metrics', 460, 'LABEL','');
     INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbSystemAdministration', 'Add-In Manager', 'Define Metrics', 465, 'WEB URL','ab-ex-metric-metrics-def.axvw');
     INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbSystemAdministration', 'Add-In Manager', 'Define Granularities', 470, 'WEB URL','ab-ex-metric-gran-def.axvw');
     INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbSystemAdministration', 'Add-In Manager', 'Define Scorecards', 480, 'WEB URL','ab-ex-metric-scorecard-def.axvw');
- Add new 'Metric Trend Values' task ( 3041671 )
SOLUTION TEMPLATES:
- Add the CAD paginated report to the PNav ( 3039838 )
- Add/update Solution Templates tasks ( 3040170 )
ASSET MGMT:
- The equipment asset console view in SmartClient does not add titles like the same view in WebCentral ( 3039084 )
     UPDATE afm_ptasks SET task_file = 'ab-eq-locate.axvw' WHERE task_file='ab-ap-eq-locate.axvw'
- Copy the Asset & Equipment Survey Console view to the Asset Management Domain ( 3040487 )
      INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbAssetManagement', 'Equipment', 'Manage Asset & Equipment Surveys', 250, 'WEB URL', 'ab-eq-survey-console.axvw')
- Update Pnav for Defining/Editing Equipment ( 3041155 )
      UPDATE afm_ptasks SET task_file = 'ab-eq-edit.axvw' WHERE task_file = 'ab-ca-def-eq.axvw'
PROJ MGMT:
- Add Define Vendors view to setup menu ( 3040416 )
INSERT INTO afm_ptasks(activity_id, process_id, task_id, display_order, task_type, task_file) VALUES('AbProjectManagement', 'Set Up', 'Define Vendors', 1670, 'WEB URL','ab-vn-def.axvw')
RPLM:
- Add Define Fiscal Year task under Cost Administration activity ( 3037600 )
     INSERT INTO afm_ptasks (display_order, icon_small, task_file, task_type, activity_id, process_id, task_id)VALUES (450,'ab-icon-task.gif','ab-repm-lsadmin-fiscal-year-def.axvw','WEB URL','AbRPLMCosts','Business Process Owner','Define Fiscal Year')
SPACE:
- Add entries for the new Space Console and associated views ( 3040900 )
- afm_ptask changes for Space Mgmt ( 3040863 )
- Add "Quick Start" users and roles ( 3040921 )
- Add a PNav Pick for Space survey console to space menu ( 3042330 )
Space & Ops Quick-Start:
- Add record to afm_ptasks to include a link to the Quick-Start intro help page ( 3042155 )
- Process Navigator and Role Assignment changes ( 3041505 )
- Update afm_ptasks for Employee Capacity views ( 3041944 )
- Add a task to define quick-start metric limits ( 3042016 )
- Page Navigation, add several missing afm_roleprocs for the self-service home page ( 3042112 )
- Smart Client tasks and SC Extension tasks for Quick-Start roles ( 3042020 & 3041939 )
- Process Navigator and Role Assignment changes ( 3041505, 3041730 )
RESERVATIONS:
- New task required for Room Reservations track of show/no show ( 3041569 )
afm_roleprocs updates:
- Add 'Executive Reports' and 'Process' processes for all active applications to the 'EXECUTIVE MANAGER' and 'EXECUTIVE MANAGER (ACP)' roles in the afm_roleprocs table:
- Add all processes for all active activities to each of these roles in the afm_roleprocs table:
     4 - PROCESS OWNER
     4 - PROCESS OWNER (ACP)
     ACTIVITY LICENSEE
- Add all processes for the 'AbSystemAdministration' activity to each of these roles in the afm_roleprocs table:
     4 - SYSTEM ADMINISTRATOR
     SYSTEM ADMINISTRATOR
     SYSTEM ADMINISTRATOR (ACP)

DATA changes

SYSTEM:
- New activity parameter required for recurring schedule service ( 3041474 )
- Update AFM_CURRENCIES.CURRENCY_SYMBOL ( 3041417 )
- Change the locale for select level 4 and executive managment users from "English (United States)" to "Default" ( 3042060 )
     UPDATE afm_users SET locale='DEFAULT' where user_name in ('AI','AIX','ABERNATHY','AIDEMO5','AFMDEMO5');
USERS:
- Add the AIM, AFMM mobile page navigator users, their processes, ptasks, and roleprocs	(3042091)
     UPDATE afm_users SET clr_scheme = 'IMPACT' WHERE user_name IN ( 'AIM', 'AFMM' );
- Current HQ users cannot login if WebCentral default language is not en-US	(3042437)
     UPDATE afm_users SET locale = 'en_US' WHERE user_name IN ( 'AIX', 'AFMX' );
METRICS:
- Add Metrics sample data ( 3040907 )
- Add afm_metric_definitions sample data ( 3040991, 3041684 )
- label all afm_metric_trend_values records as "example" data	(3042543)
     UPDATE afm_metric_trend_values SET collect_err_msg = 'example';
- Add sample data for metric, granularity, and scorecard definitions and sample values  ...
- Set all metrics, except legacy ones as Active, but Not Tested( 3042040 )
- Add metric records for the Quick-Start home page ( 3041794 )
- Import the new metric scorecard assignments ( 3042092 )
- Set all metrics, except legacy ones as Active, but Not Tested( 3042040 )
MOBILE:
- Add record in afm_mobile_apps table ( 3040076)
     INSERT INTO afm_mobile_apps(activity_id, title, security_group, main_page_url) VALUES('ABCONDITIONASSESSMENT', 'Assessment', 'OPS-CA-MOB', 'ConditionAssessment/index.html')
- Add record in afm_mobile_apps table ( 3040441)
     INSERT INTO afm_mobile_apps(activity_id, title, main_page_url) VALUES('ABINCIDENTREPORTING', 'Incidents Reporting', 'IncidentReporting/index.html')
- Update description field text for two Clean Building problem type records( 3040429)
- Change afm_mobile_apps.activity_id field values to CamelCase ("AbConditionAssessment", "AbEquipmentSurvey", "AbIncidentReporting", "AbSpaceBook", "AbWorkRequest") - ( 3040962 )
- Mobile Maintenance app: add "10 - MAINTENANCE" plan type( 3040949 )
- Additional Activity Parameters needed for Mobile Framework ( 3041166 )
     INSERT INTO afm_activity_params(activity_id, param_id, param_value, description, applies_to) VALUES('AbSystemAdministration', 'MobileAppsShowSampleCameraImages', 1, 'Indicates that the camera icon should be displayed when running the apps in a browser.', 			'Mobile')
     INSERT INTO afm_activity_params(activity_id, param_id, param_value, description, applies_to) VALUES('AbSystemAdministration', 'BackgroundDataExpiration', 12, 'Indicates the number of hours that the background sync data is valid.', 'Mobile')
- Create user group for Incidents Reporting app( 3041596 )
- Add new security group for Space Occupancy mobile app ( 3041712 )
- Activate Space Occupancy mobile app by adding it into afm_mobile_apps table ( 3041715 )
- Add security group for Workplace Services Portal mobile app ( 3041472 )
- Add the Workplace Services Portal mobile app entry ( 3041471 )
- Insert afm_mobile_menu records for WorkplacePortal mobile app ( 3041675 )
- Upload photo icons for to the Workplace Portal Request form ( 3041641 )
- Add plan types for Workplace Portal mobile app for Locating Employees and Locating Rooms ( 3041735 )
- Add sort order values for afm_mobile_apps ( 3041693 )
- Add plan types for Workplace Portal mobile app for Reservations and Hoteling ( 3041923 )
- Update and insert activitytype records for WorkplacePortal mobile app ( 3041674 )
RESERVATIONS:
- New activity parameter required for limiting the maximum occurrences for recurring reservations( 3042232 )
CPM:
- Make AIX the appr_mgr1 for projects WHERE AI is the proj_mgr	(3042519)
     UPDATE project SET apprv_mgr1 = 'AIX' WHERE proj_mgr = 'AI';
- Capital Project legacy data and Facilty Construction Project Manager sample data ( 3041295 )
- Sample data adjustments for invoices, activity_log, and project forecasts for CPM ( 3041742 )
- FCPM project status values need update ( 3041546 )
- Capital Budgeting home page sample data ( 3041688 )
- Updates to HQ-BUILD-HQ-NEW dataset for CPM ( 3042019 )
- Invoices with status ISSUED should not have amount_closed values ( 3042152 )
BLDGOPS:
- Update the division and department assigned to employee DISPATCHER ( 3042545 )
- Bad data in default database for two afm_wf_steps records ( 3039981)
     UPDATE afm_wf_steps SET subject_message_id=UPPER(subject_message_id) WHERE subject_message_id is not null;
     UPDATE afm_wf_steps SET body_message_id=UPPER(body_message_id) WHERE body_message_id is not null;
- Change task_id from 'Operations Console' to 'Building Operations Console' ( 3041757 )
- Sample data changes ( 3041507 )
- Remove old activity params ( 3041507 )
     DELETE FROM afm_activity_params WHERE param_id IN ('ShowEquipmentOnCreateRequest', 'ShowProblemTypesOnCreateRequest');
- Add 'Survey_View' activity parameter for use by BldgOps Console( 3042322 )
- Add BldgOps notification messages ( 3042299 )
- Change some data in table afm_wf_steps, due to recently reported issues ( 3042231 )
     UPDATE afm_wf_steps SET step_status_result = 'surveyed' WHERE step = 'Satisfaction Survey';
     UPDATE afm_wf_steps SET step = 'Scheduling' WHERE step_type = 'scheduling';
SPACE:
- Sample data updates for Space and BldgOps ( 3041137 )
- change the site of some buildings back to their v20.2 values (revert KB 3039008) ( 3041015 )
     UPDATE bl SET bl.site_id='JFK', bl.dwgname=null, bl.ehandle=null WHERE bl.bl_id LIKE 'JFK%';
     UPDATE bl SET bl.site_id='OLDCITY', bl.dwgname=null, bl.ehandle=null WHERE bl.bl_id =  'XC';
- Sample data changes ( 3041506 )
- Database changes Building Operations and Space Management( 3040686 )
     Add AbBldgOpsOnDemandWork.TranslationsForWorkRequestStatus parameter
ASSET MGMT:
- Update inconsistent values in enum_list for status field in eq and eq_audit tables( 3041211 )
     UPDATE afm_flds SET enum_list = 'in;In service;out;Out of Service;rep;In Repair;stor;In storage;salv;Salvaged;sold;Sold;miss;Missing' WHERE table_name IN ('eq', 'eq_audit') AND field_name='status';
ENERGY:
- OSHA Reports - Injury types are not defined - Add records to HQ ( 3039781 )
- Update weather station assignments for a selection of buildings in the HQ demo data set ( 3039937 )
- Add DALLASOF bill_archive data ( 3039863 )
CLEAN BUILDING:
- Capital Projects need Project Type re-assignment for some Hazmat projects ( 3041543 )
     UPDATE project SET project_type = 'Study' WHERE project_type = 'ASSESSMENT - HAZMAT' AND prob_type IS NULL
- Remove and clean up some Clean Building activity_log sample data ( 3041651 )
EH&S:
- Training Program Hours report does not have supporting sample data ( 3039525 )
- One description content in ehs_incident_injury_cat table needs to be updated	(3042412)
- Update enumeration list DATA for EHS restriction_type_id ( 3038453)
     UPDATE afm_flds SET enum_list='Permanent;Permanent;Temporary;Temporary' WHERE table_name='ehs_restrictions' AND field_name='restriction_type_id';
     UPDATE ehs_restrictions SET restriction_type_id = 'Temporary' WHERE restriction_type_id = 'Temp';
COMPLIANCE:
- Insert additional Compliance demo data for LICENSE compliance programs ( 3041692 )
- Turn off Compliance notifications in sample data ( 3042285 )
     UPDATE notifications SET is_active=0;
MSDS:
- Modify historical MSDS records to be more realistic and demonstrate new use case support( 3041645 )
- Reduce prominence of hand sanitizer vs other products in MSDS locations data ( 3041731 )
WASTE MGMT:
- Update one waste record to enable testing and display of one report highlight feature( 3041646 )
- Insert additional waste and waste manifest records to populate report view ( 3041644 )
- Demonstration data to be added to Waste Management, to have more manifests and see results in some reports ( 3041611 )
GREEN BLDGS:
- Green Buildings demonstration data moved forward in time( 3041195 )
- Green Buildings gb_fp_setup.calc_year demonstration data moved forward in time ( 3041195 )
ALL:
- Execute the Basic Rule BasicRules_AdvanceSampleDataDates.java ( 3040412 )

Version 21.1 Database Schema Revision History (Database Version 138)

SCHEMA PREFERENCES:

Update Db Version Date to: 	2013.05.15
Update Db Version number to:	138

SCHEMA CHANGES

System:

- New fields added:
     afm_dwgpub	    color_mapping
     afm_timezones	    localization fields
- Rename user color scheme Slate - Large Font to Slate - Small Font ( 3038597 )
     UPDATE afm_flds SET enum_list='SLATE;Slate;IMPACT;High Impact;SLATE-SMALL;Slate - Small Font' WHERE table_name='afm_users' AND field_name='clr_scheme'
- Add publishing option to convert all CAD and Revit features to a single color (usually black or a dark grey) ( 3035810 )
     Add color_mapping field to afm_dwgpub table
- Add capability for numeric answers for questionnaire fields ( 3028733 
     UPDATE afm_flds SET enum_list = enum_list || 'Num;Number;Int;Integer' WHERE table_name='questions' AND field_name='format_type'
- Add SVG Type to the drawing publishing rules ( 3038961 )
- Phone fields for all tables set to size = 24. (3039150)
     Tables updated:  bl;combext;company;em;hreserve;insurer;jk;jkext;lessor;mo;project;reserve;rm;telext;visitors;vn;waste_facilities
     Also a number of SQL view afm_flds values updated
- Data type differs for 2 Foreign Keys for Sql Server DB ( 3039475 )
     UPDATE afm_flds SET data_type=1 WHERE table_name='ehs_incidents' and field_name = 'short_term_ca'
     UPDATE afm_flds SET data_type=12 WHERE table_name='afm_redlines' and field_name = 'dwg_name'
- Schema Change Wizard shows "Database value not in enum" warnings ( 3039476 )
     UPDATE afm_flds SET enum_list =
         2050;None;2090;Block;2100;Dwgname;2105;Ehandle;2110;Std;2115;Layr;2120;Area;2125;Len;2055;Desc;2075;XDim;2080;YDim;2085;ZDim;2095;Std. Area;2150;Hierarchical;2155;Hierarchical-Concat;2160;Hierarchical Trace;2135;HPattern;2140;HPattern Acad;2145;HPattern Acad Ext;2060;Graphic;2165;Document;2065;Bar code;2245;Currency;2070;Calculated;2068;Calc-Bar Code;2200;Tc Level;2210;Tc Container;2220;Tc Multiplexing;2230;Tc Contained Tbls;2240;Tc nPositions;2241;Tc Ca Std Max Length;2242;Tc Ca Std Layer;2243;Tc Ca Std Width;2244;Tc Ca Std Color;2170;Doc Stg;2175;Questionnaire'
         WHERE table_name = 'afm_flds' and field_name = 'afm_type;'
     UPDATE afm_flds set enum_list =
         'N/A;N/A;COMMERCIAL;COMMERCIAL;HOSPICE;HOSPICE;HOSPITAL;HOSPITAL;HOTEL;HOTEL;MANUFACTURING;MANUFACTURING;MIXED USE;MIXED USE;OFFICE;OFFICE;RESIDENTIAL;RESIDENTIAL;RETAIL;RETAIL;SPORT/RECREATION;SPORT/RECREATION;CALL CENTER;CALL CENTER;DATA CENTER;DATA CENTER;LABORATORY;LABORATORY;WAREHOUSE;WAREHOUSE'
          WHERE table_name = 'ls' AND field_name = 'space_use';

Bldg Ops:

- Update the SQL views:  (3037362)
     Run (from Win C\S): System \ Schema \ Define \ Update Service Desk and On Demand Work SQL Views
- Enum list for scheduling substitututes re-organized and edited for consistency ( 3037944 )
     UPDATE afm_flds SET enum_list='acceptance;Service Provider;craftsperson;Craftsperson;supervisor;Supervisor;manager;Service Desk Manager;approval;Approve;review;Edit and Approve;dispatch;Dispatch;estimation;Estimate;scheduling;Schedule;verification;Verify;survey;Survey' WHERE table_name='workflow_substitutes' AND field_name='steptype_or_role'

Gov. Real Prop:

- New enum fields for FRPP 2012 need default values to indicate no change:
     UPDATE afm_flds SET enum_list = 'Z;Not Applicable;Y;Yes;N;No;' WHERE enum_list = 'Y;Yes;N;No' AND table_name = 'grp_trans';
     UPDATE afm_flds SET enum_list = 'NA;Not Applicable;LX;(LX) Lease Termination;LE;(LE) Lease Expiration;UN;(UN) Unknown' WHERE enum_list = 'LX;(LX) Lease Termination;LE;(LE) Lease Expiration;UN;(UN) Unknown' AND table_name = 'grp_trans';

Mobile:

- New tables added:
     afm_mobile_apps   
     active_plantypes  
     activity_log_sync
     surveyrm_sync
     wr_other_sync
     wr_sync    
     wrcf_sync
     wrpt_sync
- New Fields added
     afm_users:
          mob_device_id  
          mob_devide_enabled
     afm_activity_params.applies_to
     eq_audit:
        marked_for_deletion
        mob_locked_by
        mob_is_changed
        transfer_status
    eqstd.hpattern_acad
    survey.status
- Get Background Data got error when control Mobile App access by Security Group (3039061)
     UPDATE afm_flds SET review_group = NULL WHERE table_name = 'bl' AND field_name = 'name'
- Modify the eq_audit table, make bl_id, fl_id and rm_id fields allow null values and add site_id to the eq_audit table (3039370)

Risk & Env:

- Schema changes for EH&S KB items:
     New fields added:  ( 3038494, 3038495 )
            ehs_restrictions	  restriction_class
            ehs_training	  hours_training
            ehs_training	  vn_id
            ehs_training_results  hours_training
KB 3038503: SCHEMA - schema and sample data modifications for EH&S days_lost_work
     UPDATE afm_flds SET ml_heading='Lost Productivity (Days)' WHERE table_name = 'ehs_incidents' and field_name = 'lost_work_days';
     UPDATE afm_flds SET ml_heading='Lost Work (Days), Manual Entry' WHERE table_name = 'ehs_restrictions' and field_name = 'lost_work_days';
     INSERT afm_flds VALUES ('ehs_restrictions', 'restriction_class', '2050','0','v21.1 EHS',1,0,null,'Away',null,null,'Away;Away from work;Remained-Restricted;Remained at work: Job transfer or restriction;Remained-Other;Remained at work: Other recordable cases','0',null,null,'Restriction Classification',1,0,0,null,null,24,null,5,0,null,null,1,'NO CHANGE');
     UPDATE ehs_restrictions SET restriction_type_id = 'Temporary' WHERE restriction_id = 4;
     UPDATE ehs_restrictions SET restriction_class = 'Remained-Restricted' WHERE restriction_id NOT IN ('4','16','18','26');
     UPDATE ehs_restrictions SET restriction_class = 'Away' WHERE restriction_id IN ('4','16','18','26');

REPM:

- Cost Indexing:
     New tables added:
        cost_index
        cost_index_trans
        cost_index_values
        ls_index_profile
     New fields added:
        ls		cost_index
        ccost_sum 	date_costs_last_calc   (3039356)
- CAM Cost Reconciliation:
     New tables added:
        ls_cam_profile
        ls_cam_rec_report
     New fields added:
        cost_tran	        cam_cost
        cost_tran_recur	        cam_cost
        cost_tran_sched	        cam_cost
- Costs that have had VAT amount overridden to 0 are not charged back correctly ( 3039540 )
cost_tran_recur
   UPDATE afm_flds SET dflt_val = '-1.0' WHERE table_name = 'cost_tran_recur' and field_name = 'vat_amount_override';
   ALTER TABLE cost_tran_recur MODIFY  vat_amount_override NUMERIC(12,2)  NOT NULL  DEFAULT -1.0;
   UPDATE cost_tran_recur SET vat_amount_override = -1.0 WHERE vat_amount_override = 0;
cost_tran_sched
   UPDATE afm_flds SET dflt_val = '-1.0' WHERE table_name = 'cost_tran_sched' and field_name = 'vat_amount_override';
   ALTER TABLE cost_tran_sched MODIFY  vat_amount_override NUMERIC(12,2)  NOT NULL  DEFAULT -1.0;
   UPDATE cost_tran_sched SET vat_amount_override = -1.0 WHERE vat_amount_override = 0;
cost_tran
   UPDATE afm_flds SET dflt_val = '-1.0' WHERE table_name = 'cost_tran' and field_name = 'vat_amount_override';
   ALTER TABLE cost_tran MODIFY  vat_amount_override NUMERIC(12,2)  NOT NULL  DEFAULT -1.0;
   UPDATE cost_tran SET vat_amount_override = -1.0 WHERE vat_amount_override = 0;

Localization:

- List of countries in the Time Zone field for geographical locations are not translated (3030066)
     Add <field table="afm_timezones" field="timezone_id" /> to afm_scmpref.preferences
- To get the new fields from the last update into afm_flds_lang run:
     INSERT INTO afm_flds_lang (table_name, field_name)
         SELECT table_name, field_name FROM afm_flds
         WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
            WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
            AND afm_flds_lang_inner.field_name = afm_flds.field_name )

WFR CHANGES

System:

- Remove the AbCommonResources-ScheduleNotificationService record from afm_wf_rules as it is a duplicate of: AbCommonResources-ScheduledNotificationService ( 3037561 )

Mobile:

- Add afm_wf_rules:

Primary Application Rule Code Class Name
AbCommonResources DrawingSvgService com.archibus.app.common.drawing.service.DrawingSvgService
AbSpaceRoomInventoryBAR SpaceMobileService com.archibus.app.space.service.SpaceMobileService
AbAssetManagement AssetMobileService com.archibus.app.asset.service.AssetMobileService


REPM:

- Add WFR for AbCommonResources.CostIndexingService
- Add WFR for Cost reporting service ( 3039046 )

Project Mgmt:

- Add WFR for AbProjectManagement.ProjectCostsService for "Budget vs Spend" reports

Space:

- Update AbSpaceRoomInventoryBAR.RoomTransactionRecorderForDataChangeEvent WFR definition ( 3038644 )
     UPDATE afm_wf_rules SET is_active='1',transfer_status='UPDATED',description='Room Transaction Recorder for DataChange events for room table.'     
     ,dwgname=NULL,ehandle=NULL,rule_type='DataEvent',group_name=NULL,xml_rule_props='<xml_rule_properties 
     description="Room Transaction Recorder for DataChange events for room table.">      
     <eventHandlers><eventHandler class="com.archibus.service.space.datachangeevent.RoomTransactionDataEventListener" method="">
     <inputs></inputs></eventHandler></eventHandlers></xml_rule_properties>',xml_sched_props='<xml_schedule_properties>
     <schedule startTime="01-01-2004 12:00:00" endTime="" runOnStartup="false"><simple repeatCount="-1" repeatInterval="86400000"/>
     </schedule>
     </xml_schedule_properties>' WHERE (activity_id='AbSpaceRoomInventoryBAR' AND rule_id='RoomTransactionRecorderForDataChangeEvent');

Localization:

- Remove old localization WFRs ( 3039051 )

Solutions:

- Include WFR definitions for AbSolutionsViewExamples.DocumentJob and AbSolutionsViewExamples.EmployeesJob ( 3037342 )
     INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
     VALUES ('0','NO CHANGE','Example of Job uploading document from WebCentral to MS SharePoint server, using WebService.',NULL,NULL,'AbSolutionsViewExamples','DocumentJob','Message',NULL,'
     <xml_rule_properties description=""><eventHandlers>
     <eventHandler class="com.archibus.app.solution.common.webservice.document.DocumentJob" method="uploadDocument"><inputs/>
     </eventHandler></eventHandlers></xml_rule_properties>')

     INSERT INTO afm_wf_rules(is_active,transfer_status,description,dwgname,ehandle,activity_id,rule_id,rule_type,group_name,xml_rule_props) 
     VALUES ('0','NO CHANGE','Example of Job calling EmployeeService 
     WebService.',NULL,NULL,'AbSolutionsViewExamples','EmployeesJob','Message',NULL,
     '<xml_rule_properties description=""><eventHandlers>
     <eventHandler class="com.archibus.app.solution.common.webservice.employee.EmployeesJob" method="importAllEmployees">
     <inputs/></eventHandler></eventHandlers></xml_rule_properties>')

PNAV CHANGES

System:

- Move the localization process to System domain so that it is retained in the schema.db (3035480)
     - Move the localization tasks to a new "Localization Manager" process beneath the Add In Manager process in the System Admin activity. 
     - Remove the afm_actprods record for AbSolutionTemplates-Localization.     
     - Remove the AbSolutionsLocalization afm_activity record
- Update the PNav icons
- Make the Equipment Standard Edit form consistent throughout all Domains ( 3038787 )
- Add license levels to new PNav processes ( 3037314 )
- AIADMIN and ADMIN missing user management process ( 3037368 )
- Add all processes for the 'AbSystemAdministration' activity to each of these roles in the afm_roleprocs table:
     4 - SYSTEM ADMINISTRATOR
     SYSTEM ADMINISTRATOR
     SYSTEM ADMINISTRATOR (ACP)
- The Drawing tasks under the Add-In Manager on the Smart Client Process Navigator would be easier to find under the CAD and BIM Manager Role (3039287)

Asset Mgmt:

- Add Space and Org Hierarchies to the background menu for Asset Mgmt ( 3038786 )
- Add Service Contracts and CSI to Process Navigator ( 3038793 )
- On the Asset Managment/Asset Portal/Background Date PNav process, there is inconsistency in use of verbs in task names ( 3038979 )

BldgOps:

- Manage Un-Submitted Requests view is available only in Service Desk, not On Demand Work ( 3038894 )
- Add tasks for defining Work Teams to Building Operations Business Process Owner Process ( 3026500 )

Env. & Risk:

- EH&S - Correct two tasks duplicated for Define Employee (3037198)
- Green Bldgs - Add 2 reports to show Deleted Buildings Carbon Footprint data (3030622)
- Emergency Prep additions for Egress and Haz Mat plans ( 3038007 )
- Emergency Prep additions for Business Value Scripts ( 3038230 )

Mobile:

- Add "Mobile Apps Manager" Process under System Administration / ARCHIBUS System Administration, just beneath the CAD and BIM Manager

Project Mgmt:

- Add "Define Contacts" view to the "Set Up" process for Proj. Mgmt. and to the "Background Data" process for Lease Administration. (3037410)

REPM:

- Add PNav changes for Cost Indexing and CAM Cost Reconciliation.
- Change navigator entries for some reports ( 3038840 )
- Remove old entries; add new entries for new views ( 3038840 )

Space:

- Navigation shows both non-transaction and transaction for space management ( 3038971 )
- In the Building Performance Smart Client CAD process, add a Set Buildings task. CAD Specialists use this task to draw buildings on their campus plan.

Solutions:

- Add new Solutions Template view for Display Temporary Message (3037712).
- GIS - Update GIS task descriptions to be more consistent and to more accurately reflect their purpose; distinguish Flash controls from JavaScript. (3036729)
- Reusable components - Add example of reusable component 'Enable or Disable field actions' ( 3037885
- Add 21.1 Solution Templates views to Process Navigator ( 3038796 )
- Correct example view demonstrating the row clicks events ( 3038969 )

DATA CHANGES

The list below primarily covers data changes that may affect user projects or sample data issues that cause exception errors. Most HQ project sample data changes, of which there were many, are not listed.

System:

- activities table - remove translations ( 3037025 )
     UPDATE afm_activities SET summary_ch=NULL, summary_de=NULL, summary_es=NULL, summary_fr=NULL, summary_
     it=NULL, summary_nl=NULL, title_ch=NULL,title_de=NULL, title_fr=NULL, title_it=NULL, title_nl=NULL WHERE activity_id='AbRiskCompliance'
- One record of afm_dwgs data is incorrect and causes an exception in the SC (3037489).
     UPDATE afm_dwgs SET dwg_file = 'hqb1.dwg' WHERE dwg_name = 'HQB1';
- Updates to afm_roleprocs table:
     Add 'Executive Reports' and 'Process' processes for all active applications to the 'EXECUTIVE MANAGER' and 'EXECUTIVE MANAGER (ACP)' roles
     Add all processes for all active activities to each of these roles in the afm_roleprocs table:
         4 - PROCESS OWNER
         4 - PROCESS OWNER (ACP)
         ACTIVITY LICENSEE
 Add all processes for the 'AbSystemAdministration' activity to each of these roles in the afm_roleprocs table:
         4 - SYSTEM ADMINISTRATOR
         SYSTEM ADMINISTRATOR
         SYSTEM ADMINISTRATOR (ACP)

CPM:

- Add activity parameter for Facility Condition Index: ( 3037905 )
     INSERT INTO afm_activity_params(activity_id,transfer_status,param_id,description,param_value) VALUE
     ('AbCapitalPlanningCA','NO CHANGE','FacilityConditionIndex','Facility Condition Index formula','(1000 * ( activity_log.cost_estimated + activity_log.cost_est_cap) / ${sql.replaceZero(''activity_log.cost_to_replace'')})');
- Create a Generic Project Template ( 3037968 )

Mobile:

- Add some drawing publishing rules for mobile apps:
Rules Code Title Active Type Additional Layers
AbPubBlSvg Publish Buildings for Campus Plans Yes SVG BL*;PL*;SI*;
AbPubRmSvg Publish Rooms for Floor Plans Yes SVG RM*;DR;WA-EXT;WA;WN;GRID;SI-MISC;PL
AbPubRmAndEqSvg Publish Rooms and Equipment for Floor Plans Yes SVG RM*;EQ*;DR;WA-EXT;WA;WN;GRID;SI-MISC;PL
- Add the device ID to the GUEST-MOBILE account. ( 3039577 )

REPM:

- Add activity_parameters for Cost Indexing and CAM
     INSERT INTO afm_activity_params(activity_id,applies_to,transfer_status,param_id,description,param_value
        VALUES ('AbRPLMCosts','NA','NO CHANGE','Base_Rent_Category','Alternative names for the RENT-BASE RENT recurring cost category','RENT - BASE RENT');
     INSERT INTO afm_activity_params(activity_id,applies_to,transfer_status,param_id,description,param_value)
        VALUES ('AbRPLMCosts','NA','NO CHANGE','CAM_Estimate','Alternative names for the ''RENT-CAM ESTIMATE'' cost category','RENT - CAM ESTIMATE');
     INSERT INTO afm_activity_params(activity_id,applies_to,transfer_status,param_id,description,param_value)
        VALUES ('AbRPLMCosts','NA','NO CHANGE','CAM_Reconciliation','Alternative names for the ''RENT - CAM RECONCILIATION'' cost category','RENT - CAM RECONCILIATION');
- Add new Cost Categories CAM(XML file)
     INSERT INTO cost_cat(rollup_prorate,cost_cat_id,cost_class_id,cost_type,option1,option2) VALUES ('LEASE-BLDG-NONE','RENT - CAM ESTIMATE','OPERATING COST','OPERATING EXP.',NULL,NULL);
     INSERT INTO cost_cat(rollup_prorate,cost_cat_id,cost_class_id,cost_type,option1,option2) VALUES ('LEASE-BLDG-NONE','RENT - CAM RECONCILIATION','OPERATING COST','OPERATING EXP.',NULL,NULL);

Service Desk:

- SLA responses - make autoschedule and autoissue match (3037134)
     UPDATE helpdesk_sla_response SET autoschedule = 1 WHERE autoschedule = 0 AND autoissue = 1;
- Add data into afm_activity_params (Mobile)
     INSERT INTO afm_activity_params (description,param_value,activity_id,param_id,transfer_status,applies_to)
     Values('Asset Management Equipment Field to Survey','bl_id;fl_id;rm_id;em_id;eq_id;status','AbAssetManagement','EquipmentFieldsToSurvey','NO CHANGE','NA')
- Fix default database SLA records ( 3037134 )
     UPDATE helpdesk_sla_response SET autoschedule = 1 WHERE autoschedule = 0 AND autoissue = 1; (1 record to be updated)

Reservations:

- Comments should be visible in reservations work requests. One record inserted into messages table ( 3038222 )

Energy Mgmt:

- Set default values for Energy Management bill units ( 3039573 )
     UPDATE bill_unit SET is_dflt = 1 WHERE bill_type_id = 'ELECTRIC' AND  bill_unit_id = 'KWH';
     UPDATE bill_unit SET is_dflt = 1 WHERE bill_type_id = 'GAS - NATURAL' AND  bill_unit_id = 'CCF';
     UPDATE bill_unit SET is_dflt = 1 WHERE bill_type_id = 'WATER' AND  bill_unit_id = 'TGAL';

Version 20.2 Database Schema Revision History (Database Version 137)

SCHEMA PREFERENCES

  • Update Db Version Date to: 2012-08-06
  • Update Db Version number to: 137

SCHEMA

System

	- Make sure all SQL views do not try to cascade:
	     UPDATE afm_flds, afm_tbls SET validate_data = 0 WHERE afm_flds.table_name = afm_tbls.table_name AND is_sql_view = 1 AND ref_table IS NOT NULL AND validate_data = 1;

	- Change size of afm_data_event_log.field_list from 800 to 900 (3036082)
   	

Service Desk

	- Work orders can't be closed when there is a Redlined drawing attached ( 3035526 )
	Drop the foreign key from afm_redlines.activity_log_id to the activity_log table.

	- Provide for workflow substitutes for all steps. (3023429)
	- DELETE FROM afm_flds WHERE table_name = 'workflow_substitutes' AND field_name = 'substitute_id';
	- Import afm_flds_workflow_substitutes.xml
	Update Schema - recreate table.

	DATA:   Import:  messages_workflow_substitutes.xml
	Import:  afm_activity_params_workflow_substitutes.xml
   	

Building Operations

	- Two fields have the same ML Heading (3036959):
	ML heading for helpdesk_sla_response.interval_to_complete should be “Interval to Complete”
	ML heading for helpdesk_sla_response.interval_to_respond should be “Interval to Respond” 
   	

Moves

	- set "Validate Data?" to No for activity_log.mo_id. (3035395)
   	

Reservations

	- Remove obsolete fields from the afm_flds for the resview SQL view (3035968)
	guests_external
	guests_internal
	is_continuous
	is_recurring
   	

US Federal Property Registry

	- Data dictionary updates for US Real Property Federal Registry 2011 changes (3036940)
	Import grp table field additions: 		items-3036940-doc1.xls
	Import grp_trans table field additions: 	items-3036940-doc2.xls	

	-  label for field "Is Asset Potential Candidate For Sale? (30.a):"   (sale_candidate, appears in table grp and grp_trans) is incorrect (3036856)
	>> "Is Asset Potential Canidate For Sale? (30.a):" (canDidate)

	- grp.lease_option_to_term_early  is an enumerated field and should have default value defined as “N”; and Allows Null value set to “No”.
   	

Compliance

	- Incorporate schema changes for Compliance (3035674)
	
	- In afm_flds, change name (field_name) of notifications.notity_type to notify_type to fix typo (from kb 3035753).
	Also change notify_templates.notity_type to notify_type to fix typo.

	- In afm_flds, delete record for field regulation.web_ref2 (from kb 3035768).

   	

Environmental Health and Safety

	- v20.2 EHS changes -- NOTE: Compliance changes must be done first. (3035965)

	- UPDATE afm_flds SET ref_table = NULL, dep_cols = NULL WHERE table_name = 'ehs_restrictions' AND field_name = 'date_actual'; (3035549)

	- Two document fields size must be increased to avoid errors. (3035243)
	ehs_em_ppe_types.doc  		-  needs to be changed from 64 to 144
	ehs_training_results.doc  	-  needs to be changed from 64 to 96

	- Update field ML Headings including MTCO2 units or similar ones. (3030889)
	- Change Footprint sources tables field heading for kg_co2. (3030661)

	- activity_log table:
	description field - expand to 4000 characters in order to hold info from EHS incididents
	reduce hcm_loc_notes to 1,000
	reduce recurring_rule to 512
	
	*** Make the same changes above in the hactivity_log table and any related SQL view!!!***

	- Add Help links for EHS Processes (3036262) 
	- EHS/Incident Reporting -- \Subsystems\webc\Content\ehs\employee_review\incident_reporting.htm
	- EHS/Management Reports --  \Subsystems\webc\Content\ehs\management_reports\mgmt_reports.htm

	- UPDATE afm_flds SET ml_heading = 'Delivery Receipt' WHERE table_name='ehs_em_ppe_types' AND field_name='doc';  (3036726)
  
	- Remove a total of 6 records, all of which have already been replaced with new ones that shorten the field names to st_reg% or lt_reg%:
	DELETE FROM afm_flds WHERE table_name = 'ehs_incidents' AND field_name LIKE 'short_term_reg%';
	DELETE FROM afm_flds WHERE table_name = 'ehs_incidents' AND field_name LIKE 'long_term_reg%';

	- incident_id field is missing from the hactivity_log table (3037218)
	INSERT INTO afm_flds ( afm_module,afm_size,afm_type,allow_null,attributes,comments,data_type,decimals,dep_cols,dflt_val,edit_group,edit_mask,enum_list,field_grouping,field_name,is_atxt,
	is_tc_traceable,max_val,min_val,ml_heading,num_format,primary_key,ref_table,review_group,sl_heading,string_format,table_name,validate_data,transfer_status)
	SELECT	afm_module,afm_size,afm_type,allow_null,attributes,comments,data_type,decimals,NULL,dflt_val,edit_group,edit_mask,enum_list,field_grouping,field_name,is_atxt,
	is_tc_traceable,max_val,min_val,ml_heading,num_format,primary_key,NULL,review_group,sl_heading,string_format,'hactivity_log',validate_data,transfer_status
	FROM afm_flds WHERE table_name = 'activity_log' AND field_name = 'incident_id';

	THEN run USW on hactivity_log
   	

Waste

	- waste_out.container_cat field ml heading - Change from "Container Type" to "Container Category" (3035138)
   	

MSDS

	- Remove exterraneous FK references from msds_h_% tables (3035496)
	UPDATE afm_flds SET ref_table=NULL WHERE table_name = 'msds_h_haz_classification' AND field_name = 'msds_id'; 
	UPDATE afm_flds SET ref_table=NULL WHERE table_name = 'msds_h_location' AND field_name = 'msds_id'; 
	UPDATE afm_flds SET ref_table=NULL WHERE table_name = 'msds_h_constituent' AND field_name = 'msds_id'; 
	UPDATE afm_flds SET ref_table=NULL WHERE table_name = 'msds_h_constituent' AND field_name = 'chemical_id'; 		

	-- Then run update schema on tables like msds_h_haz_classification;msds_h_location;msds_h_constituent

	- Correction to afm_type value for two fields (3036131)
	UPDATE afm_flds SET afm_type = '2050' WHERE field_name = 'msds_id' and table_name = 'msds_h_data'; 
	UPDATE afm_flds SET afm_type = '2050' WHERE field_name = 'auto_number' and table_name = 'msds_h_location';
   	

Localization

	- To get the new fields from the last update into afm_flds_lang run:
	INSERT INTO afm_flds_lang (table_name, field_name) 
	SELECT table_name, field_name FROM afm_flds 
	WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
	WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
	AND afm_flds_lang_inner.field_name = afm_flds.field_name )
   	

WORKFLOW RULE CHANGES

System

	- Change wfr name. (3035625)
	from:	AbSystemAdministration-SecurityTablesDataChangeLogger
	to:	AbSystemAdministration-DataChangeLogger

	- AddViewToMyFavorites and RemoveViewFromMyFavorites workflow rules are assigned the SYSTEM MGR security group. Remove the security group from them. (3036618)

	- Notifications - add scheduled WFR: ComplianceNotificationSchedule
	Import ScheduleNotificationService - wfr.xml

	- Add a new WFR used for statistic rows (min, max, average and totals for grid with grouping data source )  calculated on server. (3035797; 3036523)
	Import StatisticDataService_wfr.xml
   	

Compliance

	- Add WFRs
   	

Project Management

	- Add new WFR for Project Mgmt "S" Curve reports:
	eventHandler class="com.archibus.app.projectmgmt.SCurveHandlers"
	activity_id="AbProjectManagement"
	rule_id="SCurveHandlers"
	rule_type="Message"

   	

PROCESS NAVIGATOR CHANGES

System


	- Add the "Run Report Only View Definition Wizard" to the PNav (3027601)

	- Add: Path: Technologies / User Interface Add-Ins / Geographical Information System (GIS) Views / Locate Asset Example
	URL: http://localhost:8080/archibus/ab-arcgis-locate-asset.axvw 
	
	- Changes in Archibus Data Dictionary views (3031358)
	Application: AbSystemAdministration	Process or Role: Add-In Manager:	
	i.	Rename the task View ARCHIBUS Data Dictionary  to:   Edit ARCHIBUS Data Dictionary
	ii.	Add the task  Edit ARCHIBUS Tables Dictionary  with the Task File: ab-data-dictionary-tables.axvw
	iii.	Rename the task View ARCHIBUS Field Dictionary to:  Edit ARCHIBUS Fields Dictionary

	- SC Assign Processes to Roles task record does not match task file (3037073)
	System Administration > ARCHIBUS System Administrator > ARCHIBUS Administrator - Users and Security > Assign Processes to Roles --- change view type to "web URL".
   	

Space Transactions

	- DELETE from afm_roleprocs WHERE process_id LIKE '%rmtrans%';

	- Move "Enable or Disable Workspace Transactions" task to System Administration ( 3035693 )
	Under "System Administration / ARCHIBUS System Administration / ARCHIBUS Administrator - Application Configuration"
	create a new Label at the end called "Domain-Specific" and put the task "Enable or Disable Workspace Transactions" under it. 

	- Add Define Geo-Locations task to Space.
	Import: afm_ptasks_add_ab_def_geo_loc_to_space.xml
   	

Real Estate Portfolio Management

	- Add the following views for Lease Communications (3036574)
	Add the following editable views, grouped as "Lease Communications", under:
	Real Estate Portfolio Management / Lease Administration / Lease Portfolio /:
	Communication Log Items: ab-repm-lsadmin-comm-log.axvw
	Communication Log Items by Lease: ab-repm-lsadmin-comm-log-by-lease.axvw
	Communication Log Items by Activity Log Item: ab-repm-lsadmin-comm-log-by-activity-log.axvw
	Communication Log Items by Activity Log Item by Project: ab-repm-lsadmin-comm-log-by-project.axvw

	and the following reports, grouped as "Lease Communications" , under:
	Real Estate Portfolio Management / Lease Administration / Reports /:
	Communication Log Items: ab-repm-lsadmin-comm-log.axvw
	Communication Log Items by Lease: ab-repm-lsadmin-comm-log-by-lease.axvw
	Communication Log Items by Activity Log Item: ab-repm-lsadmin-comm-log-by-activity-log.axvw
	Communication Log Items by Activity Log Item by Project: ab-repm-lsadmin-comm-log-by-project.axvw
	Communication Log Items by Contact: ab-repm-lsadmin-comm-log-by-contact.axvw
	Communication Log Items by Date: ab-repm-lsadmin-comm-log-by-date.axvw

	Add also the new view "Define Communication Types" (ab-def-comm-types.axvw) to the PNav's Background Data for:
	- Lease Admin
	- Project Management
		
	- Cost Chargeback and Invoicing / BPO -- add Define Contacts view (3028178)
   	

Capital Budgeting

	- New view like "View Unallocated Program Funds" - but with the end date sort and highlights. ( 3030852 )
	Put on Pnav just below the above view:
	Process:Capital Project Management > Capital Budgeting > Allocate 
	Task Id: View Unallocated Funds by End Date
	Task File: ab-funds-available-by-end-date.axvw
   	

Project Management

	- Add S-Curve view (3030871).
	Path: Capital Project Management / Project Management / Monitor / View S-Curve Analysis
	file: ab-proj-s-curve.axvw
   	

Environmental and Risk

	- Change PNav order to be the following:  (3037183)
	Emergency Preparedness
	Compliance Management
	Environmental Sustainability Assessment
	Environmental Health and Safety
	Clean Building
	Material Safety Data Sheets
	Waste Management
	Energy Management
	Green Building
   	

Emergency Preparedness

	- Correct task: Application = 'AbRiskEmergencyPrepardness' / Process or Role = 'Define Systems and Zones (SCCAD)' / Task = 'Publish Enterprise Graphics'      (3035646)
	Set the Task Action to (a single line, but appears as 2 in this kb):
	^C^C(AfmPubFlashBackground "")(c:AfmPublish_ExampleMultipleFilesPerAssetType)
   	

EHS

	- Modify PTask label for EHS Track Employee Training (3036969)
	UPDATE afm_ptasks SET task_id = 'Track Training Program Assignments and Results' WHERE task_file = 'ab-ehs-track-em-training.axvw' AND process_id = 'EHS - Track';

	- DELETE FROM afm_ptasks WHERE activity_id ='AbRiskEHS' AND process_id = 'EHS - Documentation' AND task_id = 'Track EHS Documents';

	- Remove “Define Training Chemicals/Substances” from afm_ptasks. This task is under the "EHS - Background Data" process. (3036376)

	- Modify ptask label for two EHS processes (3036968)
	UPDATE afm_ptasks SET task_id = 'Incidents by Location' WHERE task_file = 'ab-ehs-rpt-incident-details.axvw' AND process_id = 'EHS - Operational Reports';
	UPDATE afm_ptasks SET task_id = 'Incidents by Type' WHERE task_file = 'ab-ehs-rpt-incident-report.axvw' AND process_id = 'EHS - Operational Reports';

	- Modify ptask label for two EHS processes (3036968)
	UPDATE afm_ptasks SET task_id = 'Incidents by Location' WHERE task_file = 'ab-ehs-rpt-incident-details.axvw' AND process_id = 'EHS - Operational Reports';
	UPDATE afm_ptasks SET task_id = 'Incidents by Type' WHERE task_file = 'ab-ehs-rpt-incident-report.axvw' AND process_id = 'EHS - Operational Reports';
   	

Energy

	- Remove Win C/S afm_hotlist views for Energy that reference non-existent .avws. (3036568)
   	

Commissioning

	- Add the Proj. Mgmt. Setup process to the Commissioning application.

	- Change PNav task title (3035815)
	UPDATE afm_ptasks SET task_id='Add or Edit Work Packages' WHERE task_file='ab-proj-create-work-pkgs.axvw';

	- Add Task "View and Edit Equipment Commissioning Details"  (3035406)
	To be placed under Capital Project Management > Commissioning > Post-Construction > View and Edit Equipment Information
	activity_id = 'AbProjCommissioning'
	process_id='Cx Post Construction'
	task file:  ab-comm-eq-details.axvw

	- Rename some PTasks (3037222)
	Capital Project Management / Commissioning / Post-Construction / View and Edit Equipment Commissioning Details
	1) Change order on PNav to put this at the top of the process.
	2) Rename it to: "Commission Equipment"

	Capital Project Management / Commissioning / Design / Approved Commissioning Specifications
	Change to: "Review Approved Commissioning Specifications"

	Capital Project Management / Commissioning / Construction / Assigned Commissioning Agents Checklists
	Change to: "Assign Checklists to Commissioning Agents"

	Capital Project Management / Commissioning / Construction / Commissioning Project Scoreboard
	Change to: "Scoreboard Commissioning Projects"
	
	Capital Project Management / Commissioning / Construction / Equipment Assessments by Classification Level
	Change to: "View Equipment Assessments"

	Capital Project Management / Commissioning / Construction / Commissioning Project Close-out
	Change to: "Close Out Commissioning Projects"

	Capital Project Management / Commissioning / Process / Asset Life Cycle by Floor
	Remove this view and the 2 below it.
	Replace with:  "Commission Equipment" task file:  ab-comm-eq-details.axvw

   	

Corrections

	- Space Planning and Managemen/ Space Inventory and Performance/ Building Performance   (3030625)
	Notice that the Highlight Suites by lease command is available in this process. 
	Instead this should be placed in the Real Estate Portofolio Management/ Lease Administration/ Suite Analysis process 
   	

DATA CHANGES

System

	- Add activity_parameter fields for use by the Report only View Def Wiz (3027601)
	Import:  items-3027601-doc1.xml

	- In messages table, set [Is Rich Text Format?] field to Yes for formatted records (3036565)
	UPDATE messages SET is_rich_msg_format=1 WHERE message_text LIKE '%{%}%';

	- Fix inconsistencies in the default user accounts, particularly in the ADMIN account. (3036103)
	(1) Change the "Entire ARCHIBUS System -- System Administrator" ARCHIBUS role:
	o Change Role Name to "System Administrator (ACP)" 
	o Change title to "System Administrator (ACP)". (to be consistent with System Administrator -- the domain-style role).
	o Change License Level to Activity ACP (from 4 - Process Owner).
	Without the change above, the ADMIN user cannot log in to correct licenses on sites with activity-style licensing.  
	Sites that do not automatically delete unlicensed activities for user accounts are then stuck.
	(2) Change "5 - SYSTEM ADMINISTRATOR" ARCHIBUS role:
	o Change the role name to "4 - SYSTEM ADMINSTRATOR" (to match the name of it's Licence Level).
	(3) Change the "EXECUTIVE MANAGER (ACP)" role:
	o Change the title to "Executive Manager (Activity-Style License)" (to match the other activity-style roles).
	(4) Change the "AFMDEMO2" ARCHIBUS user to be "2 - WORKFLOW PROCESS (ACP)".

	- Give all sample data afm_users unique email addresses (3036914)
	AI*, AFM*, and RESERVATION* users will need corresponding em records with matching email addresses.
	UPDATE afm_users SET email = LCASE(user_name) || '@tgd.com' WHERE user_name LIKE 'AFM%' OR user_name LIKE 'AI%';
	INSERT INTO em (em_id, email) SELECT user_name, email FROM afm_users 
	WHERE (user_name LIKE 'AFM%' OR user_name LIKE 'AI%') AND user_name NOT IN ('AFM','AI');
	UPDATE em SET bl_id = 'HQ', dv_id = 'ELECTRONIC SYS.', dp_id = 'ENGINEERING', em_std = 'EXEC-SR'
	WHERE (em_id LIKE 'AFM%' OR em_id LIKE 'AI%') AND em_id NOT IN ('AFM','AI');
	INSERT INTO em (em_id, email, bl_id, dv_id, dp_id) SELECT user_name, email, 'HQ', 'FACILITIES', 'CONSTRUCTION'
	FROM afm_users WHERE user_name LIKE 'RESERVATION%';

	- Add two users that have the executive manager role (to which we assign all the business-value demo pnavs) but that do not have a "demo" account:
	User AIX - Role EXECUTIVE MANAGER
	User AFMX - Role EXECUTIVE MANAGER (ACP)
   	

Reservations

- Add the ARCHIBUS Room Reservations Plugin activity params (3035757)
afm_activity_params.activity_id param_id        param_value                     description
-------------------------------------------------------------------------------------------------------------------------------------------------------
AbWorkplaceReservations                         PlugInFullReservationView       ab-rr-my-reservations.axvw              View loaded by the ARCHIBUS Room Reservations Plug In for Outlook when the user loads the full Web Central View.
AbWorkplaceReservations                         PlugInRoomInformationView       ab-rr-rm-arrange-details-urlparams.axvw View loaded by the ARCHIBUS Room Reservations Plugin for Outlook when the user presses the "I" button to get more information on the room.
   	

Extended Global Feature Set

	- Allow DEMO users to view data WHERE bl_id is Null. (3035132)
	UPDATE afm_users SET bl_id_list = bl_id_list || ', NULL' WHERE bl_id_list IS NOT NULL AND user_name LIKE '%DEMO%';

	- SmartClient Connection failure on MSSQL due to bad translation data included in the definition for afm_conversions. (3036037)
	UPDATE afm_tbls SET title_ch = NULL, title_zh = NULL, title_de = NULL, title_fr = NULL, title_it = NULL,
	title_es = NULL, title_jp = NULL, title_ko = NULL, title_no = NULL, title_nl  = NULL 
	WHERE table_name = 'afm_conversions';
   	

Service Desk

- Fix default database SLA records where Autoschedule != Autoissue. (3037134)
UPDATE helpdesk_sla_response SET autoschedule = 0 WHERE autoschedule = 1 AND autoissue = 0;
   	

Compliance

	- hpattern values in table regulation are not recognized by AFM W/C (3036657)
	UPDATE regulation SET hpattern = ' ' + hpattern WHERE hpattern IS NOT NULL;
   	

EHS

	- Add incident notifications messages (3030075)	
   	

Energy

	- Restore weather model station assignments to sample building table records (3037113)

Version 20.1 Database Schema Revision History (Database Version 136)

 

SCHEMA PREFERENCES

  • Update Db Version Date to: 2012-02-13
  • Update Db Version number to: 136

 

SCHEMA CHANGES

System :

  • For Data Change Events:
    • -afm_wf_rules table: field rule_type: add enumeration value “DataEvent;DataEvent”.
    • -afm_data_event_log table: add this table
  • afm_flds
    • -Change enum_list to size 850 to accommodate longer values needed for afm_flds_trans.change_type.
    • Change the data dictionary and then run: ALTER TABLE afm_flds MODIFY enum_list VARCHAR (850); Also, remove the CR/LF from the enum_list for afm_flds_trans.change_type. There appears to be only one; in "AFM Type".
  • afm_flds_lang
    • Change the 13 enum_list_xx fields to size 1000
  • Change afm_activity_params.param_value from size = 100 to size = 512 so that it can include longer values needed by virtual fields for KPIs.
  • Reduce field sizes in the afm_notifications_log table to work with MSSQL server ( 3031640 )
    • email_to from 5000 to 2000
    • email_message from 8000 to 5000
  • afm_ptasks.security_group -- Change ML Heading from "Hotlist Security Group" to "Security Group".
  • questions table: add field: is_required - SmallInt; Allow Null? NO; ML Heading: "Required?"; Enum: 0;No;1;Yes
  • SCW: Add the following to the enum_list for afm_flds_trans.change_type:
    • CIRC_REF;Field has circular reference
    • NO_DB_VAL_IN_ENUM;Database Value not in Enum
    • TBL_IN_PROJ_ONLY;Table is only in project
  • Change "Activity" titles to "Application" ( 3033017 )
  • Change size of the "cost" fields for the bu, dv, and dp tables from 9 to 12.
  • afm_metric_definitions - FKey improperly defined in SQL database. Run:

    ALTER TABLE afm_metric_definitions ADD FOREIGN KEY afm_metric_definitions_collect_date_field(collect_table,collect_date_field)

    REFERENCES afm_flds(table_name,field_name) ON UPDATE CASCADE ON DELETE CASCADE;

  • Add table and fields for afm_redlines ( 3034274 )
  • Update all fields of type "Document" to insure that they have the afm_flds.attributes values filled in ( 3034508 )
  • hactivity_log.assessment_id - change Numeric Format to NoSeparator ( 3032987 )
  • questionnaire table - increase field sizes (3034305)
    • Change questionnaire_id size from 32 to 64
    • --- also in questions table
    • Change title size from 64 to 96
    • Change all title_* fields sizes from 96 to 144
  • Add default Win SC views to afm_tbls.

 

BIM

  • Add tables, fields, and data for afm_bim_categories, afm_bim_families, and afm_bim_params tables. (3032400)
  • Change all fields that store ehandles to 64 VarChar. Change ML Heading to: "Entity Handle / Unique ID"
  • Change all fields that store drawing names to 128 VarChar
  • Run Update Schema on:
    • All afm_bim% tables
    • All tables containing dwgname and ehandle fields:

activity_log;afm_dwgs;afm_dwgvers;afm_wf_rules;bl;ca;city;county;ctry;dr
em;em_compinvtrial;em_trial;eq;eq_compinvtrial;eq_trial;fl;
fn;fn_compinvtrial;fn_comptrialtrial;fn_trial;fp;gp;grid;gros;hactivity_log;jk
netdev;parcel;parking;pb;pn;property;rack;regcompliance;rf;rm;rm_trial;runoffarea
serv;site;state;su;ta;ta_compinvtrial;ta_trial;vert;wn;wy;zone

  • Add data for afm_bim_categories
  • Add data for afm_bim_families
  • Add data for afm_bim_params

 

Space Transactions

  • Add changes to rmpct table for Space Transactions
  • Add other table changes for Space Transactions:

rm (new column org_id; change to data type of count_em column)
questions (addition to the enumerated list of the existing format_type column)
mo (new column activity_log_id)
helpdesk_sla_response (new column activity_id) ( 3032099 )
fl (change to data type of count_em column)
bl (change to data type of count_em column)
site (change to data type of count_em column)
rmcat (change to data type of count_em column)
rmtype (change to data type of count_em column)

  • Add table hrmpct. Set the AFM Type for all fields to "Calculated".
  • Remove validation on rmpct.em_id so that records that contain deleted employees stay in the rmpct table and not be archived right away.
    • Set "Validate Data?" to NO for rmpct.em_id
  • Set the multi-line heading to “Occupancy Count” for count_em fields in location-based tables and in room category and type. Locations such as floors and buildings now store the total occupant count, not headcount, which allows us to count employees who may occupy more than one room.
  • The Multi-line headings for rmpct.pct_id and rmpct.parent_pct_id are “Percentage Code” and “Parent Percentage Code” respectively. Change to reflect the new table name of “Workspace Transactions”.
  • rmpct - add mo_id, primary_rm, primary_em fields.
  • hrmpct - add mo_id field.
  • Retitle the rmpct table: UPDATE afm_tbls SET title = 'Workspace Transactions' WHERE table_name = 'rmpct';
  • - em, eq, ta tables -- set curr_bl_id and curr_site_id is_validated value to NO. (3034694)

 

Bldg Ops

  • probtype.prob_type is now Hierarchical-Concat. Expand it's size to 32 chars to handle longer concatenated values. (3033137)
    • Change the size for all fields named "prob_type". This affects 16 tables:
      activity_log; activity_log_hactivity_log; activity_logview; activitytype; hactivity_log; hactivity_logmonth
      helpdesk_sla_request; hwr; hwr_month; hwrcfana; hwrsum; probtype; rrwrrestr; wr; wrhwr; wrview
  • Correct inconsistency between the data dictionary and sql on field units_ord_iss from table pt ( 3032450 ).
  • Remove hwrcf.scheduled_from_tr_id validatation to the non-historical tr table. ( 3032326 )
  • Remove the NULL value from the step_status enumerated lists. ( 3016544 )
  • Update Service Desk field definitions:

UPDATE afm_flds SET dflt_val = 'none' WHERE (table_name ='helpdesk_step_log' AND field_name='step_status_result')
R (table_name IN ('activity_log','hactivity_log','activity_log_hactivity_log','wr','hwr','wrhwr','helpdesk_sla_steps','hactivity_logmonth','activity_logview','wrview') AND field_name='step_status')
OR (table_name='afm_wf_steps' AND field_name IN ('step_status_result','step_status_rejected')) UPDATE afm_flds SET enum_list = 'none;None;approved;Approved;accepted;Accepted;surveyed;Surveyed;verified;Verified;dispatched;Dispatched;estimated;Estimated;scheduled;Scheduled;rejected;Rejected;declined;Declined;waiting;Waiting for Step'
WHERE table_name IN ('activity_log','hactivity_log','activity_log_hactivity_log','wr','hwr','wrhwr','hactivity_logmonth','activity_logview','wrview') AND field_name='step_status'
UPDATE afm_flds SET enum_list='none;None;rejected;Rejected;declined;Declined' WHERE table_name='afm_wf_steps' AND field_name='step_status_rejected';

UPDATE afm_flds SET enum_list='none;None;approved;Approved;accepted;Accepted;surveyed;Surveyed;verified;Verified;dispatched;Dispatched;estimated;Estimated;scheduled;Scheduled' WHERE table_name='afm_wf_steps' AND field_name='step_status_result'; UPDATE afm_flds SET enum_list='none;None;approved;Approved;accepted;Accepted;surveyed;Surveyed;verified;Verified;dispatched;Dispatched;estimated;Estimated;scheduled;Scheduled;rejected;Rejected;declined;Declined;forwarded;Forwarded' WHERE table_name='helpdesk_step_log' AND field_name='step_status_result';
ALTER TABLE activity_log MODIFY step_status DEFAULT 'none';
ALTER TABLE hactivity_log MODIFY step_status DEFAULT 'none';
ALTER TABLE wr MODIFY step_status DEFAULT 'none';
ALTER TABLE hwr MODIFY step_status DEFAULT 'none';
ALTER TABLE helpdesk_sla_steps MODIFY step_status DEFAULT 'none';
ALTER TABLE helpdesk_step_log MODIFY step_status_result DEFAULT 'none';
ALTER TABLE afm_wf_steps MODIFY step_status_result DEFAULT 'none';
ALTER TABLE afm_wf_steps MODIFY step_status_rejected DEFAULT 'none';

  • pt.units_ord_iss decimals differs from that in afm_flds: ( 3032450 )
    ALTER TABLE pt MODIFY units_ord_iss NUMERIC(10,3) NOT NULL DEFAULT 1.0;
  • Foreign keys wrongly defined in ARCHIBUS Data Dictionary. PKey for afm_wf_steps is: activity_id; status; step ( 3032162 )
    1) In afm_flds set ref_table = null and dep_cols = null where table_name=’helpdesk_sla_steps’ and field_name=’status’.
    2) In afm_flds set ref_table = null where table_name=’helpdesk_step_log’ and field_name=’status’.
  • Add Validating Table values of site and bl to the hwr table in afm_flds. However, make sure that "Validate Data?" is set to "No". ( 3033757 )
  • Add validation to bl_id and site_id in table hwr. Set "Validate Data?" to "No". ( 3033757 )
  • Update SQL views based on activity_log table to be more consistent with the activity_log table ( 3030454 )

 

Multi Currency

 

afm_users table -- Update locale enum display values to include the Country since this value is also used for determining a user's default currency. ( 3032802 )

Locale Current Value To be Changed
ar_SA Arabic Arabic (Saudi Arabia)
zh_CN Chinese(Simplified) Chinese (People's Republic of China)
zh_TW Chinese(Traditional) Chinese (Taiwan)
nl_NL Dutch Dutch (Netherlands)
de_DE Germany German (Germany)
iw_IL Hebrew Hebrew (Israel)
it_IT Italian Italian (Italy)
ja_JP Japanese Japanese (Japan)
ko_KR Korean Korean (Korea)
pt_BR Portuguese Portuguese (Brazil)
es_ES Spanish Spanish (Spain)
  • Add in MC/MU/VAT database changes. Tables added or updated:

    afm_currencies
    vat_percent
    afm_conversions
    cost_tran%
    invoice%
    ls

  • Add table for holding temporary values for cost summaries for REPM: ccost_sum
  • Set afm_conversions.is_currency to NOT allow NULL values.

Multi-Units

  • Add field "display_units" to afm_users. "Control how area and length values are displayed for the user." ( 3032329 )
  • afm_flds.num_format field -- add the following enumeration list values to facilitate the core displaying appropriate units: 3;Area;4;Length;6;PaymentCurrency
  • afm_flds.num_format field -- change enumeration display value "Money" to "BudgetCurrency".
  • afm_flds.afm_type - To support the Currency Selector control, add the following to the enumeration List:

    2245;Currency

  • Update application fields to include the appropriate formatting values:

    UPDATE afm_flds SET afm_type = 2245 WHERE field_name = 'currency_budget' OR field_name = 'currency_payment' OR field_name = 'currency_invoice';
    UPDATE afm_flds SET num_format = 3 WHERE field_name LIKE '%area%' AND data_type = 2;
    UPDATE afm_flds SET num_format = 4 WHERE ( field_name LIKE '%length%' OR field_name LIKE '%width%' OR field_name LIKE '%height%' ) AND data_type = 2;
    UPDATE afm_flds SET num_format = 1 WHERE ( field_name LIKE 'amount_income%' OR field_name LIKE 'amount_expense%' OR field_name LIKE 'vat_amount_override%' ) AND field_name NOT LIKE '%payment%';
    UPDATE afm_flds SET num_format = 1 WHERE ( field_name LIKE 'amount%' AND table_name LIKE 'invoice%' );
    UPDATE afm_flds SET num_format = 6 WHERE ( field_name LIKE 'amount_income%' OR field_name LIKE 'amount_expense%' OR field_name LIKE 'vat_amount_override%' ) AND field_name LIKE '%payment%';

Fed. Real Prop:

  • grp_trans table -- add "N/A;Not Applicable;" to the enumeration lists for the following fields and make 'NA' the default value: ( 3030908 )

    lease_maintenance_ind
    outgrant_indicator
    utilization
    disposition_method

  • grp_trans - Change the following enumeration list fields and all fields except status and trans_type:
    Make the "ARCHIBUS Type" = None
    Add "NA;Not Applicable" to the following grp_trans fields but do NOT add a database default value (app logic fills in NULL for fields user does not change values for). ( 3030908 )

    legal_interest_ind
    lease_maintenance_ind
    lease_authority_id
    status_indicator
    outgrant_indicator
    historical_status
    size_unit_of_measure
    utilization
    mission_dependency
    disposition_method_id
    sustainability

 

Green Building

  • bill_unit.bill_unit_id string format was previously changed from UPPER to AnyChar. Change string format of bill_line.bill_unit_id from UPPER to AnyChar. ( 3030912 )
  • gb_cert_proj table changes: ( 3032313 )

    - add tot_annual_savings, tot_capital_cost, and tot_payback_period fields
    - Change fields tot_final_score and tot_self_score from Numberic (5,0) to Numeric (8,2).

  • Change gb_cert_proj.tot_final_score and tot_self_score DataType to numeric for BREEAM decimal score support (3034748)

    Change:

    [Data Type] from Smallint to Numeric.
    Allow Null? to No
    Default Value to 0.
    For the 3 fields [tot_annual_savings, tot_capital_cost, tot_payback_period], change Allow Null? to No. They already have a Default Value.
     

Clean Building

  • ls_comm.activity_log_id. The Numeric Format should be changed from Default to NoSeparator. ( 3031963 )
  • activity_log.assessment_id - change Numeric format from Default to NoSeparator. ( 3032987 )
  • Added table and field definitions. Update Schema for tables: vn;activity_log;hactivity_log;probtype;project;waste_%;cb_%
  • Schema changes for Clean Bldgs to existing fields in afm_flds: ( 3033423 )

    vn.vendor_type: append "LAB;Testing Lab" to Enumeration List.
    Change the size and data type of vn.web_url in afm_flds from Char 64 to Varchar 256 to make the url field conform with the url precedent in other existing tables.
    contact.contact_type: append "HAZMAT;HAZMAT" to Enumeration List.
    repairty.repair_type: Increase Size from 16 to 32.
    Also apply to all FKs to this field.

  • Modify ls_comm.activity_log_id in afm_flds, change Numeric format from Default to NoSeparator. (3033422)
    The following fields are also integer FKs, but have Numeric format of Default, they should be set to NoSeparator:

    helpdesk_sla_steps.ordering_seq
    activity_log.po_id
    activity_log.regcomp_id
    cost_tran_sched.activity_log_id
    helpdesk_sla_response.ordering_seq

Waste Management

  • Added table and field definitions

 

Material Safety Data Sheets

  • Added table and field definitions: msds%;hazard%;company;ac;contact;projteam;visitors;vn
  • vn table: add field: web_url Char(64); Allow Null; ML Heading: "Website URL"

 

Compliance

  • Added table and field definitions: company;notifycat;notify_templates;notifications;reg%;activity_log;ls_comm;doccat;doctype;docfolder;docs_assigned;hactivity_log
  • Added table and field definitions

  • Change the enumeration list for the fields is_requirement and sched_loc of regcompliance table in afm_flds to: "0;No;1;Yes". ( 3034487 )

  • Change the ml_heading in afm_flds for regulation.reg_category to "Regulation Super Category". ( 3034461 )

  • regulation.regulation: Change AFM Type from None to Hierarchical. ( 3034333 )

  • regulation.related_reg refers to the regulation table. Set "Validate Data?" to NO. ( 3034891 )

 

Environmental Health & Safey

Added table and field definitions: ehs%;docs_assigned;work_categ%

 

Energy Management

  • bill_unit table - Change default value for field Rollup Type to "None". ( 3031387 )

 

Asset Management

  • q table: change num_serial to size 32.

 

Reservations

  • MS Outlook integration: Add field outlook_unique_id to the reserve table
  • Add the outlook_unique_id field to the hreserve table. ( 3034728 ) - rrdayrmocc
  • Add validation to bl_id and site_id but set "Validate Data?" to "No". ( 3033784 )

 

Project Mgmt/Commissioning:

  • work_pkgs - change the size of the doc and doc_acts_xfer fields from 64 to 128 ( 3034028 )
    Project Table:
    Provide for auto-generating Project code values and add a new project_name field. (3034406)
    • Change the ML Heading of the field project.project_id from "Project Name" to "Project Code."

    • Add a new field: project.project_name --- character (64), allow null, non-validating; ML Heading of "Project Name"

    • Add new field: funding_probability

    • Change Multi-Line Heading for field project.doc from ‘Project Document’ to ‘Project Business Case’.

    • Add three additional document fields to project table using project.doc as a template:

      Field Name ML Heading
      doc_risk_mgmt Project Risk Management
      doc_charter Project Charter
      doc_impl_plan Project Implementation Plan
    • Add fields to eq and eqstd. Review fields with comments of "v20.1 Commissioning" prior to updating schema
    • Change ml_heading of all project_id fields to be "Project Code" to match the change of ml_heading in the project.project_id field.
    • work_pkgs table. Add fields:
    • pct_complete “Work Package % Complete”
      pct_complete_cx_docs “Cx Documentation % Complete”
      cx_docs_provided_by

      “Cx Documentation Provided By”

      validates on Vendor table (vn_id)

      date_cx_docs_provided “Date Cx Docs Provided”
      cx_docs_verified_by “Cx Documentation Verified By”
      date_cx_docs_verified “Date Cx Docs Verified”
      cx_docs_approved_by “Cx Documentation Approved By”
      date_cx_docs_approved “Date Cx Docs Approved”
  • project table - date fields - Change all ML Headings to be like "Date -" ( 3034301 )

 

Cost Admin

  • Add FKey links to afm_flds for the cost_tran table to match cost_tran_recur and cost_tran_sched BUT set "Validate Data?" to NO! (3033804 )

 

Forecasting

  • bl and fl tables - add: std_area_per_em; default is 0

 

LOCALIZATION

  • lang_files table (3032160 ):
    • Change the size of lang_files.constant from 255 to 2100.
    • Change the size of lang_files.string_trans from 2000 to 3000.
  • change the lang_enum table definition in afm_flds ( 3033463 )
    • enum_english -- increase size to 850
    • enum_trans -- increase size to 1000

  • To get the new fields from the last update into afm_flds_lang run:

    INSERT INTO afm_flds_lang (table_name, field_name)
    SELECT table_name, field_name FROM afm_flds
    WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
    WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
    AND afm_flds_lang_inner.field_name = afm_flds.field_name );

     

WFR CHANGES

System

  • Add WFR to archive or un-archive document records based on afm_docs.axvw. Move its java handler from java Core to ab System. ( 3028794,3032193 )
  • For Data Change Events:
    • Add RoomTransactionDataChangeEventHandler
    • Add SecurityTablesDataChangeLogger
  • Some rule_type values do not have the correct case.
    • UPDATE afm_wf_rules SET rule_type = 'Message' WHERE rule_type = 'message';
    • UPDATE afm_wf_rules SET rule_type = 'Scheduled' WHERE rule_type = 'scheduled';
  • Some Message rules have non-Null xml_sched_props values.
    • UPDATE afm_wf_rules SET xml_sched_props = NULL WHERE rule_type <> 'Scheduled';
  • Move Mgmt uses Proj. Mgmt logic -- to resolve licensing conflict move the activity log WFR’s to an activity log service in common resources (3032322)
  • Rename solutions Java packages according to the new naming convention (3032600)
  • refreshDataDictionary - package name and class name were changed: (3034238)

UPDATE afm_wf_rules SET xml_rule_props = REPLACE( xml_rule_props, 'com.archibus.eventhandler.schemupwiz.ProjUpWizDbObjects','com.archibus.app.sysadmin.updatewizard.
schema.prepare.UpdateArchibusSchemaUtilities')
WHERE rule_id LIKE 'refreshDataDictionary';

  • The AppUpdateWizard uses DWR now, therefore WFR can be removed from DB: ( 3034238 )

    DELETE FROM afm_wf_rules WHERE rule_id = 'AppUpWizService';

  • Add Drawing Service WFR ( 3034243 )
  • Add workflow rule for Search Service/File Dependency Walker ( 3033987 )
  • Add AbSystemAdministration-refreshDataDictionary WFR (3030210 )

 

Space Transactions

  • Add SynchWorkspaceTransactions and CollectTrendMetrics WFRs
  • Add new class SpaceTransactionHandler.
  • Add new ‘DataEvent’ WFR entry ‘AbSpaceRoomInventoryBAR-RoomTransactionRecorderForDataChangeEvent’

 

Asset Management

  • Add WFR for Asset Mgmt (needed for paginated report) ( 3031164 )

 

Capital Budgeting

  • Add new WFR for AbCapitalBudgeting-CapitalBudgetingService.

 

Waste Management, Clean Building, MSDS, and EH&S

  • Added WFRs.

 

Compliance

  • Add WFR for ComplianceCommon ( 3034421 )

 

PROCESS NAVIGATOR CHANGES

 

System

  • Add "View Data Events Log" view (ab-data-events-log.axvw) under the / System Administration / ARCHIBUS Administrator / process.
  • Change SmartClient "Assign Processes to Roles" view to use the one Web C uses: ab-sys-role-procs.axvw (3031428 )

    System Administration / ARCHIBUS System Administration / ARCHIBUS Administrator (SC) / Assign Processes to Roles

  • Rename the System Administrator "Application Update Wizard" task to the "Deployment Update Wizard".
  • Change task name: "Deployment Update Wizard" to: "Package and Deploy Wizard" ( 3033751 )

    Path: System Administration / ARCHIBUS System Administration / System Administrator / Deployment Update Wizard

  • Synchronize naming of "Add or Edit User Roles" tasks ( 3031664 ).
    Change Smart Client task:
    Path: System Administration / ARCHIBUS System Administration / ARCHIBUS Administrator (SC) / Add or Edit Security Roles
    To: "Add or Edit User Roles"
  • Add the Database Update and Schema Change Wizards to the PNav. Rename the App Up Wiz ( 3032425, 3032302 )
  • Split this process into two processes:
    System Administration / ARCHIBUS System Administration / ARCHIBUS Administrator
    ARCHIBUS Administrator – User and Security
    ARCHIBUS Administrator – Applications Configuration
  • Add: Web C > System Administration > ARCHIBUS System Administration > ARCHIBUS Administrator - Application Configuration > Preload All Views ( 3034775 ) as the last item in the "Utilities" group.
    View is: "ab-preload-views.axvw" view.
  • CAD Manager role on the Process Navigator updated to "CAD and BIM Manager" (3034457) System Administration/ARCHIBUS System Administration/CAD Manager:
    Change the Process Navigator role from "CAD Manager" to "CAD and BIM Manager"
    Add the new BIM tasks under this role. These tasks are:
    System Administration/ARCHIBUS System Administration/CAD and BIM Manager/ARCHIBUS BIM Categories
    System Administration/ARCHIBUS System Administration/CAD and BIM Manager/ARCHIBUS BIM Families
    System Administration/ARCHIBUS System Administration/CAD and BIM Manager/ARCHIBUS BIM Parameters

 

Space and Transactions

  • Add PNav entries.
  • Add additional afm_ptasks records to bring up a view that will enable or disable room transaction features (pnav and afm_roleprocs entries and activity param) for the user
  • Add the Space Dashboard to the PNav for Personnel & Occupancy, and Space Inventory & Performance
  • Change titles of key views to be more relevant to the business goal
  • Remove Space processes from 'ARCHIBUS SYSTEM ADMINISTRATOR' role.
  • Remove duplicate afm_ptasks records that contain old task names
  • Disable Workspace Transactions functionality and make the existing Space processes the default
    Planning & Management / Space Inventory & Performance / Background Data / Enable or Disable Workspace Transactions:
    Click the “Disable” button on the second panel.
    UPDATE afm_wf_rules SET is_active = 0 WHERE activity_id = 'AbSpaceRoomInventoryBAR' AND rule_id = 'RoomTransactionRecorderForDataChangeEvent';
    DELETE from afm_roleprocs WHERE process_id LIKE '%rmtrans%';
  • Include “Update Area Totals” in the reports PNav to accommodate a typical CAFM process

 

Multi-Currency and VAT:

  • Add task for Global Portfolio Dashboard under Portfolio Mgmt / Portfolio Summary / (put at top of list) - ab-rplm-pfadmin-pnav-dashboard-global.axvw
  • Add task: VAT Amount Balance ab-rplm-cost-mgmt-vat-bal.axvw ( 3033031 ) under activity: Cost Administration activity / Processes or Roles: Cost Administrator (WebC)
  • Add the following Solution Template views under the Technologies activity:
    User Interface Add-Ins
  • Parts for Reports
    Report With Currency Expressions ab-ex-report-grid-currency.axvw
    Report With Area Fields ab-ex-report-grid-units.axvw
    Parts for Forms
    With Currency Expressions ab-ex-form-panel-currency.axvw
    Chart Views
    Chart With Currency Expressions ab-chart-currency.axvw
    Chart With Area Fields ab-chart-units.axvw
    Group Views
    Cross-table View With Currency Expressions ab-ex-crosstable-currency.axvw
    Cross-table View With Area Fields ab-ex-crosstable-units.axvw
    Business Process Owner Views / Paginated Reports
    Report With Area Fields ab-ex-report-units.axvw
    Report With Currency Expressions ab-ex-report-currency.axvw

 

Bldg Ops :

  • Add the Bldg Ops dashboards to the PNav ( 3031592 )

Service Desk:

  • - Add Redlining views.

Project. Management :

  • Add "Define Locations" task to both the Proj Mgmt and Cap Bud Setup processes
  • Add "View Project Metrics by Building" under Capital Project Management / Capital Budgeting / Prioritize & Estimate (Optional) / ( 3031353 )

Capital Budgeting :

  • Copy Define Funding Sources from Evaluate (optional) to Setup as funding is a critical part of all projects. Doing funding scenarios is the optional exercise.

Hoteling :

  • Add afm_roleprocs record for: HOTEL ALL DPS --------- AbSpaceHotelling ------- Create and Review Bookings

Green Building:

  • Add Bus Process PNav entries for Green Building ( 3034818 )

Waste Management, Clean Building, MSDS, EH&S, Compliance and Commissioning applications

  • Added Process Navigator

 

Solutions

  • Add to Solutions an entry for enhanced functionality for document fields - task: 'Parts for Forms', 'Document Fields -- Direct Check In and Listeners'
  • Add Pnav entry for the Chart View API enhancements ( 3031322 )
    Path: Technologies / User Interface Add-Ins / Chart Views / Dynamically Set Properties for Pie Chart
    URL: ab-chart-pie-dynamic-properties.axvw
  • Add: Technologies / User Interface Add-Ins / Chart Views / Dynamically Set Properties for Stacked Bar Chart
    Task file: ab-chart-stackedbar-dynamic-properties.axvw
  • Add the Real Estate Summary Dashboard view to the Programming/Maps examples ( 3031141 )
  • Add: / Technologies / User Interface Add-ins / Assembles with Multiple Panes / Find-Manage with Column Report -- ab-ex-wr-alltypes-column.axvw ( 3016418 )
  • Add: Drawing Report with Custom SQL Highlight Data Source ab-ex-dwg-sql.axvw ( 3032376 )
  • Technologies / My ARCHIBUS Activity / Space Inventory Web Process / Reallocate Rooms Between Departments --- is outdated. ( 3027367 )
    UPDATE afm_activities SET activity_id = 'AbExtensionsMyArchibus' WHERE activity_id = 'AbSolutionsMyArchibus';
    DELETE FROM afm_processes WHERE activity_id = 'AbExtensionsMyArchibus' AND process_type IN ('WINDOWS', 'OVERLAY');
  • Update 3 Solutions Templates for Paginated reports to inlude the "pagereports/" prefix: (303449 5)
  • Application Process or Role Task Task File
    AbSolutionsViewsProcessOwner Paginated Reports Report with Area Fields pagereports/ab-ex-report-units.axvw
        Report with Currency Expressions pagereports/ab-ex-report-currency.axvw
        Report with Drawing and a Custom SQL Highlight Data Source pagereports/ab-ex-dwg-sql.axvw

 

DATA CHANGES

System

  • For Data Change Events: Add activity parameters:
  • AbSystemAdministration-DataChangeEventTablesToLog value: afm_users;afm_groups;afm_roles;afm_groupsforroles;afm_roleprocs
    AbSpaceRoomInventoryBAR-ResynchRoomTransactionsTable default value "No" ".
    AbSpaceRoomInventoryBAR-UseRoomTransactions default value "No"
  • Add application parameter AbSystemAdministration - DateSampleDatesLastUpdated with value of 2012-01-01 (3034905 )
  • user Z-LOCALE-UK has the locale en_UK that is incorrect ISO code, it should be en_GB ( 3034805 )
  • Update afm_activity_params data to be in CamelCase ( 3032214 ) as shown below:

UPDATE AFM.afm_activity_params SET param_id='Acceptance_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='ACCEPTANCE_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Approval_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='APPROVAL_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Auto_Archive' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='AUTO_ARCHIVE';

UPDATE AFM.afm_activity_params SET param_id='Dispatch_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='DISPATCH_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Escalation_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='ESCALATION_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Review_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='REVIEW_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Survey_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='SURVEY_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Update_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='UPDATE_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Verification_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='VERIFICATION_VIEW';
UPDATE AFM.afm_activity_params SET param_id='View_View' WHERE activity_id='AbBldgOpsHelpDesk' AND param_id='VIEW_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Approval_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='APPROVAL_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Assign_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='ASSIGN_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Auto_Archive' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='AUTO_ARCHIVE';
UPDATE AFM.afm_activity_params SET param_id='CF_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='CF_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Dispatch_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='DISPATCH_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Estimation_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='ESTIMATION_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Issue_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='ISSUE_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Manage_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='MANAGE_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Review_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='REVIEW_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Scheduling_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='SCHEDULING_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Update_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='UPDATE_VIEW';
UPDATE AFM.afm_activity_params SET param_id='Verification_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='VERIFICATION_VIEW';
UPDATE AFM.afm_activity_params SET param_id='View_View' WHERE activity_id='AbBldgOpsOnDemandWork' AND param_id='VIEW_VIEW';
UPDATE AFM.afm_activity_params SET param_id='IncludeGroupsInUnifiedSpaceCalcs' WHERE activity_id='AbCommonResources' AND param_id='includeGroupsInUnifiedSpaceCalcs';
UPDATE AFM.afm_activity_params SET param_id='Avg_Copy_Rate' WHERE activity_id='AbRiskGreenBuilding' AND param_id='avg_copy_rate';
UPDATE AFM.afm_activity_params SET param_id='ch4_Gwp' WHERE activity_id='AbRiskGreenBuilding' AND param_id='ch4_gwp';
UPDATE AFM.afm_activity_params SET param_id='Egrid_Ver_Default' WHERE activity_id='AbRiskGreenBuilding' AND param_id='egrid_ver_default';
UPDATE AFM.afm_activity_params SET param_id='Energy_Mgmt' WHERE activity_id='AbRiskGreenBuilding' AND param_id='energy_mgmt';
UPDATE AFM.afm_activity_params SET param_id='Energy_Mgmt_Cost_Cat' WHERE activity_id='AbRiskGreenBuilding' AND param_id='energy_mgmt_cost_cat';
UPDATE AFM.afm_activity_params SET param_id='ch4_gwp' WHERE activity_id='AbRiskGreenBuilding' AND param_id='ch4_Gwp';
UPDATE AFM.afm_activity_params SET param_id='Factors_Ver_Delete' WHERE activity_id='AbRiskGreenBuilding' AND param_id='factors_ver_delete';
UPDATE AFM.afm_activity_params SET param_id='LS_Alerts_View' WHERE activity_id='AbRPLMLeaseAdministration' AND param_id='LS_ALERTS_VIEW';
UPDATE AFM.afm_activity_params SET param_id='OP_Alerts_View' WHERE activity_id='AbRPLMLeaseAdministration' AND param_id='OP_ALERTS_VIEW';

  • Add new Activity Parameter for Multi-Units:
    AbCommonResources-ConvertAreasLengthsToUserUnits

 

User's Changes

  • Add new roles to illustrate user-levels for activity-style users.
  • Add a series of AIDEMOFR,DE,ES, etc. users with different locales for illustrating the MC&VAT features.
  • Add a series of activity-style AFM* users to parallel the AI* users so we can illustrate the new features with either an activity-style or domain-style license.
  • Migrate any remaining afm_userprocs to afm_roleprocs
  • Delete all afm_userprocs records (since we now use the afm_roleprocs).
  • Delete the SPACA, SPACC, and RPLM users as they are no longer referenced by the doc or the test plan
  • Delete the FIM, FIM-REGIONAL, and FIM-DISPATCH roles.
  • Uniquify email addresses (except for the reservations users, who are all mapped to millerj@tgd.com).
  • Add "AIDEMO5" users
  • AIDEMO and AFMDEMO users – link email to AI and AFM employees
  • User DISPATCHER is currently assigned to role OPS SUPERVISOR. Change it to be assigned to role: 'OPS DISPATCHER'
  • Add all processes for all active activities to each of these roles in the afm_roleprocs table:
    4 - Process OWNER
    4 - PROCESSD OWNER (ACP)
    ACTIVITY LICENSEE
  • Update afm_roleprocs to assign all activities to the above roles:
  • INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )

    SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER' FROM afm_processes, afm_activities WHERE afm_activities.activity_id = afm_processes.activity_id AND afm_activities.is_active = 1 AND afm_processes.is_active = 1 AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER'
    AND afm_roleprocs.activity_id = afm_processes.activity_id
    AND afm_roleprocs.process_id = afm_processes.process_id);

  • INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )

    SELECT afm_processes.activity_id, afm_processes.process_id, '4 - PROCESS OWNER (ACP)'
    FROM afm_processes, afm_activities
    WHERE afm_activities.activity_id = afm_processes.activity_id
    AND afm_activities.is_active = 1 AND afm_processes.is_active = 1
    AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = '4 - PROCESS OWNER (ACP)'
    AND afm_roleprocs.activity_id = afm_processes.activity_id
    AND afm_roleprocs.process_id = afm_processes.process_id );

  • INSERT INTO afm_roleprocs ( activity_id, process_id, role_name )

    SELECT afm_processes.activity_id, afm_processes.process_id, 'ACTIVITY LICENSEE'
    FROM afm_processes, afm_activities
    WHERE afm_activities.activity_id = afm_processes.activity_id
    AND afm_activities.is_active = 1 AND afm_processes.is_active = 1
    AND NOT EXISTS (SELECT 1 FROM afm_roleprocs WHERE role_name = 'ACTIVITY LICENSEE'
    AND afm_roleprocs.activity_id = afm_processes.activity_id
    AND afm_roleprocs.process_id = afm_processes.process_id );

  • DELETE FROM afm_roleprocs WHERE (SELECT is_active FROM afm_processes WHERE

    afm_roleprocs.activity_id = afm_processes.activity_id AND afm_roleprocs.process_id = afm_processes.process_id ) = 0
    OR (SELECT is_active FROM afm_activities WHERE afm_roleprocs.activity_id = afm_activities.activity_id ) = 0;

 

Space Transactions

  • Correct question text for Service Desk records in the "questions" table.
  • Add SLAs for Individual Move, Group Move, and Department Space.
  • Update activitytype data for Space Trans Service Request activitytypes to hide fields on the request forms that are not necessary, such as work location and equipment
  • Update rm, em, activity_log, rmpct, and metric trends data
  • Add two activity parameters that hold the dates that were used for the most recent Update Area Totals calculations.

 

Multi-Currency / Multi-Unit / VAT:

  • Add new Activity Parameter for Multi-Currency:
    AbCommonResources-EnableVatAndMultiCurrency --- should be set to 0 or 1
  • Update Country Code values to ISO Country Code format (3-Char)
  • Add sample data to tables:
    "ac", "ctry", "regn", "state", "county", "city", "site", "property", "bl", "bl_amenity", "ot", "fl"
    "ls", "cost_tran_recur", "cost_tran_sched", "cost_tran", "invoice", "invoice_payment"
    afm_currencies, vat_percent, afm_conversions
  • Add 22,000 records of cost_tran sample data:
  • Add facility_type sample data
  • Add headcount data needed by Global Portfolio Dashboard ( 3034061 ).

 

Asset Management

  • Change fn and fn_trial asset types to be drawing-driven in afm_atyp.record_source ( 3033500 )
  • Add some images to Furniture Standards doc fields ( 3032470 )
  • Add Building VPA list for users assigned to the GLOBAL roles.
  • Some width and depth values are incorect in the fnstd table ( 3033932 ).
    Update the width and depth values to match the descriptions.

 

BIM

  • Update afm_bim_params data. ( 3034159 )
  • Add 20 new afm_bim_families records (3033096 )
  • Correct invalid data in activity_log table ( 3034562 )
    UPDATE activity_log SET step_status = 'waiting' WHERE step_status = 'Waiting for disp';

 

Bldg Ops

  • UPDATE activity_log SET step_status = 'none' WHERE step_status = ''; ( 3034202 )

 

Risk and Environment

  • Add the following to bill_units: ( 3031081, 3031091, 3034371, 3034378 )
  • AIRCRAFT FUEL CONSUMPTION litros/hora 0.264172052358
    AIRCRAFT FUEL CONSUMPTION liters/stunde 0.264172052358
    AIRCRAFT FUEL CONSUMPTION litres/heures 0.264172052358
    DISTANCE-MILES kilometros 0.62137119223
    DISTANCE-MILES km 0.621371192237

 

Green Buildings

  • Uppercase gb_cert_proj.project_name values ( 3030865,3030971,3030997 )
  • Make sure that all bl records have gross areas and occupancy data as Green Bldgs looks for that.
  • Add BREEAM projects and scores for Green Building sample data: ( 303490 0)
  • - gb_cert_proj - add data for new fields: Capital Cost, Annual Savings, and Payback Period ( 3034817 )

 

Clean Buildings

  • Add “ASSESSMENT - HAZMAT” to activitytype and projecttype tables.
  • Add data for HQ Basement drawing:
    fl
    afm_dwgs
    gros
    rm
    eqstd
    eq

 

MSDS

  • Added sample data
  • In WebCentral, perform the following steps to re-load msds .pdf documents in to the document management system:
    1. Navigate to: Path: Environmental & Risk Management / Material Safety Data Sheets / Manage MSDSs / Define Material Safety Data Sheets (MSDSs) URL: http://localhost:8080/archibus/ab-msds-def-msds.axvw
    2. For each MSDS record shown in the middle panel:
    a) Click the record
    b) Click the Document tab in the bottom panel
    c) If there is a value for “MSDS Source URL” in the form, click the >>Download action button.
    d). Click >>Save

 

Environmental Health & Safety

  • Add sample data
  • Add messages values for notification messages for EH&S.

 

Compliance

  • Add sample data
  • Add activity_param: Events_DaysAllowEdit_AfterClose ( 3034421 )

 

Commissioning

  • Add sample data
  • Add Document data:

    1

     

     

    C x - Planning - Edit My Projects... Project Code: 2012-000009
    Project Business Case ... Add doc:
    Filename: Business Case for Project 2012 PN002.pdf

    2

     

     

    C x - Planning -Create Work Packages
    Project Code: 2012-000008 ... Work Pkg: 8 - Specialties
    Elevators - 40% Design Submission ... REQUESTED
    Filename: Construction Checklist Div-14200 Elevator.pdf

    3

     

     

     

     

    Elevators - 100% Design Submission ... APPROVED
    Filename: Construction Checklist Div-14200 Elevator.pdf

    Elevators - 60% Design Submission ... REQUESTED
    Elevators - 100% Design Submission ... APPROVED
    Filename: Construction Checklist Div-14200 Elevator.pdf

    4

     

     

     

     

    Cx - Planing -Create Work Packages
    Project Code: 2012-000008
    ... Work Pkg: 4 - Automatic Temperature Control System (ATC)
    WBS Code: 4.07 Sequence control, AHU, H&V
    Action Type: CX - DESIGN SUBMISSIONS
    Status: REQUESTED
    Filename: Performance Verification Testing Div-15950 HVAC Controls.pdf

END VERSION 20.1 CHANGES

 

Version 19.3 Multi-Lingual (Database Version 135)

Schema Preferences:

  • Update Db Version Date to: 2011.03.24
  • Update Db Version number to: 135

Schema changes:

Green Bldgs:

  • Changed the afm_flds entries for project_name field in tables (gb_cert_docs, gb_cert_log, gb_cert_proj, gb_cert_scores) to modify the string_format to UPPER. (3030865)
  • Changed the afm_flds entries for gb_fp_setup "*_version" and "subregion_code" FK fields to modify the string_format to UPPER, to match the definition of the referenced fields. (3030864)

WFR changes:

*** NONE ***

PNav changes:

System:

  • Add a new System Administration view "Edit Messages" into the messages table. (3028118)
  • CAD Manager process is missing icon in Smart Client Process. (3030807)

Proj. Mgmt.:

  • Project Mgmt / Execute process - add at bottom of PNav an "Update Project Status / Close Project" view: ab-proj-project-update-status.axvw (3030895)

Data changes:

System:

  • Add drawing revision data for Drawing File Mgmt. (3030684)

Green Bldgs:

  • There is data inconsistency between tables gb_fp_emiss_data and gb_fp_sectors for sector_name column which at a certain point has the values: "Manufacturing industries/Construction" and "Manufacturing Industries/Construction". This is a problematic only with Oracle because is key-sensitive. (3030714)

Version 19.3 (Database Version 134)

Schema Preferences:

  • Update Db Version Date to: 2011.03.08
  • Update Db Version number to: 134

Schema changes:

System:

  • Change the size of afm_notifications_log.email_message to 8000. This prevents UPW from crashing with MSSQL because the current 10,000 exceeds the max VARCHAR size for SqlServer.(3029999)
  • Set A/FM Type for afm_dwgs.dwg_file field to “Calculated”.
  • Update afm_flds for the enumeration list for afm_transfer_set.status: (3030442)
    • Remove the extra line return in "No Extract File".
    • Add: "UPDATED;Updated;"
  • Add tables:
    • afm_metric_definitions
    • afm_metric_trend_values

BldgOps:

  • probtype table: Copy ac.hierarchy_ids field definition in afm_flds to the probtype table.

Cap Bud:

  • UPDATE afm_flds SET ml_heading = 'Date Available - End' WHERE table_name = 'funding' AND field_name = 'date_avail_end';

Green Bldgs:

  • Change the enum list for bl.use1 to include values required by Energy Star: (3030313)
    • UNKNOWN;UNKNOWN;BANK/FINANCIAL INSTITUTION;BANK/FINANCIAL INSTITUTION;COURTHOUSE;COURTHOUSE;DATA CENTER;DATA CENTER;HOUSE OF WORSHIP;HOUSE OF WORSHIP;HOSPICE;HOSPICE;HOSPITAL;HOSPITAL;HOTEL;HOTEL;K-12 SCHOOL;K-12 SCHOOL;MANUFACTURING;MANUFACTURING;MEDICAL OFFICE;MEDICAL OFFICE;MIXED USE;MIXED USE;MULTIFAMILY HOUSING;MULTIFAMILY HOUSING;OFFICE;OFFICE;OTHER;OTHER;RESIDENCE HALL/DORMITORY;RESIDENCE HALL/DORMITORY;RETAIL;RETAIL;SALES OFFICE;SALES OFFICE;SENIOR CARE FACILITY;SENIOR CARE FACILITY;SPORT/RECREATION;SPORT/RECREATION;STORAGE;STORAGE;SUPERMARKET/GROCERY STORE;SUPERMARKET/GROCERY STORE;WAREHOUSE;WAREHOUSE;WAREHOUSE (REFRIGERATED);WAREHOUSE (REFRIGERATED);WASTEWATER TREATMENT PLANT;WASTEWATER TREATMENT PLANT
  • Add field called scenario_type to scenario table: Data Type=Char, Size=16, ML Heading="Scenario Type", Comments="v19.3-Green Building". (3030182)
  • Add field called is_dflt to bill_unit table: Data Type=Smallint, Heading="Default?", Comments="v19.3-Green Building", Default Value=0, Enumeration List="0;No;1;Yes" (3030160)
  • Change size of bl.use1 from 16 to 32 (3030311)
  • bill_type table:

    This is needed to accommodate multi/mixed units support.It will be used by multi-unit enabled applications, such as Green Building, to filter bill_type entries to only their own entries. It will also be used by Energy Management to display only its own entries, which are those where activity_id is NULL. We’ve specified that multi-units applications will, in their Define Units task, show all units with activity_id equal to the ID of the activity OR AbAll. Some unit types are generic, like “VOLUME” or “DISTANCE”, that can be shared. Adding a dummy activity_id of AbAll to the activity table didn’t seem like a good option.

    • Change bill_type.bill_type_id string format from Upper to AnyChar. (3029955)
      Needed to accommodate multi/mixed units support and international standard abbreviations for units, for which lower and mixed case strings are required (e.g., kg, mg, MT, kW)
    • Change All NULL for or bill_type.cost_cat_id from rom No to Yes (3030158)
      This is needed to accommodate multi/mixed units support. Without this change, a dummy record would need to be created in cost_cat table for GB to use in its bill_type entries. If the user deletes that dummy cost_cat record, ALL of GB's bill_type and bill_unit entries would be deleted via cascade delete, causing GB to stop functioning.
    • Add field activity_id. Copy from: afm_notifications_log. Allow Null = Yes, Validate Data? = No, Comments="v19.3-Green Building" (3030157)
  • bill_unit table:
    • Change conversion_factor - change from (Size=12, Decimals=6) to (Size=28, Decimals=12). (3030579)
    • Change bill_unit_id string format from Upper to AnyChar. (3029955)
    • Add all gb_* tables for Green Bldgs activity.

Localization:

  • Expand the sizes of the following lang_strings fields in order to handle the larger afm_activities.summary* field sizes that were expanded for v19.2: (3030083)
    • string_english from: 512 to: 800
    • string_trans from: 768 to: 1200
    • reference_info from: 512 to: 800
  • To get the new fields from the last update into afm_flds_lang run:
    • INSERT INTO afm_flds_lang (table_name, field_name)
    • SELECT table_name, field_name FROM afm_flds
    • WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner
    • WHERE afm_flds_lang_inner.table_name = afm_flds.table_name
    • AND afm_flds_lang_inner.field_name = afm_flds.field_name )

WFR changes:

System:

  • Add WFR to remove unlicensed activity assignments to users
    • Activity: AbSystemAdministration
    • Rule name: removeUnlicensedActivities
    • Event handler class: com.archibus.eventhandler.security.RemoveUnlicensedActivities
    • Event handler method: removeUnlicensedActivities
    • Active: Yes
    • Security group: leave empty
    • Rule Type: Scheduled
    • XML Schedule Properties: <xml_schedule_properties><schedule startTime="01-01-2010 12:00:00" endTime="" runOnStartup="true"><simple repeatCount="-1" repeatInterval="315360000"/></schedule></xml_schedule_properties>

BldgOps:

  • Canonical Db lost the "updateServiceRequestStatusFromWorkRequest" after the 2010-12-22 update. This WFR was added to the production databases. Add it to the canonical hq.db: Import: WFR-updateServiceRequestStatusFromWorkRequest.xml

Green Bldgs.:

  • Add all WFRs for Green Bldgs activity.

PNav changes:

System:

  • The localization process creates duplicate records in MSSQL and Oracle if Pkey fields have leading spaces. Remove the leading spaces from records in the following tables and fields that have leading spaces:
    • afm_hotlist.view_title
    • afm_subtasks.subtask
    • afm_tasks.task
  • Add PNav entries for Drawing File Management (3030027)
  • Create a new “CAD Manager” process in the System Administration activity beneath “ARCHIBUS Administrator” but before Add-in Manager”. Add this process on both Web Central and the Smart Client Process Navigators. Help link is: \Subsystems\webc\Content\cad_manager\cad_manager_over.htm
  • Add the following views:
    • Set Asset Text Visibility (ab-cad-set-atxt-visibility.axvw)
    • Label
    • View Drawing Changes by Drawing ( ab-dwg-changes-by-dwg.axvw)
    • View Drawing Changes by Building Location (ab-dwg-changes-by-bl.axvw)
    • View Drawing Changes by User (ab-dwg-changes-by-user.axvw)
  • Add: Technologies > Localization > Localization > Localization Analysis (ab-localization-analysis.axvw) (3028511,3030276)
  • Change view for: AbSystemAdministration / ARCHIBUS Administrator (SC) / Assign Processes to Roles TO: \sys-admin-views\security\ab-sys-afm-roleprocs-by-role-gd.axvw (3030344)

Space Mgmt:

  • Space Management / Space Inventory / Room Inventory / Highlight Vert Pen by Type --- Typo: the command line should be "afm_hvertxtype" (3029964)
  • Add Ptasks for simple views for exporting space data.
  • Add/Update Building Performance and Room Inventory process tasks for SC CAD extensions.

Green Bldgs:

  • Add all PNav entries for Green Bldgs activity.

Data changes:

System:

  • Add the following to the afm_activities.summary field for the Green Buildings activity: (3030178)
    • Sustainability officers and green building managers strive to increase green building performance and certification levels and to reduce carbon footprint. However, assessing progress and quantifying results requires complex calculations and a breadth of data spanning multiple years. This activity calculates net greenhouse gas equivalent impact, shows carbon footprint change over time for each building or an entire portfolio, tracks progress through sustainability certification projects, and manages data and documents required for requalification. It also shows anticipated payback on sustainability investments and correlates environmental data to facility use and operations thus providing the timely and reliable data required for making and defending strategic sustainability decisions.
  • The following changes convert user "AFM" to an activity licensee user and add user "AI" as a domain license user:
  • Copy user "AFM" to a new user "AI" (3030557)
  • Rename the “AIDEMOACP” (role “ACTIVITY LICENSEE” role) user to “AFM” (still “ACTIVITY LICENSEE” role) (3030557)
  • Copy the AFM user (role “ACTIVITY LICENSEE”) to user AIDEMOACP. (We need no other change as all other processes and groups come from the role.)
  • Add em_id = "AI" to the em table similar to em_id = "AFM".
  • Update afm_userprocs to assign user 'AI' to all processes:
    • INSERT INTO afm_userprocs ( activity_id, process_id, user_name )

      SELECT afm_processes.activity_id, afm_processes.process_id, 'AI*'

      FROM afm_processes, afm_activities

      WHERE afm_activities.activity_id = afm_processes.activity_id

      AND afm_activities.is_active = 1 AND afm_processes.is_active = 1

      AND NOT EXISTS (SELECT 1 FROM afm_userprocs WHERE user_name = 'AI'

      AND afm_userprocs.activity_id = afm_processes.activity_id

      AND afm_userprocs.process_id = afm_processes.process_id );

Proj. Mgmt.:

  • Update project tasks to show dependencies.

Green Bldgs.:

  • Change bl.use1 for HQ and JFKB from "MIXED USE" to "OFFICE"
    • The reason is that Energy Star export has a different spreadsheet template for each building use, and therefore a separate spreadsheet is required for each use.We have only tested the template for “OFFICE” so far and having several bldgs with ‘OFFICE’ will demonstrate export of multiple buildings to one spreadsheet
  • Add all sample data for Green Bldgs.

BldgOps:

  • Establish hierarchical sample data for problem types

REPM:

  • Some data is missing from the ls_resp table in Oracle since clause_type_id = ‘amenity’ but in the primary table is stored as ‘Amenity’. To resolve:
    • UPDATE ls_resp SET clause_type_id='Amenity' WHERE resp_id in ('AM40', 'AM41', 'AM42', 'AM43');

Space:

  • rm table - Delete room: Hq-17-000 (3024461)

Version 19.2 (Database Version 133)

Schema Preferences:

  • Update Db Version Date to: 2011.01.21
  • Update Db Version number to: 133

Schema changes:

System:

  • Support afm_notifications_log table and fields for email notification logging (this table was added in v19.1 but not supported in that release).
  • Remove "Edit Group" values from afm_flds table for table afm_notifications_log (3029732)
  • Add afm_dwgs and afm_dwgvers tables and fields for Drawing File Mgmt. Note that the Drawing File Mgmt features are not supported in v19.2.
  • To support Radio Frequency ID functionality:
    • - Add rf_reader and rf_activity tables and fields
    • - Add current location fields to eq, ta, and em tables including: curr_site_id, curr_bl_id, curr_fl_id, curr_rm_id
  • Add hpattern_acad field to the dv table (3029883).
  • afm_activities.summary and afm_products.summary - change size from 512 to 800. Change sizes of all summary_* fields to 1200.
  • Set afm_type to "Calculated" for all enumeration list fields that do not have a default value:
    • First update lang_lang.lang_to_fld_mapping to have a default value of '03'
    • Then: UPDATE afm_flds SET afm_type = 2070 WHERE enum_list IS NOT NULL AND dflt_val IS NULL AND afm_type <> 2070 AND table_name <> 'afm_wf_steps';

Real Estate & Property Management:

  • Add cost fields to bl table that match those in the property table. (3028864)
    • cost_operating_total
    • cost_utility_total
    • cost_tax_total
    • cost_other_total
    • income_total
    • date_costs_start
    • date_costs_end
    • date_costs_last_calcd
  • Add table: bl_amenity

Building Operations:

  • Run System / Schema / Define / Update Service Desk and On Demand Work SQL Views using latest helpdesk_views.sql updated in 12/2010 to modify the hwr_month SQL view to support new fields such as supervisor. (3028984)
  • Change probtype.prob_type to be of A/FM Type “Hierarchical-Concat”. (Note that this change is not sufficient for making prob_type hierarchical; in the next release a trace_id field will be added to the prob_type table.)
  • Correct Validating table settings for the following fields:
    • helpdesk_sla_response activity_type
    • helpdesk_sla_steps activity_id
    • helpdesk_sla_steps activity_type
    • helpdesk_sla_steps ordering_seq
  • add field "pmp_id" to the activity_log tables to facilitate SLA matching for Preventive Maintenance work requests. (3029391)
    • activity_log
    • hactivity_log

Reservations:

  • rmpct.day_part -- change enum list to: "0;Full Day;1;Morning;2;Afternoon;" (3029345)

Capital Budgets:

  • funding table - add new field date_avail_end. (3027862)

Workflow Rules (WFR) Additions and Changes:

New WFRs added:

  • AbCommonResources / GraphicsService - deletes enterprise graphics files. (3029657)
  • LeaseAdministrationService. The duplicateLease method provides for copying lease templates: (3028657)
  • ProjectGanttService. The cascadeTaskDependencies method cascades dates for linked project tasks. (3027995)

New WFRs added for Building Operations applications:

  • AbBldgOpsOnDemandWork
    • invokeSLAForWorkRequests -- integrates non-Run Anywhere Work Request processes with the Run Anywhere applications
    • updateWrDateAssigned -- integrates non-Run Anywhere Work Request processes with the Run Anywhere applications
    • updateWorkTeamFromSupervisor
  • AbBldgOpsHelpDesk
    • updateServiceRequestStatusFromWorkRequest -- integrates non-Run Anywhere Work Request processes with the Run Anywhere applications
  • AbBldgOpsBackgroundData
    • calculateWorkResourceValues -- provides parts inventory calculations

Energy Management:

  • Change repeatInterval for the Energy Mgmt scheduled WFRs from "86400000" (every 24000 hours) to "86400" (every 24 hours).

Process Navigator (PNav) changes:

System:

  • Add task: System Administration/Add In Manager/Add-in Application License Generator
  • Add task: "View Notifications Log" in Utilities section under the ARCHIBUS Administrator process
  • Updated elevator stories (summaries) for many of the domains (products) and activities.
  • Remove unused Domain and Activities:

    DELETE FROM afm_products WHERE product_id = 'AbCapitalBudgets';

    DELETE FROM afm_activities

    WHERE NOT EXISTS (SELECT 1 FROM afm_processes WHERE afm_processes.activity_id = afm_activities.activity_id)

    AND NOT EXISTS (SELECT 1 FROM afm_wf_rules WHERE afm_wf_rules.activity_id = afm_activities.activity_id);

  • Add Document Management views to Web PNav under the System Administration/ARCHIBUS Administrator role. (3028794)

Real Estate & Property Management:

  • PNav updated to add additional views and reports, to correct some view links, and to add some help links.

Moves:

  • PNav updated to correct file names particularly in regards to file name changes to match convention. (3026577); (3028765); (3028030)

Space Planning & Inventory:

  • Correct duplicate dashboard names. (3028740)
  • Add PNav entries to support Highlighting Groups and Rooms in the AutoCAD Extension.

Building Operations:

  • PNav updated to add additional views and reports, to correct some view links, and to add some help links.

Asset Management:

  • Add "Define Furniture Standards by Room" task (3027316)
  • Add "View Tagged Furniture Inventory Counts by" views (3028167)
  • - Remove leading spaces from tasks as the leading spaces will not work on MSSQL (3029898)

    UPDATE afm_ptasks SET task_id = '...' + SUBSTRING( task_id, 6, LENGTH( task_id ) ) WHERE task_id LIKE ' %';

Capital Budgeting:

  • Remove: Capital Budgeting > Prioritize & Estimate > Create Facility Condition Index Scenarios as this functionality is now incorporated in the Analyze Facility Condition Index Scenarios view. (3029741)

Solutions:

  • Add the following new solution templates (Technologies) tasks:

    Software Engineering / Software Engineer Views:

    • Smart-Search Console Views / Smart Search console with columns that can be shown, hidden, or sorted
    • Tree Views / Tree View with Multiple Selection Checkboxes

    User Interface Add-Ins / Parts for Forms:

    • Advanced Form Techniques / Console with Multiple-value Restrictions

    User Interface Add-Ins / Parts for Reports:

    • Report with Complex Parsed Restriction

    Business Process Owner Views / Paginated Reports:

    • Report with Print-out Restriction
    • Report with Passed Restrictions and Parameters

Data changes :

System:

  • Drawing File Mgmt -- Add a user Z-CADHQ with a VPA Building Code List value of “HQ”. Use this user to test the VPA restriction on the Drawing List.
  • Change user "CHARLES" to have a role at a higher level (3029667)
  • Add a new activity parameter (afm_activity_params) record (3029026):
  • AbSystemAdministration-highlightRGBColorEncoding, “Use Web Central-style RGB Encoding?”, 0/1
    Email notifications logging - add a new record in the afm_activity_params table to store the Notification Logging Level the system administrator requires:
Field name Field value
activity_id 'AbSystemAdministration'
param_id 'NotificationLoggingLevel'
param_value 'off'|'subject'|'message' Default value is 'message'
description

'Indicate the level of e-mail notification logging required. Valid values are:

• "off": to disable logging;

• "subject": to log only the subject;

• "message": to log the complete message text.'

transfer_status 'NO CHANGE'

Localization:

  • afm_flds_lang updated to include records for the new v19.2 fields

Building Operations:

  • Create a “default SLA” for the Hoteling service request type (3029808)
  • Significant sample data added.

Project Management:

  • Update project and activity_log sample data to include site and bl id values so that appropriate data is displayed when VPA is in use (3029743)

Space:

  • Vertical and service areas hpattern values updated in rmtype table.
  • Add values to 9 records in db table for dv.hpattern_acad field.

Real Estate & Property Management:

  • Add "Amendment to Lease Agreement 001.docx" to the one record in the ls_amendment table. That record has a value in its doc field, however, no corresponding document records currently exist in the afm_docs or afm_docvers tables. (3028241)
  • Update sample data for the following tables:
    • ot
    • property
    • bl
    • ls
    • prop_amenity
    • bl_amenity
    • ls_resp
    • cost_tran_recur
    • cost_tran_sched
    • cost_tran

 

Version 19.1 (Certified International Release) Database Version 132

Schema Preferences

  • Update Db Version Date to: 2010.08.16
  • Update Db Version number to: 132

Schema Changes:

Field name Type and Size Description
auto_number Integer (10) Auto-numbered PKey
email_from varchar(50) The e-mail address of the sender.
email_to varchar(5000) The e-mail addresses of the recipients, comma-delimited.
email_subject varchar(200)  
email_message varchar(10000)  
email_host Varchar(256)  
server_date_sent date  
server_time_sent time  
status char(16) Enumerated value that shows the send status. Valid values are: "sent"; "error";
status_message varchar(1000) The status message (typically, this is an error message).
activity_id char(32) The activity from which the message was sent.
  • Make translatable fields wider to accept translations . resource_std.resource_name_% change from 32 to 64 (3028043)
  • afm_roles table - change the AbCoreLevel4Activity display value to "Activity ACP"; set the Default Value for License Level to be "AbCoreLevel4Activity". (3028016 )
  • afm_flds_trans table - change the Default value to "AUTOINCREMENT" (it was Null).
  • wo table - Remove the Edit Group value of "CALCULATED" from wo.date_closed and wo.time_closed. ( 3208048)
  • afm_wf_steps table - Change the size of the following fields from 32 to 48 (3028043)
    • step_01
    • step_02
    • step_03
    • step_ch
    • step_de
    • step_es
    • step_fr
    • step_it
    • step_jp
    • step_ko
    • step_nl
    • step_no
    • step_zh
  • afm_notifications_log table - Add this Notifications Log table (this is only needed for v19.2 but is being added now so work can proceed.). afm_notifications_log - holds notification history.
Field name Type and Size Description
geo_region_id Char 8 Example values: AMER; EMEA; APAC
geo_region_name Char 64 Example values: AMER (Americas); EMEA (Europe, Middle East, Africa); APAC (Asia Pacific, Japan)
description Varchar 1000  
hpattern_acad Char 16  
option1 Char 16  
option2 har 16  
  • geo_region table - Add "Geographic Business Regions" table with fields:
  • ctry table - add Fkey field to geo_region_id

Localization:

  • To get the new fields from the last update into afm_flds_lang run:

    INSERT INTO afm_flds_lang (table_name, field_name)

    SELECT table_name, field_name FROM afm_flds

    WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner

    WHERE afm_flds_lang_inner.table_name = afm_flds.table_name

    AND afm_flds_lang_inner.field_name = afm_flds.field_name )

  • Run Comparator50.abs to verify database and especially FKeys.

WFR changes:

 

PNav changes:

  • Correct error on some assets when trying to use the Number command. (3028055)

    DELETE FROM afm_ptasks WHERE process_id LIKE 'Group%' AND task_id = 'Number';

    DELETE FROM afm_ptasks WHERE process_id LIKE 'Fur%' AND task_id = 'Number';

    DELETE FROM afm_ptasks WHERE process_id LIKE 'Equip%' AND task_id = 'Number';

  • Three context-sensitive Help links not working from three Smart Client Extension processes (3028233). Import items-3028233-doc1.xls.
  • Add "Define Employee Standards" under "Move Management" -> "Enterprise Move Management" -> "Business Process Owner" (3028159)

Data changes:

System:

  • Correct Wrong name for "Portfolio Management" in PNav’s "Summary" (3028080). The name of the Activity in the PNav is "Portfolio Management", but in the "Summary" is "Portfolio Administration" (old name).
  • In the afm_users table, change the role for "TRAM" to “2 - WORKFLOW PROCESS”

Project Management:

  • Add bl_id values to project table so that the following query returns values:

    SELECT project.bl_id, SUM(cost_est_design_exp) + SUM(cost_est_design_cap) FROM activity_log, project

    WHERE activity_log.project_id = project.project_id

    AND ( project.status LIKE 'Approved%' OR project.status LIKE 'Issued%' )

    GROUP BY project.bl_id

Reservations :

  • - hreserve_rs table where rsres_id = 16 --- 9/26/2006 Cold food catering resource is reserved for -6 hours, which is not correct. (3028222). time_end value of 12:00am, which is not correct. Because 12:00 am is earlier than its time_start (8:00am).

Version 19.1 Database Version 131

A summary of database changes required per activity or domain when upgrading from v18.2 to v19.1 is listed in the below table.

Activity or Domain Tables/Fields Changed* SQL Views changed PNav Changed afm_wf_rules changes
System Yes No Yes Yes
Asset Management Yes No Yes Yes
Space No No Yes No
Service Desk No Yes Yes Yes
On Demand Work No Yes Yes Yes
Move Management Yes No Yes Yes
Project Management No No Yes Yes
Reservations No Yes No Yes
Emergency Prep No No Yes Yes
REPM No No Order and Titles only Yes
Condition Assessment No No No No
Hoteling Yes No Yes Yes
Energy Management Yes No Yes Yes
Localization Yes No Yes Yes

 

Note : When reviewing this list of changes, note that some of the View 1.0 view files or ARCHIBUS Windows Client/Server view files referenced in this document are now obsolete and no longer shipped.

Schema changes

System

  • Add a field: help_system (enum: System;End User) to both the afm_processes and the afm_activities tables (3023526)
  • Add a new field, afm_atyp.dflt_view_sc, same as afm_atyp.dflt_view except expand the column to be 64 characters long instead of the current 8 (3025039)
  • Change "A/FM" to "ARCHIBUS":

    UPDATE afm_tbls SET title = REPLACE( title, 'A/FM', 'ARCHIBUS') WHERE title LIKE '%A/FM%';

    UPDATE afm_flds SET ml_heading = REPLACE( ml_heading, 'A/FM', 'ARCHIBUS') WHERE ml_heading LIKE '%A/FM%';

    Remove the "/FM" from ml_heading for afm_scmpref.afm_cascades_changes

  • Change the string format on the afm_users.user_pwd field from Upper to AnyChar (3024785)
  • Add Data Transfer Status field to all system tables (afm_*) -- run CopyDataTransferFlds.abs
  • afm_processes.process_type:
  • Change default value to: WEB
  • Add new values to enum list and add "Client/Server to Windows C/S items:WEB;
    Web PNav;WEB-DASH;Web Dashboard;SC;Smart Client;SCOVERLAY;Smart Client Overlay;WINDOWS;Client/Server;OVERLAY;Client/Server Overlay;
  • afm_ptasks.task_type and afm_psubtasks.task_type: enum -- add two new values for Smart Client Grid and CAD Grid views; add "c/S" to Windows C/S items:
    LABEL;Label;WEB URL;Web URL;GRID;Smart Client Grid;GRIDCAD;Smart Client CAD Grid;OVERLAY ACTION;Overlay Action;VIEW;C/S View;FIXED-FORMAT VIEW;C/S Fixed-Format View;DRAWING VIEW;C/S Drawing View;BASICSCRIPT ACTION;C/S BasicScript Action;ACTIVEX ACTION;C/S ActiveX Action;WINDOWS CONSOLE URL;C/S Windows Console URL;SHELLEXECUTE;C/S ShellExecute;WINDOWS BROWSER URL;C/S Windows Browser URL;
    • afm_scmpref: Add two fields (similar to fields from afm_dwgs):
      • units -- "Base Units" -- smallint -- default: 2 -- enum: 0;Metric;1;Imperial;2;Per Locale;

        NOTE: value set for this field will be "1" even though the default is "2".

      • base_metric_units -- "Default Base Metric Units" -- smallint -- default: 1 -- enum: 0;mm;1;cm;2;Metres
  • afm_dwgpub:

    Add: rule_suffix -- "Suffix" -- Char(32)

    Add: dwg_view -- "AutoCAD Drawing View" -- Char(32)

    Change: rule_type:

    • change default to "ALL"
    • add values to enum for Ent. Graphics Publishing: NONE;None;ALL;All;SWF;SWF;EMF;EMF;SWF and EMF;SWF and EMF;JSON;JSON;BY OWNER;By Owner;LAYERED BY OWNER;Layered By Owner;QUERY TEXT;Query Text;QUERY TABLE;Query Table;ASSET;Asset;RESTRICTION;Restriction;URL;URL;DYNAMIC;Dynamic
  • afm_tbls:

    Add: table_type -- "Table Type" -- Char(32) -- default: PROJECT DATA -- enum: PROJECT SECURITY;Project Security;PROJECT APPLICATION DATA;Project Application Data;PROJECT DATA;Project Data;DATA DICTIONARY;Data Dictionary;APPLICATION DICTIONARY;Application Dictionary;PROCESS NAVIGATOR;Process Navigator;

    Add: default_view -- "Default View" -- char(64)

    DOCUMENTATION NOTE:

    The Update Project Wizard doesn't create the fields:

    • afm_tbls.default_view
    • afm_tbls.table_type
    • afm_tbls.transfer_status
    • afm_flds.transfer_status
    • afm_groups.transfer_status

    These are new fields for afm_flds, afm_tbls and afm_groups that the Update Project Wizard doesn�t add.

    The solution is to run Update Project Wizard again with (Table like=afm_flds;afm_tbls;afm_groups)

    UPDATE afm_tbls SET table_type = 'PROJECT SECURITY' WHERE table_name IN ( 'afm_groups','afm_users','afm_groupsforroles','afm_roles','afm_userprocs','afm_roleprocs' );

    UPDATE afm_tbls SET table_type = 'PROJECT APPLICATION DATA' WHERE table_name IN ( 'afm_hotlist', 'afm_tclevel', 'afm_wf_steps' );

    UPDATE afm_tbls SET table_type = 'DATA DICTIONARY' WHERE table_name IN ( 'afm_flds', 'afm_tbls', 'afm_flds_lang' );

    UPDATE afm_tbls SET table_type = 'APPLICATION DICTIONARY' WHERE table_name IN ( 'afm_wf_rules','afm_atyp','afm_dwgpub','afm_layr', 'messages', 'afm_activity_params', 'afm_scmpref' );

    UPDATE afm_tbls SET table_type = 'PROCESS NAVIGATOR' WHERE table_name IN ( 'afm_products','afm_activity_cats','afm_actprods','afm_activities','afm_processes','afm_ptasks','afm_psubtasks' );

  • Add table: afm_transfer_set:

    autonumbered_id -- "Autonumbered ID" -- (pkey) Integer -- Default: AUTOINCREMENT

    set_name -- "Data Transfer Set" -- Char (32)

    table_name -- "Table Name" -- Char (32) Does not validate on afm_tables.

    table_type -- "Table Type" -- Char(32)

    nrecords_dest -- "Records in Destination Table" -- Integer

    nrecords_source -- "Records in Source Extract" -- Integer

    nrecords_inserted -- "Records Inserted" -- Integer

    nrecords_updated -- "Records Updated" -- Integer

    nrecords_missing -- "Records Missing" -- Integer

    processing_order -- "Processing Order" -- SmallInt

    status -- "Status" -- Char(16) -- Default: NONE -- Enum: NONE;None;PENDING;Pending;EXPORTED;Exported;COMPARED;
    Compared;IMPORTED;Imported;NO EXTRACT FILE;No Extract File;NO PROJECT TABLE;No Project Table;NOT PROCESSED;Not Processed;

  • Add table: afm_flds_trans:

    autonumbered_id -- "Autonumbered ID" -- (pkey) Integer -- Default: AUTOINCREMENT

    ** Add ALL fields from afm_flds table. Remove validating links.

    change_type -- "Field Differs In" -- Char (32) Default: NONE -- Enum List:
    NONE;None;NO_DEFAULT;Default Value not in Enum;NEW;Field is new;PROJECT_ONLY;Field is only in project;ALLOW_NULL;Is Null?;AFM_TYPE;AFM Type;ATTRIBUTES;Attributes;COMMENTS;Comments;DATA_TYPE;Data Type;DECIMALS;Decimals;DEP_COLS;Dependent Columns;DFLT_VAL;Default Value;EDIT_GROUP;Edit Group;EDIT_MASK;Edit Mask;ENUM_LIST;Enum List;FIELD_GROUPING;Field Grouping;IS_ATXT;Is Asset Text;IS_TC_TRACEABLE;Is Tc_Traceable;MAX_VAL;Maximum Val;MIN_VAL;Minimum Val;ML_HEADING;Multiline Heading;NUM_FORMAT;Numeric Format;PRIMARY_KEY;Primary Key;REF_TABLE;Reference Table;REVIEW_GROUP;Review Group;SIZE;Size;SL_HEADING;Single Line Heading;STRING_FORMAT;String Format;VALIDATE;Validate Data;

    data_dict_diffs -- "Data Dictionary Differences" -- VarChar[ 256 ]

    sql_table_diffs -- "SQL Table Differences" -- VarChar[ 256 ]

    rec_action -- "Action - Recommended" -- Char[ 32 ] -- Default: NO ACTION
    Enum: NO ACTION;No Action;APPLY CHANGE;Apply Change;KEEP EXISTING;Keep Existing;DELETE FIELD;Delete Field;

    chosen_action -- "Action - Chosen" -- Char[ 32 ] -- Default: NO ACTION
    Enum: NO ACTION;No Action;APPLY CHANGE;Apply Change;KEEP EXISTING;Keep Existing;DELETE FIELD;Delete Field;

  • afm_flds_trans -- Make the autonumbered_id field the primary key
  • Add the following to the enum for afm_flds.afm_type:

    ;2175;Questionnaire;

  • Set the AFM Type for the following fields to be "Questionnaire":
    activity_log act_quest
    activity_log_hactivity_log act_quest
    activity_logview act_quest
    hactivity_log act_quest
    hactivity_logmonth act_quest
    mo mo_quest
    project project_quest

 

  • For performance add an index to em.email:

    CREATE INDEX em_email ON em (email) (3025541)

  • Change afm_atyp.dflt_view and afm_atyp.dflt_view_sc to allow Null values.
  • Remove circular references - Set "Validate Data?" to No for the following 2 fields:

    afm_atyp.pop_layer

    dp.approving_mgr

  • Change afm_user.user_pwd and sql_pwd size to 128 (3025455)
  • afm_ptasks.task_action change from size of 64 to size of 128 to accomodate longer Overlay commands
  • Licensing and Revit changes added new fields:
    afm_dwgs model_level
    afm_dwgs model_name
    afm_processes license_level
    afm_roles license_level
    afm_users bim_license
    afm_users is_named_user

 

Security:

  • LEVEL 1 users can not access certain validating fields that they need to use for executing self-service tasks:

    UPDATE afm_flds SET review_group = NULL WHERE table_name <> 'afm_users' AND review_group IS NOT NULL AND ( primary_key > 0 OR ref_table IS NOT NULL);

Real Estate Portfolio Management Domain

  • Add a new su.doc_image field of type document as an alternative to the su.image_file field.

Asset Management Domain

  • eqstd; fnstd: add 2 document fields (doc_graphic, doc_block) to use instead of the image fields (image_file, image_of_block)
  • Add a document field to the warranty table: doc_warranty (3026700)
  • Add a doc_image field to the following 3 tables:
    • pnstd
    • fpstd
    • pbstd

Move Management Domain

  • add mo_scenario table for move scenarios.
  • add mo_scenario_em table for employee move scenarios.
  • add hist_em_count table for historical churn reporting.
  • mo.phone_dept_contact change ml_heading to be the same as for project.phone_dept_contact
  • mo_scenario table -- make the comments and the description fields to have string format "Memo" (3026045)

Service Desk/On Demand Activities

  • Change the numeric format for helpdesk_step_log.pkey_value. This field stores either service request or work request ids.

Right now, the work request ids show up as comma-separated because the numeric format is set to "default".

This should change to "NoSeparator". (3024523)

  • Update SQL views used by SD/OD due to added fields in the activity_log table (3025620)

    Run: System /Schema /Define /Update Service Desk and On Demand Work SQL Views

Space

  • change fl.area_gross_ext to have a default of "0.0" instead of "0".

Condition Assessment Activity

  • Change multi-line headings:

    Activity_log.cond_priority
    from: Conditions Priority to Condition Priority (remove "s" at the end of Conditions")

    Activity_log.cond_value
    from: Conditions Value to Condition Value (remove "s" at the end of Conditions")

Reservations Activity

  • Update the Reservations SQL Views: run reservationSqlViews.abs (2010-3-4 version)

Hoteling Activity

  • rmpct:

    Add: status -- "Status" -- SmallInt -- Default: 1 -- enum: 0;Requested;1;Approved

    Add: resources -- "Resources" -- "Hoteling Resources Required" -- VarChar (5000) -- Memo

    Add: visitor_id -- copy from visitors table; add validation; remove Pkey; Allow NUll

    Add: day_part -- "Part of Day" -- SmallInt -- Default: 0 -- enum: 0;Full;1;Morning;2;Afternoon

    Add: activity_log_id -- copy from cost_tran table

    Add: parent_pct_id -- "Parent Percentage Code" -- Integer

  • visitors:

    Add: em_id -- copy from eq table; change ML Heading to: "Contact Employee"

    Add: dv_id -- copy from eq table; change ML Heading to: "Contact Division"

    Add: dp_id -- copy from eq table; change ML Heading to: "Contact Department"

    Add: visitor_photo -- same as "em.em_photo"

  • activity_log and hactivity_log:

    Add: recurring_rule -- copy from reserve table

  • rm:

    Add: hotelable -- "Is Hotelable?" -- SmallInt -- Default: 0 -- enum: 0;No;1;Yes

  • rmstd_emstd -- Add table:

    Add: rm_std -- copy from rm table; make Pkey 1; Not Null

    Add: em_std -- copy from em table; make Pkey 2; Not Null

  • rmstd:

    Add: doc_graphic -- copy eqstd.doc_graphic; change ML Heading

    Add: doc_block -- eqstd.doc_block; change ML Heading

  • dp:

    Add: approving_mgr -- copy work_pkg_bids.approved_by; change ML Heading to: "Approved By"; change Fields to Validate to: approving_mgr

Energy Management Activity

  • Add records to afm_tbls:
    • Add vn_ac table
    • Add bill* tables
    • Add weather* tables
    • Add energy* tables
  • Add records to afm_flds -- these are all records where afm_flds.comments LIKE 'v19.1 Energy Management%'

In addition to the fields for the tables listed above added fields to bl table

  • Add enum value ('Energ;Energy;') to vn.vendor_type

Localization:

ML Heading - "Default Locale to write to lang file"

CHAR - length 5

Default value - 'en_US'

  • Change lang_strings.string_trans size to 768 and data type to VarChar. (3024613)
  • Add field "locale" to the lang_lang table. (3027425)
  • Change lang_lang.is_default_language to SmallInt with a default of 0. (It is a "0;No;1;Yes" enum but was oddly Char 512)
  • To get the new fields from the new fields in afm_flds_lang run:

    INSERT INTO afm_flds_lang (table_name, field_name)

SELECT table_name, field_name FROM afm_flds

WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner

WHERE afm_flds_lang_inner.table_name = afm_flds.table_name

AND afm_flds_lang_inner.field_name = afm_flds.field_name )

Work Flow Rules

System:

  • Add rule for data transfer by record
  • Add WFR for Gantt control
  • DELETE FROM afm_wf_rules WHERE rule_id = 'appUpWizServiceRule'; because we are using a different one and errors occur in the (3026060)
  • DELETE FROM afm_wf_rules WHERE rule_id = 'dataTransferInByRecord'; (AbSystemAdministration) as this should not be called from views.
  • PDF Forms - add rule for pdfLiveCycle.
  • Add two WFR's for Basic Rule Wizard:

    Activity: AbCommonResources
    Rule: BasicRules

    Activity: AbSystemAdministration
    Rule: BasicRuleWizService

  • Add new WFRs for AbCommonResources services:

    Activity: AbCommonResources
    Rule: DataSourceService

    Activity: AbCommonResources
    Rule: JobManagerService

  • Add a new WFR:

    Activity: AbSystemAdministration
    Rule: PasswordManagerService

  • Add WFRs in for AbSolutionsLogicAddIns (formally known as AbSolutionsLogicCookbook). (3027012)

Hoteling Activity

  • Add WFRs for checking Hoteling

Service Desk/On Demand Work Activities

  • Consolidate OD/SD WFR's to service level rules instead of individual method rules

Portfolio Administration Activity

  • Remove rule that was replaced with JavaScript:

    DELETE FROM afm_wf_rules WHERE rule_id = 'checkOwnership' AND activity_id = 'AbRPLMPortfolioAdministration';

Portfolio Forecasting Activity

  • Update WFR's to new service format: (3025763)

Government Property RegistryActivity

  • Update WFR's to new service format:
  • UPDATE afm_wf_rules SET rule_id = 'GovPropertyRegistryService' WHERE activity_id = 'AbRPLMGovPropertyRegistry' AND rule_id = 'ActivityService';

Capital Budgeting/ Project Management Activities

  • Update WFR's to new service format (ProjectManagementService, MsProjectService and CapitalProjectsService) (3025759)

Emergency Preparedness Activity

  • Add EP Common Handler (3026971)

Energy Management

  • Add WFRs

Reservations Activity

  • Consolidate Reservations WFR's

Move Management Activity

  • Consolidate Move Mgmt WFR's

Asset Management Activity

  • Add WFRs

Package and Deploy Wizard

  • Add new afm_wf_rules record for the App Up Wiz

Process Navigator

Smart Client:

  • Add Smart Client Process Navigators

System

  • Update AbSolutions (3026908)
  • Rename and re-order Sys Man ptasks (3027052)
  • UPDATE afm_ptasks SET task_file = 'ab-sys-user-procs.axvw' WHERE task_file = 'ab-ex-user-procs.axvw' AND activity_id = 'AbSystemAdministration';
  • Rename the �Risk Management� domain to "Environmental & Risk Management" Domain.
  • Add: System Administration / Business Process Owner / Run Basic Rule Wizard --- ab-basic-rule-wizard.axvw
    under "Run Dashboard Definition Wizard"
  • Add task for: AbSystemAdministration / ARCHIBUS Administrator / Encrypt Passwords in Configuration Files
  • Overlay Process Navigator task updates
  • Update help links.
  • Add "Report with Data Transfer of Documents" --- ab-ex-dt-activity-log-with-docs.axvw
    under: Technologies / User Interface Add-Ins / Parts for Reports / Report with DOC, PDF, Excel, and Data Transfer Actions
  • Change afm_pubgraphics to afm_pubgraphicst to get the command line form of this command.
  • Rename the Technologies/System Integrator Views to User Interface Add Ins.
  • Rename the Business Logic Integrator Views to the Business Logic Add Ins.
  • Rename "extensions" to "Add In Management".
  • Delete Workflow Manager process under under System Administration activity (moved items to Add In Manager ).
  • Move AbSolutionsLogicCookbook activity tasks into AbSolutionsLogicAddIns.
  • Delete AbSolutionsLogicCookbook activity.
  • Create a Basic Rule Wizard ptasks in the AbSolutionsLogicAddIns process.
  • Move ARCHIBUS Administrator tasks (password and user management) from System Administrator to ARCHIBUS Administrator.
  • Rename the System Administration/System Integrator process to Add In Management.
  • Move the Add In Management tasks (workflow rules, views, pnav tasks) from Business Process Owner to Add In Management.
  • Remove "/FM" from some activity descriptions.
  • Delete "Workflow" process and ptasks from beneath the User Interface Add Ins (as it is now under Business Logic Add Ins).
  • Create new views for the System Administration Activity--Assign Processes to Roles, Create User Identities from Employees, Synchronize User and Employee Identities and for the Technologies/Parts for Forms--Adding Panel Instructions (kb 3024782)
  • Create two new WFRs--assignAllActivitiesToRole, deleteAllProcessesAssignedToRole

Background views

  • Update PNav to remove old background views and replace them with the new Define Locations and Define Organizations views (3024964):

Move Management Activity

  • Remove old Define views and replace with Define Locations and Define Organizations
  • Update Move Process Navigator with new role and tasks:
    • Change Define Employees, under BPO, to point to: ab-sp-def-em.axvw
    • Delete existing Churn Reports from afm_ptasks
    • Add Scenarios
    • Add an afm_userprocs record assigning activity_id="AbMoveManagement" process_id="Move Scenario Planner" to users AFM and Abernathy
  • Move Business Process Owner process to first in list (KB 3025859)
  • Add a view for defining Tagged Furn
  • Remove the task "Examine Group Move Spreadsheet"
  • Add Dashboards
  • Remove remaining "Spreadsheet" views. (3027185)

Delete the following:

Activity Process or Role Task
AbMoveManagement Craftsperson Examine Group Move Spreadsheet
AbMoveManagement Data Coordinator Examine Group Move Spreadsheet
AbMoveManagement Voice Coordinator Examine Group Move Spreadsheet

Asset Management Activity

  • Make the following changes to the Web Central Process Navigators to make them consistent with the additions for the Smart Client Process Navigators:
    • Asset Portal - Background Data (Smart Client Only � do not put on Web)
    • Asset Portal - Equipment Asset Control (updated process, add new URLs, don�t add grid views)
    • Asset Portal - Furniture Asset Control (updated process, add new URLs, don�t add grid views)
    • Asset Portal - Depreciation (new process)
  • Add some telecom views
  • Add Furn. Std. views
  • Under Equipment, under Telecom Console, add: "View Jack and Equipment Plan" (ab-ap-eq-plans.axvw )
  • Change "Telecom Assets Console" to "Equipment Assets Console" (3026259)
  • Web Central, move Edit Furniture Standards from the Tagged Furniture process to the Background Data process, as that is where all other standards data is developed.
  • Change both "Tagged Furniture" process titles to just "Furniture" since furniture standards inventory tasks are included.
  • Software - View and Edit Software Standards - Move to Background process.
  • Add rules to publish Tagged Furniture and Furniture Standards to the drawing publishing rules table.
  • Add a Process task to publish furniture graphics.

Space

  • Add reports in Shared Workplace Chargeback: "View Over-allocated and Under-allocated Rooms", "View Overall Utilization by Department", and "View Overall Utilization by Room".
  • Import - afm_ptasks_view_overallocated_rooms.xml
  • Update Space Planning & Management P-Nav to make it clearer and more organized (3024947)
  • Add three tasks to the Space Inventory & Performance activity to add/edit hatch patterns. (3026975)

Emergency Preparedness

  • Change "AbSpaceEmergencyPreparedness" to "AbRiskEmergencyPreparedness".
  • Add Smart Client PNav entries
  • Add some PNav entries for Overlay to publish EP Zone and Reg Compliance info. (3024441)
  • Change the "Business Unit Managers" / "Review Site Status by ..." task names to "Review Room Status by ..."
  • UPDATE afm_ptasks SET task_file = 'ab-ep-draw-fire-zones-gd.axvw
    'WHERE activity_id = 'AbSpaceEmergencyPreparedness' AND process_id = 'Define Systems and Zones (SC)' AND task_id = 'Draw Fire Zones';
  • First Responders -- Call Up Egress Plans/Hazmat Plans tasks -- Change to "View Egress Plans", etc.
  • Change "Emergency Response Team" process to "Emergency Response & Recovery Teams" (3026809)
  • Change Zone tasks to be consistent (3026797):

    "Define Systems and Zones (CAD)" and similar for "Define Systems and Zones (SC)":

    Set Fire Zones ---> Set Fire or Smoke Zones

    Set Sprinler Zones ---> Set Sprinkler Zones

    Set Security Zones ---> {same}

    Set Emergency Zones ---> Set Emergency Lighting Zones

    Set HVAC Zones ---> {same}

  • "Define Systems and Zones (CAD)" and "Define Systems and Zones (SC)" - Add views for: (3026750)

    "Draw Egress Plans" -- ab-ep-draw-egress-plan-gd.axvw

    "Draw Hazardous Material Plans" -- ab-ep-draw-hazmat-plan-gd.axvw REG-EGRESS

  • Web Process Navigator - Add the following two views to the Web Emergency Preparedness Business Process Owner process:

Define Systems -- need a new .axvw - ab-ep-def-systems.axvw --- Change Smart Client PNav to refer to this Web view since the -gd view is actually a Web View

Define Systems Dependencies -- need a new .axvw - ab-ep-def-system-dependencies.axvw

  • Add two new views to the Web Emergency Preparedness Business Process Owner process:

Define Geographic Locations----------ab-def-geo-loc.axvw

Define Locations

Define Organizations

Define Companies ---------- ab-rplm-companies-define.axvw

Define System Types

  • Smart Client Process Navigator - Add "Define System Types" - The new view should be: ab-ep-def-system-types-gd.axvw.
  • Business Process Owner - Remove Define Recovery Team Call List and add to Emergency Response & Recovery Teams process (3026788)
  • (3026830):

    UPDATE afm_ptasks SET task_id = 'Define Employee Emergency Information' WHERE activity_id = 'AbSpaceEmergencyPreparedness' AND process_id = 'Business Process Owner' AND task_id = 'Enter Employees Emergency Contact Information';

  • (3026831):

    UPDATE afm_ptasks SET task_id = 'Update Advisory Bulletin' WHERE activity_id = 'AbSpaceEmergencyPreparedness' AND process_id = 'Business Unit Managers' AND task_id = 'Edit Advisory Bulletin and Instructions for Managers';

Reservations Activity

  • Change legacy background data views to use newer location and organization views ((3024786)

Hoteling Activity

  • Activate the Hoteling activity:

    UPDATE afm_activities SET is_active = 1 WHERE activity_id = 'AbSpaceHotelling';
    INSERT INTO afm_actprods (product_id, activity_id, activity_cat_id) VALUES ('AbWorkplaceServices', 'AbSpaceHotelling', 'NONE');

  • Create Hoteling Process Navigator entries:

    Create three new users with three new roles: HOTEL ADMIN, HOTEL ALL DPS, and HOTEL NO APPROVAL (both user name and role name)

    Create three new groups: HOTELING ADMINISTRATION, HOTEL BOOKINGS ALL DEPARTMENTS, HOTEL BOOKINGS WITHOUT APPROVAL

    Assign HOTEL ADMIN to HOTELING ADMINISTRATION, HOTEL ADD DPS to HOTEL BOOKINGS ALL DEPARTMENTS, and HOTEL NO APPROVAL to HOTEL BOOKINGS WITHOUT APPROVAL:

Reservations Activity

  • For two records in afm_ptasks, the task_file is set to "ab-sp-def-loc.axvw", but it should be set to "ab-sp-def-loc-rm.axvw". (3024964)
  • Activity AbWorkplaceReservations, process Reservation Manager
  • Activity AbWorkplaceReservations, process Develop Background Data

Service Desk/On Demand/Preventative Maintenance Activities

  • Add a task to allow clients to review and submit previously un-submitted service requests. (3021037)
  • Put Bus. Proc. Owner process at top

    UPDATE afm_processes SET display_order = 50 WHERE activity_id = 'AbBldgOpsHelpDesk' AND process_id = 'Business Process Owner';

    UPDATE afm_processes SET display_order = 50 WHERE activity_id = 'AbBldgOpsOnDemandWork' AND process_id = 'Business Process Owner';

    UPDATE afm_processes SET display_order = 50 WHERE activity_id = 'AbBldgOpsPM' AND process_id = 'Facilities';

    UPDATE afm_processes SET display_order = 75 WHERE activity_id = 'AbBldgOpsPM' AND process_id = 'Maintenance';

    UPDATE afm_processes SET display_order = 700 WHERE activity_id = 'AbBldgOpsPM' AND process_id = 'Service Desk Manager';

  • Add vendors to On Demand Work under Inventory Manager (3026448)
  • Consolidate the views that supervisors and craftspersons use to issue, update, and update labor hours for work requests.
  • Add Define Work Teams task (3026500)
  • Update afm_ptasks to include Define Geographical Locations in the Business Process Owner processes for Service Desk, On Demand Work, and Preventive Maintenance.
    Along with the inclusion of the Timezone field on the City tab, this will allow users to define timezones for use in these applications.

Energy Management Activity

  • Change activity_id = "AbRPLMEnergyManagement" to "AbRiskEnergyManagement"
  • Add Process Navigator entries

Environmental. Sustainability:

  • Add PNav entries

Hoteling Activity

  • Add PNav entries

Real Estate Portfolio Management Domain

  • New view additions for suites:
Define Leases grid ab-sp-def-ls-gd.axvw
Define Suites by Lease grid ab-sp-def-su-by-ls-gd.axvw
Draw Suites Grid CAD ab-sp-draw-rm-cad.axvw
View Unaccounted Suite Area Web URL ab-sp-su-unaccounted.axvw
View Vacant Suites Web URL

ab-sp-su-vacant.axvw

Highlight Vacant Suites Web URL ab-sp-hl-su-vacant.axvw
View Suites for Expiring Leases Web URL ab-sp-su-expiring.axvw
Highlight Suites for Expiring Leases Web URL

ab-sp-hl-su-expiring.axvw

Highlight Suites by Lease Web URL ab-sp-hl-su-by-ls.avw
View Suites by Building Web URL ab-sp-su-by-bl.avw
View Suites by Floor Web URL ab-sp-su-by-fl.avw
ab-sp-su-by-fl.avw Web URL ab-sp-su-by-ls.avw

The last eight views are on the Web PNav under Suite Analysis

Also added to afm_userprocs for user AFM

  • Portfolio Management / Background Data --- under Define Locations add Define Counties - ab-repm-counties-define.axvw
  • Update task list for: AbRPLMLeaseAdministration / Lease Portfolio

Project Management Activity

  • UPDATE afm_ptasks SET task_file = 'ab-proj-projects-calendar.axvw' WHERE task_file = 'ab-proj-projects-calendar-mssql.axvw';
  • Add afm_ptask for �View Active Projects Timeline� ( ab-proj-active-projects-timeline.axvw ) under Capital Project Management / Project Management / Monitor / View Projects Map

Localization Activity

  • Add view for: Edit Language Glossary Table (lang_glossary) (3027060)

Licensing

  • Define a new ACTIVITY LICENSEE role for application-style licensing.
  • Create a new AIDEMOACT for testing activity style licenses and Z-NAMED% users for testing named licensing.

Technologies Domain

  • Add 3D chart views
  • Add new grid and paginated report sample views to the Technologies Process Navigator (3027629)

Data changes:

System:

  • Set default Smart Client Asset Type views.
  • Set afm_scmpref.units to 1
  • messages table - Update message for AbSystemAdministration / SEND_REQUEST_NEW_PASSWORD_BODY to be:
    ** This is an automatically generated message. Please do not respond to this e-mail ***
    User {0} has requested a change of password. (3024741)
  • afm_flds - enum list for afm_dwgpub.rule_type � remove extra line return in �QUERY TEXT�
  • Update afm_dwgpub rules for SWF and JSON rules:
    Import: afm_dwgpubUpdateFor191.xml
  • afm_scmpref.preferences - add: <field table="questionnaire" field="title" /> (3026427)
  • Add data afm_roles, afm_users, and afm_roleprocs data to support new licensing changes
  • Add the '%' security group to the level roles so that users are not locked out from editing any fields.
  • Add user Z-ACP for testing.
  • Update afm_atyp to make a number of tables database driven instead of drawing driven.
  • Remove obsolete activity parameter code entry AbSystemAdministration / ESRIArcWebServicesKey (3027882)
  • Change the afm_activities.summary values for AbRiskEs and AbSpaceHoteling to remove "Extension License"
  • Import lang_lang.locale data. (3027425)
  • Update AFM password to be lowercase:
    UPDATE afm_users SET user_pwd = 'afm' WHERE user_pwd = 'AFM';
  • Update afm_userprocs to assign user 'AFM' to all processes:

    INSERT INTO afm_userprocs ( activity_id, process_id, user_name )

    SELECT afm_processes.activity_id, afm_processes.process_id, 'AFM'

    FROM afm_processes, afm_activities

    WHERE afm_activities.activity_id = afm_processes.activity_id

    AND afm_activities.is_active = 1 AND afm_processes.is_active = 1

    AND NOT EXISTS (SELECT 1 FROM afm_userprocs WHERE user_name = 'AFM'

    AND afm_userprocs.activity_id = afm_processes.activity_id

    AND afm_userprocs.process_id = afm_processes.process_id );

    DELETE FROM afm_userprocs WHERE (SELECT is_active FROM afm_processes WHERE afm_userprocs.activity_id = afm_processes.activity_id AND afm_userprocs.process_id = afm_processes.process_id ) = 0
    OR (SELECT is_active FROM afm_activities WHERE afm_userprocs.activity_id = afm_activities.activity_id ) = 0;

Preventive Maintenance Activity

  • Update helpdesk_sla_response and helpdesk_sla_steps for an extra Verification step in one of the PM SLAs.

Hoteling Activity

  • Add Activity Parameters.
  • Add activity_type of �SERVICE DESK � HOTELING�
  • Add afm_groupsforroles data for hoteling
  • Add afm_userprocs data for hoteling
  • Add the "SPAC%" security group to the roles: HOTEL ALL DPS and HOTEL NO APPROVAL (3025571)

Asset Management Domain

  • Add records to afm_dwgpub for jk and eq assets:

    rule_id = AbPubJk; table_assigned = jk; rule_type = JSON; is_active = JSON; title = Publish Jacks

    rule_id = AbPubEq; table_assigned = eq; rule_type = JSON; is_active = JSON; title = Publish Equipment

Version 18.2 Database Version 130

Schema Preferences

  • Update Db Version Date to: 2009.09.13
  • Update Db Version number to: 130

Schema changes

System

  • afmroles: changed vpa_restriction to be 5000 characters in size. (3022214)
  • Set the following field's afm_type to "Calculated":
Table Name Field Name
afm_holiday_dates auto_number
fn fn_id
fn_trial fn_id
gp gp_id
grp_trans grp_trans_id
mo mo_id
pms pms_id
reserve res_id
reserve_rm rmres_id
reserve_rs rsres_id
rmpct pct_id
serv serv_id
system_dep auto_number
vert vert_id
  • rm: Added data transfer field
  • em: Added a document field for Employee photo.

Real Estate Portfolio Management Domain

  • contact: Added a document field for contact photo.

Condition Assessment Activity

  • Added assessment_id to activity_log and hactivity_log tables. Same as activity_log_id, calculated so can not manually edit. Automatically filled in.

Service Desk/On Demand Work Activities

  • Ran "System/ Schema/ Define/ Update Service Desk and On Demand Work SQL Views" to recreate hactivity_logmonth SQL view (3023701)

Preventive Maintenance Activity

  • Support SLA's for PM Work Requests:
    • Added field helpdesk_sla_request.pmp_id
    • Added new table named “pmgen” and titled “PM Work Order Generation Rules”. (Provides for defining schedules, for filtered conditions, for when PM Work Orders will be auto-generated.)
  • Added field pmp.pmp_ids_to_suppress

Project Management Activity

  • project table; fields date_app_mgr2 and date_app_mgr are currently Char(10); changed to be date fields (33024244)

Localization Activity

  • Add Localization activity data (3023984)

    8 tables affected:

    afm_tbls (definitions added for: lang_lang, lang_strings, lang_files, lang_enum, lang_glossary )

    afm_flds (definitions added for: lang_lang, lang_strings, lang_files, lang_enum, lang_glossary )

    afm_activities

    afm_actprods

    afm_processes

    afm_ptasks

    afm_userprocs

    afm_wf_rules

Localization

To get the new fields into afm_flds_lang ran:

INSERT INTO afm_flds_lang (table_name, field_name)

SELECT table_name, field_name FROM afm_flds

WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang afm_flds_lang_inner

WHERE afm_flds_lang_inner.table_name = afm_flds.table_name

AND afm_flds_lang_inner.field_name = afm_flds.field_name )

Workflow Rules

SysAdmin

  • Added Data Transfer WFR
  • Added Cascading Updates and Deletes WFR

Condition Assessment Activity

  • Added ConditionAssessmentService WFR

Preventive Maintenance Activity

  • Deleted all existing WFR's for PM and then added PMEventHandlers for v18.2

Capital Budgeting:

  • Update xml_rule_props field for copyTemplateActionsToProject to handle V1.0/V2.0 views

Process Navigator

System

  • Added task "Merge Primary Key" under System Admin/ Business Process Owner/
  • Changed: /Technologies /System Integrator Views /Parts for Reports / "Report with PDF and Excel Export Actions" to: Report with DOC, PDF, Excel, and Data Transfer Actions
  • Added sub-folder values to the afm_activities table for those records that are Active, have Web Processes, and are missing values for the sub-folder. (Needed for localization).
  • Added "Report with Passed Restrictions & Parameters" to Business Process Owner Views / Paginated Reports
  • Removed help links from some afm_activities
  • Updated help links for afm_processes

Preventive Maintenance

  • Added a process on the Process Navigator “Service Desk Manager”.
  • Added a task “Manage Work Order Generation Rules” to the Maintenance Manager process.
  • Added a task “Planning Board” to the Supervisor and Supervisor (Work Requests) processes within AbBldgOpsPM.
  • Changed the task name “View Unissued PM Work Orders” to “View Active PM Work Orders”.
  • Added a task “Overdue PM Work Requests” to the Reports process.
  • Changed file for PM / Service Desk Manager / "Manage Service Level Agreements" task
  • Added PM Dashboard

Condition Assessment

  • Implemented the Process Navigator for Web Central

Localization Activity

  • Added an afm_activities record for the Activity: “AbSolutionsLocalization”
  • Assigned the AbSolutionsLocalization activity to the AbSolutionTemplates (Technologies) Domain with an afm_actprods record.

Space

  • Added an additional Space Mgmt dashboard

Capital Budgeting:

  • Updated Process Navigator
    • Changed task file for Capital Budgeting > Prioritize & Estimate (Optional) > Add or Edit Actions view

    • Added new task Prioritize & Estimate (Optional) > Create Facility Condition Index Scenarios

    • Changed task file for Prioritize & Estimate (Optional) > Analyze Facility Condition Index Scenarios

System Administrator

  • Added a new view: View Users Logged Into ARCHIBUS (3023925)

    Beneath this current view: System Administration / System Administrator / View Program Information and License Usage

Data changes

Condition Assessment

  • Added and updated sample data for the following tables:
    • project
    • afm_processes
    • afm_ptasks
    • afm_userprocs
    • wo
    • activity_log
    • wr
    • wrcf
    • wrtr
  • Add image data to 4 activity_log records
  • Add to projecttype table: project_type="ASSESSMENT - ENVIRONMENTAL"; description="Environmental Assessment project"
  • Copied Condition Assessment images from image fields to document fields.

Preventive Maintenance

  • Sample data changes:
    • pmgp_add_ahu_route.xml
    • pms_update_pm_group.txt
    • cf_add_jeff_to_market_team.txt
    • pmp_for_suppression.xml
    • pmgen_for_ahu_pm_pmgp.xml
    • helpdesk_sla_request_for_pm_slas.xml
    • helpdesk_sla_response_for_pm_slas.xml
    • afm_ptasks_correct_sla_task_file.txt

Service Desk/On Demand Work

  • Changed link in Notification of Escalation for Response (3023826):

Space

  • Updated room types and room standards hatch patterns because highlight pattern legends did not display because the Hpattern Acad value was either null or white. (3023798)
  • Added building images to the bl and property tables doc fields.

Project Management

  • Updated dates for activity_log records assigned to projects so that the tasks are more current (3015504)

Version 18.1 Database Version 129

Schema Preferences

  • Updated Db Version to 129
  • Updated Db Version Date to 2009.06.29

Web - Core

Schema:

  • afm_flds table: set "Is Asset Text?" to 4 for rm.area
  • Add fields for default width and height for drawings in paginated reports at tabloid (11x17) or at A3 size (as opposed to the A4 size). (3022469)
  • Localization - Update afm_flds_lang from afm_flds

Workflow Rules:

  • Add new WFR's for v18.1 Space Mgmt, RPLM, and core ( 3021444)
  • DELETE FROM afm_processes WHERE display_order = 0 AND process_type = 'WINDOWS'; (3021903)
  • Add new AbSystemAdministration WFR: AbSystemAdministration-ConfigHandlers
  • All AbSolutionsViewExamples WFRs have been removed and replaced by four new WFRs:
  • AbSolutionsViewExamples-LogicExamples
  • AbSolutionsViewExamples-JobExamples
  • AbSolutionsViewExamples-TimelineExamples
  • AbSolutionsViewExamples-WSClientExamples
  • Import .../ab-products/common/AbCommonResources-workflowrules.xml ( AbCommonResources-SpaceService WFR was previously incorrect )
  • Paginated reporting - import - afm-docx-paginated-report-wrokflow-rule.xml
  • DELETE FROM afm_wf_rules WHERE activity_id = 'AbRPLMPortfolioAdministration' AND rule_id = 'getMapData'
  • Import: paginated_reporting_wfr.xml (this adds the generatePaginatedReport rule with the ReportBuilderJob as opposed to the previously added generateDocxReport rule for ReportBuilder.)
  • Import: PerUserFileExpiration_afm_wf_rules.xml (3022579)
  • Four scheduled rules use incorrect repeatInterval value.
  • First, restrict afm_wf_rules WHERE xml_sched_props LIKE '%repeatInterval="86400000"%'
  • Delete the xml_sched_props value from the AbBldgOpsHelpDesk/ testTemplate rule.
  • Then, change "86400000" to "86400" (these values should be seconds in a day; NOT milliseconds).
  • Add AbCommonResources-EmailService and AbCommonResources-HighlightPatternService
  • Import the new rules defined in ab-products/solutions/logic-cookbook/AbSolutionsLogicCookbook-workflowrules.xml
  • Import the workflow rules from AbSolutionsWorkflow-workflowrules.xml

Process Navigator:

  • UPDATE afm_ptasks SET task_file = 'ab-setup-license-file.axvw' WHERE task_file = 'setup-license-file.axvw' (3022747)
  • UPDATE afm_ptasks SET task_action = 'afm_vertservtorm' WHERE task_action = 'AfmConvertVertServToRoom'; (3023147)
  • DWF to SWF changes:
    • Import afm_ptasks_DWF_to_SWF_AbEmergPrep.xml
  • Consolidate Enhanced All Room Inventory and Basic All Room Inventory in Windows and CAD PNavs. (3023221)
  • Added help links for new v18.1 Web processes.
  • Update online help links. Import: misc_help_links_v181.xml
  • Two "Calculated Field" reports added to AbSolutionsViewsSystemIntegrator (calculated_SQL_field_ptasks.xml)
  • Five "Cross-table" views added to AbSolutionsViewsSystemIntegrator (cross_table_ptasks.xml); (cross_table_ptasks_additional.xml)
  • Update GIS views (3022315)
  • Change Move Management activity to Enterprise Move Management (3022528)
  • Remove the "/FM" from the ARCHIBUS/FM System Administration activity title (3022528)
  • Update for help links.
  • Under: Technologies > Software Engineer Views > Advanced Techniques. Import:
  • questionnaires_ptasks.xml
  • Questionnaire Wizard (solutions/programming/questionnaire/ab-ex-prg-questionnaire-wizard.axvw)
  • Virtual XML Fields: A Questionnaire Report (solutions/programming/questionnaire/ab-ex-prg-questionnaire-report.axvw)
  • Virtual XML Fields: A Questionnaire Form (solutions/programming/questionnaire/ab-ex-prg-questionnaire-form.axvw)
  • Generating a Questionnaire Action Response (solutions/programming/questionnaire/ab-ex-prg-questionnaire-action-response.axvw)
  • Add the AbSolutionsLogicCookbook to the PNav: (3022729)
  • Make inactive: Workplace Portal activity
  • Make inactive: Building Ops/Building Ops activity
  • Add new icons for Product level in PNav. Import: afm_products_32x32_icon_names.xml
  • Correct the large icons for the Activity and Move Management processes. Import: afm_process_16x16_icon_names.xml
  • Add paginated report views to the Technologies PNav. Import:
  • 18-1_afm_processes_entries_Paginated_Reports.xls
  • 18-1_afm_ptasks_entries_Paginated_Reports.xls
  • afm_userprocs_entries_PaginatedReports.xml

Data:

  • Import items-3023183-doc1.xml -- adds Drawing Publishing rules: AbPubRegcompliance, AbPubZone
  • UPDATE afm_dwgs SET report_height_tabloid = 9.5 (3022912)
  • Table ac - corrected sample data in hierarchy trace field
  • add to afm_scmpref.preferences:
  • <field table="programtype" field="program_type" />
  • <field table="programtype" field="description" />
  • In cases for which we are listing “Reports” as the process, don't repeat the activity name in the Report process name.
  • Bad data in contact table: UPDATE contact SET contact_id = UPPER( contact_id ) (3022636)
  • Add perUserFileExpiration activity param. Import: items-3022578-doc1.xml (3022578, 3022579)
  • Add group publishing rule and update descriptions of enterprise graphics rules. Import: afm_pubdwg_entgraphics_rules.xml (3022586)
  • Add the ESRI ArcGIS Online Activity Param: ESRIArcGisOnlineServicesKey -- Import: ESRIArcGisOnlineServicesKey.xml (3022621)

Real Estate Portfolio Management Domain

Schema:

  • Add fields:To invoice_payment table (An invoice_payment record with a NULL invoice_id can be used to record overpayments):
  • contact_id --- to record who the payment is from, validates on contact table
  • payment_method --- Char 6 -- enum: CHECK;Check;CREDIT;Credit Card;DEBIT;Debit Card;PAYPAL;Paypal;WIRE;Wire Transfer;
  • Forecasting:
    • Add table: portfolio_scenario (portfolio_scenario_id and description fields)
    • gp table - Add field: portfolio_scenario_id
    • Create a validating Portfolio Scenario table.Make sure this always has a "Baseline" default scenario record.
  • Change ml_heading of portfolio_scenario_id from: "Portfolio Scenario Code" to: "Portfolio Scenario"
  • Add portfolio_scenario as validating table for gp.portfolio_scenario_id in afm_flds
  • Change the fields ( area_common, area_rentable, area_usable ) in the ls table to be Numeric 10.2 instead of Numeric 9.1 (3022851)

Workflow Rules:

  • Import ...\schema\ab-products\rplm\common\AbRPLMPortfolioAdministration-workflowrules.xml ( updates the AbRPLMLeaseAdministration-calculateCashFlowProjection eventhandler to use the new "simple" workflow methods. )
  • Import: afm_wf_rules_AbRPLMGroupSpaceAllocation_updateGroupAllocationCosts.xml
  • Import: RPLM_Portfolio_Scenarios_wfr.xml
  • Import WFR: ...\schema\ab-products\rplm\common\AbRPLMChargebackInvoice-workflowrules.xml file

Process Navigator:

  • Add new PNav entries for Cost Admin and Cost Chargeback and Recievables
  • Change the domain "Real Property Portfolio Management" to "Real Estate Portfolio Management"
  • Make inactive: Real Property and Lease Portal activity
  • Add REPM dashboards. Import:
  • REPM_Dashboard_afm_processes.xml
  • REPM_Dashboard_afm_ptasks.xml
  • REPM_Dashboard_afm_userprocs.xml
  • Add To: Real Property Portfolio Management – Cost Chargeback & Invoicing – Business Process Owner:
  • Add: under - Real Estate – Portfolio Management – Portfolio Management – Reports. Import
  • PortfolioAdministration_Reports_Afm_processes.xml
  • PortfolioAdministration_Reports_afm_ptasks.xml
  • PortfolioAdministration_Reports_Afm_userprocs.xml
  • Buildings by ...
    • ... Country ab-rplm-pfadmin-bldgs-by-country-report.axvw
    • ... City ab-rplm-pfadmin-bldgs-by-city-report.axvw
  • All Buildings and their Book Values (View file name: ab-rplm-pfadmin-bldgs-book-values-report.axvw)
  • Structures by:
    • ... Country (View file name: ab-rplm-pfadmin-struc-by-country-report.axvw)
    • ... City (View file name: ab-rplm-pfadmin-struc-by-city-report.axvw)
  • Land by:
    • ... Country (View file name: ab-rplm-pfadmin-land-by-country-report.axvw)
    • ... City (View file name: ab-rplm-pfadmin-land-by-city-report.axvw)
  • All Properties and their Book Values (View file name: ab-rplm-pfadmin-props-book-values-report.axvw)
  • Portfolio Investments (View file name: ab-rplm-pfadmin-investments.axvw)
  • Portfolio Sales (View file name: ab-rplm-pfadmin-sales.axvw)
  • Add: Portfolio Forecasting activity

Data:

  • Import sample data for Forecasting activities:
  • LXBuilding.xml
  • LXFloor.xml
  • LXGroups.xml
  • LXCosts.xml
  • Update cost_tran_recur records for rent costs in HQ bldg that expire in 2008 and 2009 to expire later
  • Import: prepayments_for_invoice_payment_table.xml
  • ls table - Updated dates; updated and filled in area negotiated. Import: ls_date_update_and_filling_the_area_neg_rentable_field.xml
  • Invoice - Closed an old invoice. Make Several new invoices. Import: RPLM_v18_1_invoice.xml
  • Invoice_payment - Added some invoice payments. Added some prepayments. Import: RPLM_v18_1_invoice_payment.xml
  • Cost_tran_recur - An update to the cost dates. Import: cost_tran_recur_plus_three_years.xml
  • Cost_tran_sched - An update to the cost dates. Import: cost_tran_sched_plus_three_years.xml
  • Cost_tran - An update to the cost dates. Some costs were marked with Cost Status as Receivable but the Date Paid was not NULL.
  • Updated some of the cost statuses to Received. Added Invoice Code (since several invoices were added).
  • Import: cost_tran_plus_three_years_and_updated_invoice_id.xml

Space Management Domain

Schema:

  • Add fields:
  • rmcat table:
    • used_in_calcs: Char 20 default "all_totals"
    • enum list: all_totals;All Totals;rm_totals;Room Totals Only;dp_comn_ocup_totals;Dept., Common, Ocup Totals Only
    • supercat: Char 4 default "PERS"
    • enum list: VERT;Vertical Penetration;SERV;Service Area;PERS;Personnel Area;OTHR;Other Area
    • cost_sqft (same as in bl and fl tables)
  • rm table:
    • cost_sqft (same as in bl and fl tables)
    • cap_em (Employee Capacity)
    • rmcat.used_in_calcs -- add ";no_totals;No Totals" to the enum list.
    • rmcat.supercat -- change the PERS value in the enum to: USBL;Usable Area; change the default value to "USBL"
  • Also: UPDATE rmcat SET supercat = 'USBL';
  • Decimal places set to 0 in the fl table in the physical database (not in afm_flds). Run Update Schema on the fl table to resolve. (3022415)
  • In afm_flds table, REPLACE( ml_heading, 'Comn.', 'Common') WHERE ml_heading LIKE '%Comn.%' (3022852)
  • fl table -- add "Total" to the ML Heading for the Room Area fields (3022853)

Workflow Rules:

  • Import: workflow-highlight-dialog.xml

Process Navigator:

  • Add new PNav entries for v18.1 Space Mgmt Web Activities
  • Remap existing Web Space activity ptasks to new views. Import: afm_ptasks_webc_space_legacy_views.xml
  • Change the titles of the Process Navigator tasks that generate these graphics from:
  • Publish to SWF (This Drawing)
  • Publish to SWF (All Drawings)

    To
     
  • Publish Enterprise Graphics (This Drawing)
  • Publish Enterprise Graphics (All Drawings)
  • Update Windows and CAD PNavs. Import:
  • Space_Win_CAD_afm_activities.xml
  • Space_Win_CAD_afm_processes2.xml
  • Space_Win_CAD_afm_ptasks.xml
  • Space_Win_CAD_afm_userprocs.xml

Data:

  • Add an Activity Parameter: AbCommonResources includeGroupsInUnifiedSpaceCalcs value = 1
  • UPDATE rmcat SET supercat = 'VERT' WHERE rm_cat = 'VERT';
  • UPDATE rmcat SET supercat = 'SERV' WHERE rm_cat = 'SERV';
  • Eliminate group data from HQ 17, 18, 19: DELETE FROM gp WHERE bl_id='HQ' and fl_id in ('17','18','19');
  • Import new Space sample data:
  • NewRoomCategories.xml
  • NewRoomTypes.xml
  • HQ15HQ01Floors.xml
  • HQ15HQ01Drawings.xml
  • HQ15HQ01Gross.xml
  • HQ01Groups.xml
  • HQ15HQ01Rooms.xml
  • HQ17HQ18HQ19Rooms.xml (New Vertical and Service Rooms)
  • XC02XC03XC04Rooms.xml (New Vertical and Service Rooms)
  • HQ15Employees.xml
  • Run Space Planning & Management / Space ChargebackDevelop / Space Chargeback:
  • Update Area Totals
  • Perform Chargeback
  • Run Space Planning & Management / Personnel and Occupancy / Develop Background Data:
  • Update Employee Headcounts
  • UPDATE rm SET cap_em = (SELECT std_em FROM rmstd WHERE rmstd.rm_std = rm.rm_std) WHERE rm_std IS NOT NULL AND cap_em = 0;
  • Update hatch patterns. Import: dp_facilities_highlight_pattern.xml
  • Drawing publishing rules: AbPubGp -- is missing "gp" in Assigned table column. Add it.

Service Desk and On Demand Work activities

Schema:

  • Work Team support for Work Orders (3021926, 3021301)
    • Add work_team_id to wo and hwo tables (copy from table wr and hwr)
    • Update the enumerated list for two columns in helpdesk_sla_response: (3021917)
    • interval_to_complete and interval_to_respond. Add minutes:n;Minute;h;Hour;d;Day;w;Week;m;Month
    • Update translations in afm_flds_lang: Import items-3021917-doc2.xml
  • messages.description - change to be size 512
  • messages.is_rich_msg_format - Add. smallint; Default 0; enumeration list - 0;No;1;Yes
  • support configurable e-mail messages (3022032, 3021340)
    • afm_wf_steps - add fields "attachments", "body_message_id", and "subject_message_id" - import KB3022032-afm_wf_steps-fields.xml
    • afm_wf_rules - add new WFR's - import KB3022032-afm_wf_rules_data.xml
    • afm_wf_steps - adds sample data - import KB3022032-afm_wf_steps_data.xml
  • Ran DBUPWW.abs to add work_team_id to the SQL view wohwo
  • Forwarding SD/OD steps (3020144) -
    • afm_wf_steps data updated
    • 3 afm_wf_rules added
    • Fields with field_name like 'step_status%' - updated enum_lists.
  • custom notification support (3021340) -
    • import 2 new (DISPATCH_VIEW, ASSIGN_VIEW) and update 1 (REVIEW_VIEW) afm_activity_params records.
    • Import new and updated messages for Service Desk and On Demand Work.
    • Add 3 fields:
    • helpdesk_sla_response.notify_craftsperson
    • helpdesk_sla_response.notify_service_provider
    • helpdesk_sla_steps.notify_responsible
    • Update SQL views for SD/OD
  • Step Type enum list updated to have a display value of “Edit and Approve” where the data value is “review” (update for v17.3 missed some).

Workflow Rules:

  • Import ...\schema\ab-products\bldgops\common\AbBldgOps-workflowrules.xml

Process Navigator:

  • new navigator tasks for SD/OD / System Integrator - Manage Notifications; and for Searching for requests
  • DELETE FROM afm_ptasks WHERE activity_id = 'AbBldgOpsHelpDesk' AND process_id = 'Service Desk Manager'
    AND (task_id = 'Review all Service Requests and Work Requests' OR task_id = 'Review all Escalated Service Requests');
  • DELETE FROM afm_ptasks WHERE activity_id = 'AbBldgOpsOnDemandWork' AND process_id = 'Service Desk Manager'
    AND (task_id = 'Review all Service Requests and Work Requests' OR task_id = 'Review all Escalated Service Requests');

Data:

  • Add new step in afm_wf_steps called "Forward to Work Team" - import items-3021926-doc2.xml (3021926, 3021301)
  • Add the ability to forward service requests in the Requested status with Search. Import: bldgops_forward_requested.xml

Reservations activity

Schema:

  • run new reservationsSQLViews.abs

Data:

  • Import messages - 2008-01-13-Reservations-Timeout-message.xml (3021386)
  • Add new messages to database to support additional timezone functionality - items-3021928-doc1.xml (3021928)
  • Import rm_config_data.xml
  • Import rm_arrange_data.xml

Preventive Maintenance activity

Process Navigator:

  • Consolidate all PM reports into one process on P-Nav: (3021910)
  • DELETE FROM afm_processes WHERE activity_id = 'AbBldgOpsPM' AND process_id LIKE 'Preventive Maintenance%';
  • import items-3021910-doc1.xml, items-3021910-doc2.xml, items-3021910-doc3.xml

US Federal Property Registry activity

Data:

  • Update sample data:
  • UPDATE grp_trans SET size_unit_of_measure = NULL WHERE size_unit_of_measure = 0;
  • UPDATE grp_trans SET mission_dependency = NULL WHERE mission_dependency = 0;
  • UPDATE grp_trans SET historical_status = NULL WHERE historical_status = 0;
  • UPDATE grp_trans SET utilization = NULL WHERE utilization = 0;

Version 17.3 Database Version 128

Schema Preferences

  • Updated Db Version to 128
  • Updated Db Version Date to 2008-01-08

Web – Core

Schema:

  • Added the sql_pwd and sql_uid fields to the afm_users table (same as in afm_roles) (3020695,3018685).
  • afm_flds_lang updated to include all fields from afm_flds.

Workflow Rules:

  • Imported latest WFRs from: /schema/ab-products/solutions/common/AbSolutionsViewExamples-workflowrules.xml.
  • Imported AbCommonResources Workflow rules to get the new job rules.
  • Imported AbSystemAdministration-runFileSearch.xml.
  • Removed schedule_properties from the five WFRs that service the View Definition Wizard: deleteFile; getListOfFilesToConvert; getViewContents; moveAndRenameFile; writeViewContents.

Process Navigator:

  • Added view for "Assign Security Groups to Roles" (ab-edit-groupsforroles.axvw).
  • Added "Find Files with Duplicate File Names" under AbSystemAdministration / System Integrator.
  • Removed "Users and Their Profiles" task and views from System Administration->Business Process Owner. It duplicated "Add or Edit Users" task, and used an outdated edit form, which did not use the correct edit form for password change. (3020726)
  • Help links added and updated .

Data:

  • Changed ARCHIBUS SYSTEM ADMINISTRATOR role to NOT have sql_pwd and sql_uid values. Moved those sql_pwd and sql_uid values to another user. (3020671)

Preventive Maintenance activity

Schema:

  • pmp table:
    • Added “doc” field.
    • Added “eq_std” field.
    • Changed display value for pmp.pmp_type from "Housekeeping" to "Location" where data value is "HK". (3020450)
  • pmps table:
    • Added "doc" field.
  • pms table:
    • Added "site_id" field.
    • Default value of field “fixed” changed to “1”. (3020450)
  • wo (and hwo) tables:
    • Changed display value for wo.wo_type (and hwo.wo_type) from "Housekeeping Prev. Maint." to "Location Prev. Maint." where data value is "HSPM". (3020450)

Workflow Rules:

  • Added for Web C Prev. Maint. business logic (afm_wf_rules).

Process Navigator:

  • Additions for Web C Prev. Maint. processes and tasks (afm_processes, afm_ptasks ).

US Federal Property Registry activity

Schema:

  • Added tables:
    • grp Government Real Property
    • grp_agency_and_bureau Government Agencies and Bureaus
    • grp_trans Data Transactions - Government Real Property
    • grp_type Government Real Property Types
    • grp_use Government Real Property Uses
  • Added "Property Unique ID" field from gpr table to the bl, property and eq tables. grp_uid (copy grp.unique_identifier). This field is NOT validated since the typical user process is to first add the grp_uid values to the bl, property, or eq tables and then later on perhaps add them to the grp table.

Workflow Rules:

  • Added workflow rules for this activity.

Process Navigator:

  • Additions for US Federal Property Registry; processes and tasks (afm_processes, afm_ptasks ).

Data:

  • Imported standard gov. agencies into the grp_agency table.
  • Added a new security group: Government RPLM Inventory Process Owner.
    • Added a new role: Government RPLM Inventory Process Owner.
    • Assigned the new group to the new role.
    • Created a new user "Government RPLM Inventory Process Owner" and assigned it to the role: Government RPLM Inventory Process Owner.

Reservations activity

Schema:

  • Added Timezones table. Added FKey from city table to Timezones. Added standard timezones data to Timezones table. (3020246)
  • Updated Foreign Keys for reserve_rm to re-establish the existing defined FKeys.

Workflow Rules:

  • Added to afm_wf_rules table (3018035).

Data:

  • Messages added to the messages table for new functionality so that reservations cancellation times will consider different time zone needs. (3018035, 3021176)

Portfolio Administration and Lease Administration activities

Schema:

  • Updated su.facility_type_id to validate against the facility_type table. (3020405)
  • Changed enum list for op.who_can_exercise to be all caps: LANDLORD;LANDLORD;TENANT;TENANT;BOTH;BOTH (3021144) Also, the default value for op.who_can_exercise changed from "Both" to "BOTH".

Process Navigator:

  • Added view: “Lease Expirations by Year - Chart” (ab-rplm-lsadmin-leases-expiring-per-year-chart.axvw).

Service Desk and On Demand Work activities:

Process Navigator:

  • Changed the task names in afm_ptasks of the following tasks within activity_id = "AbBldgOpsOnDemandWork" and process_id = "Inventory Manager". (3020788)
    • changed "View and Edit Equipment Standards" to "Define Equipment Standards"
    • changed "View and Edit Equipment Inventory" to "Define Equipment"
    • changed "View and Edit Parts Inventory" to "Define Parts Inventory"
    • changed "Edit Inventory of Tools" to "Define Tools"

Data

  • Corrected standard SLA response: UPDATE helpdesk_sla_response SET serv_window_days = '0,1,1,1,1,1,0' WHERE serv_window_days = '0,1,1,1,1,0'; (3020457)

Version 17.2 Database Version 127

Schema Preferences: The Database Version schema preference (Afm_Scmprefs) was set to 127. Database Version date was set to 2008.10.23.

Schema Changes:

  • Ran the latest reservationSqlViews.abs to update the Reservations activity SQL views ( 3017224 )
  • afm_wf_steps.display_order -- changed size in afm_flds from 10 to 5. (3017390 )
  • Added date_pwd_changed and num_retries to the afm_users table. (3017913)
  • Change wr_step_waiting.step_type from size of 32 to size of 16 to match the other step_type field sizes.
  • Add table definition for workflow_substitutes ( 3016298 ):
    • Added new table: workflow_substitutes
    • Modified existing table to add field: helpdesk_sla_request.default_priority
    • Added review;Review;escalation;Escalation;forward;Forward to enumeration list for field step_type in tables: afm_wf_steps,helpdesk_sla_steps, helpdesk_step_log, activity_log_step_waiting, wr_step_waiting, helpdesk_roles
    • Changed surey to survey in enumeration list for field step_type in tables: afm_wf_steps,helpdesk_sla_steps, helpdesk_step_log, activity_log_step_waiting, wr_step_waiting, helpdesk_roles
  • RPLM changes for new Property Administration and Lease Administration activities:
    • Added tables:
      docs_assigned {Assigned Documents}
      ot {Ownership Transactions}
      facility_type {Facility Types}
      ls_clause_type ls_amendment
      ls_alert_definition
    • Table changes:
      table:op --- fields added
      table: ls_resp --- fields added
      table: su add fields: name description facility_type_id {validates on the facility_type table} table: property add fields: property_type {enum: "Land;Land;Structure;Structure" } area_manual address1 address2 prop_photo
      table: ls add fields: automatic_renewal {enum: Yes/No} use_as_template {enum: Yes/No} template_name description {varchar 512} pr_id {validates on property table}
      table: bl add fields: bldg_photo {document field} value_book {same as in property table} value_market {same as in property table} date_book_val {same as in property table} date_market_val {same as in property table}
  • Change afm_ptasks.task_file to have a size of 128 (was 64) to accommodate longer file names and the fact that adding items to "My Favorites" appends the user name to the file.
  • Change afm_processes.dashboard_view to have a size of 128 (was 64)
    Set the following fields to have an ARCHIBUS Type of Calculated:
    activity_log.step_status
    helpdesk_sla_steps.step_status
    helpdesk_step_log.step_status_result
    wr.step_status
  • op table:
    Add field: op.date_exercising_applicable
    Remove field: date_end
    Change Multi-line headings: date_option to "Date Option Window Ends" date_start to "Date Option Window Starts"
  • pms.schedule_type -- change display value for "meter" and "manual" to "Meter" and "Manual"
  • Add fields for IWMS Suite:
    gp table: area_manual, date_end, date_start, description, pct_floor, count_em
    fl table: area_manual
  •  
  • Cost of resources in Reservations should go out to two decimal places (3018032 ) Make the following fields have two decimal places (they have none now):
    rm_arrange.cost_per_unit
    rm_arrange.cost_per_unit_ext
    resources.cost_per_unit
    resources.cost_per_unit_ext
  • Change afm_users.home_page to be an enumerated field in the database, to have a default value, and not allow NULL.
    Change the default value for afm_users.home_page to be: ab-dashboard.axvw
    UPDATE afm_users SET home_page='navigator-details.axvw' WHERE home_page = 'solutionexplorer-details.axvw'
    UPDATE afm_users SET home_page='ab-dashboard.axvw' WHERE home_page = 'dashboard.axvw' ; (3019063, 3018304)
  • Change the enum for afm_users.home_page to make dashboard.axvw be ab-dashboard.axvw
  • UPDATE afm_flds SET enum_list = 'ab-dashboard.axvw;Dashboard;navigator-details.axvw;Process Navigator;accessible-details.axvw;Accessible Navigator' WHERE table_name = 'afm_users' AND field_name = 'home_page' ( 3019691, 3018816, 3019781)
  • Add site_id to table pms for PM
  • Add eq_std to table pmp for PM
  • Change the Lease Clauses table's primary key's multiline heading from Responsibility Code to Clause Code
  • Update the enumeration list for action_approval_expired fields in the resources and rm_arrange tables
  • Changes for problem 3019438
    • Remove field "em_id" from the afm_flds for "table": wrhwr
    • Re-create the SQL view "wrview" by running dbupww.abs.
  • SD/OD: change data type to “smallint” for the following two fields:
    helpdesk_sla_response.time_to_complete
    helpdesk_sla_response.time_to_respond
  • Expand mo.option2 to 35 characters to match em_id (3019423)
  • Change fixed_resource_id size from 32 to 64 characters
  • Change the primary key of the rm_resource_std table to be combination of fields:
    bl_id , fl_id , rm_id , config_id , rm_arrange_type_id , fixed_resource_id
    Since, in this case, the new Pkey includes the existing PKey as the last part and has all of the other fields that would be in the Pkey are already set to NOT allow Null the change for this PKey should not present any problems for users existing data. (3015539 )
  • Changes to support changing step name from "Review" to "Edit and Approve". (3018622)
    • Change afm_wf_step.step to "Edit and Approve" where afm_wf_step.step_type = "review".
    • Change the display value in the enum list for the "review" data value to "Edit and Approve" for afm_wf_steps.step_type.


Workflow Rule (WFR) Changes:

  • Added, changed, and deleted workflow rules records for:
    AbRPLMPortfolioAdministration
    AbRPLMLeaseAdministration
    AbWorkplaceReservations
    AbSolutionsViewExamples
    AbSolutionsMyAdn
    AbSolutionsWorkflow
    AbSystemAdministration
    AbCommonResources
  • Delete all afm_wf_rules entries for AbSolutionsExtras.
  • Change AbWorkplaceReservations-closeReservations from Type Message rule to a Scheduled rule.
  • AbCommonResources activity in afm_activities is NOT active by default - set it to active (3019314)
  • Service Desk and On Demand Work WFR Changes
    • Changed input of workflow rule: AbBldgOpsHelpDesk-archiveRequest
    • Added new workflow rules:
      AbBldgOpsHelpDesk-checkRequestDuplicates
      AbBldgOpsHelpDesk-reviewRequest
      AbBldgOpsHelpDesk-forwardApproval
      AbBldgOpsHelpDesk-forwardRequest
      AbBldgOpsOnDemandWork-cancelWorkRequests
      AbBldgOpsOnDemandWork-cancelWorkRequest
      AbBldgOpsOnDemandWork-closeWorkRequests
      AbBldgOpsOnDemandWork-closeWorkRequest
      AbBldgOpsOnDemandWork - issueWorkRequests


Process Navigator Changes:

  • Add Process Navigator entries for:
    • AbRPLMPortfolioAdministration
    • AbRPLMLeaseAdministration
  • Update help links for Web Central.
  • Add default dashboards for Reservations and Service Desk/On Demand Workd (3018856)
  • Solutions Templates Process Navigator entries added and changed
  • Drawing Views Process Navigator entries added and changed
  • UPDATE afm_users SET home_page = 'navigator-details.axvw' WHERE user_name like 'RESERVATION%' (3018822,3018856)
  • Add new tasks to the "System Administrator" process of the AbSystemAdministration activity:
    • Run Dashboard Definition Wizard
    • Run View Converter
  • Service Desk and On Demand Work changes:
    • Added processes Supervisor_WR and Craftsperson_WR for activity AbBldgOpsOnDemandWork.
    • Changed task files for ptasks for processes Client, Supervisor and Craftsperson in activity AbBuildingOperations.
    • Changed task file for AbBldgOpsOnDemandWork – Client – View Maintenance Service Request.
    • Added ptask "Determine Ordering Sequence of Service Level Agreements" for process "Service Desk Manager" in activities AbBldgOpsHelpDesk and AbBldgOpsOnDemandWork.
    • Added ptask "Define Vendors for process Business Process Owner" in activity AbBldgOpsHelpDesk.
    • Removed task "Review/Archive Closed Work Orders" from the PNav in the AbBldgOpsOnDemandWork activity . (3019854)

Data Changes:

  • Drawing Publishing Rules (afm_dwgpbub) added and updated. (3018192)
  • Activity Parameters table - records added for AbRPLMPortfolioAdministration.
  • Changed records for Service Desk and On Demand Work
  • Messages table: Added records for:
    • AbRPLMPortfolioAdministration
    • AbWorkplaceReservations
    • AbSystemAdministration (password messages) (3018223)
  • Service Desk and On Demand Work Data Changes: added Escalation, Review, and Forward steps in afm_wf_steps
  • Update bldgops_helpdesk_sla_response data (3017470)
  • Add the following new activities (3018095):
    • AbRPLMEsriExtensions Geospatial Extensions for ESRI
    • AbRPLMEsriArcWeb Geospatial Extension for ESRI ArcWeb Services
  • Add the "ED" security group as assigned to the "RESERVATION MANAGER" role.
  • Field attribute value has a white space in afm_scmpref.preferences. Remove the extra white space : <field table="afm_wf_steps" field="step " /> (3017406)
  • Sample data additions for RPLM:
    site
    property
    ls
    su
    contact
    cost_tran_recur
    ls_amendment (ls_clause_type)
    ls_resp ( docs_assigned ls_alert_definition)
  • Sample data changes for RPLM:
    property
    bl
    ls
    su
    ot
  • Employee email: Email addresses for employees do not match their updated names. Imported data from kb3018342.xls (3018342)

Version 17.1: Database Version 126

Schema Preferences: The Database Version schema preference (Afm_Scmprefs) was set to 126. Database Version date was set to 2008.02.25

Schema Changes:

  • Archiving fails in Svc Desk/OD Work because hactivity_log table is set to AUTOINCREMENT (3016730 ). To correct:
    • UPDATE afm_flds SET dflt_val=NULL WHERE table_name='hactivity_log' AND field_name='activity_log_id'
    • alter table hactivity_log: delete primary key
    • alter table hactivity_log: modify activity_log_id integer not null default null
    • alter table hactivity_log: add primary key(activity_log_id)
  • The Process Dashboard requires new columns in the afm_processes table: (3016787 ). To correct:
    • dashboard_layout char(64) : name of the layout AXVW file; used to generate default dashboard view from afm_ptasks records;
    • dashboard_view char(64) : optional, name of the custom AXVW dashboard view; if specified, dashboard_layout is not used.
    • Also, the afm_process.process_type enumeration needs to be updated, to allow the individual processes to be displayed either in Process Navigator or in Process Dashboards:
      Current enumeration: OVERLAY;Overlay;WEB;Web;WINDOWS;Windows;
      New enumeration: OVERLAY;Overlay;WEB;Web PNav;WEB-DASH;Web Dashboard;WINDOWS;Windows;
  • Multi-language fields added to resource_std table and to afm_scmpref.preferences (3017007) .
  • Work-around for UPW issue with copying data on tables with circular references. (The UPW fails to check the "validated_data" when it prepares to copy table data; it only checks the "validating table" field instead. So it decides that there is a circular reference even before the actual copy.)
    • UPDATE afm_flds SET ref_table = NULL WHERE table_name = 'activity_log' AND field_name = 'wr_id''
  • There are two enums (afm_conversions.is_currency and survey.report) that use similar enum lists but in different case. (3017165) This creates problems for the localization kit which does not distinguish enum lists by field but only by the enum list itself. Altering survey.report has the least affect on users thus the fix is to update the database per the following:
    • UPDATE afm_flds SET enum_list = 'YES;YES;NO;NO', dflt_val = 'YES' WHERE table_name = 'survey' AND field_name = 'report'
    • ALTER TABLE survey MODIFY report CHAR(4) NOT NULL DEFAULT 'YES'
    • UPDATE survey SET report = 'YES' WHERE report = 'yes'
    • UPDATE survey SET report = 'NO' WHERE report = 'no'


Workflow Rule (WFR) Changes:

  • Added WFR for Move Mgmt - Edit Multiple. ( 3016919 )


Data Changes:

Table Field Field to Validate
activity_logview dispatcher dispatcher
activity_logview manager manager
activity_logview requestor requestor
activity_logview supervisor supervisor
cf position  
cf skills  
hwo date_closed  
hwo name_authorized name_authorized
hwo name_of_contact name_of_contact
hwo name_of_planner name_of_planner
hwo supervisor supervisor
wo date_closed  
wohwo date_closed  
  • Missing data in afm_wf_steps: INSERT INTO afm_wf_steps (activity_id, status, step, display_order, step_type,) VALUES ( 'AbBldgOpsOnDemandWork', 'Basic', 'Can', 600, 'basic') (3016740)
  • Add default security groups to the abCommonResources workflow rules (3015663) .
  • INSERT INTO afm_flds_lang (table_name, field_name) (SELECT table_name, field_name FROM afm_flds WHERE NOT EXISTS (SELECT 1 FROM afm_flds_lang WHERE afm_flds.table_name = afm_flds_lang.table_name AND afm_flds.field_name = afm_flds_lang.field_name ))
  • Some translatable fields are missing from afm_scmpref.preferences (3017089, 3017240 ):
    • Add: afm_wf_steps.step. (Also add the localization fields for afm_wf_steps.step to afm_flds.)
    • afm_wf_steps.step_type and afm_wf_steps.status are Enumerated fields. Remove them from afm_scmpref.preferences.
    • helpdesk_roles.step_type is an Enumerated field. Remove it from afm_scmpref.preferences.
    • helpdesk_sla_response.priority_label and messages.message_text. These do have localization fields so it is appropriate to have these in the afm_scmpref.prefereces field.
  • UPDATE afm_flds SET dep_cols = NULL WHERE ref_table IS NULL. There are a handful of fields that have values in Fields to Validate even though the Validating Table is Null. There are no functional problems, that we know of, due to this; but it is not clean. The above statement cleans this up. The fields with this condition are listed below and can be found by a restriction on afm_flds WHERE dep_cols NOT NULL AND ref_table IS NULL.
     

 

Version 17.1 Database Version 125

  • Schema Preferences: The Database Version schema preference (Afm_Scmprefs) was set to 125. Database Version date set to 12/03/2007
  • Schema Changes:
    • Added new tables for new Service Desk and On Demand Work activities:
      activity_log_hactivity_log
      activity_log_step_waiting
      activity_logview afm_holiday_dates
      afm_wf_steps hactivity_log
      hactivity_logmonth
      helpdesk_roles
      helpdesk_sla_request
      helpdesk_sla_response
      helpdesk_sla_steps
      helpdesk_step_log
      hwr_month work_team
      wr_step_waiting
       
    • Modified existing tables to add Service Desk and On Demand Work fields or to modify existing fields:
      activity_log activitytype
      afm_activities
      cf
      hwo
      hwr
      hwrcf
      hwrtr
      hwrtt
      servcont
      wo
      wr
      wrcf
      wrtr
      wrtt
    • Added "APPROVED" to activity_log.status enumeration list (3015324)
    • Added actscns table. (3011777)
    • Added Latitude and Longitude fields for property and bl tables to support ESRI integrations (3014386)
    • mo table: Changed mo.to_fax and mo.from_fax to 20 chars. (3015676)
    • mo table: from_comp_type and to_comp_type fields -- enum lists - add “N/A;N/A;” and make “N/A” the default value
    • mo.hours_actual --- set to NOT calculated
    • hreserve.res_type; resview.res_type -- removed "continuous;Continuous" from the enum list
    • activity_log table: doc field added (3016592)
    • The following 2 New enums are added to the is_active field of the afm_dwgpubrules table: (3016027)
      SWF;SWF
      JSON;JSON
       
    • fl table: Added Nominal Elevation and Nominal Height fields for the ArcObjects script for exporting 3d rooms to GIS. (3016274 )
    • cf.email -- changed ARCHIBUS Type from "Calculated" to "None"
    • Ran the new reservationSqlViews.abs to add the new SQL view for Reservations report (3015618 )
    • Ran System / Schema / Define / Update Service Desk and On Demand Work SQL Views
    • Some fields in tables that are SQL Views have an ARCHIBUS type of None; changed to be Calculated :
      hwr_month
      wr_step_waiting tables
      activity_log_hactivity_log
      activity_logview
      resrmview
      resview
      wohwo
      wrhwr
      wrview
       
  • Data Changes
    • Added some afm_activity_params values for Reservations Activity ( 3015323 )
    • Added some messages table values for Reservations Activity ( 3015369, 3015372)
    • Added activity_params values for ESRI ArcWebServices integration
    • Added new drawing rules for exporting architectural info to SWF and asset info to JSON format (3016027)
    • Added standard and sample data to the new SLA tables added for Service Desk and On Demand Work
    • Added Service Desk and On Demand Work Process Navigation and activity data to the following tables: userprocs
      groups
      roles
      groupsforroles
      activity_params
      afm_wf_steps
      messages
      activitytype
      questionnaire
      questions
      helpdesk_roles
      afm_holiday_dates
      activitytype
    • Sample Data changes:
      Change some resources.room_service values to "Yes"
      activity_log Some Action Titles updated so that the data does not all appear the same. (3016516)
      Added latitude and longitude values to the property and bl tables
  • WRF Changes
    • Changes required by the updated Capital Budgeting views
    • Changes required by the updated Project Management views
    • Added one new WFR for the Create FCI Scenarios view
    • Changes required by the updated Move Management views and for ( 3016541, 3015787, and 3015757 )
    • Added for View Definition Wizard - Added Service Desk and On Demand Work WFRs
  • PNav changes

    From

    To

    REQUESTOR

    CLIENT

    Create Work Request

    Create Maintenance Service Request

    Review Status of Work Requests

    Review Maintenance Service Request

    SUPERVISOR

    SUPERVISOR

    Create and Review as above

    Create and Review as above

    Approve and Issue Work Requests

    Issue and Print Work Orders

    Update Work Requests

    Update Work Orders and Work Requests

    CRAFTSPERSON

    CRAFTSPERSON

    Create and Review as above

    Create and Review as above

    Add Craftspersons to Work

    (Removed)

    Update Work Request

    Update Work Orders and Work Requests

    Task

    View

    Simple Tree - Departments by Division

    ab-ex-simple-tree-dpxdv.axvw

    Tree with Bridge table - Emp. by Room by Div.

    ab-ex-bridged-tree-emxrmxdv.axvw

    Tree with Console - Work Requests by Emp.

    ab-ex-tree-with-console-wrxem.axvw

    H ierarchical Tree - CSI codes

    ab-ex-simple-hierarchy-tree-csi.axvw

    Hierarchical Tree - Accounts

    ab-ex-simple-hierarchy-tree-ac.axvw

    Tree with many leaves - all rooms per every

    Emp. ab-ex-loading-test-large-rm-em.axvw

    Select Values Tree

    ab-ex-tree-selval-wr.axvw

    • Added Service Desk and On Demand Work Process Navigator Entries (activities, actprods, processes, ptasks)
    • Changed title of AbBldgOps, in afm_products table, to be "Operations Management"
    • Replaced the existing Web Central Building Operations Management views with the equivalent new On Demand forms, as listed in the following table. ( 3016496 )
    • Added the View Definition Wizard to the Process Navigator under System Administration/ System Administrator: ab-viewdef-wizard.axvw (3016505)
    • Capital Budgeting: Added view: "Analyze Facility Condition Index Scenarios" (3011777 )
    • Changed the afm_activities.subfolder value for the activity “AbSystemAdministration” from “\ab-system\system-administration” to “\ab-products\system-administration” (3015821)
    • Added Tree Control test views to Solution Templates under AbSolutionsViewsSystemIntegrator: Added a new process "Tree Views" and under that process added:
    • Add a new process: "GIS Views" under Solution Templates \ System Integrator Views. In that process added five tasks:
      Geocode Properties
      Geocode Buildings
      Manage Property Portfolio
      Manage Leases
      Manage Operations
    • Assigned the "GIS Views" process to the AFM and ABERNATHY users
    • Solution Templates / Business Process Owner Views / Edit Views: Added Edit Form Work Requests (All Fields) - RI ( 3015391 )
    • All the “fm_web_central_online_help.htm” help links changed to “afm.htm” (3015325)
    • Added two items to the ARCHIBUS Client/Server System module: "Update Service Desk and On Demand Work SQL Views"and "Run SQL Script"

Version 16.3 Database Version 124

  • Schema Preferences
  • The Database Version schema preference (Afm_Scmprefs) was set to 124.
  • Schema Changes
  • Implemented "Reservations" activity tables and fields:
  • Tables and fields added have the comment: "Reservations-v16.3"
  • New Tables added were:
    • hreserve Historical Reservations
    • hreserve_rm Historical Room Reservations (Enhanced)
    • hreserve_rs Historical Resource Reservations
    • reserve Reservations
    • reserve_rm Room Reservations (Enhanced)
    • reserve_rs Resource Reservations
    • resource_std Resource Standards
    • resources Resources
    • rm_arrange Room Arrangements
    • rm_arrange_type Room Arrangement Types
    • rm_config Room Configurations
    • rm_resource_std Room (Fixed) Resource Standards
  • In the existing tables,  fields were added to these tables:
    • rm
    • vn
    • tr
    • wr
    • hwr
  • Ran reservationSqlViews.abs to add Reservations SQL views
  • Added  vn_id to wr and hwr tables. ML heading of "Primary Vendor"
  • Ran DBUPWW.abs to add vn_id to wrhwr SQL view and to the wrhwr table in afm_flds
  • Added messages table.
  • Added afm_activity_params "Activity Parameters" table.
  • Adedd an "email" field to cf table. Same as em.email and afm_users.email.
  • UPDATE afm_users SET locale = 'DEFAULT' WHERE locale IS NULL
  • Set afm_users.locale to NOT allow NULLs
  • Added Schema Preferences fields needed for clustering ( 3014615 ):
    • afm_scmpref.cluster_internal_use
    • afm_scmpref.cluster_num_servers
  • Changed mo.em_id to ALLOW NULL = yes. (3013578)
  • Ran the "Add Work Wizard SQL Views" task to re-create the wr SQL views due to new fields.
  • Added Cellular Number (cellular) to Contacts table (contact) ( 3014346 )
  • Data Changes
  • Sample data added for Reservations activity
  • Added RES. SETUP and RES. CLEANUP to probtype table (field is 16 chars so "RESERVATION" had to be abbreviated.)
  • Added data to afm_activity_params
  • Added reservations messages to the messages table
  • Reservations: security
    • created the following security groups:

      RESERVATION APPROVER
      RESERVATION ASSISTANT
      RESERVATION HOST
      RESERVATION MANAGER
      RESERVATION SERVICE DESK
      RESERVATION TRADES
    • assigned each security group to corresponding role
    • created one user for each of the roles
  • Assigned all Reservations processes to the Reservation users and to user AFM
  • Added SPAC% security group to the RESERVATIONS roles
  • Made the following rm.reservable = yes, and added rm_config and rm_arrange data for those that did not have it:

    HQ 17 109
    HQ 17 127
    HQ 18 109
    HQ 19 107
    HQ 19 110
  • Linked Reservations users to employee "AFM": UPDATE afm_users SET email='afm@tgd.com' WHERE role_name LIKE 'RES%'
  • Made inactive some afm_dwgpub records. (3013398)
  • Updated dwgname and ehandle data for the Workflow Rule Diagrams (3015143)
  • Fixed problem with running the RM_Asset_Qtext publishing rule in the sample data causing error (3013438)
  • Changed bldg "DC" to "XC"
  • Imported data for XC bldg (data added to tables: fl, afm_dwgs, vert, serv, gros, rm, em, eqstd, eq, fn, jk, su)
  • Made several changes to HQ sample data for use with the v16.3 exercises. (3014638 through 3014640, 3014642 through 3014647, 3014649, 3014650)
  • Set the following publishing rules to be active: (3015162)

    AbHltBl
    AbLyrMisc
    AbURLBl
  • Workflow Rule Changes
  • Added and updated afm_wf_rules records for the AbSolutions* activities
  • Added and updated afm_wf_rule record for the AbCommonResources activity
  • Added new afm_wf_rules records for the Reservation activity
  • Updated some of the WFR rules for abMoveManagement*, Proj. Mgmt, Capital Budgeting, and Workplace Portal
  • Set to NULL the Security Group value for ALL of the WFRs (remove SYSTEM MGR from all rules)
  • Process Navigator Changes
  • Added records to the following tables for Reservations:
    afm_processes
    afm_roles
    afm_roleprocs
    afm_ptasks
  • Added "Update Reservations SQL Views" navigator task to System/ Schema/ Define to run: reservationSqlViews.abs
  • For AbSolutions, changed PNav task name for Furn. Plan (3013446)
  • Change subfolders on several solution template activities. (3015186)
  • Added PNav labels for (All Room) and (Composite) activities (3013473)
  • Changed afm_ptasks Enter Faceplates task to use file xfp.avw instead of fp.avw (3014275)
  • DWG Editor Draw Telecom Grid command was removed from pnavs (3013520)
  • Updated the help links in database (3013584)
  • Added  to PNav - Proj Mgmt/ Proj Mgmt / Request  --- under Add or Edit Programs: "Add or Edit Programs by Type" --- ab-programs-edit-by-type.axvw. (3011669)
  • Added PNav entry for axvw to add/edit/delete Project Phases (projphase table). (3012450)
  • Added two new views to PNav: (3011830)
    • Compare Project Costs to Budget Costs: ab-proj-projects-compare-to-budget.axvw
    • Compare Project Costs to Budget Costs by Year: ab-proj-projects-compare-to-budget-2d.axvw
  • Changed the file names for the following two PNav entries (3012046 ):
    • AbCapitalBudgeting / Prioritize & Estimate (Optional) / Add or Edit Actions: ab-project-capbud-actions-edit.axvw
    • AbCapitalBudgeting / Prioritize & Estimate (Optional) / Estimate Baseline Schedule and Durations: ab-project-capbud-actions-est-base-sched-edit.axvw
  • Added afm_activity_params.avw to System/Schema/Control Navigator (3014372)
  • Added messages_trans.avw to System/Schema/Translate Navigator
  • Set Dashboard frame heights to zero . (3014565)
  • Changed ab-wf-rules-container.axvw to ab-wf-rules-by-activity.axvw for the record: AbSystemAdministration > Workflow Process Manager > Workflow Diagrams
  • Reassigned the AbWorkplacePortal and AbWorkplaceReservations activities to the AbWorkplaceServices domain.
  • Made the AbWorkplaceServices domain active=Yes.
  • Deleted  the (now empty) AbWorkplace Portal domain.
  • In the ARCHIBUS Domains table, changed Domains Large Icon  to be:
    • AbAsset         fc_facil.gif
    • AbRisk          ab-act-emergeprep.gif
    • AbTelecom       ab-role-security.gif
    • AbSMP           ab-act-smp.gif
  • For Processes, changed "Process or Role" and Titles for them from “Facility Information Manager” to "Business Process Owner.”
  • For AbMoveManagement / Business Process Owner, changed Large Icon be “ab-role-fim.gif”.
  • Added record with link to setup-license-file.axvw (3014779)
  • Added to DNav: System / Schema / Control / Schema Preferences / Messages (messages.avw) 3015173

Version 16.1 Database Version 123

  • Schema Preferences
  • The Database Version schema preference (Afm_Scmprefs) was set to 123.
  • Process Navigator
  • Schema Changes:
    • afm_ptasks.view_type_override - Added. (3012446)
    • afm_ptasks.security_group - Updated Multi-Line Heading. (3009173)
    • afm_ptasks.comments - Updated string_format for to memo.
    • afm_processes.summary - Updated to reduce size from 512 to 320 to better facilitate localization. (3012372)
  • Data Changes:
    • afm_products, afm_activities, afm_processes, and afm_ptasks tables - Extensive additions and updates of Process Navigator records.
  • Domain Navigator
  • Schema Changes:
    • help_file field in all domain navigator tables - Updated multi-line heading from "Help File" to "Help Sub-Folder". Note: v16.1 does not provide any functionality for this field. (3013104)
    • afm_modules - Table title changed from "Modules" to "Domains"
  • Data Changes:
    • afm_modules - Display order changes; Title changes; assigned Activities changed. (3012121 + other changes)
  • Drawing Publishing
  • Schema Changes:
    • afm_dwgpub.comments - New field added.
    • afm_dwg.pub_rule_type - Added new enumeration value (Dynamic). (3012359)
  • Data Changes:
    • Drawing Publishing rules added. (3011950, 3011958)
    • Dynamic drawing publishing rules added.
    • Added task to Domain Navigator: System/Schema/Update/Convert GDI Patterns to AutoCAD (3012496)
  • Work Flow Rules
  • Data changes:
    • afm_wf_rules - Rules updated to add dwg_name and ehandle values. (3012735)
  • HQ Sample Data
  • Data Changes:
    • dp, rmcat, rmtype, gpstd, hprorate, regn - Added sample AutoCad Hatch patterns to existing records.
    • VPA restriction for Role "Z-VPA-TBL" -- Uupdated to change "optionX" fields to "vpa_optionX" in the restriction sql. (3008506)

Version 15.1 Database Version 122

  • Schema Preferences
  • Database Version Number updated to 122
  • Schema Changes
  • Sybase database rebuilt as UTF8 (3012170)
  • afm_layr.title_% - changed size from 40 to 64 to accommodate translations
  • afm_users.clr_scheme enumerations list - added: ;SLATE-LARGE;Slate - Large Font (3012286, 3012289)
  • mo.mo_type - changed default from NULL to 'Employee' (3011776)
  • activity_log.date_planned_for - changed default from NULL to CURRENT (3011789 )
  • work_pkgs.doc - added this document field (3011779)
  • System Data Changes
  • afm_users.clr_scheme - set to SLATE for those that did not have values
  • afm_scmpref.preferences - added fields from the questions table to the list of translatable fields
  • Process Navigator
  • afm_products.help_link - replaced @dbExtension with @helpExtension (3012001, 3011941)
  • afm_ptasks:
    • Added web view for Add and Enter Business Units in Move Mgmt (3011596)
    • Added Primary Trades web view in Bldg Ops and Move Mgmt. (3011584)
    • Updated Solution Template tasks to correct search paths (3012236)
  • Domain Navigator
  • Renamed "Product" to "Domain" in System/ Schema /Navigate Activities tasks (3012125)
  • Work Flow Rules
  • afm_wf_rules - add two workflow rules that implement batch report generation (3011813)
  • afm_wf_rules - rules updated (3012082)
  • HQ Sample Data
  • added users to afm_users for load testing
  • changed hpattern from old format to new format for tables: ls, dp, rmstd, rmtype (3012310, 3012331)

Version 15.1 Database Version 121

  • Schema Preferences
  • The Database Version schema preference (Afm_Scmprefs) was set to 121.
  • Added date_lang_en field to afm_scmpref for tracking canonic changes
  • ARCHIBUS Navigator Changes
  • The Document Management, Questionnaires, and Workflow Rules activities added to the System module.
  • In System module, renamed Step Up and Connectivity activity to Connectivity. Removed Step Up task category and its tasks from the activity.
  • "Update to V15 Status Codes" task added to the System/Schema/Define task category.
  • "Tables licensed by Activity" and "Licensed Tables and Their Activities" tasks added to the System/ Schema/ Navigate Activities task category.
  • Process Navigator Changes
  • The Move Management, Capital Budgeting, and Project Management activities added. The System Administration/Workflow Process Manager activity added.
  • Products changed to Domains.
  • Workplace Services product removed and its activities reorganized into new domains, such as the Building Operations activity moved to the Operations domain.
  • Asset/Asset Control activity added. Telecom Asset Control process changed to Equipment Asset Control.
  • The Emergency Preparedness activity added to Space domain.
  • Fields
  • Projects, Move Orders, Vendors, Activity Logs tables: Several new  fields were added to these  tables. For a complete list, load the ARCHIBUS Fields table  and set a restriction for: "Comments" "LIKE" "%Trin%". All fields added or changed for version 15.1 have  "Trinidad" is in the Comments field.
  • For the amount_tot_invoice field in the Invoices table, change ARCHIBUS Type to None from Calculated for both the HQ and Schema databases (Sybase only). Also, the following new fields were added to the Invoices (invoice) table.

    Field

    invoice.project_id

    invoice.work_pkg_id

    invoice.vn_id

    invoice.qty_accepted

    invoice.qty_invoiced

    invoice.qty_invoiced

     

  • The following new fields were added to the Communications Log (ls_comm) table.

    Field

    ls_comm.recorded_by

    ls_comm.parent_key

    ls_comm.summary

    ls_comm.project_id

    ls_comm.comm_type

    ls_comm.doc

    ls_comm.priority

 

  • The following new fields were added to the Budgets table.
  • Field

    budget.site_id

    budget.program_type

    budget.year_start

    budget.year_end

 

  • These new fields were added to various tables.

    Field

    afm_dwgs.dwg_file

    afm_scmpref.date_lang_en

    Afm_flds.validated_data

    Afm_flds.attributes

    ls.doc

    activity_log.doc

    invoice.doc

    activitytype.instructions

    activitytype.description

    activitytype.autogen_wr

    activitytype.standard_cost

    activitytype.prob_type

    zone.layer_name

    trial_project.project_id

    invoice_payment.amount_expense

    afm_ptasks.iframe_width

    afm_ptasks.iframe_height

 

  • The following fields had their ARCHIBUS Type changed from Graphic to Document:

    Field

    activity_log.doc_file1 activity_log.doc_file2 activity_log.doc_file3

    ls.image_doc1
    ls.image_doc2
    ls.image_doc3

    ls_comm.image_doc1

    op.image_doc1
    op.image_doc2

 

  • afm_users.locale enumeration list changed to include "no_NO;Norwegian".
  • afm_flds.enum_list and afm_flds_lang.enum_list_xx size changed from 600 to 750.
  • project.project_type changed from enum to validate on projecttype table.
  • Set the bl, fl, rm, dv, and dp fields of rm_trial table to not validate.
  • activity_log table: approved_by, assessed_by, completed_by, created_by, verified_by size is expanded to match the em table.
  • Added a Comments field to the following tables: afm_activities, afm_activity_cats, afm_actprods, afm_acts, afm_cats, afm_class, afm_hotlist. afm_mods. afm_processes, afm_products. afm_psubtasks. afm_ptasks, afm_subtasks, afm_tasks
  • afm_flds.afm_type has new values in enum list: "Document" and "Doc.Stg"
  • Table Changes
  • These tables were added:
  • Title

    Name

    Use

    Documents

    afm_docs

    List of all documents in the document management system.

    Documents Versions

    afm_docvers

    Versions of documents.

    Archived Documents Versions

    afm_docversarch

    Archives of documents.

    Questions

    questions

    List of questions for each questionnaire.

    Questionnaires

    questionnnaires

    List of all questionnaires in the system.

    Activity Sub-Types

    activity_subtype

    Contains standard action descriptions to refine the Activity Types table.

    Workflow Controller Log

    afm_wf_log

    Used for workflow rules.

    Workflow Rules

    afm_wf_rules

    Used for workflow rules

    ARCHIBUS Calendar Dates

    afm_cal_dates

    Used for calendar reporting by ARCHIBUS Web Central View Analysis.

    ARCHIBUS Activity Tables

    afm_act_tbls

    Used for importing actions from other applications.

    Document Templates

    doc_templates

    Holds templates that can be used with ARCHIBUS Web Central and doc management system.

    Project Types

    projecttype

    Capital Budgeting/Project Mgmnt activities

    Project Phases

    projphase

    Capital Budgeting/Project Mgmnt activities

    Activity Item Transactions

    activity_log_trans

    Capital Budgeting/Project Mgmnt activities

    Status Log

    status_log

    Capital Budgeting/Project Mgmnt activities

    Project Team

    proj_team

    Capital Budgeting/Project Mgmnt activities

    Scenarios

    scenario

    Capital Budgeting/Project Mgmnt activities

    Project Scenarios

    projscns

    Capital Budgeting/Project Mgmnt activities

    Funding Sources

    funding

    Capital Budgeting/Project Mgmnt activities

    Funding Allocations

    projfunds

    Capital Budgeting/Project Mgmnt activities

    Program Budget Items

    prog_budget_items

    Capital Budgeting/Project Mgmnt activities

    Program Types

    programtype

    Capital Budgeting/Project Mgmnt activities

    Programs

    program

    Capital Budgeting/Project Mgmnt activities

    Status Log

    status_log

    Capital Budgeting/Project Mgmnt activities

    Communications Log Log

    ls_comm_log

    Capital Budgeting/Project Mgmnt activities

    Communication Subscriptions

    commsubs

    Capital Budgeting/Project Mgmnt activities

    Communication Types

    commtype

    Capital Budgeting/Project Mgmnt activities

    Work Packages

    work_pkgs

    Capital Budgeting/Project Mgmnt activities

    Work Package Bids and Contracts

    work_pkg_bids

    Capital Budgeting/Project Mgmnt activities

 

  • C-LEVEL (dashboard user) added to ARCHIBUS Roles table."Smith" added to Users table and assigned to this role. Process-to-user assignments for Smith.
  • In Employees table, added SMITH@tgd.com to the record for SMITH, SALLY so the dashboard user is someone with an ARCHIBUS identity. Also, added em photo for Smith. So that items appear on dashboard, assigned activity log items, projects, hotlist items.  Added  projects assigned to "smith, sall"y as project manager.(must be assigned to em).
  • For User SYSTEM, added afm_userpocs records to match user AFM.
  • afm_wf_rule, afm_wf_activity,  afm_wf_activitydef,  afm_wf_incoming_messages tables used by previous workflow component were removed.
  • ARCHIBUS Layers table now has records for RM-TRIAL1-MO, RM-TRIAL2-MO and RM-TRIAL3-MO.
  • TDB record added to Contacts table.
  • Set defaults for baseline and design dates and durations in activity_log in both HQ and Schema databases.(Sybase only).
  • The following records were added to the activity_type table (Schema database only; Sybase only):PROJECT - CHANGE ORDER, PROJECT - MILESTONE, PROJECT - DOCUMENT, PROJECT - TASK

Version 14.3 Database Version 120

  • Preferences. The database version schema preference (afm_scmprefs) was set to 120.
  • Navigator Changes. The Navigator items under System/Security were updated.
  • Database Format. Sybase and Oracle databases ship with UTF-8 (Unicode Transformation Format-8) encoding.
  • Field Changes
  • The afm_users.user_pwd field has been increased from 10 to 64.
  • The afm_users.locale field was made an enumerated field with the following values:
  • Default
  • ar_SA;Arabic
  • zh_CN;Chinese (Simplified)
  • zh_TW;Chinese (Traditional)
  • nl_NL;Dutch
  • en_AU;English (Australia)
  • en_CA;English (Canada)
  • en_GB;English (United Kingdom)
  • en_US;English (United States)
  • fr_CA;French (Canada)
  • fr_FR;French (France)
  • de_DE;German
  • iw_IL;Hebrew
  • it_IT;Italian
  • ja_JP;Japanese
  • ko_KR;Korean
  • pt_BR;Portuguese
  • es_ES;Spanish
  • The data types of the following fields changed from CHAR to VARCHAR

Table

Field

Afm_activities

Summary

Afm_activities

Summary_de

Afm_activities

Summary_es

Afm_activities

Summary_fr

Afm_activities

Summary_nl

Afm_activities

Summary_no

Afm_processes

Summary

Afm_processes

Summary_de

Afm_processes

Summary_es

Afm_processes

Summary_fr

Afm_processes

Summary_nl

Afm_processes

Summary_no

Afm_wf_rules

Event_filter

Afm_wf_rules

Msg_action

Afm_wf_rules

Recipient_list

Afm_wf_rules

Sql_action

 

 

  • Table Changes. The following table changes were made:
  • Added XML Schema Preferences data for translatable fields to the preferences field in the afm_scmpref table.
  • To record the date that translated strings were last updated date_lang_** fields were added to the afm_scmpref table for each language field.
  • title_* fields added to the afm_layr table.
  • To provide for additional language translations each of the following table and field combinations added _01, _02, and _03 fields:

Table

Field

Afm_activities

Summary_01

Afm_activities

Title_01

Afm_activity_cats

Summary_01

Afm_activity_cats

Title_01

Afm_flds_lang

Enum_list_01

Afm_flds_lang

Ml_heading_01

Afm_layr

Title_01

Afm_processes

Summary_01

Afm_processes

Title_01

Afm_products

Summary_01

Afm_products

Title_01

Afm_psubtasks

Task_01

Afm_ptasks

Task_01

Afm_tbls

Title_01

 

  • To provided for translation, each of the following tables and fields added fields with the internationalization extensions: (_01, _02, _03, _ch, _de, _es, _fr, _it, _jp, _ko, _nl, _no, _zh):

Table

Field

Afm_mods

Afm_module

Afm_class

Act_class

Afm_acts

Act

Afm_cats

Task_cat

Afm_tasks

Task

Afm_subtasks

Subtask

Afm_hotlist

Super_cat

Afm_hotlist

Category

Afm_hotlist

View_title

 

 

Version 14.3 Database Version 119

  • Preferences. The database version schema preference (afm_scmprefs) was set to 119.
  • Navigator Changes .  A Process Navigator for ARCHIBUS Web Central was added.
  • Drawing Publishing Rules (afm_dwgpub).  rule_type enumerated field values were extended to include QUERY TABLE;Query Table;.
  • New Tables. These tables were added:

Title

Name

Use

Products

afm_products

Process Navigator

Activity Categories

afm_activity_cats

Process Navigator

Product Activities

afm_actprods

Process Navigator

Activities

afm_activities

Process Navigator

Processes and Roles

afm_processes

Process Navigator

Process Tasks

afm_ptasks

Process Navigator

Process Subtasks

afm_psubtasks

Not used by v14.3

User Process Assignments

afm_userprocs

Process Navigator

ARCHIBUS Roles

afm_roles

Security Roles

ARCHIBUS Groups for Roles

afm_groupsforroles

Security Roles

Workflow Process

afm_wf_process

Workflow

Workflow Rules

afm_wf_rules

Workflow

Visitors

visitors

Workplace Portal Activity

 

  • New Fields. These new fields were added.

Field

afm_tbls.title_ch, de, es, fr, etc.

afm_users.bl_id_list

afm_users.site_id_list

afm_users.email

afm_users.home_page

afm_users.locale

afm_users.preferences

afm_users.role_name

afm_users.vpa_option1,2,3, and 4

afm_dwgpub.layer_background

 

  • Field Size Changes .  These fields were enlarged.

Field

New Size

Old Size

afm_acts.security_group

64

10

afm_cats.security_group

64

10

afm_class.security_group

64

10

afm_flds.edit_group

64

10

afm_flds.review_group

64

10

afm_group.group_name

64

10

afm_hotlist.security_group

64

10

afm_mods.security_group

64

10

afm_tasks.security_group

64

10

afm_subtasks.security_group

64

10

afm_atyp.dflt_symbol

64

8

it.performed_by

32

16

rmcat.description

96

25

rmtype.description

96

26

 

  • Field Default Value Changes .  These fields had default value changes.

Field

Old Value

New Value

afm_scmpref. afm_db_version_num

101

1.01

afm_scmpref. afm_exe_release_num

107 (default)

1.07

.cf.issue_work_in_format

<blank>

None

tr.issue_work_in_format

<blank>

None

 

Version 14.2 Database Version 118

  • Preferences. The database version schema preference (afm_scmprefs) was set to 118.
  • Navigator Changes. The following changes / additions were made to the Domain Navigator:
  • A new Additional Activities module was added.
  • A Condition Assessment activity was added under the new Additional Activities module.
  • A Environmental Sustainability activity was added under the new Additional Activities module.
  • General Table and Field Changes. The following table and field changes were made:
  • A Classifications table and fields were added to support the new Condition Assessment activity.
  • An Organizations table was added. This table is a standard (non-concatenated) Hierarchical table and provides a template for those users who wish to track their organization assignments using an unlimited hierarchy rather than the standard 3-tier hierarchy of Business Units, Divisions, and Departments.
  • In the Accounts table (ac) a hierarchy_id field was added and the ac_id field was changed to ARCHIBUS_type Hierarchical-Concat.
  • The schem_prefs table now includes a hierarchy_delim field.
  • The equipment table (eq) now includes a csi_id field.
  • The historical work orders (hwr) table now includes an activity_log_id field.
  • The project tables project_type field now includes an assessment value in the enumeration list.
  • The work request (wr) and historical work requests (hwr) tables now include the activity_log_id field.
  • The Work Requests (wrview) and the All Work Requests (wrhwr) now include the activity_log_id field.
  • The Work Requests (wrview) SQL view and the All Work Requests (wrhwr) SQL view now include the activity_log_id field.
  • The communications log (ls_comm) table has been changed as follows:
    • The hierarchy_ids field was added.
    • The auto_number afm_type was changed to hierarchical.
  • Changes to Activity Logs table

These fields were added to the Activity Logs table (activity_log):

New Fields in Activity Logs table

assessed_by

capital_program

completed_by

cond_priority

cond_value

cost_act_cap, cost_est_cap

cost_to_replace

csi_id

date_assessed, date_verified

doc_file1,doc_file2, doc_file3

eq_id

fl_id,  location

rec_action

rm_id

site_id

sust_priority

verified_by

 

The following fields were changed in the Activity Log table (activity_log):

  • The cost_actual field multi-line header (ml_heading) was changed to Cost Actual (Expense).
  • The cost_estimated field multi-line header was changed to Cost-Estimated (Expense).
  • The status fields enumeration list now contains the following values:

" N/A

" Trial

" Budgeted

" Planned

" Scheduled

" In Progress

" Completed

" Completed and Verified

  • Changes to the afm_Flds table
  • The afm_type fields now has the following new values:
    • Hierarchical
    • Hierarchical-Concat
    • Hierarchical Trace
  • The enum_list field has been increased to 600 to accommodate additional enumeration values.

Version 14.1 Database Version 117

  • Schema Preferences. The Database Version schema preference (Afm_Scmprefs) was set to 117.
  • Schema Table Title Changes. Several table titles have been changed as follows in order to resolve a Data Transfer to Excel issue.  Excel has a 31-character limit for sheet titles and several ARCHIBUS table titles previously exceeded this limit.

    Table

    Old Title

    New Title

    blbu

    Bldg. Ops. Budgets for Buildings

    Bldg. Ops. Building

    hwrtr

    Historical WR Trade Requirements

    Historical WR

    mo_eq

    Move Order Equipment Assignments

    Move Order Equip. Assignments

    mo_ta

    Move Order Tagged Furn. Assignments

    Process Navigator

    pmpsum

    PM Procedure Forecast Summaries

    Move Order Tagged Furn. Assig.

    ta_compinvsur

    Tagged Furn. Inventory vs. Audit

    Tagged Furn. Inv. vs. Audit

    ta_compinvtrial

    Tagged Furn. Inventory vs. Trial

    Tagged Furn. Inventory vs. Trial (extra spaces removed)

    wrtr

    Work Requests Trade Requirements

    Work Request Trade Requirement

     

 

  • Drawing Publishing. The Afm_Dwgpub table and fields for the Drawing Publishing feature were added.  Additionally the Drawings Task Category (DrawingPublishing) and tasks were added as follows:
  • Drawing Publishing Rules (afm_dwgpub.avw)
  • Drawing Publishing Rules Summary (afm_dwgpub_tbl.avw)
  • Asset Types and Publishing Rules (atypes.avw)
  • Publish Drawings (afm_dwgpub.abs)
  • Schema. Added Type.Afm_Flds. An "Hpattern Acad Ext" (Extended) type added to the Afm_Atype table.
  • Schema. Field Change. The Hpattern_Acad Field has been changed in 14 tables as follows:

o Type set to Hpattern Acad Ext

o Field width increased to 64 characters

  • Schema. Afm_Atyp Table. A rule_id field has been added to the Afm_Atyp table.
  • Schema. New Tables. The following tables were removed:
  • 'afm_activities'
  • 'afm_activity_cats'
  • 'afm_groupsforroles'
  • 'afm_processes'
  • 'afm_prodmeths'
  • 'afm_products'
  • 'afm_psubtasks'
  • 'afm_ptasks'
  • 'afm_roles'
  • 'afm_userprocs'
  • Schema.  Navigation Changes. Database Version 117 contains the following Navigation changes.
  • afm_hotlist.  A new record was added to load the HTML form example under: Space/C: Operations Management/1. Rooms/Reassign Rooms and Employees.

Version 12.2 Database Version 116

  • Schema Preferences. The Database Version schema preference was set to 116.
  • Emergency Preparation activity. The tables and fields for the Space/Emergency Preparedness activity were added to the ARCHIBUS Tables and ARCHIBUS fields tables. They are marked with "Emergency Preparedness" in the Comments field.  Similarly, the activities and tasks for the Space/Emergency Preparedness activity were added to the Domain Navigator tables.
  • Add Field task. There is a new Navigator task, System/ Schema/ Define/Add Field. It is located beneath the "Copy Field(s)" task.
  • Context-Sensitive Help from Navigator. For all Help Topic fields in the Domain Navigator tables that use keywords, the dbupHelpLinks.abs routine updates the Help Topic fields to now use the topics' context strings. Also, in the ARCHIBUS Tasks table, the Help File fields for System/Schema/Update/ Audit Logs and System/Schema/Update/Currency and Conversion were updated to link to afm_sysman.hlp, rather than afm.hlp.
  • ARCHIBUS Hotlist table. Changed afm_hotlist.view_title from 64 to 96 characters so that long localized strings can fit.
  • ARCHIBUS Conversions table. afm_conversions table definition and physical table updated.
  • ARCHIBUS Workflow Activity Instances table .  There is a new field in the afm_wf_activity_def table: "is_retired".
  • Properties table. property.detail_dwg was updated to be 64 characters wide from 8 characters.
  • Size of Auto-Incremented Integers. Standardized the auto-incremented integers sizes in afm_flds. All were changed to 10. This is purely cosmetic, as all integers field sizes are defined by the database engine.
  • ARCHIBUS Asset Types table . Removed pop_loc from the Fields to Validate in afm_atyp, as it has no effect.
  • Groups table. gp.function changed to gp.gp_function for Microsoft SQL Server 2000 compatibility.

Version 12.1 Database Version 115

  • Schema Preferences. The  Database Version schema preference was set to 115.
  • Work Flow Controller. The afm_wf% tables were added. Also, fields for the Work Flow Controller were Added to the wr, hwr, wrcf, hwrcf, tr, and cf tables.
  • Work Wizard. Required database changes for the Work Wizard included the following:
  • Added fields to wr and hwr , including wr.satisfaction and wr.satisfaction_notes.
  • Removed WOAUTONUMBER and WRAUTONUMBER triggers, as the triggers are not supported by the Runtime Sybase engine. Authoring and Multi-user users can run the Navigator action to re-create these triggers.
  • In the ARCHIBUS Groups table, the afm_groups.ww_preferences fields was added.
  • The following SQL views were added: wohwo, wrhwr, wrcfhwrcf, and wrpthwrpt.
  • wr.time_requested now has a default of CURRENT.
  • System/Schema/Define/Add Work Wizard SQL Views added to Navigator.
  • SQL view wrview updated so that now both wr and hwr records can be viewed in the tree control.
  • System/Schema activity reorganized. On the Domain Navigator, the System/Schema activity was reorganized. The Connect tasks were removed from System/Schema and System/Security. Also, the tasks in System/Schema/Control were re-organized. Help Topic fields for these items updated to match changes.
  • ARCHIBUS Hotlist table. To implement multi-language ARCHIBUS Web Central, changes for multi-language support were made to the ARCHIBUS Hotlist table.
  • The afm_hotlist.inet_file values were set to lower case.
  • Updated .cfm Hotlist capitalization.
  • VoloView and Toolbar views added to hotlist via HotLsChg.abs.
  • "VPID" set to uppercase for Help links.
  • Dwg Filename fields. All detail_dwg, symbol, title_block, and "dwgnames" fields changed from 8 to 64 characters to support long filenames. Previously, other filename fields (including "dwgname") had been changed to 64, but these had been missed.
  • Drawing Assets. Centered Boundary Asset Text Generation style added. Also, most pline asset types changed to Centered Boundary.
  • Real Property & Lease Management module. Extra title white space in the Real Property & Lease Management module was removed from the Navigator.
  • Telecom. Indexes were re-created.
  • Online Help. For System module Navigator entries, the Help File field was changed from afm11_sysman.hlp to afm_sysman.hlp.
  • F&E Audit vs. Inventory tables. Removed validation from the ta_compinvsur and eq_compinvsur tables.
  • Employee Standards table. emstd.em_std set to UPPER.
  • Triggers and SQL views. System/Schema/Define Indexes, triggers, and  SQL views were re-created.

Version 11.3 Database Version 114

  • Fields changed from 32 to 64 characters.  For localization purposes, all act_class and act  fields were changed from 32 characters to 64. Changed  afm_tbls.title from 32 char to 64. Update Schema, Alter table. Updated appropriate foreign keys.
  • Navigator titles and multi-line headings. Some Navigator titles and multi-line field headings cleaned up based on localization feedback.

Version 11.2 Database Version 113

  • BOMA 96. The space calculations offer a BOMA 96 option in addition to the BOMA 90 and Enhanced BOMA calculations.
  • afm_scmpref.space_area_type ("Space Area Method") changed :

From : ar;All Room;arp;All Room Percentage;ci;Composite;cib;Composite - BOMA;cie;Composite - EBOMA

To: ar;All Room;arp;All Room Percentage;ci;Composite;cib;Composite - BOMA;cie;Composite - EBOMA;ci9;Composite - BOMA 96

This field is used by the SMP module's Allocation view action for determining the calculation to use when recalculating floors usable area (spalloc.abs).

  • afm_scmpref.lease_proration_method ("Group Area Prorate Method") changed:

From: B;BOMA;E;Enhanced BOMA;G;Group

To: B;BOMA;E;Enhanced BOMA;9;BOMA 96;G;Group

This field is used by the Lease module for determining the calculations to use when charging back common areas to lease areas. (lsarea.abs).

  • Microsoft SQL Server Reserved Words. The "use" and "image" fields were renamed to avoid conflicts with reserved  words in MS SQL Server.  These are now named "use1" and "image_file".
  • Use ARCHIBUS Function for Cascade. A new schema preference field, afm_scmpref.afm_cascades_changes, has been added to support the application level cascading updates and deletes for Microsoft SQL Server and Oracle.
  • Real Fields Changed to Numeric. All fields that were type "Real" in the standard schema have been changed to "Numeric" in order to avoid slight rounding differences between the values displayed on the screen and the values stored in the database.  If you use the Update Project Wizard to apply these changes to your current database, your stored values will be rounded to the number of decimal places specified for each field in the afm_flds table.

Version 11.1 Database Version 112

  • First V11 Schema. Database version 112 is the benchmark schema from which all other V11 changes are noted.  If you have a previous version of the schema, please review the AddToV10.abs file for a list of the changes made to Version 10 schema.