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 schemas so they can see if they need to migrate any changes from the released schema to their own schema.  Sites using the standard ARCHIBUS schema do not need this information.

Even sites with custom schema might not need this information. New versions of ARCHIBUS are backward-compatible with previous schema formats. You can review this information if you need some new database object on which a new desired feature depends. For instance, you need to include only the BOMA 96 enumeration changes if you need the BOMA 96 calculations.  

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 checking the ARCHIBUS Schema Preferences table (scmpref.avw).

Version 20.2 Database Schema Revision History (Database Version 137)

SCHEMA PREFERENCES

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

 

SCHEMA CHANGES

System:

 

BIM

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

 

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)

 

Bldg Ops

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';

 

Multi Currency

Multi-Units

Fed. Real Prop:

 

Green Building

Clean Building

Waste Management

 

Material Safety Data Sheets

 

Compliance

 

Environmental Health & Safey

Added table and field definitions: ehs%;docs_assigned;work_categ%

 

Energy Management

 

Asset Management

 

Reservations

 

Project Mgmt/Commissioning:

 

Cost Admin

 

Forecasting

 

LOCALIZATION

WFR CHANGES

System

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';

 

Space Transactions

 

Asset Management

 

Capital Budgeting

 

Waste Management, Clean Building, MSDS, and EH&S

 

Compliance

 

PROCESS NAVIGATOR CHANGES

 

System

 

Space and Transactions

 

Multi-Currency and VAT:

 

Bldg Ops:

Service Desk:

Project. Management:

Capital Budgeting:

Hoteling:

Green Building:

Waste Management, Clean Building, MSDS, EH&S, Compliance and Commissioning applications

 

Solutions

 

DATA CHANGES

System

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';

 

User's Changes

  • 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

     

    Multi-Currency / Multi-Unit / VAT:

     

    Asset Management

     

    BIM

     

    Bldg Ops

     

    Risk and Environment

     

    Green Buildings

     

    Clean Buildings

     

    MSDS

     

    Environmental Health & Safety

     

    Compliance

     

    Commissioning

    END VERSION 20.1 CHANGES

     

    Version 19.3 Multi-Lingual (Database Version 135)

    Schema Preferences:

    Schema changes:

    Green Bldgs:

    WFR changes:

    *** NONE ***

    PNav changes:

    System:

    Proj. Mgmt.:

    Data changes:

    System:

    Green Bldgs:

    Version 19.3 (Database Version 134)

    Schema Preferences:

    Schema changes:

    System:

    BldgOps:

    Cap Bud:

    Green Bldgs:

    Localization:

    WFR changes:

    System:

    BldgOps:

    Green Bldgs.:

    PNav changes:

    System:

    Space Mgmt:

    Green Bldgs:

    Data changes:

    System:

    Proj. Mgmt.:

    Green Bldgs.:

    BldgOps:

    REPM:

    Space:

    Version 19.2 (Database Version 133)

    Schema Preferences:

    Schema changes:

    System:

    Real Estate & Property Management:

    Building Operations:

    Reservations:

    Capital Budgets:

    Workflow Rules (WFR) Additions and Changes:

    New WFRs added:

    New WFRs added for Building Operations applications:

    Energy Management:

    Process Navigator (PNav) changes:

    System:

    Real Estate & Property Management:

    Moves:

    Space Planning & Inventory:

    Building Operations:

    Asset Management:

    Capital Budgeting:

    Solutions:

    Data changes:

    System:

    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:

    Building Operations:

    Project Management:

    Space:

    Real Estate & Property Management:

     

    Version 19.1 (Certified International Release) Database Version 132

    Schema Preferences

    Schema Changes:

    Localization:

    WFR changes:

     

    PNav changes:

    Data changes:

    System:

    Project Management:

    Reservations:

    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

    Security:

    Real Estate Portfolio Management Domain

    Asset Management Domain

    Move Management Domain

    Service Desk/On Demand Activities

    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)

    Space

    Condition Assessment Activity

    Reservations Activity

    Hoteling Activity

    Energy Management Activity

    In addition to the fields for the tables listed above added fields to bl table

    Localization:

    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:

    Hoteling Activity

    Service Desk/On Demand Work Activities

    Portfolio Administration Activity

    Portfolio Forecasting Activity

    Government Property RegistryActivity

    Capital Budgeting/ Project Management Activities

    Emergency Preparedness Activity

    Energy Management

    Reservations Activity

    Move Management Activity

    Asset Management Activity

    Package and Deploy Wizard

    Process Navigator

    Smart Client:

    System

    Background views

    Move Management Activity

    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

    Space

    Emergency Preparedness

    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

    Define Geographic Locations----------ab-def-geo-loc.axvw

    Define Locations

    Define Organizations

    Define Companies ---------- ab-rplm-companies-define.axvw

    Define System Types

    Reservations Activity

    Hoteling Activity

    Reservations Activity

    Service Desk/On Demand/Preventative Maintenance Activities

    Energy Management Activity

    Environmental. Sustainability:

    Hoteling Activity

    Real Estate Portfolio Management Domain

    Project Management Activity

    Localization Activity

    Licensing

    Technologies Domain

    Data changes: 

    System:

    Preventive Maintenance Activity

    Hoteling Activity

    Asset Management Domain

    Version 18.2 Database Version 130

    Schema Preferences

    Schema changes

    System

    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

    Real Estate Portfolio Management Domain

    Condition Assessment Activity

    Service Desk/On Demand Work Activities

    Preventive Maintenance Activity

    Project Management Activity

    Localization Activity

    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

    Condition Assessment Activity

    Preventive Maintenance Activity

    Capital Budgeting:

    Process Navigator

    System

    Preventive Maintenance

    Condition Assessment

    Localization Activity

    Space

    Capital Budgeting:

    System Administrator

    Data changes

    Condition Assessment

    Preventive Maintenance

    Service Desk/On Demand Work

    Space

    Project Management

    Version 18.1 Database Version 129

    Schema Preferences

    Web - Core

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Real Estate Portfolio Management Domain

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Space Management Domain

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Service Desk and On Demand Work activities

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Reservations activity

    Schema:

    Data:

    Preventive Maintenance activity

    Process Navigator:

    US Federal Property Registry activity

    Data:

    Version 17.3 Database Version 128

    Schema Preferences

    Web – Core

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Preventive Maintenance activity

    Schema:

    Workflow Rules:

    Process Navigator:

    US Federal Property Registry activity

    Schema:

    Workflow Rules:

    Process Navigator:

    Data:

    Reservations activity

    Schema:

    Workflow Rules:

    Data:

    Portfolio Administration and Lease Administration activities

    Schema:

    Process Navigator:

    Service Desk and On Demand Work activities:

    Process Navigator:

    Data

    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:


    Workflow Rule (WFR) Changes:


    Process Navigator Changes:

    Data Changes:

    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:


    Workflow Rule (WFR) Changes:


    Data Changes:

     

    Version 17.1 Database Version 125

    Version 16.3 Database Version 124

    Version 16.1 Database Version 123

    Version 15.1 Database Version 122

    Version 15.1 Database Version 121

     

     

     

     

     

    Version 14.3 Database Version 120

    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

    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

     

    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

    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

     

     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

    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

    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

    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):

    " N/A

    " Trial

    " Budgeted

    " Planned

    " Scheduled

    " In Progress

    " Completed

    " Completed and Verified

    Version 14.1 Database Version 117

     

    o Type set to Hpattern Acad Ext

    o Field width increased to 64 characters

    Version 12.2 Database Version 116

    Version 12.1 Database Version 115

    Version 11.3 Database Version 114

    Version 11.2 Database Version 113

    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).

    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).

    Version 11.1 Database Version 112