Public SQL Views in Advent Portfolio Exchange

Release 3 CONFIDENTIAL — DO NOT DISTRIBUTE

NOTICE The software described in this document is furnished under a license agreement. The software may be used or copied only in accordance with the terms of the agreement. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose without the express written permission of Advent Software, Inc. Information in this document may be revised from time to time without notice. This document, which is provided solely to Licensees of Advent Software, Inc., is confidential and proprietary. U.S. Government Users: Use, duplication, or disclosure is subject to the restrictions as set forth in the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 subparagraph (c)(1)(ii), or the Commercial Computer Software -- Restricted Rights at CFR 52.227-19, subparagraphs (c)(1) and (2), as applicable. Manufacturer is Advent Software, Inc. 600 Townsend Street, San Francisco, CA 94103 Copyright 2011 by Advent Software, Inc. All rights reserved. NOTE: All names of individuals that may appear in any displays herein are fictitious. Any similarity to the names of any persons living or dead is unintentional and strictly coincidental. Part number: APXSQL3U2b Release number: Advent Portfolio Exchange Release 3 Publication date: February 2011 Advent, the Advent logo, Advent Browser Reporting, Advent Corporate Actions, Advent INX, Advent Office, AdventOnDemand, Advent Packager, Advent Partner, Advent Portfolio Exchange, Advent Revenue Center, Advent Rules Manager, Advent Software, Inc., Advent TrustedNetwork, Advent Warehouse, Axys, Geneva, Moxy, MyAdvent, Portfolio Exchange, Qube, Rex, SmartClick, and WealthLine are registered trademarks of Advent Software, Inc. Advent Report Center, AdvisorMart, and DataExchange are trademarks of Advent Software, Inc. Other trademarks are those of their respective holders, and should be treated as such.

Printed on Recycled Paper.

USING ADVENT PORTFOLIO EXCHANGE PUBLIC SQL VIEWS GUIDE DISCLAIMER IMPORTANT—READ CAREFULLY The "Public SQL Views in Advent Portfolio Exchange" document (the “Guide”) is confidential and trade secret information of Advent Software, Inc. and/or its subsidiaries and is protected by federal and state law. You may not distribute or disclose the information therein without the prior express written consent of Advent Software. By accessing this document, you hereby represent and warrant that you are a Licensee of Advent Software, Inc. (“Advent”) and its software products, and are bound to the terms and conditions of a license agreement (“License Agreement”) with Advent. If the foregoing is not true and accurate, you MUST cease use of this document and this site immediately. This guide was created solely for Licensee’s own internal use to access public views available with Advent Portfolio Exchange® Software (“APX”). Licensee hereby acknowledges and agrees that the Licensee user of the Guide must have prior knowledge of SQL and/or programming experience to utilize the Guide. LICENSEE ACKNOWLEDGES AND AGREES THAT EXCEPT AS OTHERWISE OUTLINED HEREIN, ALL USE OF THE GUIDE AND THE ADVENT PORTFOLIO EXCHANGE SOFTWARE SHALL BE IN ACCORDANCE WITH THE LICENSE AGREEMENT, INCLUDING THE LICENSE GRANT AND LICENSE RESTRICTIONS SECTIONS THEREOF. THIS GUIDE IS PROVIDED WITHOUT COST, AS A CONVENIENCE TO LICENSEE. THERE IS ABSOLUTELY NO TECHNICAL SUPPORT AVAILABLE FOR ANY INTEGRATION PRODUCTS CREATED FOR USE WITH THE VIEWS GENERATED BY LICENSEE. THE GUIDE IS NOT AN ADVENT SOFTWARE PRODUCT, AND IS PROVIDED ON AN AS-IS BASIS ONLY. ADVENT DOES NOT MAKE ANY WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING THE EFFECTIVENESS, ACCURACY, OR COMPLETENESS OF THE GUIDE, PUBLIC SQL VIEWS, OR ANY INTEGRATION PRODUCTS CREATED FROM THE VIEWS GENERATED BY LICENSEE. ADVENT SHALL HAVE NO LIABILITY OR RESPONSIBILITY FOR ERRORS OR OMISSIONS RESULTING FROM THE USE OF THE GUIDE, OR ANY DECISIONS MADE BY COMPANY IN RELIANCE ON OR USE OF THE GUIDE. ADVENT RESERVES THE RIGHT TO MAKE CHANGES TO OR COMPLETELY DISCONTINUE THE GUIDE WITHOUT NOTICE. LICENSEE SHALL INDEMNIFY ADVENT FOR ANY AND ALL THIRD PARTY CLAIMS RESULTING FROM OR RELATED TO LICENSEE’S USE OF THE GUIDE.

CONFIDENTIAL—DO NOT DISTRIBUTE

Public SQL Views Advent Portfolio Exchange Release 3
1 INTRODUCTION ........................................................................................... 1 1.1 Business needs ..................................................................................... 1 1.2 What are public views and functions? ................................................ 1 1.3 Read-only ............................................................................................... 2 1.4 Security .................................................................................................. 2 1.5 Naming convention ............................................................................... 2 1.6 Deprecation............................................................................................ 3 2 ADVAPP SCHEMA ....................................................................................... 4 2.1 Portfolio public views ........................................................................... 4
2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.26 2.1.27 2.1.28 AdvApp.vPerformance ........................................................................................ 4 AdvApp.vPerformanceClassification .................................................................. 5 AdvApp.vPerformanceClassificationPeriod ........................................................ 6 AdvApp.vPerformanceSecurity ........................................................................... 6 AdvApp.vPerformanceSecurityPeriod ................................................................ 7 AdvApp.vPortfolio ............................................................................................... 7 AdvApp.vPortfolio_Hist ....................................................................................... 8 AdvApp.vPortfolioBase ....................................................................................... 9 AdvApp.vPortfolioBaseCustom........................................................................... 9 AdvApp.vPortfolioBaseCustomLabels ................................................................ 9 AdvApp.vPortfolioBaseDeleted......................................................................... 10 AdvApp.vPortfolioBaseLabels .......................................................................... 10 AdvApp.vPortfolioBaseRenamed ..................................................................... 11 AdvApp.vPortfolioComposite ............................................................................ 11 AdvApp.vPortfolioCompositeMember ............................................................... 11 AdvApp.vPortfolioCustomLabels ...................................................................... 12 AdvApp.vPortfolioGroup ................................................................................... 12 AdvApp.vPortfolioGroupMember ...................................................................... 12 AdvApp.vPortfolioGroupMemberFlattened ....................................................... 13 AdvApp.vPortfolioIndexes ................................................................................. 13 AdvApp.vPortfolioInterestedParty ..................................................................... 13 AdvApp.vPortfolioInterestedPartyMailing ......................................................... 14 AdvApp.vPortfolioLabels ................................................................................... 14 AdvApp.vPortfolioSummaryCurrent .................................................................. 15 AdvApp.vPortfolioTaxLotCurrent ...................................................................... 15 AdvApp.vPortfolioTransaction .......................................................................... 16 AdvApp.vPortfolioTransactionHistory ............................................................... 17 AdvApp.vPositionRecon ................................................................................... 18

Advent Software, Inc.

APX Release 3 Public SQL Views i

February 16, 2011

CONFIDENTIAL—DO NOT DISTRIBUTE

2.2 Contact public views ........................................................................... 19
2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.18 AdvApp.vActivity ............................................................................................... 19 AdvApp.vActivity_Hist ....................................................................................... 20 AdvApp.vActivityContact ................................................................................... 21 AdvApp.vActivityCustom ................................................................................... 21 AdvApp.vActivityPortfolio .................................................................................. 21 AdvApp.vActivityPriority .................................................................................... 22 AdvApp.vActivityType ....................................................................................... 22 AdvApp.vAttendee ............................................................................................ 22 AdvApp.vContact .............................................................................................. 22 AdvApp.vContact_Hist ...................................................................................... 24 AdvApp.vContactAddress ................................................................................. 25 AdvApp.vContactCustom .................................................................................. 25 AdvApp.vContactPhone .................................................................................... 26 AdvApp.vContactRelationship .......................................................................... 26 AdvApp.vEmail.................................................................................................. 26 AdvApp.vFreeBusyStatus ................................................................................. 27 AdvApp.vTaskRecurrence ................................................................................ 27 AdvApp.vTaskStatus ........................................................................................ 27

2.3 Market public views ............................................................................ 28
2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.3.10 2.3.11 2.3.12 2.3.13 2.3.14 2.3.15 2.3.16 2.3.17 2.3.18 2.3.19 2.3.20 2.3.21 2.3.22 2.3.23 2.3.24 2.3.25 2.3.26 2.3.27 2.3.28 2.3.29 2.3.30 2.3.31 AdvApp.vBaseRate ........................................................................................... 28 AdvApp.vBaseRateSchedule............................................................................ 28 AdvApp.vCouponRate ...................................................................................... 28 AdvApp.vCouponRateSchedule ....................................................................... 28 AdvApp.vCurrency ............................................................................................ 28 AdvApp.vFactoredSecFlowMethod .................................................................. 29 AdvApp.vFXRate .............................................................................................. 29 AdvApp.vFxType .............................................................................................. 29 AdvApp.vMarketIndex ....................................................................................... 29 AdvApp.vMarketIndexRate ............................................................................... 30 AdvApp.vPerformanceMarketIndexClassification............................................. 30 AdvApp.vPerformanceMarketIndexPeriod ....................................................... 30 AdvApp.vPerformanceMarketIndexSecurity ..................................................... 30 AdvApp.vPriceType .......................................................................................... 31 AdvApp.vResetRate ......................................................................................... 31 AdvApp.vResetRateSchedule .......................................................................... 31 AdvApp.vSecType ............................................................................................ 31 AdvApp.vSecTypeGroup .................................................................................. 33 AdvApp.vSecurity ............................................................................................. 33 AdvApp.vSecurity_Hist ..................................................................................... 35 AdvApp.vSecurityCallPutStatus........................................................................ 38 AdvApp.vSecurityDeleted ................................................................................. 38 AdvApp.vSecurityFactor ................................................................................... 39 AdvApp.vSecurityPrice ..................................................................................... 39 AdvApp.vSecurityPropertyLookup .................................................................... 39 AdvApp.vSecurityPropertyValue....................................................................... 39 AdvApp.vSecurityRenamed .............................................................................. 40 AdvApp.vSecuritySplit ...................................................................................... 40 AdvApp.vSecuritySymbolExport ....................................................................... 40 AdvApp.vSecuritySymbolImport ....................................................................... 40 AdvApp.vSecurityValuationLastBusinessDay .................................................. 41

Advent Software, Inc.

APX Release 3 Public SQL Views ii

February 16, 2011

...... 42 AdvApp...............vPerformanceClassificationPeriod .............. 44 AdvApp. 47 AdvApp..... 42 AdvApp......................... 43 AdvApp.....................1....18 2........4.............4 2........... 56 APX Release 3 Public SQL Views iii February 16.........................vBrokerRep ......4........... 44 AdvApp................. 43 AdvApp....... 45 AdvApp................. 41 AdvApp................................................................vTargetDate .............. 44 AdvApp.... 49 AdvApp.............4..vPerformanceSecurityPeriod ............ 42 AdvApp.........................5.vObject .vCommissionPurpose ............vRole ......2 2................................1 AdvApp....................................3 3..............24 AdvApp...............................................................................6 2...............................4......1.......4.........................5......vStrategy ........................................vBondRevenueSource .................................................................................................... 41 AdvApp...............................................vTransUserDef1-3 ...........8 2...................17 2.................... 43 AdvApp...................... 55 APXUser............vPerformance...........................21 2...........................................1 3...................4.........................................................................................vBondInsurer .........................7 3........................4............4.............4 Reference data public views ...4........ 44 AdvApp..............4.....................................................................................1......vAssetClass ............................................................................. 48 AdvApp......................... 45 AdvApp..14 2...................................... 51 APXUser.............. 45 AdvApp...........................3 2............................................13 2.6 Database functions ..........1.........1....... 47 AdvApp.................................... 54 APXUser. 42 AdvApp...................vSource ..........................CONFIDENTIAL—DO NOT DISTRIBUTE 2....................... 51 3........... 45 AdvApp....4.......1... 47 AdvApp....23 2............ ..................................vPerformanceSecurity.............. 48 AdvApp..............2 3......9 AdvApp.......16 2.............................. 41 AdvApp............. 53 APXUser......................... 46 AdvApp..vHoliday ................................ 54 APXUser..................4..........................5..5 2................vUserGroupType ...............fSecurityPropertyID .......vState ..........6 2.........vBrokerFirm ... 47 2......................... 52 APXUser..............4....................... 46 2........................vPortfolioBaseCustomLabels ...................................................2 2.......................................5 2................... Inc.............. 55 APXUser................................vOmnibus ................. 49 2... 2011 Advent Software............................vLicensePool ....10 2.............6............ 42 AdvApp............................................................. 56 APXUser.................................5............... 44 AdvApp.................5......... 43 AdvApp....................................................................................................................................................1....5.................5 Users and roles public views ......vUserBase .4....................7 2..vUserGroup ....................................... 41 2.......4.............vCountry ...................1 Portfolio public views ..22 2.....4............................................... 51 3................................................vUser ....5 3.....3 2.............................................................vSecUserDef1-3 .........9 3....8 2...............4......vUserSession ...... 50 3 APXUSER SCHEMA ....................................................1..vLicensePoolMember...............................................vSecClassMember ........................................................................................ 49 AdvApp.................vUserGroupMember.............................1....................................vPortfolioBase ..........1 2....vPortfolioBaseCustom .............vSecClass ....................................4 2........................................................4......4................................................................................................11 2...vPerformanceClassification ..................4........................................................................................12 2......vBondStatus .....vPortfolio ..............4.......................................8 3......1......................................................4..................................vPortfolioBaseLabels ..................1 2....................................6 3.........5................................7 2....20 2.................10 APXUser........................15 2......vIndustryGroup ....... 53 APXUser...................... 45 AdvApp...............5...........................................vCustodian ............................................................9 2....vHolidaySchedule .. 50 2......4.....4 3..................................vIndustrySector .19 2..................5......4.vExchange .................................. 47 AdvApp..................................................................................................................................

.......... 76 3..........1....1...................................................29 APXUser............................................vContactPhone ........ 78 APXUser........28 3....3 Market public views .................................................................................................vPortfolioGroupMemberFlattened ...........................2..16 3....vFactoredSecFlowMethod ....................vPortfolioTaxLotCurrent .......vPortfolioGroupMember ............... 61 APXUser....vPortfolioInterestedPartyMailing ......................14 3..........................................................................2.......................8 3................... 61 APXUser...vPositionRecon ..................................vPortfolioInterestedParty.........................................24 3.....1..vEmail ...... 57 APXUser..3......vActivityEx .vContactRelationship ....2.................................................................... 75 APXUser...................... 73 APXUser.............................1............. 2011 Advent Software....7 3.............. 63 APXUser............................................................................................................... 71 APXUser.3...................................1............................................27 3...............................2......................2............. 59 APXUser.1...............................................vActivityCustom ....... ..... 63 APXUser...........12 3..............1 3..1.......................... 57 APXUser............3. 78 APXUser....14 APXUser.................................vCurrency ...................9 3.....................................................2..........3..............3. 62 APXUser............22 3.................3.........vFxType ....vTaskRecurrence ....................10 3..................................20 3................1......................... 59 APXUser............... 68 APXUser...3. 60 APXUser........................................2................ 68 APXUser...1.............3............................vMarketIndex .............2..............................................................................17 3.................vPortfolioCompositeMember ..................vPortfolioSummaryCurrent.vActivityPriority...................vPortfolioContactRelationshipEx .......21 3.....................vCouponRate ...11 3........................18 APXUser..vPortfolioLabels ....................13 3............5 3......vAttendee ...................... 79 APX Release 3 Public SQL Views iv February 16......................vFreeBusyStatus .........................................................15 3.....................9 3.............. 58 APXUser................ 61 APXUser......vContactCustom ....................................... 76 APXUser......................................... 62 APXUser..25 3....................vPortfolioComposite ..............19 3.................15 3....3..... 71 APXUser.2.........................16 3. 67 3..vPortfolioBillingEx ...........vCouponRateSchedule .................... 77 APXUser..............12 3...................................... 77 APXUser...........1..14 3..................3 3...........................................vPerformanceMarketIndexSecurity...................................3.........................23 3..................... 79 APXUser...............................2...............vActivityPortfolio .................................................................11 3........... 59 APXUser.................vPortfolioSettingEx............................................................1.............1........................................ 65 APXUser...vPortfolioIndexes .... 75 APXUser....................................vMarketIndexRate ......................2............... 78 APXUser.................. 64 APXUser............ 73 APXUser...................2......26 3...vBaseRate ....................................................vBaseRateSchedule .....3.........................CONFIDENTIAL—DO NOT DISTRIBUTE 3....................1 3........1........................................ 76 APXUser.........vPriceType ........13 3.....................vContactAddress .............. 78 APXUser.............. 74 APXUser.................................. 67 3........vActivityType .......... 68 APXUser...............2....................2.......................................6 3.......................................................... 74 APXUser.........................................2....18 3.................................................1...6 3........................8 3.................vPortfolioTransactionHistory ..3........4 3... 59 APXUser..3..................................................................................vContact ..13 3.....................................................2.vFXRate .....1...................................1.....vPortfolioBaseSettingEx ...............................vPerformanceMarketIndexPeriod ..................................vTaskStatus .... 71 APXUser...................... 73 APXUser........................................ 71 APXUser............................vPortfolioCustomLabels ............... 76 3................ 67 APXUser.vPortfolioBaseRenamed .....vActivityContact ..........................2 3...................... 76 APXUser.......10 3..................2 3......................7 3......vPortfolioTransaction .......................5 3............. 77 APXUser............ Inc.....................................................................................1.............vPortfolioGroup ....... 78 APXUser.......12 3....... 75 APXUser...................11 3......................... 70 APXUser.2 Contact public views ......... 76 APXUser................4 3.........................3.............................1..................................vPerformanceMarketIndexClassification ..3 3.................vActivity ....2....................................................2............1.........17 3...... 60 APXUser..........

.............................................8 3.26 3........................vSecuritySymbolExport .....4...........................................................................4................................................................................................5 3..........................4................ 87 APXUser.............................. 98 APX Release 3 Public SQL Views v February 16....21 3..........21 3............5.....................3.... 86 APXUser.............16 3.........................3.............................................vCommissionPurpose ..............................................................4....................vBrokerFirm .....3................ 94 APXUser.....................vUserBase .........................23 3... 98 APXUser...........................vCustodian ...........................vUserGroup ..4 Reference data public views ......... Inc......................32 APXUser........................................4......................................4....................11 3.. 90 3..........vSecurityProperty....... 94 APXUser......................vUserGroupMember .....................................................................................3....................................5......................................vSecType ................4........20 3.........................vSecClass ................. 81 APXUser.....vBondInsurer ......................4....................................... 91 APXUser..... 95 3......................................... 86 APXUser......vSecurityPropertyValue ...................................13 3................31 3........................................ 96 APXUser.............................................. 87 APXUser.............vResetRateSchedule ..............5.......... 92 APXUser... 81 APXUser..............................vSecuritySplit ...3...........vState ...23 3.....25 3..................................................................................................... 94 APXUser......... 2011 Advent Software...........vBrokerRep ............vSecTypeGroup .........29 3... 85 APXUser.................... 90 APXUser......16 3..........3...................vStrategy ..................5...........vHolidaySchedule ..........4.............................................................4........... 85 APXUser.................... 93 APXUser..4...........................................2 3.................. 90 APXUser............................19 3...............4............3....................3........................vSecClassMember ..1 3........... .......................................28 3.........vSecurityVariant ......... 96 APXUser..............................3............................vSecurityCallPutStatus ...... 86 APXUser. 94 APXUser.........vBondStatus ................... 91 APXUser..................................................................vTargetDate ........................vIndustrySector .......4...........vSecurityDeleted ...............6 3............ 85 APXUser.... 97 APXUser.4......................................... 95 APXUser..............5.... 79 APXUser.................................................4.....4....................vConfigurationEx .......................................27 3.....4...........................................18 3.......................4....... 93 APXUser.................................................... 96 APXUser......................... 97 APXUser............................vSecUserDef1-3..............................................7 3..........................4....................... 95 3.................................22 3.....................vTransUserDef1-3................19 3........vAssetClass ................................................vLicensePoolMember ...................... 90 APXUser................................9 3..22 3...........vSource ............................................3.............................. 91 APXUser... 80 APXUser................ 79 APXUser................5...............vResetRate .................. 91 APXUser.............vObject ......................17 3..........24 APXUser................3........ 84 APXUser........... 92 APXUser.2 3..4........................ 94 APXUser....... 85 APXUser.........17 3....vSecurity ...........CONFIDENTIAL—DO NOT DISTRIBUTE 3...........vSecurityPrice ...........vLicensePool ............................ 91 APXUser............................vExchange ......................................................5 3.......... 90 APXUser.....................3........vSecurityValuationLastBusinessDay ....14 3........................................................................................3....7 3............6 3...... 92 APXUser.................................................................................................vUserGroupType .....vBondRevenueSource ................5............................................... 92 APXUser...........................................................4..9 APXUser................vHoliday ...............................3...........................4 3.4...................................................................................4...... 87 APXUser............30 3..........1 3...............8 3......24 3....20 3......................3 3........................... 93 APXUser... 84 APXUser...........vOmnibus ..3.......vSecurityFactor .......................................18 3......................3.. 90 APXUser..............4 3............................................................................. 93 APXUser..........................3............................10 3....vRole .............. 87 3................5...vCountry .......................3 3...............15 3...vSecuritySymbolImport ......5 Users and roles public views .................vSecurityPropertyLookup ...............15 3........................vUser ....vIndustryGroup ....................5.................3..............................................................................vSecurityRenamed...............4........................12 3... 98 APXUser..........................

.........6 3..6..2 3............................... 107 Advent Software....................................................................................................... 103 4 TECHNICAL NOTES ........ 104 4. 104 4.. 102 APXUser..........................................................................................4 3......................................vUserSession .....6..............fGetGenericDate ..................................5 3.................. 104 4..........fGetDisclaimerText .......3 3.......... 104 4..................... 100 APXUser...............................6........7 3...........6.....3 Data types .............................5 Excluded columns ........ APX Release 3 Public SQL Views vi February 16...........6..............................................................................6...............................6....10 APXUser........................ 106 DOCUMENT HISTORY ........................................................ 104 4.............5...........................................................1 3......................6. 99 APXUser............ 99 3.................. 99 APXUser.........................................................................fDisplaySecuritySymbol ..................fSecurityPropertyID .............................................................................6....... 100 APXUser........ 102 APXUser.......fTaskRecurrenceEnding ...........................................1 Level of Abstraction .... 99 3.....fShowAccruedInterestOnAllReports ..... 105 5 6 FUTURE DIRECTIONS .....CONFIDENTIAL—DO NOT DISTRIBUTE 3............................. Inc..................................................................... 101 APXUser...................8 3....6 Database functions .................fTaskRecurrencePattern ....4 Included columns . 101 APXUser.........fShowAccruedInterestOnPerformanceReports .................................fTaskRecurrenceFrequency ........................9 APXUser............................................................... 2011 ............2 Completeness of Coverage ..............

By their nature they are far more stable and consistent between APX versions than the underlying tables or internal views. documented. For example. can directly access data through these public views. the public views present a schema using logical entities (such as portfolios and contacts) to enable easily interpreting and extracting information from the database. We use public views to present the APX entity relationship diagram. Inc.  APX provides public SQL views to directly access its database for the following intended audiences:    Clients—Clients who want to run ad hoc queries or integrate other internal systems with data from APX can write SQL to access data directly through these public views. Because of both the inherent complexities within the database schema and potential changes that we may introduce between versions. however in some cases the underlying changes may be too extensive to avoid changes to public views.We try to insulate you from these changes as much as possible. we highly recommend against making direct SQL queries or updates to the underlying tables and columns.1 Business needs A relational database implementation enables open data access through SQL query and reporting tools.CONFIDENTIAL—DO NOT DISTRIBUTE 1 Introduction Advent Portfolio Exchange ("APX") is a relational database application that publishes SQL views to support direct access to its data by third-parties. the APX schema is highly normalized to protect against data corruption. we provide one public view for querying portfolio information that eliminates the need to understand the various tables and their relationships that comprise portfolio information. In short. Public views are simpler to use than the underlying tables because they are read-only. APX provides public SQL views to meet these objectives:  Simplify data access—We provide public SQL views that simplify accessing APX data by presenting logical entities that resolve underlying abstract and complex table relationships. APX Release 3 Public SQL Views 1 February 16. abstracting away from database schema relationships. 2011 . Maintain upwards compatibility—As we add functionality to APX in subsequent versions. Internal Advent use—Advent product development teams that are integrating their products with APX. 1. public views and functions differ from underlying tables and views within the database because:    They resolve schema-level complexities inherent in a sophisticated database design. and upgrade-compatible objects that enable clients and third-parties a reliable way to retrieve information from the APX database.2 What are public views and functions? APX public views and functions are published. For example. Advent Software. Partners—Alliance partners can continue to use the Advent Import Export utility or XML reports as before. 1. or even APX views other than these public views. They provide a simplified entity relationship of business objects. While the underlying database schema is highly normalized for efficient storage and data processing. we may introduce changes to the underlying database implementation. as well as Advent Professional Services and Client Services teams that are implementing and supporting APX. We discourage directly querying database tables or non-public views and functions since the underlying structures are likely to change without notice from version to version. but can also retrieve data directly through these public views.

1.3 Read-only APX public views are not intended for update use.com/documentation/APX/v3/v30/). The SQL Server role APXUserRole has both select and execute rights on the APXUser schema. which is meant for system integration. 2011 . Public functions. which is meant for reporting. while others help with lookups and calculations that are not possible to do with views alone. These views do not include internal APX data columns. in conjunction with public views. Access to certain data in the APXUser views is tied to APX user roles and permissions. there is a degree of application-level security applied to views in the ADVUser schema. Pre-validating and code-value lookups for entries to import interfaces such as blotter downloads. When users query the APXUser views. and generally intuitive to people using those views. such as RowVersion and Audit Trail columns. then the user is also restricted from seeing the portfolio when querying the APXUser. Inc. and any required changes between versions will be documented. they see only the data that they’re authorized to see based on their existing APX roles and permissions. help with your SQL queries. Public views typically incorporate joins to parent and ornament tables. as well as resolve foreign key relationships to related tables.5 Naming convention All public views as well as their columns follow a general naming convention that makes them predictable. 1. if a user is restricted from reading a portfolio through the APX user interface. All public views belong to one of two schemas: The majority of the views in the AdvApp schema are replicated in the APXUser schema. to be used in conjunction with the APX SQL accounting functions to generate custom SSRS reports. There is no application-level security applied to views in the AdvApp schema.advent. refer to “Creating SSRS Reports” on Advent Connection— http://connection.vPortfolio view. For example. Comprehensive public views and functions simplify obtaining information for any entity from as few views as possible.CONFIDENTIAL—DO NOT DISTRIBUTE  They are supported and documented for external use.4 Security   The AdvApp schema. such as a third-party billing system. APX Release 3 Public SQL Views 2 February 16. Every SQL user who is a member of AdvAppRole has access to all rows in every AdvApp public view. Any external programs that want to update APX data should use stored procedures or APIs that APX provides to perform updates. Here are a few sample use cases of public views and functions:    Custom reports written with a generic report writing tool such as Crystal Reports. (For more information on creating custom SSRS reports. You control who has access to these views through SQL Server roles:   The SQL Server role AdvAppRole has select rights on the AdvApp schema. Conversely. consistent. These basic rules include: Advent Software. A user must establish an active APX user session prior to querying permissioned data from APXUser views in order to return a result set. 1. Populating reference data drop-downs in third-party products. The APXUser schema. Some functions improve the run-time performance of your SQL queries.

Advent Software. This period will last until the end of the current major release version during which the deprecation became effective. unless the abbreviation is widely used in the financial services industry.” Avoid abbreviation.CONFIDENTIAL—DO NOT DISTRIBUTE    Belong to the AdvApp or APXUser schema and are prefixed with “v. Use the most common American spelling for all words. Inc.6 Deprecation To provide users ample time to update existing integration. The change will become permanent in the next major release of APX. APX Release 3 Public SQL Views 3 February 16. 1. 2011 . modifications to public views will go through a deprecation period.

Inc. country (2 character). Start row for risk country performance. or composite name can be obtained by a join against the vPortfolioBase view or the vPortfolioBaseRename view for renamed portfolios. Foreign key to vCurrency.1 Portfolio public views 2. ‘t’ = total of performance across all asset classes. or sector (3 character). ‘n’ = Net Performance.PortfolioBaseID. February 16. On Start and Total rows. which corresponds to the following combination of PerfCategoryCode. APX Release 3 Public SQL Views 4 . and composites. RowTypeCode. It does not include security-level performance. ‘d’ = detail row for a specific asset class. The internal rate of return due to foreign exchange gains or losses during the performance reporting period The internal rate of return during the performance reporting period DetailKeyCode nvarchar(12) FXIRR IRR MarketValue NetAdditionOrWithdrawal NetOrGrossCode NetTransfers PerfCategoryCode PerfDate PortfolioBaseCode PortfolioBaseID float float float float char(1) float char(1) datetime nvarchar(32) int Code for the type of performance data. ‘a’ = Asset Class. and DetailKeyCode for each performance record in APX: New keys RowType Code s s s Axys key stdate stdatec stdates PerfCategory Code a c s DetailKey Code NULL NULL NULL Description Start row for asset class performance. ‘s’ = industry sector. ‘s’ = Start Date. On detail rows. country.CurrencyCode. A code for the category of performance. RowTypeCode char(1) Note to Axys users: Axys identifies each performance record with an Axys key. group. A code for the detail level of this row. or performance for custom security properties. Start row for industry sector performance. ‘c’ = risk country.1 AdvApp. the key for the asset class (1 character).CONFIDENTIAL—DO NOT DISTRIBUTE 2 AdvApp Schema 2. this value is NULL. Column ACB CurrencyCode Data type float char(2) Description The average captial base for the performance reporting period Two-character code for the currency. The three character ISO code can be obtained by joining against the vCurrency view. 2011 Advent Software. groups. Foreign key to vPortfolioBase. The portfolio. or composites.vPerformance This view displays performance data inclusive of portfolios. or sectors.1. or sector. ‘g’ = Gross Performance. groups. countries. Date of this performance row.

the singlecharacter DetailKeyCode is a foreign key to AssetClassCode in vAssetClass. It also does not contain security level performance records.SecClassificationID. Detail row for industry sector performance. the asset class code) Identifier for the performance classification member. ‘g’ = Gross Performance.e. The code for the performance classification member. Detail row for asset class performance. 2011 . Detail row for risk country performance. group. the three-character DetailKeyCode is a foreign key to SectorID in vIndustrySector. Inc. AssetClass) Foreign key to vPerformanceClassificationPeriod. Column ACB CurrencyCode Fees FromDate FXGain FXIRR Gain IRR MarketValue NetAdditions NetOrGrossCode NetTransfers PerfClassID PerfClassMemberCode PerfClassMemberID PerfClassName PerformancePeriodID PortfolioBaseCode PortfolioBaseID ThruDate Data type float char(2) float datetime float float float float float float char(1) float int nvarchar(12) int nvarchar(72) int nvarchar(32) int datetime Description The average capital base for the performance reporting period Foreign key to vCurrency. Total row for industry sector performance. Advent Software. Foreign key to vPortfolioBase. APX Release 3 Public SQL Views 5 February 16.2 AdvApp.pbf and .Keystring.prf file formats. (I.vPerformanceClassification This view displays performance records that were created in APX 2 or later.PortfolioBaseID. Foreign key to vSecClass.g. Total row for risk country performance. The ending date for this performance record.PerformancePeriodID The portfolio. Performance classification name.1. 2. Foreign key to vSecClassMember. or composite code. the single-character DetailKeyCode is a foreign key to CountryCode in vCountry.CurrencyCode The start date for this performance record The internal rate of return due to foreign exchange gains or losses during the performance reporting period The internal rate of return during the performance reporting period Code for the type of performance data. ‘n’ = Net Performance. (E. or imported via the APX Import/Export Utility using .CONFIDENTIAL—DO NOT DISTRIBUTE totport totportc totports x a c s a t t t d NULL NULL NULL x xx c d xx xxx s d xxx Total row for asset class performance. It does not include performance records created prior to APX 2. Identifier for the performance classification.

2. calculated net of fees The internal rate of return during the performance reporting period. Column CurrencyCode ExternalFee FromDate PerformancePeriodID PortfolioBaseCode PortfolioBaseID ThruDate Data type char(2) float datetime int nvarchar(32) int datetime Description Foreign key to vCurrency. Use PerformancePeriodID instead. group.0.1. It also does not contain security level performance periods. Unique key for each performance period.4 AdvApp.vPerformanceClassificationPeriod This view displays all performance classification periods in APX that were created in APX 2. calculated using the calculation net ACB. calculated using the calculation gross ACB.CurrencyCode The starting date of the performance period.CONFIDENTIAL—DO NOT DISTRIBUTE 2. or imported via the APX Import Export Utility using pbf and prf file formats. The internal rate of return due to foreign exchange gains or losses during the performance reporting period. ‘n’ = Net Performance. Foreign key to vPerformanceClassificationPeriod.0 or later. It does not include performance periods created prior to APX 2. Deprecated The internal rate of return during the performance reporting period. calculated gross of fees The internal rate of return during the performance reporting period. Column ACB CurrencyCode Fees FromDate FXGain FXIRR FXIRRCalc FXIRRCalcGross Data type float char(2) float datetime float float float float Description The average capital base for the performance reporting period Foreign key to vCurrency. float float char(1) float int int nvarchar(32) Code for the type of performance data. ‘g’ = Gross Performance. or composite code. Foreign key to vPortfolioBase.PortfolioBaseID. FXIRRCalcNet float Gain IRRCalc IRRCalcGross IRRCalcNet IRRReal float float float float float MarketValue NetAdditions NetOrGrossCode NetTransfers PerformancePeriodID PerformanceSecurityPeriodID PortfolioBaseCode Advent Software.0.CurrencyCode The start date for this performance record The internal rate of return due to foreign exchange gains or losses during the performance reporting period Deprecated The internal rate of return due to foreign exchange gains or losses during the performance reporting period. The portfolio.PerformancePeriodID Same value as PerformancePeriodID – deprecated in APX 3.3 AdvApp. calculated using the ACB for the performance reporting period. February 16. The ending date of the performance period.vPerformanceSecurity This view displays all security-level performance records in APX. 2011 APX Release 3 Public SQL Views 6 . Inc.1.

CONFIDENTIAL—DO NOT DISTRIBUTE Column PortfolioBaseID SecurityID ThruDate Data type int int datetime Description Foreign key to vPortfolioBase. Inc. datetime APX Release 3 Public SQL Views February 16.PhoneID.ContactID.UserID. Foreign key to vPortfolioBase.vPortfolio This view dispays one row for each portfolio and its attributes that are defined exclusively for a portfolio.AddressID. 2. or firm. int Foreign key to vContactPhone.PhoneID. uniqueidentifier Globally unique identifier for third-party integration. nvarchar(32) Unique code for each portfolio. Column BankAddressID BankContactID BankPhoneID BillingAddressID BillingContactID BillingPhoneID DocumentLink InitialValue InvestmentGoal IsExcludedFromGroupRules IsIncomplete IsPositionOnly OwnedBy OwnerAddressID OwnerContactID OwnerPhoneID PortfolioCode PortfolioGUID PortfolioID PortfolioStatus PortfolioTypeCode PrimaryContactID ProcessingGroupID ReconciliationCloseDate Advent Software.UserGroupID. int Unique key for each portfolio.PortfolioBaseID The ending date of the performance period.1. 2011 7 . Foreign key to vPerformanceClassificationPeriod.PerformancePeriodID . int Foreign key to vContactAddress. group.vPerformanceSecurityPeriod This view displays all security-level performance periods in APX.AddressID.PortfolioBaseID Foreign key to vSecurity.PhoneID.6 AdvApp. Column CurrencyCode ExternalFee FromDate PerformancePeriodID Data type char(2) float datetime int Description Foreign key to vCurrency. or composite code. portfolio group. Same value as PerformancePeriodID.CurrencyCode The starting date of the performance period. It does not contain portfolio settings. Data type Description int Foreign key to vContactAddress. as they may be defined for the portfolio. nvarchar(72) nvarchar(72) int Foreign key to vContact. int Foreign key to vContact. Use PerformancePeriodID instead.ContactID.SecurityID The ending date for this performance record.5 AdvApp.AddressID. nvarchar(260) float nvarchar(72) bit bit bit int Foreign key to vUserBase. int Foreign key to vContact.ContactID. int Foreign key to vContactAddress. int Foreign key to vUserGroup.0. Deprecated in APX 3.1. int Foreign key to vContactPhone. int Foreign key to vContact. PerformanceSecurityPeriodID PortfolioBaseCode PortfolioBaseID ThruDate int nvarchar(32) int datetime 2. int Foreign key to vContactPhone. The portfolio.ContactID.

The identifier that represents the audit event which deleted this version of this record. The date and time of when the audit event occurred. The identifier that represents the audit event which made this row current.1. Each audited event is assigned an AuditEventID.7 AdvApp.vPortfolio_Hist This view displays all audited versions of each portfolio. which is a sequentially assigned unique identifier in the APX Firm database. Advent Software.CustodianID. Foreign key to vPortfolio. Foreign key to vCustodian.UserID The default broker rep for the portfolio. APX Release 3 Public SQL Views 8 February 16. Foreign key to vUser. Foreign key to vBrokerRep. Foreign key to vUserGroup. The function (method) by which this row was created or modified. 2011 .CONFIDENTIAL—DO NOT DISTRIBUTE Column ShortName TaxNumber TaxStatus URL Data type nvarchar(72) varchar(16) nvarchar(72) nvarchar(260) Description 2.UserGroupID. Inc.PortfolioID.BrokerRepID. Column AccruedInterestID AuditEventIDIn AuditEventIDOut AuditEventTime AuditFunctionID AuditUserID BillingMethodCode BrokerRepID ClosingMethodCode CustodianID DepositoryInstitutionID DocumentLink DomicileCountryCode InitialValue InvestmentGoal IsExcludedFromGroupRules IsIncomplete IsPositionOnly PortfolioCode PortfolioGUID PortfolioID PortfolioStatus PortfolioTypeCode ProcessingGroupID ReconciliationCloseDate ReinvestCapitalGains ReinvestDividends ShortName TaxNumber TaxStatus URL Data type smallint int int datetime smallint int char(1) int char(1) int int nvarchar(260) char(2) float nvarchar(72) bit bit bit nvarchar(32) uniqueidentifier int nvarchar(72) nvarchar(72) int datetime bit bit nvarchar(72) varchar(16) nvarchar(72) nvarchar(260) Description The accrued interest report setting on the portfolio. The user associated with this audit event.

Column CloseDate OwnedBy PortfolioBaseCode PortfolioBaseID PortfolioBaseTypeCode Data type datetime int nvarchar(32) int char(1) Description Foreign key to vUserBase. group or composite. or composite. This view displays custom fields and attributes for portfolio base objects: portfolios. groups. and composite containing the common attributes across portfolios.8 AdvApp. Column ClassID PortfolioBaseCode PortfolioBaseID PortfolioBaseTypeCode Data type int nvarchar(32) int char(1) Description APX Class ID of the portfolio base object. group. group. certain standard fields that have associated labels are allowed to be blank.1. ReportHeading3 for the portfolio. The vPortfolioBaseCustomLabels view does not show rows where the label values are blank.vPortfolioBaseCustomLabels This view is a row-based representation of the vPortfolioCustomLabels view.1. Unique key for a portfolio. ReportHeading2 for the portfolio. Advent Software.vPortfolioBase This view displays one row for each portfolio.9 AdvApp. Additional columns will be added for each custom field that the firm has activated for their site. or composite. Portfolio. 2011 . Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite 2.1.vPortfolioBaseCustom The PortfolioBaseCustom view returns custom fields and attributes for portfolio base objects—portfolios. group. PortfolioBaseCode and ClassID. group. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite ReportHeading1 for the portfolio. The vPortfolioCustomLabels view must show these blank values because the view is columnar. ReportHeading1 ReportHeading2 ReportHeading3 StartDate nvarchar(72) nvarchar(72) nvarchar(72) datetime 2. or composite. Foreign key to vPortfolioBase. Identifier for the portfolio.10 AdvApp. or composite code. portfolio groups and composites. and composites. portfolio group or composite code. Each row in this view will return the columns: PortfolioBaseID. APX Release 3 Public SQL Views 9 February 16.PortfolioBaseID. Though APX does not allow custom labels to have blank values. The rowbased view returns more than one row for each portfolio. portfolio groups and composites. PortfolioBaseTypeCode. group. The following are differences between the vPortfolioCustomLabels view and the vPortfolioBaseCustomLabels view: • • The columnar vPortfolioCustomLabels view displays only one row for each portfolio. Inc. group. or composite.CONFIDENTIAL—DO NOT DISTRIBUTE 2.UserID The portfolio.

Column PortfolioBaseCode PortfolioBaseGUID PortfolioBaseID PortfolioBaseTypeCode Data type nvarchar(32) uniqueidentifier int char(1) Description The portfolio. The column names in the vPortfolioLabels view have prefixes to indicate the type of label: 'T_' for text. Data type nvarchar(72) Description The label’s tag in APX.12 AdvApp. The row-based view returns more than one row for each portfolio. The following are differences between the vPortfolioLabels view and vPortfolioBaseLabels view: • • The columnar vPortfolioLabels view displays only one row for each portfolio. group. numeric labels are float and date labels are datetime. and 'D_' for date labels. The column names in the vPortfolioCustomLabels view have prefixes to indicate the type of label: 'T_' for text. In the vPortfolioBaseCustomLabels view. Text labels are varchar. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite 2. In the vPortfolioCustomLabels view. 'N_' for numeric.11 AdvApp. # (number sign) for numeric. Portfolio Group or Composite Column Label PortfolioBaseID Value int sql_variant 2. or composite. the entire label type is returned in the Label field. %stdate. #copies. Unique key for a deleted portfolio.1. and prefixed the same way they are in APX: $ (dollars sign) for text. and % (percent sign) for date labels. Inc. The vPortfolioBaseCustomLabels view does not show any rows where the Value column is NULL. you will need to cast or convert the values for each label type accordingly. group. If you are integrating the views directly to another application. The vPortfolioLabels view shows NULL values for labels that were not assigned to portfolios.vPortfolioBaseDeleted This view displays one row for each portfolio. 2011 • • Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE • • • The vPortfolioCustomLabels view shows NULL values for labels that were not assigned to portfolios. Foreign key to vPortfolioBase. The vPortfolioBaseLabels view does not show any rows where the Value column is NULL. each column can be a different SQL data type. 'N_' for numeric.vPortfolioBaseLabels This view is a row-based representation of the vPortfolioLabels view. In the vPortfolioBaseCustomLabels view. The vPortfolioBaseLabels view does not show rows where the label values are blank. A label in APX can have a maximum of 8 characters.1. For example $name. because the column must represent three different data types. certain standard fields that have associated labels are allowed to be blank.PortfolioBaseID The value of the label for this Portfolio. In the vPortfolioBaseLabels view. and 'D_' for date labels.PortfolioBaseID. or composite code. Though APX does not allow custom labels to have blank values. group. we use a data type called sql_variant. or composite that has been deleted. . Foreign key to vPortfolioBase. Globally unique identifier for integrating with third-party systems. the entire label APX Release 3 Public SQL Views 10 February 16. The vPortfolioLabels view must show these blank values because the view is columnar.

15 AdvApp. Entry date for this composite member into this composite.13 AdvApp.vPortfolioBaseRenamed This view displays one row for each portfolio.1. as they may be defined for the portfolio composite or firm. A label in APX can have a maximum of 8 characters. and prefixed the same way they are in APX: $ (dollars sign) for text. you will need to cast or convert the values for each label type accordingly. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite 2. group. or composite that has been renamed. It does not contain portfolio composite settings. Data type nvarchar(128) Description The label’s tag in APX (Example: $name.PortfolioBaseID.PortfolioBaseID The value of the label for this Portfolio.PortfolioBaseID. Unique code for each portfolio composite. because the column must represent three different data types. we use a data type called sql_variant. Data type nvarchar(72) datetime Description Comments about this member in this composite. 2011 APX Release 3 Public SQL Views 11 . Text labels are varchar.UserID. Column OwnedBy PortfolioCompositeCode PortfolioCompositeID Purpose Data type int nvarchar(32) int nvarchar(72) Description Foreign key to vUserBase. If you are integrating the views directly to another application. 2. February 16. Column Comments EntryDate Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE • type is returned in the Label field. Foreign key to vPortfolioBase. In the vPortfolioLabels view.1. %stdate. numeric labels are float and date labels are datetime.14 AdvApp. In the vPortfolioBaseLabels view.vPortfolioComposite This view displays one row for each portfolio composite and its attributes that are defined exclusively for a portfolio composite. or Composite Column Label PortfolioBaseID Value int sql_variant 2.1. #copies). # (number sign) for numeric. Portfolio Group. Foreign key to vPortfolioBase.vPortfolioCompositeMember This view displays one row for each member of a portfolio composite. Inc. Unique key for each portfolio composite. each column can be a different SQL data type. Foreign key to vPortfolioBase. Column PortfolioBaseCodeNew PortfolioBaseCodeOld PortfolioBaseGUID PortfolioBaseID PortfolioBaseTypeCode Data type nvarchar(32) nvarchar(32) uniqueidentifier int char(1) Description Globally unique identifier for integrating with third-party systems. and % (percent sign) for date labels.

PortfolioBaseID. Column PortfolioBaseID Data type int Description Foreign key to vPortfolioBase.vPortfolioCustomLabels This view displays one row for each portfolio.18 AdvApp. indicates whether it is consolidated.) Foreign key to vPortfolio. Unique key for each portfolio group. Advent Software. 2.CONFIDENTIAL—DO NOT DISTRIBUTE Column ExitDate MemberCode MemberID PortfolioCompositeCode PortfolioCompositeID Data type datetime nvarchar(32) int nvarchar(32) int Description Exit date for this composite member out of this composite. 2. Membership via nested groups is not displayed in this view. It is re-generated when a new custom field is created. It does not contain portfolio group settings. Portfolio. Foreign key to vPortfolioBase. Use vPortfolioBaseCustomLabels. Foreign key to vPortfolioComposite.) Unique code for each portfolio composite. Column IsConsolidatedAccount IsPortfolioSorted OwnedBy PortfolioGroupCode PortfolioGroupID Purpose Data type bit bit int nvarchar(32) int nvarchar(72) Description Foreign key to vUserBase.PortfolioBaseID. group.PortfolioCompositeID. Column IsConsolidated MemberCode MemberID Data type bit nvarchar(32) int Description If this group member is a portfolio group.vPortfolioGroupMember This view displays one row for each direct member of a portfolio group. Unique code for each portfolio group.PortfolioBaseID for this group member. 2. or composite code for this group member.vPortfolioGroup This view displays one row for each portfolio group and its attributes that are defined exclusively for a portfolio group. 2011 . This view is deprecated in APX 3 and will be removed in APX 4.UserID.1. Portfolio code for this composite member. APX Release 3 Public SQL Views 12 February 16. Inc.1.17 AdvApp. Foreign key to vPortfolioBase. (All composite members are portfolios.16 AdvApp. (All composite members are portfolios.1.PortfolioID for this composite member. as they may be defined for the portfolio group or firm.

or composite code for this group member.PortfolioBaseID. Column ContactCode ContactID Custom<n> ExternalAccount Advent Software.vPortfolioIndexes This view displays the performance and synthetic index settings for each portfolio.vPortfolioGroupMemberFlattened This is a flattened view of portfolio group membership.PortfolioGroupID. Portfolio.20 AdvApp. PortfolioGroupCode PortfolioGroupID nvarchar(32) int 2.ContactID.PortfolioGroupID PortfolioGroupCode PortfolioGroupID nvarchar(32) int 2. Foreign key to vPortfolioGroup. 2011 APX Release 3 Public SQL Views 13 .CONFIDENTIAL—DO NOT DISTRIBUTE Column MemberTypeCode Data type char(1) Description Code for type of the member. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite Unique code for each portfolio group. group. Code for type of the member. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite Unique code for each portfolio group.e interested party relationship) between a portfolio and a contact.21 AdvApp. portfolio group. Column DisplayOrder IsConsolidated MemberCode MemberID MemberTypeCode Data type bigint bit nvarchar(32) int char(1) Description Indicates whether the portfolio group or composite is a consolidated member of this group.1.19 AdvApp. Foreign key to vContact.PortfolioBaseID for this group member. Each row represents an association (i.vPortfolioInterestedParty This view displays the association between portfolios and contacts. Members of portfolio groups are returned as direct members even if the membership is a result of nested portfolio groups. Column DisplayOrder IndexDate IndexID PercentWeight PortfolioBaseID Data type int datetime int numeric(4.IndexID. 2. Inc. <n> = 01 to 04 February 16. or composite.1) int Description Foreign key to vMarketIndex.1. Foreign key to vPortfolioGroup. Foreign key to vPortfolioBase. Data type nvarchar(32) int nvarchar(72) nvarchar(72) Description Unique code for each contact.1. Foreign key to vPortfolioBase.

If the Interested Party Relationship is based on the Contact Relationship with another Contact. Inc. Foreign key to vContactRelationship. Represents portfolio labels of numeric values. portfolio attributes. called “labels” in Axys. are represented in the APX database in two places. “D_” replacing the “%” for date formats and “N_” replacing the “#” for numerical values Advent Software.ContactID. The columns in this view will vary by site.22 AdvApp. Foreign key to vPortfolio. Represents portfolio labels of date/time values. Foreign key to vPortfolio. Column PortfolioID T_xxxx D_xxxx N_xxxx   Data Type int nvarchar(72) datetime float Description Foreign key to vPortfolio. Column AddressID AddressLabel AreMailingsForDefault ContactCode ContactID ExternalAccount HasMailing<n> Notes PortfolioCode PortfolioID Data Type int nvarchar(72) bit nvarchar(32) int nvarchar(72) bit nvarchar(max) nvarchar(32) int Description Foreign key to vContactAddress.CONFIDENTIAL—DO NOT DISTRIBUTE Column InterestedPartyType IPAttr<n> Notes PortfolioCode PortfolioID RelatedContactID Data type nvarchar(72) bit nvarchar(max) nvarchar(32) int int Description The type of relationship underlying a contact’s interest in a portfolio. <n> = 01 to 32 Unique code for each portfolio. “Custom labels” remain in a tag-value child table in APX. Foreign key to vContact. <n> = 01 to 32.ContactID. this column contains the related contact’s ID. RelationshipID RelationshipTypeName int nvarchar(72) 2. Unique code for each portfolio.1. APX Release 3 Public SQL Views 14 February 16.vPortfolioInterestedPartyMailing This view displays mailing information for each contact relationship to a portfolio.PortfolioID.AddressID Unique code for each contact.1.23 AdvApp. Each label is presented as a column in this view. 2011 . Label types are prefixed with “T_” replacing the “$” for text values. A site can promote data from the tag-value format to a custom extension table (AdvPortfolioBaseExt) with specific site-defined columns.PortfolioID Represents portfolio labels of string values. Internally.PortfolioID. The view has one row per PortfolioID. We present the label information in a single view with both standard and custom labels.RelationshipID. Foreign key to vContact. Use vPortfolioBaseLabels. So-called “standard labels” became specific columns in SQL tables.vPortfolioLabels This view is deprecated in APX 3 and will be removed in APX 4. 2. Contact’s relationship with this portfolio. Site-defined flags about the interested party. with the labels appearing as columns.

Tax lots are current when vPortfolioSummaryCurrent. with one row for each portfolio. SettlementCurrencyCode TotalCash TotalCost TotalMarketValue TotalTradableCash char(2) float float float float Foreign key to vPortfolio. The PortfolioTransactionID that opened this tax lot. OriginalCostDate OriginalCostLocalCurrency OriginalCostPortfolioCurrency OriginalCostSystemCurrency OriginalFace PortfolioCode PortfolioID Quantity SecTypeCode SecurityID Advent Software.vPortfolioTaxLotCurrent This view displays current derived tax lots for each portfolio.1. February 16. Foreign key to vCurrency. Column IsHoldingsHistoryCurrent IsTaxLotCurrent NextTranID PortfolioCode PortfolioID ProcessedDate RealizedYTDGain RealizedYTDGainLong Data type bit bit int nvarchar(32) int datetime float float Description 1 if the HoldingHistory table has been updated for all changes to the transactions for this portfolio. Inc. with one row for each portfolio tax lot.CONFIDENTIAL—DO NOT DISTRIBUTE 2. Foreign key to vPortfolioTransaction. 2.24 AdvApp. Total realized gains for securities sold in the current calendar year.1.SecurityID.CurrencyCode.25 AdvApp. Indicates when this portfolio summary information was updated. Foreign key to vSecType. datetime float float float float nvarchar(32) int float char(2) int Foreign key to vPortfolio. 2011 APX Release 3 Public SQL Views 15 .vPortfolioSummaryCurrent This view displays current derived market values for each portfolio.PortfolioID.PortfolioTransactionID. 1 if AdvTaxLot has been updated for all changes to the transactions for this portfolio.IsTaxLotCurrent = 1.PortfolioID. Long term is defined by securities held for a period longer than the Holding Period for the Security Type. Foreign key to vSecurity. Total realized long term gain for securities sold in the current year.CustodianID. Column BrokerRepSymbol CustodianID HeldLongDate IPCounter IsPledge IsShortPosition IsZeroMV LotNumber LotTransactionID Data type nvarchar(12) int datetime int bit bit bit smallint int Description Foreign key to vCustodian.SecTypeCode.

Foreign key to vSecurity. 2.SecTypeCode. Foreign key to vCustodian. this is the earlier date.SourceID.CommissionPurposeID.CustodianID. Foreign key to vSecType.26 AdvApp.1. Foreign key to vSecurity.SecurityID.SecTypeCode. if billing in advance. Relative to the Trade Date. this is the later date.SecurityID.vPortfolioTransaction This view displays one row for each portfolio transaction.BrokerFirmID Foreign key to vSecurity.StrategyID. 2011 APX Release 3 Public SQL Views 16 . Foreign key to vSecType. ImpliedCommission IPCounter IsDestPledge IsPledge LotNumber MarkToMarket OriginalCost OriginalCostDate OriginalFace OriginalFX OtherFees PerfContributionOrWithdrawal PortfolioID PortfolioTransactionID PostDate Quantity RecID ReclaimAmount RecordDate SecTypeCode1 SecTypeCode2 SecurityID1 SecurityID2 SequenceNo SettleDate SettleDateFX SourceID Advent Software.PortfolioID. bit varchar(16) bit bit smallint bit float datetime float float float bit int int datetime float tinyint float datetime char(2) char(2) int int int datetime float int Foreign key to vPortfolio.SecurityID Foreign key to vCommissionPurpose. February 16. Foreign key to vCustodian. The date that defines the billing period. Foreign key to vExchange.CONFIDENTIAL—DO NOT DISTRIBUTE Column StrategyID Symbol Data type int nvarchar(25) Description Foreign key to vStrategy.ExchangeID. Inc. If billing in arrears.CustodianID. Foreign key to vSource. Column BrokerFirmID BrokerRepSecurityID ClosingMethodCode Comment Commission CommissionPurposeID CustodianID DestCustodianID DivTradeDate DurationOnCost ExchangeFee ExchangeID FeePeriodDate Data type int int char(1) nvarchar(70) float tinyint int int datetime float float tinyint datetime Description Foreign key to vBrokerFirm. Unique key for each transaction.

EventOrder. System timestamp (not a date-time) for the change. AuditEventID. Inc.SecurityID. Views for trade blotters are not currently available. Column AuditEventID Data type int Description Audit Event ID of the action that caused this change. PortfolioTransactionID. Trade blotter record for this transaction record.StrategyID. The TransactionCode column is also in upper case for each D action. 2. binary(8) int int char(1) nvarchar(70) float tinyint int int datetime float int float tinyint datetime bit varchar(16) Foreign key to vCommissionPurpose. Foreign key to vExchange. AuditEventID. This can also be done within other orders.CustodianID. Foreign key to the audit history table. and lower case for each insert action. A delete is represented by a single row. For the results of this view to make sense. Foreign key to vCustodian.TransUserDef1ID.BrokerFirmID. The action is coded in the RowAction column as I or D. order by PortfolioID. Each update is represented by a delete of the old row and an insert of the new row.vPortfolioTransactionHistory This view has one row for each insert to the AdvPortfolioTransaction table. EventOrder or even order by PortfolioID. Foreign key to vTransUserDef2.TransUserDef2ID. Foreign key to vBrokerFirm. Foreign key to vTransUserDef3.CommissionPurposeID. it needs to be ordered by AuditEventID and EventOrder. AuditTimestamp BrokerFirmID BrokerRepSecurityID ClosingMethodCode Comment Commission CommissionPurposeID CustodianID DestCustodianID DivTradeDate DurationOnCost EventOrder ExchangeFee ExchangeID FeePeriodDate ImpliedCommission IPCounter Advent Software. Views for audit history are not currently available. The AuditTimestamp column can be used as an additional ordering key within AuditEventID and EventOrder. APX Release 3 Public SQL Views 17 February 16. A key for ordering rows with an AuditEventID. Label for the TransactionCode Foreign key to vTransUserDef1. for example. Foreign key to vCustodian.ExchangeID.TransUserDef3ID. Use the AuditEventID to order transactions chronologically. This can be used to order items with an AuditEventID.CONFIDENTIAL—DO NOT DISTRIBUTE Column StrategyID TradeAmount TradeBlotterLineID TradeDate TradeDateFX TranCodeLabel TranID TransactionCode TransUserDef1ID TransUserDef2ID TransUserDef3ID VersusDate WithholdingTax YieldOnCost Data type int float int datetime float nvarchar(50) int char(2) tinyint tinyint tinyint datetime float float Description Foreign key to vStrategy. 2011 .CustodianID.27 AdvApp. Foreign key to vSecurity.1.

Foreign key to vSource.SecTypeCode.StrategyID. instead of position-level. Foreign key to vTransUserDef2. Foreign key to vTransUserDef1. APX Release 3 Public SQL Views 18 February 16. Advent Software. Deletes and outgoing updates have an upper-case value in this column.TransUserDef3ID. Foreign key to vSecType. Join against vPortfolioBase for portfolio name or code. Foreign key to vStrategy. Foreign key to vTransUserDef3. Unique key for each portfolio transaction.TransUserDef2ID.SecTypeCode.28 AdvApp.SecurityID. 2011 . ‘I’ for insert or incoming update. 2. TransactionTime TransUserDef1ID TransUserDef2ID TransUserDef3ID VersusDate WithholdingTax YieldOnCost datetime tinyint tinyint tinyint datetime float float Inserted and incoming update rows have a lower-case value in this column. Foreign key to vSecurity.vPositionRecon This view displays custodial position data downloaded from Advent Custodial Data.1.SourceID. The date and time of the audit event ID that affected this row.SecurityID.TransUserDef1ID. Foreign key to vSecType. ‘D” for delete or outgoing update.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsDestPledge IsPledge LotNumber MarkToMarket OriginalCost OriginalCostDate OriginalFace OriginalFX OtherFees PerfContributionOrWithdrawal PortfolioID PortfolioTransactionID PostDate Quantity RecID ReclaimAmount RecordDate RowAction SecTypeCode1 SecTypeCode2 SecurityID1 SecurityID2 SequenceNo SettleDate SettleDateFX SourceID StrategyID TradeAmount TradeBlotterLineID TradeDate TradeDateFX TranID TransactionCode Data type bit bit smallint bit float datetime float float float bit int int datetime float tinyint float datetime varchar(1) char(2) char(2) int int int datetime float int int float int datetime float int varchar(2) Description Foreign key to vPortfolio. Foreign key to vSecurity.PortfolioID. In some cases the data may be stored at the tax-lot level. Inc.

Foreign key to vSecType.CONFIDENTIAL—DO NOT DISTRIBUTE Column ExecutionDate IsShortPosition LotNumber MarketValue OriginalCost OriginalCostDate OriginalFace OriginalFX PortfolioCode PortfolioID PositionDate PositionDateFX Quantity SecTypeCode SecurityID SourceID Data type datetime bit int float float datetime float float nvarchar(32) int datetime float float char(2) int int Description “1” = yes and “0” = no. or the appointment organizer. nvarchar(max) datetime int Foreign key to vUserBase. Unique code for each portfolio.UserID. 2011 19 . Join against vPortfolioBase for portfolio name or code.UserBaseID. Foreign key to vUserBase. Foreign key to vUserBase. Column ActivityCategory ActivityID ActivityPriorityID ActivityTypeID ApptOrTaskStartDate AssignedBy AssignedTime AssignedTo AssignedToOrOrganizerID Body CompletedDate CreatedBy CreatedTime DocumentLink DueBy DueDate EndDate EndTime EndTimeOfDay FreeBusyStatusID IsAllDay IsAppointment Advent Software.SecurityID. bit bit APX Release 3 Public SQL Views February 16.UserBaseID. 2. Currency rate on the original cost date. In APX 3 Update 1. it exists in a temporary schema called AdvApp_APX2.1 AdvApp.2.UserBaseID. This view displays one row for each activity.FreeBusyStatusID. Currency rate on the position date.PortfolioID. The vActivity view in this temporary schema will be removed in APX 4. Inc. datetime nvarchar(260) datetime datetime datetime datetime varchar(5) tinyint Foreign key to vFreeBusyStatus.vActivity view in APX 3 and prior releases is deprecated.ActivityPriorityID. Foreign key to vSecurity. Data type nvarchar(72) int tinyint tinyint datetime int datetime int int Description Unique key for each activity.2 Contact public views 2.vActivity The AdvApp.SourceID. Foreign key to vActivityPriority. Foreign key to vUser.SecTypeCode. Foreign key to vActivityType. Foreign key to vPortfolio.ActivityTypeID. User ID of the user to whom a task is assigned. Foreign key to vSource. This view below includes those columns that are common to most Activity types.

RecurrenceID Foreign key to vTaskStatus. Data type nvarchar(72) int tinyint tinyint int datetime int int int datetime smallint int nvarchar(max) datetime int datetime nvarchar(72) nvarchar(260) datetime APX Release 3 Public SQL Views 20 February 16. Foreign key to vUserBase. Column ActivityCategory ActivityID ActivityPriorityID ActivityTypeID AssignedBy AssignedTime AssignedTo AuditEventIDIn AuditEventIDOut AuditEventTime AuditFunctionID AuditUserID Body CompletedDate CreatedBy CreatedTime Custom<n> DocumentLink DueBy Advent Software.2.vActivity_Hist This view displays all audited versions of each activity row. Foreign key to vActivityPriority. Foreign key to vUserBase. The user associated with this audit event. which is a sequentially assigned identifier. Each audited action is assigned an AuditEventID. Foreign key to vActivityType.UserBaseID.ActivityPriorityID. 2. The identifier that represents the audit event which deleted this version of this record. Inc. Foreign key to vTaskRecurrence.ActivityTypeID. Foreign key to vUserBase. 2011 Description Unique key for each activity. Smaller AuditEventIDs are for audit events that occurred prior to larger AuditEventIDs.UserBaseID.UserBaseID.UserID . The identifier that represents the audit event which made this row current. The function (method) by which this row was created or modified. The date and time of when the audit event occurred.TaskStatusID.ContactID. Foreign key to vUser.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsRecurring IsReminderOn IsSystem Location MinutesBeforeStart ObjectGUID OrganizerID OwnedBy PercentComplete RecurrenceID ReminderDate ReminderTime ReminderTimeOfDay SequenceNo StartDate StartTime StartTimeOfDay Subject TaskStatusID URL Data type bit bit bit nvarchar(72) int uniqueidentifier int int tinyint int datetime datetime varchar(5) smallint datetime datetime varchar(5) nvarchar(255) tinyint nvarchar(260) Description Foreign key to vContact.2 AdvApp.

RecurrenceID.2.ActivityID. IsPrimaryPortfolio bit PortfolioID int Foreign key to vPortfolio.UserID. Column Data type Description ActivityID int Foreign key to vActivity. Column ActivityID Custom<n> Data type int nvarchar(72) Description Foreign key to vActivity. 2011 .2.vActivityContact This view shows the association of one or more contacts to each activity. Inc.TaskStatusID.ActivityID. Advent Software. 2.FreeBusyStatusID Foreign key to vUser.4 AdvApp.5 AdvApp.3 AdvApp.ContactID 2. APX Release 3 Public SQL Views 21 February 16. Foreign key to vTaskRecurrence. Foreign key to vUserBase.CONFIDENTIAL—DO NOT DISTRIBUTE Column DueDate EndTime ExtendPermissions FreeBusyStatusID IsAllDay Location MinutesBeforeStart ObjectGUID OrganizerID OwnedBy PercentComplete RecurrenceID ReminderTime SequenceNo StartDate StartTime Subject TaskStatusID URL Data type datetime datetime bit tinyint bit nvarchar(72) int uniqueidentifier int int tinyint int datetime smallint datetime datetime nvarchar(255) tinyint nvarchar(260) Description Foreign key to vFreeBusyStatus.vActivityPortfolio This view shows the association of one or more portfolios to each activity. Foreign key to vTaskStatus.vActivityCustom This view displays one row for each activity and its custom columns.UserBaseID.PortfolioID. <n> = 01 to 20 2.ActivityID.2. Column ActivityID ContactID IsPrimaryContact Data type int int bit Description Foreign key to vActivity. Foreign key to vContact.

2.0. APX Release 3 Public SQL Views 22 February 16.8 AdvApp. 1 .6 AdvApp.2.vAttendee This view lists the attendees of a meeting.Resource AttendeeTypeName EmailAddress EmailAddressID nvarchar(32) nvarchar(128) int 2. Unique code for each contact. Column Data type ActivityPriorityID tinyint ActivityPriorityName nvarchar(72) Description Unique key for each activity priority.vActivityPriority This is a lookup view for activity priorities. 2. ‘Individual’ – Individual contact ‘HouseHold’ – Household contact group ‘Institution’ – Institution contact group ‘APX User’ – APX user Deprecated. Inc.9 AdvApp. 2. Column BestTimeToCall BirthDate BusinessPhone CallInterval CellularPhone Company ContactCode ContactGUID ContactID ContactStatus ContactTypeName Data type nvarchar(72) datetime varchar(45) smallint varchar(45) nvarchar(255) nvarchar(32) uniqueidentifier int nvarchar(72) nvarchar(72) Description Concatenation of country code.7 AdvApp. Will be removed in APX 4.vActivityType This is a lookup view for activity types.2. DefaultAddressCity DefaultAddressCountry nvarchar(72) nvarchar(32) Advent Software. Column Data type ActivityTypeID tinyint ActivityTypeName nvarchar(32) Description Unique key for each activity type. Use DefaultAddressID.vContact This view displays one row for each contact.Optional 3 .CONFIDENTIAL—DO NOT DISTRIBUTE 2. 2011 . Column Data type AppointmentID int AttendeeTypeID tinyint Description Unique key for each appointment (Meeting). phone number and extension.2.Required 2 .

Use DefaultAddressID. Foreign key to vContactPhone.CONFIDENTIAL—DO NOT DISTRIBUTE Column DefaultAddressFull Data type nvarchar(255) DefaultAddressID DefaultAddressLabel DefaultAddressLine1 DefaultAddressLine2 DefaultAddressLine3 DefaultAddressLine4 DefaultAddressPostalCode DefaultAddressStateCode DefaultPhoneID DeliveryName DocumentLink DriverLicense Email Email2 Email3 FirstName Gender HomePhone Income IsBusinessOwner IsIRA IsLifeInsurance IsReferralRequest IsRetired IsTrustFund LastContactedDate LastName MiddleName NextCallDate Notes Occupation OtherPhone OwnedBy Prefix ResearchTopics RetirementDate Salutation Suffix TaxBracket TaxID Title URL Advent Software.0.0.0.0. Use DefaultAddressID. Will be removed in APX 4. Deprecated. Foreign key to vContactAddress. Use DefaultAddressID. Deprecated. Use DefaultAddressID.0. int nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) varchar(16) nvarchar(3) int nvarchar(255) nvarchar(260) nvarchar(32) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(72) nvarchar(72) varchar(45) float bit bit bit bit bit bit datetime nvarchar(72) nvarchar(72) datetime nvarchar(max) nvarchar(72) varchar(45) int nvarchar(72) nvarchar(max) datetime nvarchar(72) nvarchar(72) smallint varchar(16) nvarchar(72) nvarchar(260) Description Concatenation of default address elements with line breaks between address lines. Use DefaultAddressID.AddressID Deprecated. Deprecated.PhoneID. Deprecated. Will be removed in APX 4. Use DefaultAddressID. Deprecated. Will be removed in APX 4. Will be removed in APX 4. Inc.0. Deprecated.0. Will be removed in APX 4. Will be removed in APX 4. Will be removed in APX 4. 2011 . APX Release 3 Public SQL Views 23 February 16. Will be removed in APX 4.0. Use DefaultAddressID. Use DefaultAddressID. Deprecated.

CONFIDENTIAL—DO NOT DISTRIBUTE

2.2.10 AdvApp.vContact_Hist This view displays all audited versions of each contact row. Each audited action is assigned an AuditEventID, which is a sequentially assigned identifier. Smaller AuditEventIDs are for audit events that occurred prior to larger AuditEventIDs. Column AuditEventIDIn AuditEventIDOut AuditEventTime AuditFunctionID AuditUserID BestTimeToCall BirthDate CallInterval ClassID CompanyName ContactCode ContactID ContactName ContactStatus ContactTypeID Custom<n> DefaultAddressID DefaultPhoneID DeliveryName DocumentLink DriverLicense FirstName Gender HasPref<n> Income IsBusnOwner IsDeliveryNameEdited IsIraKeogh IsLifeInsurance IsPerson IsReferralRequest IsRetired IsSalutationEdited IsTrustFund LastContactedDate LastName MiddleName NextCallDate Notes ObjectGUID Occupation OwnedBy Prefix Advent Software, Inc. Data type int int datetime smallint int nvarchar(72) datetime smallint int nvarchar(255) nvarchar(32) int nvarchar(255) nvarchar(72) smallint nvarchar(72) int int nvarchar(255) nvarchar(260) nvarchar(32) nvarchar(72) nvarchar(72) bit float bit bit bit bit bit bit bit bit bit datetime nvarchar(72) nvarchar(72) datetime nvarchar(max) uniqueidentifier nvarchar(72) int nvarchar(72) Description The identifier that represents the audit event which made this row current. The identifier that represents the audit event which deleted this version of this record. The date and time of when the audit event occurred. The function (method) by which this row was created or modified. The user associated with this audit event. Foreign key to vUser.UserID

Foreign key to vContact.ContactID.

n = 1 – 99 Foreign key to vContactAddress.AddressID. Foreign key to vContactPhone.PhoneID.

n = 1 – 30

APX Release 3 Public SQL Views 24

February 16, 2011

CONFIDENTIAL—DO NOT DISTRIBUTE

Column PrimaryContactID RetirementDate Salutation Suffix TaxBracket TaxID Title URL

Data type int datetime nvarchar(72) nvarchar(72) smallint varchar(16) nvarchar(72) nvarchar(260)

Description Foreign key to vContact.ContactID.

2.2.11 AdvApp.vContactAddress This view displays one row for each address of each contact. Column AddressCity AddressContactCode AddressContactID AddressCountry AddressFull AddressID AddressLabel AddressLine1 AddressLine2 AddressLine3 AddressLine4 AddressPostalCode AddressStateCode Custom<n> Duration HasAttr<n> IsSendExpress Data type nvarchar(72) nvarchar(32) int nvarchar(32) nvarchar(255) int nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) varchar(16) nvarchar(3) nvarchar(72) nvarchar(32) bit bit Description Unique code for each contact. Foreign key to vContact.ContactID. Concatenation of address elements with line breaks between address lines. Unique key for each contact address.

n=1–4 n=1–4 A flag similar to IsSendMail. This flag denotes that the address is used for express mail. In practical terms, it means package type mail, because that often goes to a different address than regular mail. A flag that marks this contact-address association as a mailing address. A contact can have more than one mailing address.

IsSendMail OwnedBy

bit int

2.2.12 AdvApp.vContactCustom This view displays the custom columns for each Contact. Column ContactCode ContactID Custom<n> HasPref<n> OwnedBy Data type nvarchar(32) int nvarchar(72) bit int Description Unique code for each contact. Foreign key to vContact.ContactID. <n> = 01 to 99 <n> = 01 to 50 ID of the UserBase object that owns this contact. Foreign key to vUserBase.UserBaseID. APX Release 3 Public SQL Views 25 February 16, 2011

Advent Software, Inc.

CONFIDENTIAL—DO NOT DISTRIBUTE

2.2.13 AdvApp.vContactPhone This view displays one row for each phone number associated to a contact. Column OwnedBy PhoneContactCode PhoneContactID PhoneCountryCode PhoneExtension PhoneFull Data type int nvarchar(32) int smallint varchar(5) varchar(49) Description Unique code for each contact. Foreign key to vContact.ContactID.

PhoneID PhoneLabel

int nvarchar(72)

Concatenation of country code, phone number, and extension. The rendering of the full phone is ‘+’ + country/carrier (5) + separator (1) + phone (32) + " ext." (5) + ext (5). This adds up to 49 characters total. This formatting should not be depended upon between releases of APX. Unique key for each phone record.

2.2.14 AdvApp.vContactRelationship This view displays one row for each relationship between two contacts. The relationship can be between two individual contacts or an individual contact and a contact group. Column ContactCode ContactID ContactOwnedBy Custom<n> HasProfessionalAttr<n> NatureOfRelationship Notes RelatedContactCode RelatedContactID RelatedContactOwnedBy RelationshipID RelationshipTypeName Data type nvarchar(32) int int nvarchar(72) bit nvarchar(255) nvarchar(max) nvarchar(32) int int int nvarchar(72) Description Unique code for each contact. Foreign key to vContact.ContactID. <n> = 01 to 04 <n> = 01 to 20

Unique code for each contact. Foreign key to vContact.ContactID. Unique key for each contact relationship.

2.2.15 AdvApp.vEmail This view lists all Email activities. An Email is a type of activity. Column ActivityCategory ActivityID ActivityPriorityID ActivityTypeID Body CreatedBy CreatedTime DocumentLink ObjectGUID OwnedBy Advent Software, Inc. Data type nvarchar(72) int tinyint tinyint nvarchar(max) int datetime nvarchar(260) uniqueidentifier int Description Foreign key to vActivity.ActivityID. Foreign key to vActivityPriority.ActivityPriorityID. Foreign key to vActivityType.ActivityTypeID.

Foreign key to vUser.UserID. February 16, 2011

APX Release 3 Public SQL Views 26

2. Description Name of the status in Microsoft Exchange Defined artificial key for a task status Name of the task status February 16. 2011 APX Release 3 Public SQL Views 27 .17 AdvApp.vTaskStatus This view returns status information for tasks.18 AdvApp.2. Column Data type ExchangeName varchar(16) TaskStatusID tinyint TaskStatusName nvarchar(72) Advent Software. Inc.vTaskRecurrence This view returns recurrence information for tasks.CONFIDENTIAL—DO NOT DISTRIBUTE Column ReceivedTime RecipientListBCC RecipientListCC RecipientListTo SenderEmailAddressID SentTime Subject URL Data type datetime nvarchar(max) nvarchar(max) nvarchar(max) int datetime nvarchar(255) nvarchar(260) Description 2.2.16 AdvApp.2. Column RecurrenceDayOfMonth RecurrenceEndDate RecurrenceEndType RecurrenceID RecurrenceInterval RecurrenceIsOnDay RecurrenceIsOnFriday RecurrenceIsOnMonday RecurrenceIsOnSaturday RecurrenceIsOnSunday RecurrenceIsOnThursday RecurrenceIsOnTuesday RecurrenceIsOnWednesday RecurrenceIsOnWeekday RecurrenceIsOnWeekendDay RecurrenceMonth RecurrenceQuantity RecurrenceStartDate RecurrenceTypeID RecurrenceWeekIndex Data type tinyint datetime tinyint int smallint bit bit bit bit bit bit bit bit bit bit tinyint smallint datetime tinyint smallint Description Unique key for each task recurrence. A task is a type of activity.vFreeBusyStatus This is a lookup view for the status of an activity. Column FreeBusyStatusID FreeBusyStatusName Data type tinyint nvarchar(32) Description Unique key for each Free/Busy status. 2.

vBaseRateSchedule This view displays rate schedules for each base rate. Column BaseRateID BaseRateName Data type int nvarchar(72) Description Unique key for each base rate.3.3.2 AdvApp.1 AdvApp.vCurrency This view displays one row for each currency.BaseRateID.3 AdvApp.CONFIDENTIAL—DO NOT DISTRIBUTE 2.5 AdvApp. 2. 2.vCouponRate This view displays one row for each coupon rate.CouponRateID.3 Market public views 2. Column CurrencyCode CurrencyName CurrencyPrecision CurrencySymbol DisplayDirectRate ISOCode IsSystemCurrency SecTypeNameSuffix Advent Software. Column AsOfDate BaseRateID BaseRateName Rate Data type datetime int nvarchar(72) float Description Foreign key to vBaseRate.3.3.4 AdvApp.3.vCouponRateSchedule This view displays rate schedules for each coupon rate. Column CouponRateID CouponRateName Data type int nvarchar(72) Description Unique key for each coupon rate. Data type char(2) nvarchar(32) tinyint nvarchar(3) bit char(3) bit nvarchar(32) Description Unique key for each currency code. Inc. 2. 2011 . Column AsOfDate CouponRateID CouponRateName Rate Data type datetime int nvarchar(72) float Description Foreign key to vCouponRate. APX Release 3 Public SQL Views 28 February 16.vBaseRate This view displays one row for each base rate. 2.

vFxType This view displays all defined exchange rate types. Column FxTypeCode FxTypeID FxTypeName IsSystem Data type nvarchar(12) smallint nvarchar(72) bit Description Unique code for each FX type. “us”. Quoted rate for a 180 day delivery. Two letter code for the base currency.CONFIDENTIAL—DO NOT DISTRIBUTE Column SequenceNo Data type int Description 2. Column CurrencyCode IndexDesc IndexID Advent Software. 2011 APX Release 3 Public SQL Views 29 . Two-letter code for the price currency. 2. Quoted rate for a 90 day delivery. for the name or ISO code. February 16.9 AdvApp. “eu”.vMarketIndex This view displays one row for each index. Column FlowMethodCode FlowMethodDesc Data type char(1) nvarchar(50) Description 2. for example.8 AdvApp.7 AdvApp.3. Unique key for each FX type. Spot and forward rates are valid until this date. Data type char(2) nvarchar(72) int Description Unique key for each market index. Only one FX type can be the FX Type for the system. Column AsOfDate Bid180DayRate Bid30DayRate Bid360DayRate Bid60DayRate Bid720DayRate Bid90DayRate FromCurrencyCode SpotRate ThruDate ToCurrencyCode Data type datetime float float float float float float char(2) float datetime char(2) Description Spot and forward rates are valid as of this date. join against vCurrency. Quoted rate for a 360 day delivery.6 AdvApp.vFXRate This view displays stored FX rates between two currencies. for the name or ISO code. Quoted rate for a 720 day delivery. join against vCurrency. Quoted rate for a 60 day delivery.3. Quoted rate for a 30 day delivery.3. Inc.vFactoredSecFlowMethod This is a lookup view for cash flow method codes. Denotes the system FX Type. for example.3. You can retrieve currency rates using vFxRate for a range of dates. Quoted rate for a 2 day delivery. 2.

SecurityID APX Release 3 Public SQL Views 30 February 16.ClassificationID Artificial key for this view. Foreign key to vSecClass.11 AdvApp.10 AdvApp. excluding security-level performance. including security-level performance. Column AsOfDate IndexID Rate Data type datetime int float Description Foreign key to vMarketIndex.3.vMarketIndexRate This view displays stored rates for each index.vPerformanceMarketIndexClassification This view displays performance records for an index. Column FromDate IndexID PerfClassID PeriodID PropertyName Symbol ThruDate Data type datetime int int int nvarchar(72) nvarchar(25) datetime Description Key 3 of the natural key of this view. Column PerfClassMemberCode PerfClassMemberID PeriodID RateofReturn Weight Data type nvarchar(12) int int float float Description Foreign key to vSecClassMember. 2.IndexID. 2.12 AdvApp. Foreign key to vMarketIndex.3.PeriodID Foreign key to vSecurity. Inc.CONFIDENTIAL—DO NOT DISTRIBUTE Column IndexName Symbol SymbolTypeCode Data type nvarchar(32) nvarchar(25) char(1) Description 2.13 AdvApp.PeriodID.IndexID Key 2 of the natural key of this view.3. 2. 2011 . Column PeriodID RateofReturn SecurityID Advent Software.ClassificationMemberID. Key 1 of the natural key of this view.vPerformanceMarketIndexPeriod This view displays performance classification periods for an index. Data type int float int Description Foreign key to vPerformanceMarketIndexPeriod.3.vPerformanceMarketIndexSecurity This view displays security-level performance data for an index. Foreign key to vPerformanceMarketIndexPeriod.

Unique key for each Price Type. Data type char(1) char(1) char(1) bit bit bit bit tinyint char(1) Description APX Release 3 Public SQL Views 31 February 16. Column AsOfDate Rate ResetRateID ResetRateName Data type datetime float int nvarchar(72) Description Foreign key to vResetRate.3.vResetRate This view displays one row for each reset rate.vSecType This view displays one row for each security type. Only one Price Type can be the Price Type for the system.CONFIDENTIAL—DO NOT DISTRIBUTE Column Symbol Weight Data type nvarchar(25) float Description 2.FxTypeID. 2011 . Column ResetRateID ResetRateName Data type int nvarchar(72) Description Unique key for each reset rate. 2. 2. Column AccrualCalendarCode AmortizationMethodCode AmortizeToCode CanBeBoughtSold CanMature CanReinvestDividend CanSplit CouponDelayDays CouponDelayHolidayRuleCode Advent Software. Denotes the system Price Type.3. 2.15 AdvApp.vResetRateSchedule This view displays rate schedules for each reset rate.vPriceType This view displays all defined price sets.3. Foreign key to vFxType.3.14 AdvApp.16 AdvApp. Column FxTypeID FxTypeName IsSystem PriceTypeCode PriceTypeID PriceTypeName Data type smallint nvarchar(72) bit nvarchar(12) smallint nvarchar(72) Description The FX type associated to this price type. Unique code for each Price Type.17 AdvApp. Inc.ResetRateID.

This column is equal to SecTypeCode base security types. Flag denoting if long positions for securities of this type are calculated as having a zero market value. APX Release 3 Public SQL Views 32 February 16. Unique key for each security type.IndexID. 2011 . Foreign key to vSecTypeGroup. for example “unsupervised common stock” may be based on a “common stock” base security type. char(2) int nvarchar(72) nvarchar(72) int smallint Base security type code. Flag denoting if securities of this type are variable rate securities SecTypeCode SecTypeGroupID SecTypeNameLong SecTypeNameShort SequenceNo SettlementLagDays Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE Column CouponDelayRuleCode DefaultSymbolNameSpace DefaultSymbolTypeCode EMDRuleCode Data type char(1) char(4) char(1) char(1) Description The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports. Flag denoting if short positions for securities of this type are calculated as having a zero market value.SecTypeGroupID. EnterYieldOnCost ExCouponDayCount ExCouponDayRuleCode ExCouponHolidayCode FixedIncomeTypeCode FlowMethodCode HasUnderlyingSecurity HoldingPeriod IncomeCurrencyCode IncomeTypeCode InflationIndexID IsBillable IsExCouponBond IsFFX IsHidden IsInternal IsLongZeroMV IsShortZeroMV IsTradable IsTradingCash IsUnsupervised IsVRS IsZeroCoupon LongAssetClassCode LongGainClassificationCode PaymentFrequencyID PayOnMonthEnd PriceThruCode PrincipalCurrencyCode QuantityCalculationPrec QuantityDisplayPrec RiskCountryCode SecTypeBaseCode bit tinyint char(1) char(1) char(1) char(1) bit smallint char(2) char(1) int bit bit bit bit bit bit bit bit bit bit bit bit char(1) char(1) tinyint bit char(1) char(2) char(1) char(1) char(2) char(2) Foreign key to vMarketIndex. Inc.

CONFIDENTIAL—DO NOT DISTRIBUTE

Column ShortAssetClassCode ShortGainClassificationCode SourcePrefID SubjectToFederalTax SubjectToStateTax TradeWithAI TypeGroupBaseID UseAvgCost UseConversionFactor UseSimpleInterestInLastPeriod ValuationFactor

Data type char(1) char(1) int bit bit bit int char(1) bit bit float

Description

Flag denoting whether accrued interest for securities of this type is tracked in separate transactions.

2.3.18 AdvApp.vSecTypeGroup This view displays one row for each security type group. Column SecTypeGroupID SecTypeGroupNameLong SecTypeGroupNameShort Data type int nvarchar(72) nvarchar(72) Description Unique key for each security type group Name of the group for long positions Name of the group for short positions

2.3.19 AdvApp.vSecurity The APX Security table contains rows for accounting purposes which are not traded securities. For example, there are rows for brokers because some transactions (expense payments) reference a broker as the second symbol. These rows are therefore included in this view to support joins to vPortfolioTransaction. But if a query is being run against the vSecurity view to populate a master security list, you may want to filter out rows by the SecTypeBaseCode. For example, to skip rows for brokers, you could use select * from vSecurity where SecTypeBaseCode <> ‘br’ This view displays one row for each security. Column AccrualCalendarCode Alpha AmortizeToCode AverageLife Beta BondInsurerID BondRevenueSourceID BookValue CMOPaymentTypeCode ConversionFactor CouponDelayDays CouponDelayHolidayRuleCode CouponDelayRuleCode CouponPaymentDateRateID Advent Software, Inc. Data type char(1) float char(1) float float tinyint tinyint float char(1) float tinyint char(1) char(1) int APX Release 3 Public SQL Views 33 February 16, 2011 Description

Foreign key to vBondInsurer.BondInsurerID. Foreign key to vBondRevenueSource.BondRevenueSourceID. Identifies how the collateralized mortgage obligation security pays income

CONFIDENTIAL—DO NOT DISTRIBUTE

Column CouponPaymentFrequency CouponPaymentHolidayRuleCode CouponPaymentMethodID CouponPaymentRuleID CouponResetDateRateID CouponResetFirstDate CouponResetFrequency CouponResetHolidayRuleCode CouponResetMethodID CouponResetMultiplier CouponResetOffsetDays CouponResetOffsetRate CouponResetRuleID CUSIP DurationToMaturity EMDRuleCode

Data type tinyint char(1) tinyint tinyint int datetime tinyint char(1) tinyint float tinyint float tinyint varchar(12) float char(1)

Description

EPSAnnual EPSLatest4Q EstMaturityDate ExchangeID FirstCouponDate FitchRating FlowMethodCode FullName IndustryGroupID InflationIndexBaseDate InflationIndexID InterestOrDividendRate IsFixedIncome ISIN IsIncomplete IsPerpetual IssueCountryCode IssueDate IssuePrice IsSystem IsTradable IsTradingCash IsVRS IsZeroCoupon LastCouponDate LongAssetClassCode MaturityDate MoodyRating NextPaymentDate OptionSymbol OriginalWeightedAvgMaturity Advent Software, Inc.

float float datetime tinyint datetime varchar(4) char(1) nvarchar(72) int datetime int float int varchar(12) bit bit char(2) datetime float bit bit bit int bit datetime char(1) datetime varchar(16) datetime varchar(25) float

The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports. Annual earnings per share Earnings per share for the last 4 quarters Foreign key to vExchange.ExchangeID.

Foreign key to vIndustryGroup.IndustryGroupID. Foreign key to vMarketIndex.IndexID.

Flag denoting if the security is a variable rate security

APX Release 3 Public SQL Views 34

February 16, 2011

CONFIDENTIAL—DO NOT DISTRIBUTE

Column PaymentFrequencyID PayOnMonthEnd PoolNumber PriceThruCode PrincipalCurrencyCode ProprietarySymbol PutScheduleFirstDate PutScheduleFrequency PutScheduleHolidayRuleCode PutScheduleMethodID PutScheduleRuleID RecordDate RiskCountryCode SectorID SecTypeBaseCode SecurityGUID SecurityID SecUserDef<n>ID SEDOL SharesOutstanding ShortAssetClassCode SourceID SourcePrefID SPRating StateCode StrategyID Symbol SymbolNameSpace SymbolTypeCode SymbolValidFromDate SymbolValidThruDate Ticker TradeWithAI

Data type tinyint bit varchar(16) char(1) char(2) nvarchar(25) datetime tinyint char(1) tinyint tinyint datetime char(2) int char(2) uniqueidentifier int int varchar(12) float char(1) int int varchar(16) varchar(3) int nvarchar(25) char(4) char(1) datetime datetime varchar(12) bit

Description

Foreign key to vSector.SectorID. Globally unique identifier for integrating with thirdparty systems. Unique key for each security <n> = 1 to 3. Foreign key to vSecUserDef<n>.SecUserDef<n>ID.

Foreign key to vSource.SourceID. Standard and Poor’s rating Foreign key to vStrategy.StrategyID.

UnderlyingSecurityID ValuationFactor YTMOnCost YTMOnMarket

int float float float

Flag denoting whether accrued interest for securities of this type is tracked in separate transactions. Foreign key to vSecurity.SecurityID. Yield to maturity on cost. Deprecated. Will be removed in APX 4.0. Yield to maturity on market

2.3.20 AdvApp.vSecurity_Hist This view displays all audited versions of each security row. Each audited action is assigned an AuditEventID, which is a sequentially assigned identifier. Smaller AuditEventIDs are for audit events that occurred prior to larger AuditEventIDs. Column AccrualCalendarCode Advent Software, Inc. Data type char(1) Description

APX Release 3 Public SQL Views 35

February 16, 2011

The date and time of when the audit event occurred.CONFIDENTIAL—DO NOT DISTRIBUTE Column Alpha AmortizeToCode AuditEventIDIn AuditEventIDOut AuditEventTime AuditFunctionID AuditUserID AverageLife Beta BondInsurerID BondRevenueSourceID BookValue CMOPaymentTypeCode ConversionFactor CouponDelayDays CouponDelayHolidayRuleCode CouponDelayRuleCode CouponPaymentDateRateID CouponPaymentFrequency CouponPaymentHolidayRuleCode CouponPaymentMethodID CouponPaymentRuleID CouponResetDateRateID CouponResetFirstDate CouponResetFrequency CouponResetHolidayRuleCode CouponResetMethodID CouponResetMultiplier CouponResetOffsetDays CouponResetOffsetRate CouponResetRuleID CUSIP DurationToMaturity EMDRuleCode Data type float char(1) int int datetime smallint int float float tinyint tinyint float char(1) float tinyint char(1) char(1) int tinyint char(1) tinyint tinyint int datetime tinyint char(1) tinyint float tinyint float tinyint varchar(12) float char(1) Description Foreign key to vTargetDate.ExchangeID. The identifier that represents the audit event which made this row current. Annual earnings per share Earnings per share for the last 4 quarters Foreign key to vExchange. Inc. Foreign key to vTargetDate.BondRevenueSourceID Identifies how the collateralized mortgage obligation security pays income EPSAnnual EPSLatest4Q EstMaturityDate ExchangeID FirstCouponDate FlowMethodCode FullName Advent Software. The identifier that represents the audit event which deleted this version of this record. The function (method) by which this row was created or modified. float float datetime tinyint datetime char(1) nvarchar(72) The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports.BondInsurerID Foreign key to vBondRevenueSource. Foreign key to vUser. The user associated with this audit event.UserID Foreign key to vBondInsurer. 2011 .TargetDateCode. APX Release 3 Public SQL Views 36 February 16.TargetDateCode.

Foreign key to vSource. 2011 .CountryCode Foreign key to vSecurity.SecurityID.IndexID. Foreign key to vCountry. Standard and Poor’s rating Foreign key to vStrategy.StrategyID.CONFIDENTIAL—DO NOT DISTRIBUTE Column InflationIndexBaseDate InflationIndexID InterestOrDividendRate ISIN IsIncomplete IsPerpetual IssueCountryCode IssueDate IssuePrice IsSystem IsTradable IsTradingCash IsZeroCoupon LastCouponDate LongAssetClassCode MaturityDate MoodyRating NextPaymentDate OriginalWeightedAvgMaturity PaymentFrequencyID PayOnMonthEnd PoolNumber PriceThruCode PrincipalCurrencyCode ProprietarySymbol PutScheduleFirstDate PutScheduleFrequency PutScheduleHolidayRuleCode PutScheduleMethodID PutScheduleRuleID RecordDate RiskCountryCode SecTypeBaseCode SecurityGUID SecurityID SEDOL SharesOutstanding ShortAssetClassCode SourceID SourcePrefID SPRating StateCode StrategyID Symbol SymbolNameSpace SymbolTypeCode SymbolValidFromDate SymbolValidThruDate Ticker Data type datetime int float varchar(12) bit bit char(2) datetime float bit bit bit bit datetime char(1) datetime varchar(16) datetime float tinyint bit varchar(16) char(1) char(2) nvarchar(25) datetime tinyint char(1) tinyint tinyint datetime char(2) char(2) uniqueidentifier int varchar(12) float char(1) int int varchar(16) varchar(3) int nvarchar(25) char(4) char(1) datetime datetime varchar(12) Description Foreign key to vMarketIndex. Advent Software.SourceID. Inc.CurrencyCode Foreign key to vCountry. APX Release 3 Public SQL Views 37 February 16.CountryCode Foreign key to vCurrency.

‘r’. If the BondStatusCode is ‘c’ or ‘r’. Finding a record BondStatusCode = ‘d’ without finding a later record with BondStatus = ‘e’ then the BondStatus is ‘d’ (Default). 2011 .3.CONFIDENTIAL—DO NOT DISTRIBUTE Column TradeWithAI Data type bit UnderlyingSecurityID ValuationFactor YTMOnCost YTMOnMarket int float float float Description Flag denoting whether accrued interest for securities of this type is tracked in separate transactions. CallDate datetime CallPrice PutDate PutPrice SecurityID float datetime float int Foreign key to vSecurity. APX Release 3 Public SQL Views 38 February 16.3. Column BondStatusCode Data type char(1) Description Foreign key to vBondStatus. Else the status on the most latest before today row with ‘d’ or ‘e’ is the bond status. Otherwise your bond status is blank.SecurityID. the date on the next row with DateTypeCode = ‘c’ is the call date.SecurityID. ‘p’. 2. ‘r’. Inc. so Moxy shouldn’t have to be concerned with that. or ‘r’ for any date.vSecurityDeleted This view displays one row for each deleted security. or Put) then set it as BondStatusCode. finding the record where DateTypeCode = ‘c’ (‘p’ for Put) and AsOfDate is the lowest date greater than today. then the date on the corresponding row is the CallDate. Yield to maturity on cost. If DateTypeCode = ‘c’ (‘p’ for Put) and BondStatusCode = ‘c’ or ‘r’ (‘p’ for Put) exists in AdvCallSchedule.21 AdvApp.SecurityID. Pre-Refunded. If there is no such row. the bond status is ‘’. Column PrincipalCurrencyCode SecTypeBaseCode SecurityGUID SecurityID Symbol Data type char(2) char(2) uniqueidentifier int nvarchar(25) Description Globally unique identifier for integrating with third-party systems. Otherwise. Advent Software. then that’s the call (put) date record regardless of the AsOfDate. then that value is the bond status.0 Yield to maturity on market 2. Foreign key to vSecurity. or ‘p’ (Called. Deprecated. Will be removed in APX 4.vSecurityCallPutStatus This view presents the bond status as of the current date (as represented by the AoProperty “Today”). If any records with BondStatus = ‘d’ can not be found. then finding any records with BondStatusCode = ‘c’.22 AdvApp. Otherwise. If there is a row in AdvCallSchedule with BondStatusCode equal to ‘c’. or ‘p’. NextGen should verify that only one row for each Security has BondStatusCode = ‘c’. Foreign key to vSecurity.

Range mapped list property PropertyID PropertyLookupGUID PropertyLookupID PropertyName SecurityID int uniqueidentifier int nvarchar(72) int Foreign key to vSecurity. 2011 Advent Software.26 AdvApp. Foreign key to vSource.date February 16. APX Release 3 Public SQL Views 39 . Column ClosePrice CurrencyCode PaydownFactor PriceDate PriceTypeID SecurityID ValuationFactor Data type float char(2) float datetime smallint int float Description Foreign key to vPriceType.number % . 2.SecurityID.SecurityID.PriceTypeID.23 AdvApp.Mapped List property R .vSecurityPropertyLookup This view lists all security property values for all securities with custom security properties of type: lookup. Inc. Column DisplayName DisplayOrder IsShort KeyString PropertyDataTypeCode Data type nvarchar(72) int int nvarchar(12) char(1) Description L .3. Column PropertyDataTypeCode Data type char(1) Description $ . numeric and date. Column FactorValue FromDate SecurityID SourceID ThruDate Data type float datetime int int datetime Description Foreign key to vSecurity. 2.25 AdvApp.string # .List property M .vSecurityPropertyValue This view lists all security property values for all securities with properties of type: string.CONFIDENTIAL—DO NOT DISTRIBUTE 2. Foreign key to vSecurity.vSecurityPrice This view displays historical prices for securities.3. range and mapping.SecurityID.3.vSecurityFactor This view displays historical factors for securities. 2.3.24 AdvApp.SourceID.

SecurityID.vSecuritySymbolImport This view displays symbol mappings on securities information received from various data sources.SecurityID.SourceID. Column ExportSymbol SecurityID SourceID Data type nvarchar(25) int int Description External symbol Foreign key to vSecurity.3. Foreign key to vSource. Inc.27 AdvApp.28 AdvApp. Column PrincipalCurrencyCodeNew PrincipalCurrencyCodeOld SecTypeBaseCodeNew SecTypeBaseCodeOld SecurityGUID SecurityID SymbolNew SymbolOld Data type char(2) char(2) char(2) char(2) uniqueidentifier int nvarchar(25) nvarchar(25) Description Globally unique identifier for integrating with thirdparty systems.3.SourceID. 2011 . 2.3. Advent Software.SecurityID. Column ExDate SecurityID SecuritySplitID ShareIn ShareOut Data type datetime int int float float Description Foreign key to vSecurity.29 AdvApp.vSecuritySplit This view displays one row for each security split. Unique key for each security split.vSecuritySymbolExport This view displays a row for each security that has its RemotePlus symbol defined. 2.SecurityID.3. APX Release 3 Public SQL Views 40 February 16. 2.vSecurityRenamed This view displays one row for each renamed security. Column ImportSymbol SecurityID SourceID Data type nvarchar(32) int int Description External symbol.CONFIDENTIAL—DO NOT DISTRIBUTE Column PropertyID PropertyName PropertyValue SecurityID Data type int nvarchar(72) nvarchar(72) int Description Foreign key to vSecurity. Foreign key to vSource. Foreign key to vSecurity.SecurityID.30 AdvApp. 2. Foreign key to vSecurity.

3 AdvApp. APX Release 3 Public SQL Views 41 February 16.CONFIDENTIAL—DO NOT DISTRIBUTE 2. Column AccruedInterestAM AccruedInterestPM AsOfDate ClosePrice CurrencyCode PaydownFactor PriceTypeID SecurityID ShareValue ValuationFactor Data type float float datetime float char(2) float smallint int float float Description Foreign key to vCurrency.vBondInsurer This view displays one row for each bond insurer. Column BondInsurerID BondInsurerName Data type tinyint nvarchar(72) Description Unique key for each bond insurer. 2.1 AdvApp. Column BondRevenueSourceID BondRevenueSourceName Data type tinyint nvarchar(72) Description Unique key for each bond revenue source.vBondRevenueSource This view displays one row for each bond revenue source.2 AdvApp.3.31 AdvApp.vAssetClass This view displays one row for each asset class. 2.4. Inc. Advent Software.4 Reference data public views We will provide whatever reference data views we need in order to decode any codes or IDs we report in the primary views to the corresponding name.4. 2011 . Foreign key to vSecurity.SecurityID.4.CurrencyCode. 2.vSecurityValuationLastBusinessDay This view shows security valuation information for each security as of the last business day. 2. Foreign key to vPriceType. Column AssetClassCode AssetClassName Data type char(1) nvarchar(72) Description Unique key for each asset class.PriceTypeID.

Inc.4.4.CONFIDENTIAL—DO NOT DISTRIBUTE 2.vBondStatus This view displays one row for each bond status.BrokerFirmID through which this Broker Firm clears. 2. 2. The vBrokerFirm.4.5 AdvApp. 2011 APX Release 3 Public SQL Views 42 .8 AdvApp.vCommissionPurpose This view displays one row for each commission purpose. Column BrokerFirmID BrokerFirmSymbol BrokerRepID BrokerRepKey BrokerRepName BrokerRepSymbol Data type int nvarchar(12) int nvarchar(12) nvarchar(72) nvarchar(12) Description Foreign key to vBrokerFirm. Data type char(2) nvarchar(72) Description Unique key for each country.vCountry This view displays one row for each country.6 AdvApp.BrokerFirmID.vBrokerFirm This view displays one row for each broker firm. February 16.4. Column CommissionPurposeID PurposeDesc Data type tinyint nvarchar(72) Description Unique key for each commission purpose. Column BIC BrokerFirmID BrokerFirmName BrokerFirmSymbol ClearingBrokerID ClearingBrokerSymbol DTCNumber Data type varchar(11) int nvarchar(72) nvarchar(12) int nvarchar(12) varchar(8) Description SWIFT assigned Bank Identifier Code Unique key for each broker firm.vBrokerRep This view displays one row for each broker rep. The number that identifies this broker firm with the DTCC 2. Unique key for each broker rep.4 AdvApp. Column CountryCode CountryName Advent Software. 2.7 AdvApp.4. Column BondStatusCode BondStatusName Data type char(1) nvarchar(72) Description Unique key for each bond status.

APX Release 3 Public SQL Views 43 February 16.11 AdvApp. Column ExchangeID ExchangeName HolidayScheduleID IsExchangeFeeEligible IsSystem LastBusinessDay MIC Data type tinyint nvarchar(72) tinyint bit bit datetime char(4) Description Unique key for each exchange.vExchange This view displays one row for each exchange.CONFIDENTIAL—DO NOT DISTRIBUTE 2.HolidayScheduleID.vHoliday This view displays one row for each holiday.CustodianID.4. Foreign key to vHoliday.10 AdvApp.vHolidaySchedule This view displays one row for each holiday schedule. Unique key for each custodian.CustodianID through which this custodian clears.4.4. Column HolidayDate HolidayName HolidayScheduleID HolidayTypeID HolidayTypeName Data type datetime nvarchar(72) tinyint tinyint nvarchar(72) Description Foreign key to vHolidaySchedule.12 AdvApp. Advent Software. Column BIC ClearingCustID CustodianID CustodianName DTCNumber IsSystem SubCustID Data type varchar(11) int int nvarchar(72) varchar(8) bit int Description SWIFT assigned Bank Identifier Code The vCustodian.9 AdvApp.4. Column HolidayScheduleID HolidayScheduleName WeekendEnd WeekendStart Data type tinyint nvarchar(72) tinyint tinyint Description Unique key for each holiday schedule. The number that identifies this custodian with the DTCC Foreign key to vCustodian. 2.vCustodian This view displays one row for each custodian. 2011 . Inc. 2.HolidayScheduleID. Market Identifier Code 2.

Foreign key to vSector. 2.vIndustryGroup This view displays one row for each industry group. APX Release 3 Public SQL Views 44 February 16.CONFIDENTIAL—DO NOT DISTRIBUTE 2. descriptions and ownership for objects in APX when they are not available in other views. 2.16 AdvApp.vIndustrySector This view displays one row for each industry sector.vOmnibus This view displays one row for each omnibus.4.4. 2. Data type bit bit int nvarchar(72) Description Unique key for each classification.17 AdvApp.4. Column SectorCode SectorID SectorName Data type nvarchar(12) int nvarchar(72) Description Unique key for each sector.UserBaseID.15 AdvApp. Column ClassID DisplayName Name ObjectDescription ObjectGUID ObjectID OwnedBy Data type int nvarchar(72) nvarchar(32) nvarchar(255) uniqueidentifier int int Description Unique key for each object. 2011 . Foreign key to vUserBase.SectorID. Column AllowPerformanceUpdate AllowReporting ClassificationID ClassificationName Advent Software. Use this view to retrieve names. Column IndustryGroupCode IndustryGroupID IndustryGroupName SectorID Data type nvarchar(12) int nvarchar(72) int Description Unique key for each industry group. 2.4.14 AdvApp.vObject This view displays one row for each object in APX. Inc. Column OmnibusDesc OmnibusID OmnibusName Data type nvarchar(72) int nvarchar(32) Description Unique key for each omnibus.13 AdvApp.vSecClass This view displays one row for each security property definition.4.

Advent Software. APX Release 3 Public SQL Views 45 February 16. Inc. DisplayOrder int The order to display ClassificationMemberID rows with a ClassificationID KeyString nvarchar(12) The natural key for a ClassificationMemberID.vSecClassMember This view displays one row for each member value within each custom security property. Unique key for each security user defined property.19 AdvApp.4. Column SecUserDef<n>ID SecUserDef<n>Name Data type int nvarchar(72) Description <n> = 1 to 3 depending on the view.20 AdvApp. ClassificationMemberID int A classification value within a ClassificationID. Column Data type Description ClassificationID int A grouping for classifying securities. 2011 . Label nvarchar(72) A presentation label for ClassificationMemberID 2. Column SourceID SourceName Data type int nvarchar(72) Description Unique key for each source. Column StateCode StateName Data type varchar(3) nvarchar(72) Description Unique key for each state.vSource This view displays one row for each source. 2. 2. <n> = 1 to 3 depending on the view.vState This view displays one row for each state. Column StrategyID StrategyName Data type int nvarchar(72) Description Unique key for each strategy.21 AdvApp.4. Description nvarchar(128) A long description for ClassificationMemberID.4.4.4.18 AdvApp.vSecUserDef1-3 This view displays one row for each security user defined 1/2/3.vStrategy This view displays one row for each strategy.ClassificationID. 2.CONFIDENTIAL—DO NOT DISTRIBUTE Column DisplayName Data type nvarchar(72) Description 2.22 AdvApp. Foreign key to vSecClass.

APX Release 3 Public SQL Views 46 February 16.4. 2011 .vTargetDate This is a lookup view for effective maturity and amortization dates to use at the security or security type level. Column TransUserDef<n>ID TransUserDef<n>Name Data type tinyint nvarchar(72) Description <n> = 1 to 3 depending on the view.CONFIDENTIAL—DO NOT DISTRIBUTE 2. Unique key for each transaction user defined property. Column TargetDateCode Data type char(1) Description Valid values are: a–Average Life Date c–Next Call Date f–Latest Cash Flows Date n–Stated Maturity Date p–Next Put Date r–Next Reset Date t–Next Tender Date w–Yield To Worst Date TargetDateName nvarchar(72) 2.4.23 AdvApp.24 AdvApp.vTransUserDef1-3 This view displays one row for each transaction user defined 1/2/3. Inc. Advent Software. <n> = 1 to 3 depending on the view.

“0” is false and “1” is true. 2. Foreign key to vRole. Column IsSystem RoleDescription RoleID RoleName Data type bit nvarchar(255) int nvarchar(32) Description Seeded roles are set to “1” for true.vRole This view displays one row for each role.2 AdvApp. February 16.4 AdvApp. APX Release 3 Public SQL Views 47 . The user’s contact record is not displayed in the user interface.5. Column LicensePoolID Login UserDisplayName UserID 2.5.UserID.RoleID. a role is assigned that determines the level of access. If a user has been granted access to all private data. Each user is also a contact record in the system with a unique identifier.5 2. Column AccessAllUserGroups AccessAllUsersRoleID Data type bit int Description Flag that determines if a user is a member of all user groups. Column IsSystem LicensePoolID MaxSeats ModuleID ModuleName PoolName UsedSeats UsersAssigned 2.vLicensePool Data type bit int int int nvarchar(72) nvarchar(50) int int Description Unique key for each License Pool.5. Foreign key to vUser. Descriptive text.5. 2011 AuthenticateTypeCode ContactID char(2) int Advent Software.vLicensePoolMember Data type int nvarchar(128) nvarchar(72) int Description Foreign key to vLicensePool.UserID.1 Users and roles public views AdvApp. Inc. Foreign key to vContact.CONFIDENTIAL—DO NOT DISTRIBUTE 2. Display name. Unique key for each role. Windows Integrated users are set with “NT”.ContactID. Foreign key to vUser.3 AdvApp.vUser This view displays one row for each user. APX database authenticated users are set with “DB”.LicensePoolID.

Display name for the group type of the user group. User objects are never completly removed from the database. ] Column Data type Description DisplayName nvarchar(72) UserBaseID int Unique key for each user base. If set to “1”. this flag is set to “1” which effectively hides the user from the UI but is preserved as an object to maintain audit records. If the flag is set to 0. Example: domain\username. February 16. the system deems the user inactive and will reject requests for authentication. UserBaseName nvarchar(32) UserBaseTypeCode varchar(1) Valid values are: p – User g – User Group 2. If set to “1”. APX Release 3 Public SQL Views 48 . Foreign key to vRole. the user group does not display in the user interface. If set to “1”. in the Portfolio Owner dropdown field. UserGUID UserID UserName uniqueidentifier int nvarchar(32) 2.6 AdvApp.vUserBase This view is a base class for the vUser and vUserGroup entities. 2011 IsProcessingGroup bit Advent Software. A join against vRole for DefaultRoleID.5 AdvApp.RoleID. When a user is added as member of a user group.vUserGroup This view displays one row for each user group. If set to “1”.GroupTypeID. the user group is an available option to select when assigning the processing group for portfolios. Unique key for each user. the user group is an available option to select when assigning an object owner. the user group can be modified within the user interface. includes the domain name and slash. Locale for this user. When an administrator “deletes” a user from within the user interface. Column GroupTypeID GroupTypeName IsEditable IsHidden IsOwner Data type smallint nvarchar(72) char(1) bit bit Description Foreign key to vUserGroupType.CONFIDENTIAL—DO NOT DISTRIBUTE Column DefaultConfigurationID DefaultRoleID Data type int int DefaultRoleName IsActive IsDeleted nvarchar(32) bit bit LocaleID Login int nvarchar(128) Description Users are created with a configuration that defines report and other settings for the user. Login name. for Windows integrated users. Inc.5.5. the user is assigned the default role which can be overridden. the user group will appear for users with appropriate permissions. For example.

UserBaseID.vUserGroupType This view displays one row for each user group type. Column Login RoleID Data type nvarchar(128) int Description Refers to the member user’s login names.5.9 AdvApp. 2. Display name of the user group. The last time the session was active User’s APX login. the group type is designated as a processing group by default but can be overridden at the user group level.vUserSession This view displays one row for each user currently logged in to APX. Object identifier for role for which member user is assigned within the group. Inc. but can be overridden at the user group level.7 AdvApp. The product on which the session is active.UserGroupID. this session counts toward the license seat count.vUserGroupMember This view displays one row for each user group member.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsSystem UserGroupDesc UserGroupID UserGroupName Data type bit nvarchar(255) int nvarchar(32) Description Seeded user groups are set as “1”. Foreign key to vRole. February 16. 2011 APX Release 3 Public SQL Views 49 . the group type is designated as possible object owners by default. The date-time the session was created IPv6 address of the machine on which the session is active. IsProcessingGroupDefault bit 2.5. Unique key for each user group. Foreign key to vUserBase. If set to “1”.RoleID. Column GroupTypeID GroupTypeName IsOwnerDefault Data type smallint nvarchar(72) bit Description Unique identifies for each user group type. Display name of the group for the UserGroupID. Unique key for each user session. Product that the user is logged in to. RoleName UserGroupID UserGroupName UserID UserName nvarchar(32) int nvarchar(32) int nvarchar(32) 2. Column CountSeat Created FullName InstanceCount IPAddress LastTouched Name ProductID ProductName SessionID Advent Software. Data type bit datetime nvarchar(72) int varchar(56) datetime nvarchar(32) int nvarchar(72) int Description If 1. If set to “1”. Text description of the user group.8 AdvApp.5. Display name for the group type. Foreign key to vUserGroup.

CONFIDENTIAL—DO NOT DISTRIBUTE Column TimeOutInMinutes UserID Data type int int Description Total database timeout for this session in minutes Foreign key to vUser. 2011 .fSecurityPropertyID Returns the Property ID for a given Security’s Property Name.6 Database functions 2.UserID. Syntax AdvApp.1 AdvApp. select AdvApp. APX Release 3 Public SQL Views 50 February 16.fSecurityPropertyID('IndGroup') Advent Software.6.vSecurityPropertyLookup where PropertyID = AdvApp. Inc.fSecurityPropertyID ( PropertyName ) Parameter PropertyName Examples Data Type nvarchar(30) Description The name of the property. 2.fSecurityPropertyID('AssetClass') select * from AdvApp.

and composites.CurrencyCode. The internal rate of return due to foreign exchange gains or losses during the performance reporting period The internal rate of return during the performance reporting period DetailKeyCode nvarchar(12) FXIRR IRR MarketValue NetAdditionOrWithdrawal NetOrGrossCode NetTransfers PerfCategoryCode PerfDate PortfolioBaseCode PortfolioBaseID float float float float char(1) float char(1) datetime nvarchar(32) int Code for the type of performance data. Inc. ‘t’ = total of performance across all asset classes. ‘a’ = Asset Class. 2011 . It does not include security-level performance. On Start and Total rows. Foreign key to vPortfolioBase. ‘g’ = Gross Performance. Date of this performance row.1 Portfolio public views 3. The three character ISO code can be obtained by joining against the vCurrency view. RowTypeCode. country. APX Release 3 Public SQL Views 51 February 16. ‘d’ = detail row for a specific asset class. The portfolio. Foreign key to vCurrency. this value is NULL.CONFIDENTIAL—DO NOT DISTRIBUTE 3 APXUser Schema 3.1 APXUser. or composite name can be obtained by a join against the vPortfolioBase view or the vPortfolioBaseRename view for renamed portfolios. or performance for custom security properties. groups. A code for the detail level of this row. A code for the category of performance. which corresponds to the following combination of PerfCategoryCode. group. or sectors. or sector (3 character). ‘c’ = risk country. ‘n’ = Net Performance. On detail rows. ‘s’ = Start Date. or sector. country (2 character). Column ACB CurrencyCode Data type float char(2) Description The average captial base for the performance reporting period Two-character code for the currency. countries.vPerformance This view displays performance data inclusive of portfolios.PortfolioBaseID. RowTypeCode char(1) Note to Axys users: Axys identifies each performance record with an Axys key. ‘s’ = industry sector. or composites. and DetailKeyCode for each performance record in APX: Advent Software. the key for the asset class (1 character).1. groups.

Start row for risk country performance. ‘g’ = Gross Performance.PerformancePeriodID The portfolio. Performance classification name. The ending date for this performance record. Total row for risk country performance. Foreign key to vSecClass. (E. or imported via the APX Import/Export Utility using .2 APXUser.CurrencyCode The start date for this performance record The internal rate of return due to foreign exchange gains or losses during the performance reporting period The internal rate of return during the performance reporting period Code for the type of performance data. Total row for asset class performance.prf file formats. the single-character DetailKeyCode is a foreign key to AssetClassCode in vAssetClass. Data type float char(2) float datetime float float float float float float char(1) float int nvarchar(12) int nvarchar(72) int nvarchar(32) int datetime Description The average capital base for the performance reporting period Foreign key to vCurrency. Detail row for industry sector performance.Keystring.SecClassificationID.e. Start row for industry sector performance. 2011 APX Release 3 Public SQL Views 52 .CONFIDENTIAL—DO NOT DISTRIBUTE Axys key stdate stdatec stdates totport totportc totports x PerfCategory Code a c s a c s a New keys RowType Code s s s t t t d DetailKey Code NULL NULL NULL NULL NULL NULL x Description Start row for asset class performance. Foreign key to vPortfolioBase. the three-character DetailKeyCode is a foreign key to SectorID in vIndustrySector.1. It does not include performance records created prior to APX 2. Total row for industry sector performance. (I.pbf and . the single-character DetailKeyCode is a foreign key to CountryCode in vCountry. AssetClass) Foreign key to vPerformanceClassificationPeriod.vPerformanceClassification This view displays performance records that were created in APX 2 or later. group. ‘n’ = Net Performance. Identifier for the performance classification. Column ACB CurrencyCode Fees FromDate FXGain FXIRR Gain IRR MarketValue NetAdditions NetOrGrossCode NetTransfers PerfClassID PerfClassMemberCode PerfClassMemberID PerfClassName PerformancePeriodID PortfolioBaseCode PortfolioBaseID ThruDate Advent Software. Detail row for asset class performance. The code for the performance classification member. February 16. Detail row for risk country performance. Foreign key to vSecClassMember.g. or composite code. xx c d xx xxx s d xxx 3. It also does not contain security level performance records. Inc. the asset class code) Identifier for the performance classification member.PortfolioBaseID.

calculated using the calculation net ACB. 2011 PerformanceSecurityPeriodID Advent Software. Column CurrencyCode ExternalFee FromDate PerformancePeriodID PortfolioBaseCode PortfolioBaseID ThruDate Data type char(2) float datetime int nvarchar(32) int datetime Description Foreign key to vCurrency.CONFIDENTIAL—DO NOT DISTRIBUTE 3. It also does not contain security level performance periods. Use PerformancePeriodID instead. 3. or imported via the APX Import Export Utility using pbf and prf file formats.3 APXUser.1. It does not include performance periods created prior to APX 2.vPerformanceSecurity This view displays all security-level performance records in APX. calculated using the calculation gross ACB.vPerformanceClassificationPeriod This view displays all performance classification periods in APX that were created in APX 2.1. Column ACB CurrencyCode Fees FromDate FXGain FXIRR FXIRRCalc FXIRRCalcGross Data type float char(2) float datetime float float float float Description The average capital base for the performance reporting period Foreign key to vCurrency. ‘n’ = Net Performance.0. February 16. calculated gross of fees The internal rate of return during the performance reporting period. Unique key for each performance period.4 APXUser.0. The ending date of the performance period. Foreign key to vPerformanceClassificationPeriod. Deprecated The internal rate of return during the performance reporting period. int APX Release 3 Public SQL Views 53 . The internal rate of return due to foreign exchange gains or losses during the performance reporting period.PortfolioBaseID. Inc.0 or later. calculated net of fees The internal rate of return during the performance reporting period. Same value as PerformancePeriodID – deprecated in APX 3. calculated using the ACB for the performance reporting period. ‘g’ = Gross Performance.CurrencyCode The starting date of the performance period. Foreign key to vPortfolioBase.CurrencyCode The start date for this performance record The internal rate of return due to foreign exchange gains or losses during the performance reporting period Deprecated The internal rate of return due to foreign exchange gains or losses during the performance reporting period. FXIRRCalcNet float Gain IRRCalc IRRCalcGross IRRCalcNet IRRReal float float float float float MarketValue NetAdditions NetOrGrossCode NetTransfers PerformancePeriodID float float char(1) float int Code for the type of performance data.PerformancePeriodID .

or composite code. Same value as PerformancePeriodID. int Unique key for each portfolio.PhoneID. Deprecated in APX 3. 2011 54 . portfolio group. int Foreign key to vContact.UserGroupID.vPerformanceSecurityPeriod This view displays all security-level performance periods in APX.CONFIDENTIAL—DO NOT DISTRIBUTE Column PortfolioBaseCode PortfolioBaseID SecurityID ThruDate Data type nvarchar(32) int int datetime Description The portfolio.AddressID. int Foreign key to vContact. int Foreign key to vUserGroup.ContactID. It does not contain portfolio settings. Column CurrencyCode ExternalFee FromDate PerformancePeriodID Data type char(2) float datetime int Description Foreign key to vCurrency. or firm. Column BankAddressID BankContactID BankPhoneID BillingAddressID BillingContactID BillingPhoneID DocumentLink InitialValue InvestmentGoal IsExcludedFromGroupRules IsIncomplete IsPositionOnly OwnedBy OwnerAddressID OwnerContactID OwnerPhoneID PortfolioCode PortfolioGUID PortfolioID PortfolioStatus PortfolioTypeCode PrimaryContactID ProcessingGroupID Advent Software. nvarchar(260) float nvarchar(72) bit bit bit int Foreign key to vUserBase.AddressID. Foreign key to vPortfolioBase.PerformancePeriodID .PortfolioBaseID The ending date of the performance period. int Foreign key to vContactAddress. Use PerformancePeriodID instead. PerformanceSecurityPeriodID PortfolioBaseCode PortfolioBaseID ThruDate int nvarchar(32) int datetime 3. nvarchar(72) nvarchar(72) int Foreign key to vContact. APX Release 3 Public SQL Views February 16. Foreign key to vPerformanceClassificationPeriod.1. 3.1.5 APXUser. int Foreign key to vContactPhone. Foreign key to vPortfolioBase. int Foreign key to vContact. group.SecurityID The ending date for this performance record.6 APXUser. int Foreign key to vContactPhone. group.vPortfolio This view dispays one row for each portfolio and its attributes that are defined exclusively for a portfolio.PhoneID. int Foreign key to vContactPhone. nvarchar(32) Unique code for each portfolio. Inc. int Foreign key to vContactAddress. Data type Description int Foreign key to vContactAddress.ContactID.ContactID.PhoneID. or composite code.0.UserID.PortfolioBaseID Foreign key to vSecurity.ContactID.AddressID.CurrencyCode The starting date of the performance period. as they may be defined for the portfolio. The portfolio. uniqueidentifier Globally unique identifier for third-party integration.

This view displays custom fields and attributes for portfolio base objects: portfolios. or composite.1. PortfolioBaseCode and ClassID. Column CloseDate OwnedBy PortfolioBaseCode PortfolioBaseID PortfolioBaseTypeCode Data type datetime int nvarchar(32) int char(1) Description Foreign key to vUserBase. or composite. Inc. ReportHeading3 for the portfolio. Each row in this view will return the columns: PortfolioBaseID. portfolio group or composite code. ReportHeading1 ReportHeading2 ReportHeading3 StartDate nvarchar(72) nvarchar(72) nvarchar(72) datetime 3. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite Advent Software. or composite.1. Portfolio. group. groups. Additional columns will be added for each custom field that the firm has activated for their site. and composites. portfolio groups and composites.vPortfolioBaseCustom The PortfolioBaseCustom view returns custom fields and attributes for portfolio base objects—portfolios. Unique key for a portfolio. group. group. Column ClassID PortfolioBaseCode PortfolioBaseID PortfolioBaseTypeCode Data type int nvarchar(32) int char(1) Description APX Class ID of the portfolio base object.vPortfolioBase This view displays one row for each portfolio. 2011 . ReportHeading2 for the portfolio. group.PortfolioBaseID. group. group.UserID The portfolio. Identifier for the portfolio.7 APXUser. PortfolioBaseTypeCode. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite ReportHeading1 for the portfolio. group or composite.CONFIDENTIAL—DO NOT DISTRIBUTE Column ReconciliationCloseDate ShortName TaxNumber TaxStatus URL Data type datetime nvarchar(72) varchar(16) nvarchar(72) nvarchar(260) Description 3. Foreign key to vPortfolioBase. and composite containing the common attributes across portfolios. or composite code. portfolio groups and composites. or composite. APX Release 3 Public SQL Views 55 February 16.8 APXUser.

10 APXUser. A label in APX can have a maximum of 8 characters. Inc. This view is deprecated in APX 3 and will be removed in APX 4. Use vPortfolioBaseLabels. • • The columnar vPortfolioCustomLabels view displays only one row for each portfolio. because the column must represent three different data types. Foreign key to vPortfolioBase. # (number sign) for numeric. In the vPortfolioCustomLabels view.PortfolioBaseID The value of the label for this Portfolio. The column names in the vPortfolioCustomLabels view have prefixes to indicate the type of label: 'T_' for text. Though APX does not allow custom labels to have blank values. The vPortfolioBaseCustomLabels view does not show rows where the label values are blank. numeric labels are float and date labels are datetime.vPortfolioBaseLabels This view is a row-based representation of the vPortfolioLabels view. • • The columnar vPortfolioLabels view displays only one row for each portfolio.1. Though APX does not allow custom labels to have blank values.vPortfolioBaseCustomLabels This view is a row-based representation of the existing vPortfolioCustomLabels view. certain standard fields that have associated labels are allowed to be blank. In the vPortfolioBaseCustomLabels view. The vPortfolioLabels view must show these blank values because the view is columnar. Portfolio Group or Composite • • • Column Label PortfolioBaseID Value int sql_variant 3. If you are integrating the views directly to another application. and 'D_' for date labels. Text labels are varchar. Data type nvarchar(72) Description The label’s tag in APX. The vPortfolioBaseLabels view does not show any rows where the Value column is NULL. The following are differences between the vPortfolioCustomLabels view and the vPortfolioBaseCustomLabels view. The vPortfolioCustomLabels view shows NULL values for labels that were not assigned to portfolios. the entire label type is returned in the Label field.CONFIDENTIAL—DO NOT DISTRIBUTE 3. and prefixed the same way they are in APX: $ (dollars sign) for text. the entire label • • Advent Software. and % (percent sign) for date labels. The column names in the vPortfolioLabels view have prefixes to indicate the type of label: 'T_' for text. you will need to cast or convert the values for each label type accordingly. #copies. The vPortfolioBaseLabels view does not show rows where the label values are blank. we use a data type called sql_variant. 'N_' for numeric. The row-based view returns more than one row for each portfolio. %stdate. certain standard fields that have associated labels are allowed to be blank. In the vPortfolioBaseLabels view. The vPortfolioBaseCustomLabels view does not show any rows where the Value column is NULL. For example $name. The following are differences between the vPortfolioLabels view and vPortfolioBaseLabels view. APX Release 3 Public SQL Views 56 February 16.1. The vPortfolioLabels view shows NULL values for labels that were not assigned to portfolios. 'N_' for numeric. 2011 . In the vPortfolioBaseCustomLabels view. The vPortfolioCustomLabels view must show these blank values because the view is columnar. each column can be a different SQL data type. and 'D_' for date labels.9 APXUser. The rowbased view returns more than one row for each portfolio.

If a setting is not defined at the portfolio/group/composite level. groups. you will need to cast or convert the values for each label type accordingly.1. if a setting is not defined at the User Configuration level. Foreign key to vMarketIndex. %stdate. then the view displays the corresponding setting from the Global Configuration level. Foreign key to vPortfolioBase. or composite that has been renamed. each column can be a different SQL data type. A label in APX can have a maximum of 8 characters. we use a data type called sql_variant. If you are integrating the views directly to another application.PortfolioBaseID.12 APXUser. Foreign key to vMarketIndex.vPortfolioBaseSettingEx This view displays effective settings for portfolios. because the column must represent three different data types. February 16.IndexID. Column CashSecType CashSecuritySymbol ClassID CloseDate FootnoteLine1 FootnoteLine2 FootnoteLine3 IncomeSecType IncomeSecuritySymbol IndexID1 IndexID2 IndexID3 IndexID4 IndexID5 Advent Software. Data type nvarchar(128) int sql_variant Description The label’s tag in APX (Example: $name.11 APXUser. numeric labels are float and date labels are datetime.IndexID.1. Inc. and prefixed the same way they are in APX: $ (dollars sign) for text.CONFIDENTIAL—DO NOT DISTRIBUTE • type is returned in the Label field. then the view displays the corresponding setting from the User Configuration level. or Composite Column Label PortfolioBaseID Value 3. #copies). and % (percent sign) for date labels. 2011 APX Release 3 Public SQL Views 57 .IndexID. Portfolio Group. In the vPortfolioBaseLabels view. Similarly.IndexID. Foreign key to vMarketIndex.IndexID. group. Foreign key to vMarketIndex. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite 3. Text labels are varchar. In the vPortfolioLabels view. # (number sign) for numeric.PortfolioBaseID The value of the label for this Portfolio. Data type char(4) nvarchar(25) int datetime nvarchar(72) nvarchar(72) nvarchar(72) char(4) nvarchar(25) int int int int int Description Foreign key to vMarketIndex. Foreign key to vPortfolioBase. and composites. Column PortfolioBaseCodeNew PortfolioBaseCodeOld PortfolioBaseGUID PortfolioBaseID PortfolioBaseTypeCode Data type nvarchar(32) nvarchar(32) uniqueidentifier int char(1) Description Globally unique identifier for integrating with third-party systems.vPortfolioBaseRenamed This view displays one row for each portfolio.

Foreign key to vContact.13 APXUser. If a setting is not defined at the portfolio level.ContactID. Foreign key to vMarketIndex.CONFIDENTIAL—DO NOT DISTRIBUTE Column IndexID6 IndexID7 IndexID8 IndexID9 LocaleID NumOfCopies PortfolioBaseCode PortfolioBaseID PortfolioBaseTypeCode PrefixedPortfolioBaseCode ReportHeading1 ReportHeading2 ReportHeading3 ReportingCurrencyCode RexStartDate ShowFootNotes StartDate Data type int int int int int smallint nvarchar(32) int char(1) nvarchar(34) nvarchar(72) nvarchar(72) nvarchar(72) char(2) datetime bit datetime Description Foreign key to vMarketIndex.IndexID.AddressID. 3. Inc. This view displays one row for each portfolio. Foreign key to vMarketIndex.1. Column BillInArrears BillingMethodCode ContactAddressID ContactCode ContactID ContactName ContactPhoneID ExternalAccount FlatFee FlatManagementFee MinimumFee MinimumManagementFee PastDueAmount PaymentFrequencyID PortfolioID TaxRate TieredBillingBracket1 TieredBillingBracket2 TieredBillingBracket3 TieredBillingBracket4 TieredBillingBracket5 TieredBillingRate1 TieredBillingRate2 TieredBillingRate3 Advent Software.PortfolioBaseID. Foreign key to vPortfolio. Data type bit char(1) int nvarchar(32) int nvarchar(255) int nvarchar(72) float float float float float tinyint int float float float float float float float float float Description Foreign key to vContactAddress.IndexID. APX Release 3 Public SQL Views 58 February 16. Foreign key to vPortfolioBase. Foreign key to vMarketIndex.IndexID. then the view displays the corresponding setting from the Global Configuration level. Foreign key to vContactPhone.PhoneID.vPortfolioBillingEx This view displays billing settings for each portfolio.IndexID.PortfolioID. 2011 .

vPortfolioCompositeMember This view displays one row for each member of a portfolio composite. 3.PortfolioID for this composite member.CONFIDENTIAL—DO NOT DISTRIBUTE Column TieredBillingRate4 TieredBillingRate5 TieredBillingRate6 Data type float float float Description 3. Data type bit Description February 16. Unique code for each portfolio composite. It does not contain portfolio group settings. It does not contain portfolio composite settings.) Unique code for each portfolio composite. as they may be defined for the portfolio composite or firm. Entry date for this composite member into this composite.15 APXUser.1.16 APXUser. Column IsConsolidatedAccount Advent Software.1.1.) Foreign key to vPortfolio. Inc.vPortfolioGroup This view displays one row for each portfolio group and its attributes that are defined exclusively for a portfolio group. Column PortfolioBaseID Data type int Description Foreign key to vPortfolioBase. Foreign key to vPortfolioComposite.PortfolioCompositeID. Exit date for this composite member out of this composite.17 APXUser.vPortfolioComposite This view displays one row for each portfolio composite and its attributes that are defined exclusively for a portfolio composite. (All composite members are portfolios. 3.PortfolioBaseID. 2011 APX Release 3 Public SQL Views 59 . Use vPortfolioBaseCustomLabels. Portfolio code for this composite member. 3.UserID. Foreign key to vPortfolioBase.1. Unique key for each portfolio composite. It is re-generated when a new custom field is created. Column OwnedBy PortfolioCompositeCode PortfolioCompositeID Purpose Data type int nvarchar(32) int nvarchar(72) Description Foreign key to vUserBase.14 APXUser.vPortfolioCustomLabels This view displays one row for each portfolio.PortfolioBaseID. Column Comments EntryDate ExitDate MemberCode MemberID PortfolioCompositeCode PortfolioCompositeID Data type nvarchar(72) datetime datetime nvarchar(32) int nvarchar(32) int Description Comments about this member in this composite. (All composite members are portfolios. This view is deprecated in APX 3 and will be removed in APX 4. as they may be defined for the portfolio group or firm.

or composite code for this group member. group. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite Unique code for each portfolio group. Membership via nested groups is not displayed in this view. Foreign key to vPortfolioBase.UserID.PortfolioGroupID PortfolioGroupCode PortfolioGroupID nvarchar(32) int 3.1. group. Unique key for each portfolio group. PortfolioGroupCode PortfolioGroupID nvarchar(32) int Advent Software. Column DisplayOrder IsConsolidated MemberCode MemberID MemberTypeCode Data type bigint bit nvarchar(32) int char(1) Description Indicates whether the portfolio group or composite is a consolidated member of this group. Code for type of the member.18 APXUser.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsPortfolioSorted OwnedBy PortfolioGroupCode PortfolioGroupID Purpose Data type bit int nvarchar(32) int nvarchar(72) Description Foreign key to vUserBase. Column IsConsolidated MemberCode MemberID MemberTypeCode Data type bit nvarchar(32) int char(1) Description If this group member is a portfolio group. Portfolio.PortfolioBaseID for this group member. Valid values are: p – Portfolio g – Portfolio Group c – Portfolio Composite Unique code for each portfolio group.PortfolioBaseID. Foreign key to vPortfolioGroup. Foreign key to vPortfolioBase. Portfolio. indicates whether it is consolidated.vPortfolioGroupMemberFlattened This is a flattened view of portfolio group membership.PortfolioGroupID.PortfolioBaseID for this group member. Code for type of the member. APX Release 3 Public SQL Views 60 February 16. Inc.vPortfolioGroupMember This view displays one row for each direct member of a portfolio group. 2011 . 3. Members of portfolio groups are returned as direct members even if the membership is a result of nested portfolio groups.19 APXUser.1. Foreign key to vPortfolioBase. or composite code for this group member. Foreign key to vPortfolioGroup. Unique code for each portfolio group.

If the Interested Party Relationship is based on the Contact Relationship with another Contact. Foreign key to vContact. Foreign key to vContactRelationship. RelationshipID RelationshipTypeName int nvarchar(72) 3. Column AddressID AddressLabel AreMailingsForDefault ContactCode ContactID ExternalAccount HasMailing<n> Notes PortfolioCode PortfolioID Data Type int nvarchar(72) bit nvarchar(32) int nvarchar(72) bit nvarchar(max) nvarchar(32) int Description Foreign key to vContactAddress. Unique code for each portfolio.1.vPortfolioInterestedPartyMailing This view displays mailing information for each contact relationship to a portfolio.22 APXUser.ContactID. Foreign key to vContact. APX Release 3 Public SQL Views 61 February 16.IndexID.1) PortfolioBaseID int Foreign key to vPortfolioBase.AddressID Unique code for each contact. portfolio group. Each row represents an association (i. this column contains the related contact’s ID.1. PercentWeight numeric(4.e interested party relationship) between a portfolio and a contact.ContactID. Foreign key to vContact.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column ContactCode ContactID Custom<n> ExternalAccount InterestedPartyType IPAttr<n> Notes PortfolioCode PortfolioID RelatedContactID Data type nvarchar(32) int nvarchar(72) nvarchar(72) nvarchar(72) bit nvarchar(max) nvarchar(32) int int Description Unique code for each contact. Inc. 3. Site-defined flags about the interested party.vPortfolioInterestedParty This view displays the association between portfolios and contacts. Foreign key to vPortfolio.ContactID. <n> = 01 to 32. Foreign key to vPortfolio. Advent Software.1.PortfolioID.RelationshipID. <n> = 01 to 32 Unique code for each portfolio. Column Data type Description DisplayOrder int IndexDate datetime IndexID int Foreign key to vMarketIndex. Contact’s relationship with this portfolio.21 APXUser.20 APXUser.PortfolioBaseID.vPortfolioIndexes This view displays the performance and synthetic index settings for each portfolio. 2011 . <n> = 01 to 04 The type of relationship underlying a contact’s interest in a portfolio.PortfolioID. or composite.

then the view displays the corresponding setting from the User Configuration level. 2011 . Advent Software. called “labels” in Axys. Column AccruedInterestID AccruedInterestShowCode AverageCostCode BillingMethodCode BrokerRepSymbol CustodianID DomicileCountryCode InitialValue InternalClosingMethodCode InvestmentGoal IsPositionOnly PortfolioID PortfolioStatus PortfolioTypeCode ReconciliationCloseDate TaxNumber TaxStatus URL Data type smallint varchar(1) varchar(1) char(1) nvarchar(12) int char(2) float varchar(16) nvarchar(72) bit int nvarchar(72) nvarchar(72) datetime varchar(16) nvarchar(72) nvarchar(260) Description Foreign key to vCustodian.CustodianID. This view displays one row for each portfolio.CONFIDENTIAL—DO NOT DISTRIBUTE 3.1. The columns in this view will vary by site. Foreign key to vPortfolio.PortfolioID Represents portfolio labels of string values. So-called “standard labels” became specific columns in SQL tables. Inc. are represented in the APX database in two places. Represents portfolio labels of date/time values. If a setting is not defined at the portfolio level. Column PortfolioID T_xxxx D_xxxx N_xxxx Data Type int nvarchar(72) datetime float Description Foreign key to vPortfolio. Internally. The view has one row per PortfolioID.1. if a setting is not defined at the User Configuration level. “Custom labels” remain in a tag-value child table in APX.24 APXUser. Represents portfolio labels of numeric values.vPortfolioLabels This view is deprecated in APX 3 and will be removed in APX 4. A site can promote data from the tag-value format to a custom extension table (AdvPortfolioBaseExt) with specific site-defined columns. portfolio attributes.vPortfolioSettingEx This view displays settings for portfolios only. 3. with the labels appearing as columns. then the view displays the corresponding setting from the Global Configuration level. Use vPortfolioBaseLabels. APX Release 3 Public SQL Views 62 February 16. Similarly. it does not show settings for groups or composites. We present the label information in a single view with both standard and custom labels.23 APXUser.PortfolioID.

CustodianID. OriginalCostDate OriginalCostLocalCurrency OriginalCostPortfolioCurrency OriginalCostSystemCurrency OriginalFace PortfolioCode PortfolioID Quantity SecTypeCode Advent Software. February 16. SettlementCurrencyCode TotalCash TotalCost TotalMarketValue TotalTradableCash char(2) float float float float Foreign key to vPortfolio.CurrencyCode. Long term is defined by securities held for a period longer than the Holding Period for the Security Type. Foreign key to vSecType.1. 2011 APX Release 3 Public SQL Views 63 . Indicates when this portfolio summary information was updated. The PortfolioTransactionID that opened this tax lot. Total realized long term gain for securities sold in the current year.SecTypeCode. Total realized gains for securities sold in the current calendar year. Inc. 3.IsTaxLotCurrent = 1. Foreign key to vPortfolioTransaction.PortfolioTransactionID.PortfolioID.vPortfolioTaxLotCurrent This view displays current derived tax lots for each portfolio.26 APXUser.vPortfolioSummaryCurrent This view displays current derived market values for each portfolio. Column IsHoldingsHistoryCurrent IsTaxLotCurrent NextTranID PortfolioCode PortfolioID ProcessedDate RealizedYTDGain RealizedYTDGainLong Data type bit bit int nvarchar(32) int datetime float float Description 1 if the HoldingHistory table has been updated for all changes to the transactions for this portfolio.PortfolioID.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column BrokerRepSymbol CustodianID HeldLongDate IPCounter IsPledge IsShortPosition IsZeroMV LotNumber LotTransactionID Data type nvarchar(12) int datetime int bit bit bit smallint int Description Foreign key to vCustodian.25 APXUser. with one row for each portfolio. Foreign key to vCurrency. 1 if AdvTaxLot has been updated for all changes to the transactions for this portfolio. datetime float float float float nvarchar(32) int float char(2) Foreign key to vPortfolio.1. with one row for each portfolio tax lot. Tax lots are current when vPortfolioSummaryCurrent.

if billing in advance.SecurityID. Foreign key to vExchange.StrategyID.CustodianID. Relative to the Trade Date. this is the later date.SecTypeCode. Foreign key to vSecType.CommissionPurposeID.SecurityID Foreign key to vCommissionPurpose. Foreign key to vSecType. 2011 .PortfolioID.vPortfolioTransaction This view displays one row for each portfolio transaction. Foreign key to vCustodian. Column BrokerFirmID BrokerRepSecurityID ClosingMethodCode Comment Commission CommissionPurposeID CustodianID DestCustodianID DivTradeDate DurationOnCost ExchangeFee ExchangeID FeePeriodDate Data type int int char(1) nvarchar(70) float tinyint int int datetime float float tinyint datetime Description Foreign key to vBrokerFirm.ExchangeID. Foreign key to vSecurity. If billing in arrears. APX Release 3 Public SQL Views 64 February 16.SecurityID. Foreign key to vSecurity. 3.27 APXUser.SecTypeCode.BrokerFirmID Foreign key to vSecurity. Foreign key to vCustodian.CONFIDENTIAL—DO NOT DISTRIBUTE Column SecurityID StrategyID Symbol Data type int int nvarchar(25) Description Foreign key to vSecurity. Unique key for each transaction.1. ImpliedCommission IPCounter IsDestPledge IsPledge LotNumber MarkToMarket OriginalCost OriginalCostDate OriginalFace OriginalFX OtherFees PerfContributionOrWithdraw al PortfolioID PortfolioTransactionID PostDate Quantity RecID ReclaimAmount RecordDate SecTypeCode1 SecTypeCode2 SecurityID1 SecurityID2 SequenceNo SettleDate Advent Software. Inc. this is the earlier date. The date that defines the billing period. bit varchar(16) bit bit smallint bit float datetime float float float bit int int datetime float tinyint float datetime char(2) char(2) int int int datetime Foreign key to vPortfolio.CustodianID.SecurityID. Foreign key to vStrategy.

TransUserDef3ID. Foreign key to vTransUserDef3. Each update is represented by a delete of the old row and an insert of the new row. Foreign key to vExchange. A key for ordering rows with an AuditEventID. PortfolioTransactionID.SecurityID. Foreign key to vCustodian. Foreign key to the audit history table. Use the AuditEventID to order transactions chronologically. System timestamp (not a date-time) for the change. Foreign key to vSecurity.ExchangeID.TransUserDef1ID. A delete is represented by a single row.CommissionPurposeID. AuditEventID.vPortfolioTransactionHistory This view has one row for each insert to the AdvPortfolioTransaction table.CustodianID. 3. order by PortfolioID. for example.28 APXUser. Foreign key to vTransUserDef2.BrokerFirmID. For the results of this view to make sense. Views for audit history are not currently available. Inc.TransUserDef2ID. Views for trade blotters are not currently available. and lower case for each insert action.CustodianID. February 16. Label for the TransactionCode Foreign key to vTransUserDef1. The TransactionCode column is also in upper case for each D action. The AuditTimestamp column can be used as an additional ordering key within AuditEventID and EventOrder. Foreign key to vBrokerFirm. Foreign key to vStrategy.1. The action is coded in the RowAction column as I or D.CONFIDENTIAL—DO NOT DISTRIBUTE Column SettleDateFX SourceID StrategyID TradeAmount TradeBlotterLineID TradeDate TradeDateFX TranCodeLabel TranID TransactionCode TransUserDef1ID TransUserDef2ID TransUserDef3ID VersusDate WithholdingTax YieldOnCost Data type float int int float int datetime float nvarchar(50) int char(2) tinyint tinyint tinyint datetime float float Description Foreign key to vSource.SourceID.StrategyID. AuditEventID. binary(8) int int char(1) nvarchar(70) float tinyint int int datetime float int float tinyint datetime Foreign key to vCommissionPurpose. This can be used to order items with an AuditEventID. EventOrder or even order by PortfolioID. EventOrder. Foreign key to vCustodian. Column AuditEventID Data type int Description Audit Event ID of the action that caused this change. Trade blotter record for this transaction record. it needs to be ordered by AuditEventID and EventOrder. This can also be done within other orders. 2011 APX Release 3 Public SQL Views 65 . AuditTimestamp BrokerFirmID BrokerRepSecurityID ClosingMethodCode Comment Commission CommissionPurposeID CustodianID DestCustodianID DivTradeDate DurationOnCost EventOrder ExchangeFee ExchangeID FeePeriodDate Advent Software.

Trade blotter record for this transaction record. APX Release 3 Public SQL Views 66 February 16. Foreign key to vSecurity. TransactionTime TransUserDef1ID TransUserDef2ID TransUserDef3ID VersusDate WithholdingTax YieldOnCost datetime tinyint tinyint tinyint datetime float float Inserted and incoming update rows have a lower-case value in this column.PortfolioID.SecTypeCode. ‘D” for delete or outgoing update. The date and time of the audit event ID that affected this row. Foreign key to vSecType.SecurityID. Unique key for each portfolio transaction. Foreign key to vSource.SecTypeCode. Inc. 2011 .TransUserDef2ID.TransUserDef3ID. ‘I’ for insert or incoming update. Foreign key to vTransUserDef3.SourceID. Foreign key to vStrategy. Foreign key to vSecType. Join against vPortfolioBase for portfolio name or code. Advent Software. Views for trade blotters are not currently available.TransUserDef1ID. Foreign key to vSecurity. Foreign key to vTransUserDef2. Foreign key to vTransUserDef1.StrategyID. Deletes and outgoing updates have an upper-case value in this column.SecurityID.CONFIDENTIAL—DO NOT DISTRIBUTE Column ImpliedCommission IPCounter IsDestPledge IsPledge LotNumber MarkToMarket OriginalCost OriginalCostDate OriginalFace OriginalFX OtherFees PerfContributionOrWithdrawal PortfolioID PortfolioTransactionID PostDate Quantity RecID ReclaimAmount RecordDate RowAction SecTypeCode1 SecTypeCode2 SecurityID1 SecurityID2 SequenceNo SettleDate SettleDateFX SourceID StrategyID TradeAmount TradeBlotterLineID TradeDate TradeDateFX TranID TransactionCode Data type bit varchar(16) bit bit smallint bit float datetime float float float bit int int datetime float tinyint float datetime varchar(1) char(2) char(2) int int int datetime float int int float int datetime float int varchar(2) Description Foreign key to vPortfolio.

Foreign key to vPortfolio. Foreign key to vUserBase.UserID. Foreign key to vUser.ActivityTypeID. Foreign key to vSecurity.UserBaseID. Currency rate on the original cost date.2.UserBaseID.vActivity The AdvApp. Data type nvarchar(72) int tinyint tinyint datetime int datetime int int nvarchar(max) datetime int datetime nvarchar(260) datetime datetime Description Unique key for each activity.UserBaseID.PortfolioID. Foreign key to vSource.This view displays one row for each activity.ActivityPriorityID. Join against vPortfolioBase for portfolio name or code. Foreign key to vActivityPriority.vActivity view in APX 3 and prior releases is deprecated. Foreign key to vUserBase. Inc. 2011 . Unique code for each portfolio. Column ActivityCategory ActivityID ActivityPriorityID ActivityTypeID ApptOrTaskStartDate AssignedBy AssignedTime AssignedTo AssignedToOrOrganizerID Body CompletedDate CreatedBy CreatedTime DocumentLink DueBy DueDate Advent Software. 3.1 APXUser. APX Release 3 Public SQL Views 67 February 16.SecurityID.SecTypeCode. Currency rate on the position date. This view includes those columns that are common to most Activity types. Foreign key to vUserBase.1. instead of position-level. Foreign key to vSecType.SourceID. or the appointment organizer. Foreign key to vActivityType.2 Contact public views 3. User ID of the user to whom a task is assigned. In some cases the data may be stored at the tax-lot level.CONFIDENTIAL—DO NOT DISTRIBUTE 3. In APX 3 Update 1.29 APXUser. Column ExecutionDate IsShortPosition LotNumber MarketValue OriginalCost OriginalCostDate OriginalFace OriginalFX PortfolioCode PortfolioID PositionDate PositionDateFX Quantity SecTypeCode SecurityID SourceID Data type datetime bit int float float datetime float float nvarchar(32) int datetime float float char(2) int int Description “1” = yes and “0” = no. it exists in a temporary schema called AdvApp_APX2.vPositionRecon This view displays custodial position data downloaded from Advent Custodial Data. The vActivity view in this temporary schema will be removed in APX 4.

RecurrenceID Foreign key to vTaskStatus.ContactID.3 APXUser.0.TaskStatusID. ContactID int Foreign key to vContact.2.0. <n> = 01 to 20 3. Data type nvarchar(72) datetime Description APX Release 3 Public SQL Views 68 February 16. Column ActivityID Custom<n> Data type int nvarchar(72) Description Foreign key to vActivity. Column Data type Description ActivityID int Foreign key to vActivity.UserBaseID. 2011 .vActivityEx This is a deprecated view in APX 3. Inc. Foreign key to vContact.2.CONFIDENTIAL—DO NOT DISTRIBUTE Column EndDate EndTime EndTimeOfDay FreeBusyStatusID IsAllDay IsAppointment IsRecurring IsReminderOn IsSystem Location MinutesBeforeStart ObjectGUID OrganizerID OwnedBy PercentComplete RecurrenceID ReminderDate ReminderTime ReminderTimeOfDay SequenceNo StartDate StartTime StartTimeOfDay Subject TaskStatusID URL Data type datetime datetime varchar(5) tinyint bit bit bit bit bit nvarchar(72) int uniqueidentifier int int tinyint int datetime datetime varchar(5) smallint datetime datetime varchar(5) nvarchar(255) tinyint nvarchar(260) Description Foreign key to vFreeBusyStatus.ContactID IsPrimaryContact bit 3.4 APXUser.ActivityID.FreeBusyStatusID. 3.2.2 APXUser.vActivityContact This view shows the association of one or more contacts to each activity. Foreign key to vUserBase. and will be removed in APX 4. Foreign key to vTaskRecurrence.vActivityCustom This view displays one row for each activity and its custom columns.ActivityID. Column ActivityCategory ActivityEndDate Advent Software.

CONFIDENTIAL—DO NOT DISTRIBUTE Column ActivityGUID ActivityID ActivityPriorityID ActivityPriorityName ActivityStartDate ActivitySubject ActivityTitle ActivityTypeID ActivityTypeName AssignedBy AssignedByUserID AssignedTime AssignedTo AssignedToUserID AttendeeEmailAddress AttendeeTypeID AttendeeTypeName CompletedDate ContactCode ContactDeliveryName ContactID ContactIsPrimary CreatedBy CreatedByUserID CreatedTime Custom<n> DocumentLink DueDate EmailBodyText EmailReceivedTime EmailRecipientListBCC EmailRecipientListCC EmailRecipientListTo EmailSenderAddress EmailSenderAddressID EmailSentTime EmailSubject FreeBusyStatusID FreeBusyStatusName IsAllDay IsAppointment IsEmail IsRecurring IsReminderOn Location Notes OwnedBy OwnedByUserID PercentComplete PortfolioBaseCode PortfolioBaseID Advent Software. 2011 . Inc. Data type uniqueidentifier int tinyint nvarchar(72) datetime nvarchar(255) nvarchar(289) tinyint nvarchar(32) nvarchar(72) int datetime nvarchar(72) int nvarchar(128) tinyint nvarchar(32) datetime nvarchar(32) nvarchar(255) int bit nvarchar(72) int datetime nvarchar(72) nvarchar(260) datetime nvarchar(max) datetime nvarchar(max) nvarchar(max) nvarchar(max) nvarchar(128) int datetime nvarchar(255) tinyint nvarchar(32) bit bit bit bit bit nvarchar(72) nvarchar(max) nvarchar(72) int tinyint nvarchar(32) int Description APX Release 3 Public SQL Views 69 February 16.

Column Data type Description ActivityID int Foreign key to vActivity.5 APXUser.vActivityPortfolio This view shows the association of one or more portfolios to each activity. Inc.PortfolioID. APX Release 3 Public SQL Views 70 February 16. 2011 .2.ActivityID.CONFIDENTIAL—DO NOT DISTRIBUTE Column PortfolioIsPrimary PortfolioReportHeading1 PortfolioReportHeading2 PortfolioReportHeading3 PrimaryContactCode PrimaryContactID PrimaryContactName PrimaryPortfolioCode PrimaryPortfolioID PrimaryPortfolioName RecurrenceDayOfMonth RecurrenceEndDate RecurrenceEndType RecurrenceID RecurrenceInterval RecurrenceIsOnDay RecurrenceIsOnFriday RecurrenceIsOnMonday RecurrenceIsOnSaturday RecurrenceIsOnSunday RecurrenceIsOnThursday RecurrenceIsOnTuesday RecurrenceIsOnWednesday RecurrenceIsOnWeekday RecurrenceIsOnWeekendDay RecurrenceMonth RecurrenceQuantity RecurrenceStartDate RecurrenceTypeID RecurrenceWeekIndex ReminderDate ReminderDueBy ReminderMinutesBeforeStart ReminderTime ReminderTimeOfDay TaskSequenceNo TaskStatusID TaskStatusName URL Data type bit nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(32) int nvarchar(145) nvarchar(32) int nvarchar(72) tinyint datetime tinyint int smallint bit bit bit bit bit bit bit bit bit bit tinyint smallint datetime tinyint smallint datetime datetime int datetime varchar(5) smallint tinyint nvarchar(72) nvarchar(260) Description 3. IsPrimaryPortfolio bit PortfolioID int Foreign key to vPortfolio. Advent Software.

Use DefaultAddressID. Foreign key to vContact.2. Column Data type ActivityTypeID tinyint ActivityTypeName nvarchar(32) Description Unique key for each activity type. 3. Use DefaultAddressID.0.vContact This view displays one row for each contact.0. 1 . Inc.2.6 APXUser.9 APXUser.vAttendee This view lists the attendees of a meeting.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Concatenation of default address elements with line breaks between address lines. Column Data type AppointmentID int AttendeeTypeID tinyint Description Unique key for each appointment (Meeting). Will be removed in APX 4. Column Data type ActivityPriorityID tinyint ActivityPriorityName nvarchar(72) Description Unique key for each activity priority.Resource AttendeeTypeName EmailAddress EmailAddressID nvarchar(32) nvarchar(128) int 3. Will be removed in APX 4.0. Use DefaultAddressID. Column BestTimeToCall BirthDate BusinessPhone CallInterval CellularPhone Company ContactCode ContactGUID ContactID ContactStatus ContactTypeName DefaultAddressCity DefaultAddressCountry DefaultAddressFull Data type nvarchar(72) datetime varchar(45) smallint varchar(45) nvarchar(255) nvarchar(32) uniqueidentifier int nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(32) nvarchar(255) Description Concatenation of country code.Required 2 .AddressID Deprecated. int nvarchar(72) Deprecated.ContactID.2.7 APXUser. phone number and extension. 2011 APX Release 3 Public SQL Views 71 .2. Unique code for each contact. DefaultAddressID DefaultAddressLabel Advent Software. 3. February 16.vActivityPriority This is a lookup view for activity priorities.8 APXUser. Will be removed in APX 4.vActivityType This is a lookup view for activity types. Deprecated.Optional 3 . Foreign key to vContactAddress.

Deprecated.CONFIDENTIAL—DO NOT DISTRIBUTE Column DefaultAddressLine1 DefaultAddressLine2 DefaultAddressLine3 DefaultAddressLine4 DefaultAddressPostalCode DefaultAddressStateCode DefaultPhoneID DeliveryName DocumentLink DriverLicense Email Email2 Email3 FirstName Gender HomePhone Income IsBusinessOwner IsIRA IsLifeInsurance IsReferralRequest IsRetired IsTrustFund LastContactedDate LastName MiddleName NextCallDate Notes Occupation OtherPhone OwnedBy Prefix ResearchTopics RetirementDate Salutation Suffix TaxBracket TaxID Title URL Data type nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) varchar(16) nvarchar(3) int nvarchar(255) nvarchar(260) nvarchar(32) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(72) nvarchar(72) varchar(45) float bit bit bit bit bit bit datetime nvarchar(72) nvarchar(72) datetime nvarchar(max) nvarchar(72) varchar(45) int nvarchar(72) nvarchar(max) datetime nvarchar(72) nvarchar(72) smallint varchar(16) nvarchar(72) nvarchar(260) Description Deprecated. Will be removed in APX 4.0. Will be removed in APX 4. Deprecated. Use DefaultAddressID.0. Will be removed in APX 4.PhoneID. Deprecated. Inc. Will be removed in APX 4. Use DefaultAddressID. Use DefaultAddressID. Will be removed in APX 4. Deprecated. Will be removed in APX 4.0. Use DefaultAddressID. Foreign key to vContactPhone. Advent Software.0.0. 2011 . Deprecated. APX Release 3 Public SQL Views 72 February 16. Use DefaultAddressID.0. Use DefaultAddressID.

Column OwnedBy PhoneContactCode PhoneContactID PhoneCountryCode Advent Software. <n> = 01 to 99 <n> = 01 to 50 ID of the UserBase object that owns this contact. APX Release 3 Public SQL Views 73 February 16. because that often goes to a different address than regular mail.2. it means package type mail.10 APXUser. Column AddressCity AddressContactCode AddressContactID AddressCountry AddressFull AddressID AddressLabel AddressLine1 AddressLine2 AddressLine3 AddressLine4 AddressPostalCode AddressStateCode Custom<n> Duration HasAttr<n> IsSendExpress Data type nvarchar(72) nvarchar(32) int nvarchar(32) nvarchar(255) int nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) nvarchar(72) varchar(16) nvarchar(3) nvarchar(72) nvarchar(32) bit bit Description Unique code for each contact. A flag that marks this contact-address association as a mailing address.ContactID.11 APXUser. Foreign key to vContact.ContactID. IsSendMail OwnedBy bit int 3. n=1–4 n=1–4 A flag similar to IsSendMail. 2011 . In practical terms.2.vContactPhone This view displays one row for each phone number associated to a contact. This flag denotes that the address is used for express mail. 3.vContactAddress This view displays one row for each address of each contact. A contact can have more than one mailing address. Foreign key to vUserBase.vContactCustom This view displays the custom columns for each Contact. Inc. Concatenation of address elements with line breaks between address lines. Unique key for each contact address.UserBaseID. Data type int nvarchar(32) int smallint Description Unique code for each contact. Column ContactCode ContactID Custom<n> HasPref<n> OwnedBy Data type nvarchar(32) int nvarchar(72) bit int Description Unique code for each contact.2. Foreign key to vContact.12 APXUser. Foreign key to vContact.CONFIDENTIAL—DO NOT DISTRIBUTE 3.ContactID.

PhoneID PhoneLabel int nvarchar(72) 3. Data type nvarchar(72) int tinyint tinyint nvarchar(max) int datetime nvarchar(260) uniqueidentifier int datetime nvarchar(max) nvarchar(max) nvarchar(max) int datetime nvarchar(255) Description Foreign key to vActivity. This adds up to 49 characters total. Unique key for each phone record. Foreign key to vContact. An Email is a type of activity. Column ContactCode ContactID ContactOwnedBy Custom<n> HasProfessionalAttr<n> NatureOfRelationship Notes RelatedContactCode RelatedContactID RelatedContactOwnedBy RelationshipID RelationshipTypeName Data type nvarchar(32) int int nvarchar(72) bit nvarchar(255) nvarchar(max) nvarchar(32) int int int nvarchar(72) Description Unique code for each contact.ActivityID.ActivityPriorityID. Unique key for each contact relationship. The rendering of the full phone is ‘+’ + country/carrier (5) + separator (1) + phone (32) + " ext. Foreign key to vUser.ActivityTypeID. The relationship can be between two individual contacts or an individual contact and a contact group. Foreign key to vContact. and extension.14 APXUser. This formatting should not be depended upon between releases of APX.vEmail This view lists all Email activities. <n> = 01 to 04 <n> = 01 to 20 Unique code for each contact. phone number.ContactID. 2011 .13 APXUser. Inc.CONFIDENTIAL—DO NOT DISTRIBUTE Column PhoneExtension PhoneFull Data type varchar(5) varchar(49) Description Concatenation of country code. APX Release 3 Public SQL Views 74 February 16.ContactID.UserID. Foreign key to vActivityType. 3.2.vContactRelationship This view displays one row for each relationship between two contacts. Foreign key to vActivityPriority." (5) + ext (5).2. Column ActivityCategory ActivityID ActivityPriorityID ActivityTypeID Body CreatedBy CreatedTime DocumentLink ObjectGUID OwnedBy ReceivedTime RecipientListBCC RecipientListCC RecipientListTo SenderEmailAddressID SentTime Subject Advent Software.

CONFIDENTIAL—DO NOT DISTRIBUTE Column URL Data type nvarchar(260) Description 3.0. A task is a type of activity.16 APXUser. and will be removed in APX 4. 2011 . 3.vFreeBusyStatus This is a lookup view for the status of an activity.2. APX Release 3 Public SQL Views 75 February 16.17 APXUser. Column BankingAddressID BankingContactID BankingPhoneID BillableAddressID BillableContactID BillablePhoneID BillingAddressID BillingContactID BillingPhoneID OwnerAddressID OwnerContactID OwnerPhoneID PortfolioID Data type int int int int int int int int int int int int int Description 3.vPortfolioContactRelationshipEx This is a deprecated view in APX 3.0.15 APXUser.2. RecurrenceInterval smallint RecurrenceIsOnDay bit RecurrenceIsOnFriday bit RecurrenceIsOnMonday bit RecurrenceIsOnSaturday bit RecurrenceIsOnSunday bit RecurrenceIsOnThursday bit RecurrenceIsOnTuesday bit RecurrenceIsOnWednesday bit RecurrenceIsOnWeekday bit RecurrenceIsOnWeekendDay bit RecurrenceMonth tinyint RecurrenceQuantity smallint RecurrenceStartDate datetime Advent Software.vTaskRecurrence This view returns recurrence information for tasks. Column Data type FreeBusyStatusID tinyint FreeBusyStatusName nvarchar(32) Description Unique key for each Free/Busy status.2. Column Data type Description RecurrenceDayOfMonth tinyint RecurrenceEndDate datetime RecurrenceEndType tinyint RecurrenceID int Unique key for each task recurrence. Inc.

3.2.3 Market public views 3.3. APX Release 3 Public SQL Views 76 February 16.CONFIDENTIAL—DO NOT DISTRIBUTE Column RecurrenceTypeID RecurrenceWeekIndex Data type tinyint smallint Description 3.3 APXUser.vBaseRate This view displays one row for each base rate. 3. Data type datetime int nvarchar(72) float Description Foreign key to vCouponRate.3.2 APXUser. Inc. Column AsOfDate CouponRateID CouponRateName Rate Advent Software. 2011 .vCouponRate This view displays one row for each coupon rate.vBaseRateSchedule This view displays rate schedules for each base rate. Column CouponRateID CouponRateName Data type int nvarchar(72) Description Unique key for each coupon rate.1 APXUser. 3.CouponRateID. Column Data type ExchangeName varchar(16) TaskStatusID tinyint TaskStatusName nvarchar(72) Description Name of the status in Microsoft Exchange Defined artificial key for a task status Name of the task status 3.vCouponRateSchedule This view displays rate schedules for each coupon rate. Column AsOfDate BaseRateID BaseRateName Rate Data type datetime int nvarchar(72) float Description Foreign key to vBaseRate.18 APXUser.3.3. Column BaseRateID BaseRateName Data type int nvarchar(72) Description Unique key for each base rate.vTaskStatus This view returns status information for tasks.4 APXUser.BaseRateID.

6 APXUser. for example. Column CurrencyCode CurrencyName CurrencyPrecision CurrencySymbol DisplayDirectRate ISOCode IsSystemCurrency SecTypeNameSuffix SequenceNo Data type char(2) nvarchar(32) tinyint nvarchar(3) bit char(3) bit nvarchar(32) int Description Unique key for each currency code.vCurrency This view displays one row for each currency. Quoted rate for a 60 day delivery. Quoted rate for a 2 day delivery.vFXRate This view displays stored FX rates between two currencies. APX Release 3 Public SQL Views 77 February 16.3. 2011 . Quoted rate for a 30 day delivery. Quoted rate for a 90 day delivery. Column FlowMethodCode FlowMethodDesc Data type char(1) nvarchar(50) Description 3. Quoted rate for a 180 day delivery.CONFIDENTIAL—DO NOT DISTRIBUTE 3.3. Inc. Spot and forward rates are valid until this date. for example. join against vCurrency.vFactoredSecFlowMethod This is a lookup view for cash flow method codes. Two letter code for the base currency. Column AsOfDate Bid180DayRate Bid30DayRate Bid360DayRate Bid60DayRate Bid720DayRate Bid90DayRate FromCurrencyCode SpotRate ThruDate ToCurrencyCode Data type datetime float float float float float float char(2) float datetime char(2) Description Spot and forward rates are valid as of this date. “us”. Two-letter code for the price currency. for the name or ISO code.3. for the name or ISO code. Quoted rate for a 720 day delivery. 3.5 APXUser. “eu”. join against vCurrency. Quoted rate for a 360 day delivery. You can retrieve currency rates using vFxRate for a range of dates. Advent Software.7 APXUser.

Column CurrencyCode IndexDesc IndexID IndexName Symbol SymbolTypeCode Data type char(2) nvarchar(72) int nvarchar(32) nvarchar(25) char(1) Description Unique key for each market index.3. Inc.9 APXUser. including security-level performance.vPerformanceMarketIndexClassification This view displays performance records for an index. Column Data type Description FromDate datetime Key 3 of the natural key of this view.vPerformanceMarketIndexPeriod This view displays performance classification periods for an index.3.vMarketIndexRate This view displays stored rates for each index.vMarketIndex This view displays one row for each index.3.3.10 APXUser. Column Data type Description FxTypeCode nvarchar(12) Unique code for each FX type.IndexID. excluding security-level performance. IndexID int Key 1 of the natural key of this view.PeriodID RateofReturn float Weight float 3.IndexID Advent Software.8 APXUser.vFxType This view displays all defined exchange rate types. FxTypeName nvarchar(72) IsSystem bit Denotes the system FX Type. Column AsOfDate IndexID Rate Data type datetime int float Description Foreign key to vMarketIndex. 3.11 APXUser.12 APXUser. 2011 .CONFIDENTIAL—DO NOT DISTRIBUTE 3. FxTypeID smallint Unique key for each FX type.3. 3. APX Release 3 Public SQL Views 78 February 16. Foreign key to vMarketIndex. 3.ClassificationMemberID PeriodID int Foreign key to vPerformanceMarketIndexPeriod. Column Data type Description PerfClassMemberCode nvarchar(12) PerfClassMemberID int Foreign key to vSecClassMember. Only one FX type can be the FX Type for the system.

Foreign key to vSecClass.PeriodID RateofReturn float SecurityID int Foreign key to vSecurity. Column Data type Description PeriodID int Foreign key to vPerformanceMarketIndexPeriod.ResetRateID.15 APXUser. Foreign key to vFxType. Unique code for each Price Type. 2011 .FxTypeID. Column AsOfDate Rate ResetRateID ResetRateName Data type datetime float int nvarchar(72) Description Foreign key to vResetRate. Column ResetRateID ResetRateName Data type int nvarchar(72) Description Unique key for each reset rate. Only one Price Type can be the Price Type for the system.3.vPriceType This view displays all defined price sets.14 APXUser. Inc.vResetRate This view displays one row for each reset rate. Denotes the system Price Type.vResetRateSchedule This view displays rate schedules for each reset rate. APX Release 3 Public SQL Views 79 February 16.ClassificationID Artificial key for this view. Column Data type FxTypeID smallint FxTypeName IsSystem PriceTypeCode PriceTypeID PriceTypeName nvarchar(72) bit nvarchar(12) smallint nvarchar(72) Description The FX type associated to this price type.16 APXUser.3. Advent Software. Unique key for each Price Type. 3.3. 3.13 APXUser.SecurityID Symbol nvarchar(25) Weight float 3.vPerformanceMarketIndexSecurity This view displays security-level performance data for an index. 3.3.CONFIDENTIAL—DO NOT DISTRIBUTE Column PerfClassID PeriodID PropertyName Symbol ThruDate Data type int int nvarchar(72) nvarchar(25) datetime Description Key 2 of the natural key of this view.

Inc.17 APXUser. bit tinyint char(1) char(1) char(1) char(1) bit smallint char(2) char(1) int bit bit bit bit bit bit bit bit bit bit bit bit char(1) char(1) tinyint bit char(1) char(2) char(1) Foreign key to vMarketIndex. EnterYieldOnCost ExCouponDayCount ExCouponDayRuleCode ExCouponHolidayCode FixedIncomeTypeCode FlowMethodCode HasUnderlyingSecurity HoldingPeriod IncomeCurrencyCode IncomeTypeCode InflationIndexID IsBillable IsExCouponBond IsFFX IsHidden IsInternal IsLongZeroMV IsShortZeroMV IsTradable IsTradingCash IsUnsupervised IsVRS IsZeroCoupon LongAssetClassCode LongGainClassificationCode PaymentFrequencyID PayOnMonthEnd PriceThruCode PrincipalCurrencyCode QuantityCalculationPrec Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column AccrualCalendarCode AmortizationMethodCode AmortizeToCode CanBeBoughtSold CanMature CanReinvestDividend CanSplit CouponDelayDays CouponDelayHolidayRuleCode CouponDelayRuleCode DefaultSymbolNameSpace DefaultSymbolTypeCode EMDRuleCode Data type char(1) char(1) char(1) bit bit bit bit tinyint char(1) char(1) char(4) char(1) char(1) Description The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports.3. 2011 .vSecType This view displays one row for each security type. Flag denoting if short positions for securities of this type are calculated as having a zero market value.IndexID Flag denoting if long positions for securities of this type are calculated as having a zero market value. Flag denoting if securities of this type are variable rate securities APX Release 3 Public SQL Views 80 February 16.

Foreign key to vSecTypeGroup. 3. Column SecTypeGroupID SecTypeGroupNameLong SecTypeGroupNameShort Data type int nvarchar(72) nvarchar(72) Description Unique key for each security type group Name of the group for long positions Name of the group for short positions 3. for example “unsupervised common stock” may be based on a “common stock” base security type.18 APXUser. For example.vSecTypeGroup This view displays one row for each security type group. This column is equal to SecTypeCode base security types. For example. to skip rows for brokers. Data type char(1) float char(1) float Description APX Release 3 Public SQL Views 81 February 16. you may want to filter out rows by the SecTypeBaseCode.SecTypeGroupID.3. But if a query is being run against the vSecurity view to populate a master security list.vSecurity The APX Security table contains rows for accounting purposes which are not traded securities. Unique key for each security type.3. there are rows for brokers because some transactions (expense payments) reference a broker as the second symbol.CONFIDENTIAL—DO NOT DISTRIBUTE Column QuantityDisplayPrec RiskCountryCode SecTypeBaseCode Data type char(1) char(2) char(2) Description SecTypeCode SecTypeGroupID SecTypeNameLong SecTypeNameShort SequenceNo SettlementLagDays ShortAssetClassCode ShortGainClassificationCode SourcePrefID SubjectToFederalTax SubjectToStateTax TradeWithAI TypeGroupBaseID UseAvgCost UseConversionFactor UseSimpleInterestInLastPeriod ValuationFactor char(2) int nvarchar(72) nvarchar(72) int smallint char(1) char(1) int bit bit bit int char(1) bit bit float Base security type code. Flag denoting whether accrued interest for securities of this type is tracked in separate transactions. Inc.19 APXUser. These rows are therefore included in this view to support joins to vPortfolioTransaction. 2011 . you could use select * from vSecurity where SecTypeBaseCode <> ‘br’ This view displays one row for each security. Column AccrualCalendarCode Alpha AmortizeToCode AverageLife Advent Software.

Annual earnings per share Earnings per share for the last 4 quarters Foreign key to vExchange. Foreign key to vIndustryGroup. Foreign key to vBondRevenueSource. Inc.CONFIDENTIAL—DO NOT DISTRIBUTE Column Beta BondInsurerID BondRevenueSourceID BookValue CMOPaymentTypeCode ConversionFactor CouponDelayDays CouponDelayHolidayRuleCode CouponDelayRuleCode CouponPaymentDateRateID CouponPaymentFrequency CouponPaymentHolidayRuleCode CouponPaymentMethodID CouponPaymentRuleID CouponResetDateRateID CouponResetFirstDate CouponResetFrequency CouponResetHolidayRuleCode CouponResetMethodID CouponResetMultiplier CouponResetOffsetDays CouponResetOffsetRate CouponResetRuleID CUSIP DurationToMaturity EMDRuleCode Data type float tinyint tinyint float char(1) float tinyint char(1) char(1) int tinyint char(1) tinyint tinyint int datetime tinyint char(1) tinyint float tinyint float tinyint varchar(12) float char(1) Description Foreign key to vBondInsurer.ExchangeID.BondInsurerID. APX Release 3 Public SQL Views 82 February 16.IndustryGroupID. Foreign key to vMarketIndex. Identifies how the collateralized mortgage obligation security pays income EPSAnnual EPSLatest4Q EstMaturityDate ExchangeID FirstCouponDate FitchRating FlowMethodCode FullName IndustryGroupID InflationIndexBaseDate InflationIndexID InterestOrDividendRate IsFixedIncome ISIN IsIncomplete IsPerpetual IssueCountryCode IssueDate IssuePrice IsSystem Advent Software. 2011 .IndexID.BondRevenueSourceID. float float datetime tinyint datetime varchar(4) char(1) nvarchar(72) int datetime int float int varchar(12) bit bit char(2) datetime float bit The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports.

2011 . Unique key for each security <n> = 1 to 3.StrategyID. Inc. Standard and Poor’s rating Foreign key to vStrategy.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsTradable IsTradingCash IsVRS IsZeroCoupon LastCouponDate LongAssetClassCode MaturityDate MoodyRating NextPaymentDate OptionSymbol OriginalWeightedAvgMaturity PaymentFrequencyID PayOnMonthEnd PoolNumber PriceThruCode PrincipalCurrencyCode ProprietarySymbol PutScheduleFirstDate PutScheduleFrequency PutScheduleHolidayRuleCode PutScheduleMethodID PutScheduleRuleID RecordDate RiskCountryCode SectorID SecTypeBaseCode SecurityGUID SecurityID SecUserDef<n>ID SEDOL SharesOutstanding ShortAssetClassCode SourceID SourcePrefID SPRating StateCode StrategyID Symbol SymbolNameSpace SymbolTypeCode SymbolValidFromDate SymbolValidThruDate Ticker TradeWithAI Data type bit bit int bit datetime char(1) datetime varchar(16) datetime varchar(25) float tinyint bit varchar(16) char(1) char(2) nvarchar(25) datetime tinyint char(1) tinyint tinyint datetime char(2) int char(2) uniqueidentifier int int varchar(12) float char(1) int int varchar(16) varchar(3) int nvarchar(25) char(4) char(1) datetime datetime varchar(12) bit Description Flag denoting if the security is a variable rate security Foreign key to vSector. Foreign key to vSource. APX Release 3 Public SQL Views 83 February 16. int float Flag denoting whether accrued interest for securities of this type is tracked in separate transactions. Globally unique identifier for integrating with thirdparty systems. Foreign key to vSecurity.SectorID. Foreign key to vSecUserDef<n>.SecUserDef<n>ID.SecurityID.SourceID. UnderlyingSecurityID ValuationFactor Advent Software.

‘p’.3. ‘r’. the date on the next row with DateTypeCode = ‘c’ is the call date.21 APXUser. Otherwise. or ‘r’ for any date. If the BondStatusCode is ‘c’ or ‘r’. Will be removed in APX 4. finding the record where DateTypeCode = ‘c’ (‘p’ for Put) and AsOfDate is the lowest date greater than today. then that’s the call (put) date record regardless of the AsOfDate. Yield to maturity on market 3. NextGen should verify that only one row for each Security has BondStatusCode = ‘c’. the bond status is ‘’.vSecurityDeleted This view displays one row for each deleted security. Column BondStatusCode Data type char(1) Description Foreign key to vBondStatus. Finding a record BondStatusCode = ‘d’ without finding a later record with BondStatus = ‘e’ then the BondStatus is ‘d’ (Default). ‘r’. Advent Software. then the date on the corresponding row is the CallDate. 3. or Put) then set it as BondStatusCode. then finding any records with BondStatusCode = ‘c’.vSecurityCallPutStatus This view presents the bond status as of the current date (as represented by the AoProperty “Today”). 2011 . If there is no such row. or ‘p’ (Called. If any records with BondStatus = ‘d’ can not be found. Inc. If there is a row in AdvCallSchedule with BondStatusCode equal to ‘c’.SecurityID. CallDate datetime CallPrice PutDate PutPrice SecurityID float datetime float int Foreign key to vSecurity. Else the status on the most latest before today row with ‘d’ or ‘e’ is the bond status. Otherwise. so Moxy shouldn’t have to be concerned with that. Otherwise your bond status is blank.3. or ‘p’.CONFIDENTIAL—DO NOT DISTRIBUTE Column YTMOnCost YTMOnMarket Data type float float Description Yield to maturity on cost.20 APXUser.SecurityID. Deprecated. then that value is the bond status. Foreign key to vSecurity. If DateTypeCode = ‘c’ (‘p’ for Put) and BondStatusCode = ‘c’ or ‘r’ (‘p’ for Put) exists in AdvCallSchedule.0. Column PrincipalCurrencyCode SecTypeBaseCode SecurityGUID SecurityID Symbol Data type char(2) char(2) uniqueidentifier int nvarchar(25) Description Globally unique identifier for integrating with third-party systems. Pre-Refunded. APX Release 3 Public SQL Views 84 February 16.

vSecurityPropertyLookup This view lists all security property values for all securities with custom security properties of type: lookup. Inc. range and mapping. 3. In addition. Column ClosePrice CurrencyCode PaydownFactor PriceDate PriceTypeID SecurityID ValuationFactor Data type float char(2) float datetime smallint int float Description Foreign key to vPriceType. 3. Foreign key to vSecurity.vSecurityPrice This view displays historical prices for securities.g.22 APXUser. range and mapping. Column FactorValue FromDate SecurityID SourceID ThruDate Data type float datetime int int datetime Description Foreign key to vSecurity.25 APXUser.SourceID.vSecurityFactor This view displays historical factors for securities.SecurityID.23 APXUser. each property has a long and short variation.CONFIDENTIAL—DO NOT DISTRIBUTE 3.3. this view lists all security property values for all securities with security properties of type: lookup.SecurityID.3. asset class. Column DisplayName DisplayOrder IsShort KeyString PropertyID PropertyLookupID SecurityID Data type nvarchar(80) int int nvarchar(12) int int int Description Foreign key to vSecurity.3. 2011 . 3. e.3. APX Release 3 Public SQL Views 85 February 16.SecurityID.vSecurityProperty Similar to vSecurityPropertyLookup.24 APXUser. Foreign key to vSource.PriceTypeID. Column DisplayName DisplayOrder IsShort KeyString Data type nvarchar(72) int int nvarchar(12) Description Advent Software.

R .Range mapped list property. Advent Software. Inc.vSecuritySplit This view displays one row for each security split.SecurityID. Column PropertyDataTypeCode Data type char(1) Description $ .28 APXUser. PropertyID PropertyLookupGUID PropertyLookupID PropertyName SecurityID int uniqueidentifier int nvarchar(72) int Foreign key to vSecurity. 3. 2011 .SecurityID. Foreign key to vSecurity.vSecurityPropertyValue This view lists all security property values for all securities with properties of type: string.3.vSecurityRenamed This view displays one row for each renamed security. Column PrincipalCurrencyCodeNew PrincipalCurrencyCodeOld SecTypeBaseCodeNew SecTypeBaseCodeOld SecurityGUID SecurityID SymbolNew SymbolOld Data type char(2) char(2) char(2) char(2) uniqueidentifier int nvarchar(25) nvarchar(25) Description Globally unique identifier for integrating with third-party systems.SecurityID.27 APXUser.List property.Mapped List property.3.number % . 3.26 APXUser.CONFIDENTIAL—DO NOT DISTRIBUTE Column PropertyDataTypeCode Data type char(1) Description L .SecurityID. 3. Unique key for each security split.3. APX Release 3 Public SQL Views 86 February 16. numeric and date.string # . M .date PropertyID PropertyName PropertyValue SecurityID int nvarchar(72) nvarchar(72) int Foreign key to vSecurity. Column ExDate SecurityID SecuritySplitID ShareIn ShareOut Data type datetime int int float float Description Foreign key to vSecurity.

CurrencyCode.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column AccrualCalendarCode Alpha AmortizeToCode AssetClassCode Beta BondInsurerID BondRevenueSourceID BookValuePerShare CanBeBoughtSold Advent Software. Column AccruedInterestAM AccruedInterestPM AsOfDate ClosePrice CurrencyCode PaydownFactor PriceTypeID SecurityID ShareValue ValuationFactor Data type float float datetime float char(2) float smallint int float float Description Foreign key to vCurrency.vSecurityVariant This view shows a record for each SecTypeCode. Foreign key to vPriceType.SecurityID. Column ExportSymbol SecurityID SourceID Data type nvarchar(25) int int Description External symbol Foreign key to vSecurity.vSecuritySymbolImport This view displays symbol mappings on securities information received from various data sources. . 3. Data type char(1) float char(1) char(1) float tinyint tinyint float bit APX Release 3 Public SQL Views 87 February 16. Foreign key to vSource. Column ImportSymbol SecurityID SourceID Data type nvarchar(32) int int Description External symbol.SourceID. SecurityID.3.3.30 APXUser.vSecuritySymbolExport This view displays a row for each security that has its RemotePlus symbol defined.SourceID. Foreign key to vSource. SecurityID and IsShort to ensure a unique set of SecurityIDs.SecurityID. IsShort combination.31 APXUser. 2011 Description Foreign key to vBondInsurer. 3.PriceTypeID.vSecurityValuationLastBusinessDay This view shows security valuation information for each security as of the last business day.32 APXUser. Foreign key to vSecurity.SecurityID. 3. Inc.BondRevenueSourceID. Foreign key to vSecurity.3.BondInsurerID.29 APXUser.3. Foreign key to vBondRevenueSource. The number of total records for each security varies depending on the number of variant security types exist for a secuirty’s base security Type. Callers of this view should always specify SecTypeCode.

float float tinyint tinyint char(1) char(1) datetime varchar(4) char(1) char(1) bit int char(2) char(1) datetime int bit bit bit bit varchar(12) bit bit int char(2) datetime float bit bit bit bit bit bit The effective maturity date rule code reflects how to calculate the effective maturity date for securities of this type for the purpose of showing yield to maturity and duration on reports.ExchangeID.IndexID. Annual earnings per share Earnings per share for the last 4 quarters Foreign key to vExchange. Flag denoting if the security is a mortgage-backed security Flag denoting if the security is an original issue discount security Flag denoting if the security is a Treasury InflationProtected Security Flag denoting if the security is a variable-rate security February 16.CONFIDENTIAL—DO NOT DISTRIBUTE Column CanMature CanReinvestDividend CanSplit CMOPaymentTypeCode ConversionFactor CouponDelayDays CouponDelayHolidayRuleCode CouponDelayRuleCode Cusip Cusip9 EMDRuleCode Data type bit bit bit char(1) float tinyint char(1) char(1) varchar(12) nvarchar(9) char(1) Description Identifies how the collateralized mortgage obligation security pays income EPSAnnual EPSLatest4Q ExchangeID ExCouponDayCount ExCouponDayRuleCode ExCouponHolidayCode FirstCouponDate FitchRating FixedIncomeTypeCode FlowMethodCode HasUnderlyingSecurity HoldPeriod IncomeCurrencyCode IncomeTypeCode InflationIndexBaseDate InflationIndexID IsBillable IsBond IsExCouponBond IsFFX ISIN IsMBS IsOID IsShort IssueCountryCode IssueDate IssuePriceLocal IsTIPS IsTradable IsTradingCash IsUnsupervised IsVRS IsZeroCoupon Advent Software. 2011 APX Release 3 Public SQL Views 88 . Inc. Foreign key to vMarketIndex.

UnderlyingSecurityID UseAvgCost UseConversionFactor UseSimpleInterestInLastPeriod ValuationFactor int char(1) bit bit float Flag denoting whether accrued interest for securities of this type is tracked in separate transactions.SecurityID. Inc.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsZeroMarketValue LastCouponDate LocalCurrencyCode LocalCurrencyISOCode LocalCurrencyName LocalCurrencyPrecision LocalCurrencySequenceNo LocalCurrencySymbol MatureDate MaturityDate MoodyRating PaymentFrequencyID PayOnMonthEnd PoolNumber PriceThruCode PrincipalCurrencyCode ProprietarySymbol QuantityCalculationPrec QuantityPrecision RecordDate SecTypeBaseCode SecTypeCode SecurityID SecurityName SecuritySymbol SecurityTypeCode SEDOL SharesOutstanding SplitFlag SPRating StateCode StrategyID SubjectToFederalTax SubjectToStateTax SymbolTypeCode Ticker TradeWithAI Data type bit datetime char(2) char(3) nvarchar(32) tinyint int nvarchar(3) datetime datetime varchar(16) tinyint bit varchar(16) char(1) char(2) nvarchar(25) char(1) char(1) datetime char(2) char(2) int nvarchar(104) nvarchar(25) char(4) varchar(12) float varchar(1) varchar(16) varchar(3) int bit bit char(1) varchar(12) bit Description Foreign key to vSecurity. Foreign key to vStrategy. 2011 . Advent Software.StrategyID. Foreign key to vSecurity.SecurityID. APX Release 3 Public SQL Views 89 February 16.

Inc. Column BondStatusCode BondStatusName Data type char(1) nvarchar(72) Description Unique key for each bond status.4. 3.vBrokerFirm This view displays one row for each broker firm. 3.CONFIDENTIAL—DO NOT DISTRIBUTE 3.2 APXUser.5 APXUser.4 Reference data public views 3.4. Column BondRevenueSourceID BondRevenueSourceName Data type tinyint nvarchar(72) Description Unique key for each bond revenue source.vBondStatus This view displays one row for each bond status.4. The number that identifies this broker firm with the DTCC February 16. Data type varchar(11) int nvarchar(72) nvarchar(12) int nvarchar(12) varchar(8) Description SWIFT assigned Bank Identifier Code Unique key for each broker firm. The vBrokerFirm. Column AssetClassCode AssetClassName Data type char(1) nvarchar(72) Description Unique key for each asset class. Column BIC BrokerFirmID BrokerFirmName BrokerFirmSymbol ClearingBrokerID ClearingBrokerSymbol DTCNumber Advent Software.vAssetClass This view displays one row for each asset class. 3. 3.4.vBondRevenueSource This view displays one row for each bond revenue source. 2011 APX Release 3 Public SQL Views 90 .BrokerFirmID through which this Broker Firm clears.1 APXUser.4.4 APXUser.3 APXUser.vBondInsurer This view displays one row for each bond insurer. Column BondInsurerID BondInsurerName Data type tinyint nvarchar(72) Description Unique key for each bond insurer.

3.vCountry This view displays one row for each country.4.4. Column BIC ClearingCustID CustodianID CustodianName DTCNumber IsSystem SubCustID Data type varchar(11) int int nvarchar(72) varchar(8) bit int Description SWIFT assigned Bank Identifier Code The vCustodian.10 APXUser. 3.CustodianID. Column CommissionPurposeID PurposeDesc Data type tinyint nvarchar(72) Description Unique key for each commission purpose. Column BrokerFirmID BrokerFirmSymbol BrokerRepID BrokerRepKey BrokerRepName BrokerRepSymbol Data type int nvarchar(12) int nvarchar(12) nvarchar(72) nvarchar(12) Description Foreign key to vBrokerFirm.vBrokerRep This view displays one row for each broker rep.BrokerFirmID.vCustodian This view displays one row for each custodian.7 APXUser. Column ExchangeID ExchangeName HolidayScheduleID IsExchangeFeeEligible Advent Software. Unique key for each broker rep. The number that identifies this custodian with the DTCC Foreign key to vCustodian.4.CustodianID through which this custodian clears. APX Release 3 Public SQL Views 91 February 16.4.9 APXUser.6 APXUser.vCommissionPurpose This view displays one row for each commission purpose.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column CountryCode CountryName Data type char(2) nvarchar(72) Description Unique key for each country.4. 2011 . Unique key for each custodian.8 APXUser.vExchange This view displays one row for each exchange. Inc. Foreign key to vHoliday. 3. 3. Data type tinyint nvarchar(72) tinyint bit Description Unique key for each exchange.HolidayScheduleID.

Inc.vIndustryGroup This view displays one row for each industry group. Column HolidayScheduleID HolidayScheduleName WeekendEnd WeekendStart Data type tinyint nvarchar(72) tinyint tinyint Description Unique key for each holiday schedule.HolidayScheduleID. 3. Column HolidayDate HolidayName HolidayScheduleID HolidayTypeID HolidayTypeName Data type datetime nvarchar(72) tinyint tinyint nvarchar(72) Description Foreign key to vHolidaySchedule.vHolidaySchedule This view displays one row for each holiday schedule.vIndustrySector This view displays one row for each industry sector.4.4. 3.SectorID.12 APXUser.14 APXUser. 3. Column IndustryGroupCode IndustryGroupID IndustryGroupName SectorID Data type nvarchar(12) int nvarchar(72) int Description Unique key for each industry group.4.vHoliday This view displays one row for each holiday.13 APXUser.11 APXUser. Advent Software. Column SectorCode SectorID SectorName Data type nvarchar(12) int nvarchar(72) Description Unique key for each sector.4.CONFIDENTIAL—DO NOT DISTRIBUTE Column IsSystem LastBusinessDay MIC Data type bit datetime char(4) Description Market Identifier Code 3. APX Release 3 Public SQL Views 92 February 16. 2011 . Foreign key to vSector.

3.4. Foreign key to vSecClass. A long description for ClassificationMemberID.ClassificationID. 3. The order to display ClassificationMemberID rows with a ClassificationID The natural key for a ClassificationMemberID.4. 2011 . Use this view to retrieve names. descriptions and ownership for objects in APX when they are not available in other views.4.18 APXUser.4.vSecClassMember This view displays one row for each member value within each custom security property. APX Release 3 Public SQL Views 93 February 16.vSecClass This view displays one row for each security property definition. Column OmnibusDesc OmnibusID OmnibusName Data type nvarchar(72) int nvarchar(32) Description Unique key for each omnibus.vObject This view displays one row for each object in APX. A classification value within a ClassificationID. Column ClassID DisplayName Name ObjectDescription ObjectGUID ObjectID Data type int nvarchar(72) nvarchar(32) nvarchar(255) uniqueidentifier int Description Unique key for each object.vOmnibus This view displays one row for each omnibus.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Inc. 3.16 APXUser. Column AllowPerformanceUpdate AllowReporting ClassificationID ClassificationName DisplayName Data type bit bit int nvarchar(72) nvarchar(72) Description Unique key for each classification. A presentation label for ClassificationMemberID Advent Software.17 APXUser.15 APXUser. Column ClassificationID ClassificationMemberID Description DisplayOrder KeyString Label Data type int int nvarchar(128) int nvarchar(12) nvarchar(72) Description A grouping for classifying securities.

22 APXUser. Inc. APX Release 3 Public SQL Views 94 February 16. Column StateCode StateName Data type varchar(3) nvarchar(72) Description Unique key for each state.4. Unique key for each security user defined property.23 APXUser.4.vStrategy This view displays one row for each strategy. Column SecUserDef<n>ID SecUserDef<n>Name Data type int nvarchar(72) Description <n> = 1 to 3 depending on the view.4.4.20 APXUser. 3. Column TargetDateCode Data type char(1) Description Valid values are: a–Average Life Date c–Next Call Date f–Latest Cash Flows Date n–Stated Maturity Date p–Next Put Date r–Next Reset Date t–Next Tender Date w–Yield To Worst Date TargetDateName nvarchar(72) Advent Software. Column StrategyID StrategyName Data type int nvarchar(72) Description Unique key for each strategy.21 APXUser.4. 3.19 APXUser.vTargetDate This is a lookup view for effective maturity and amortization dates to use at the security or security type level. 3. Column SourceID SourceName Data type int nvarchar(72) Description Unique key for each source. 2011 . 3. <n> = 1 to 3 depending on the view.vSource This view displays one row for each source.CONFIDENTIAL—DO NOT DISTRIBUTE 3.vState This view displays one row for each state.vSecUserDef1-3 This view displays one row for each security user defined 1/2/3.

If a setting is not defined at the User Configuration level. this view returns the global configurations. APX Release 3 Public SQL Views 95 February 16. Foreign key to vPriceType. <n> = 1 to 3 depending on the view. Inc.5 Users and roles public views 3. Column TransUserDef<n>ID TransUserDef<n>Name Data type tinyint nvarchar(72) Description <n> = 1 to 3 depending on the view. If there is no user context. 3. Flag denoting if the current face of mortgagebacked securities should be shown on reports instead of the original face Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column AccruedInterestID AccruePerfFees AllocatePerfFees AnnualizeReturns BondCostBasisID CalculateSECFee CashSecTypeLabel CashSymbolLabel ConfigurationID ConfigurationName ConfigurationDisplayName ConfigurationDescription ExportFolder FeeMethod FirmLogoURL FirmName ImportFolder IncomeSecTypeLabel IncomeSymbolLabel LocaleCode LocaleID MFBasisIncludeReinvest PerfNetOfFeeCode PriceTypeID ReportingCurrencyCode RequiredDisclaimerID RoundingMethodCode ServerURL ShowCurrencyFullPrecision ShowCurrentMBSFace Data type smallint bit bit bit smallint bit nvarchar(8) nvarchar(8) int nvarchar(32) nvarchar(72) nvarchar(255) nvarchar(260) int nvarchar(255) nvarchar(72) nvarchar(260) nvarchar(8) nvarchar(8) nvarchar(10) int bit char(1) smallint varchar(2) int char(1) nvarchar(255) bit bit Description Unique key for this configuration.vTransUserDef1-3 This view displays one row for each transaction user defined 1/2/3.5.PriceTypeID. 2011 . an APX user session). Unique key for each transaction user defined property.vConfigurationEx This view displays the user’s configuration when there is a user context (i.1 APXUser. this view will return the Global Configuration level setting.4.24 APXUser.e.

Column IsSystem LicensePoolID MaxSeats ModuleID ModuleName PoolName UsedSeats UsersAssigned 3. Display name. February 16.CONFIDENTIAL—DO NOT DISTRIBUTE Column ShowCurrentTIPSFace Data type bit Description Flag denoting if the inflation-adjusted face of Treasury Inflation-Protected Securities should be shown on reports instead of the original face ShowIndustryGroup ShowIndustrySector ShowMultiCurrency ShowSecuritySymbol ShowTaxLotsLumped StyleSetID SystemCurrencyCode UseACB bit bit bit char(1) bit int char(2) bit Flag denoting whether performance reports should display internal rate of returns (IRR) based on an average capital base (1) or discounted cash flow (0) calculation. Foreign key to vUser.UserID. Data type bit nvarchar(255) int nvarchar(32) Description Seeded roles are set to “1” for true. Column IsSystem RoleDescription RoleID RoleName Advent Software.LicensePoolID.vLicensePool Data type bit int int int nvarchar(72) nvarchar(50) int int Description Unique key for each License Pool. Inc.5. Foreign key to vUser. 2011 APX Release 3 Public SQL Views 96 .2 APXUser. Descriptive text.3 APXUser.4 APXUser.5. UseAdjustedBondCostBasis UseSettlementDate YieldOptionID int bit smallint 3.vRole This view displays one row for each role.UserID.vLicensePoolMember Data type int nvarchar(128) nvarchar(72) int Description Foreign key to vLicensePool.5. Column LicensePoolID Login UserDisplayName UserID 3. Unique key for each role.

2011 . “0” is false and “1” is true.vUserBase This view is a base class for the vUser and vUserGroup entities. this flag is set to “1” which effectively hides the user from the UI but is preserved as an object to maintain audit records. When an administrator “deletes” a user from within the user interface. If a user has been granted access to all private data.RoleID. Each user is also a contact record in the system with a unique identifier.5. the user is assigned the default role which can be overridden. includes the domain name and slash. Valid values are: p – User g – User Group Advent Software.ContactID. Column DisplayName UserBaseID UserBaseName UserBaseTypeCode Data type nvarchar(72) int nvarchar(32) varchar(1) Description Unique key for each user base. Foreign key to vRole.RoleID. Users are created with a configuration that defines report and other settings for the user. the system deems the user inactive and will reject requests for authentication. for Windows integrated users. Example: domain\username.5. Locale for this user. Inc. APX database authenticated users are set with “DB”. Unique key for each user. The user’s contact record is not displayed in the user interface. If the flag is set to 0.vUser This view displays one row for each user. Column AccessAllUserGroups AccessAllUsersRoleID Data type bit int Description Flag that determines if a user is a member of all user groups.6 APXUser. Foreign key to vContact. A join against vRole for DefaultRoleID. Windows Integrated users are set with “NT”. AuthenticateTypeCode ContactID char(2) int DefaultConfigurationID DefaultRoleID int int DefaultRoleName IsActive IsDeleted nvarchar(32) bit bit LocaleID Login UserGUID UserID UserName int nvarchar(128) uniqueidentifier int nvarchar(32) 3. a role is assigned that determines the level of access.CONFIDENTIAL—DO NOT DISTRIBUTE 3. APX Release 3 Public SQL Views 97 February 16. Foreign key to vRole. Login name. When a user is added as member of a user group. User objects are never completly removed from the database.5 APXUser.

the user group can be modified within the user interface.vUserGroupType This view displays one row for each user group type. the user group does not display in the user interface. Seeded user groups are set as “1”. If set to “1”.vUserGroupMember This view displays one row for each user group member.UserBaseID. the user group is an available option to select when assigning an object owner. IsProcessingGroup IsSystem UserGroupDesc UserGroupID UserGroupName bit bit nvarchar(255) int nvarchar(32) 3. Object identifier for role for which member user is assigned within the group. Foreign key to vUserGroup.9 APXUser.7 APXUser. If set to “1”.5. the user group will appear for users with appropriate permissions. the user group is an available option to select when assigning the processing group for portfolios. the group type is designated as a processing group by default but can be overridden at the user group level. in the Portfolio Owner dropdown field. Display name of the group for the UserGroupID. Display name for the group type. If set to “1”. Display name for the group type of the user group.CONFIDENTIAL—DO NOT DISTRIBUTE 3. Column GroupTypeID GroupTypeName IsEditable IsHidden IsOwner Data type smallint nvarchar(72) char(1) bit bit Description Foreign key to vUserGroupType. 3. but can be overridden at the user group level. Column GroupTypeID GroupTypeName IsOwnerDefault Data type smallint nvarchar(72) bit Description Unique identifies for each user group type.8 APXUser.RoleID. If set to “1”. Foreign key to vRole. If set to “1”. Text description of the user group. the group type is designated as possible object owners by default.5. APX Release 3 Public SQL Views 98 February 16. 2011 . Inc. Foreign key to vUserBase. Column Login RoleID RoleName UserGroupID UserGroupName UserID UserName Data type nvarchar(128) int nvarchar(32) int nvarchar(32) int nvarchar(32) Description Refers to the member user’s login names. IsProcessingGroupDefault bit Advent Software. Unique key for each user group. If set to “1”. Display name of the user group. For example.GroupTypeID.UserGroupID.5.vUserGroup This view displays one row for each user group.

Inc. Product that the user is logged in to. The product on which the session is active. 3.1234567890123 3.10 APXUser. Syntax APXUser. APX Release 3 Public SQL Views 99 February 16. 'y') -.2 APXUser.fDisplaySecuritySymbol Returns the Security Symbol formatted according to the specified REP "ShowSecuritySymbol" setting.fDisplaySecuritySymbol ( SecuritySymbol. Column CountSeat Created FullName InstanceCount IPAddress LastTouched Name ProductID ProductName SessionID TimeOutInMinutes UserID Data type bit datetime nvarchar(72) int varchar(56) datetime nvarchar(32) int nvarchar(72) int int int Description If 1.CONFIDENTIAL—DO NOT DISTRIBUTE 3. ShowSecuritySymbol ) Parameter SecuritySymbol ShowSecuritySymbol Examples Data Type nvarchar(50) char Description The security symbol. The last time the session was active User’s APX login. The date-time the session was created IPv6 address of the machine on which the session is active. The REP setting for showing the security symbol.1 APXUser. Total database timeout for this session in minutes Foreign key to vUser.5.6 Database functions 3.fDisplaySecuritySymbol('1234567890123'.6. Syntax APXUser. . '1') -.fGetDiclaimerText ( DisclaimerID ) Parameter DisclaimerID Data Type int Description The Disclaimer ID.fGetDisclaimerText Returns the disclaimer text associated with the specified Disclaimer ID.UserID. select APXUser. 2011 Advent Software. this session counts toward the license seat count. Unique key for each user session.123456789012 select APXUser.vUserSession This view displays one row for each user currently logged in to APX.6.fDisplaySecuritySymbol('1234567890123'.

fSecurityPropertyID Returns the Property ID for a given Security’s Property Name. Syntax APXUser.vSecurityPropertyLookup where PropertyID = APXUser.fGetGenericDate('{last}'. '02/28/2010') -.fSecurityPropertyID('AssetClass') select * from APXUser.CONFIDENTIAL—DO NOT DISTRIBUTE Examples select APXUser. Inc.6.3 APXUser. APX Release 3 Public SQL Views 100 February 16.fGetGenericDate ( 'GenericDateName' .fSecurityPropertyID('IndGroup') Advent Software.fGetDiclaimerText(1) (Returns the disclaimer text associated with Disclaimer ID 1.01/31/2010 3.fSecurityPropertyID ( PropertyName ) Parameter PropertyName Examples Data Type nvarchar(30) Description The name of the property.fGetGenericDate Returns the resulting date based on the original date and the generic date name. The original date. 2011 . select APXUser.) 3. '02/28/2010') -. select APXUser.6.4 APXUser.02/26/2010 select APXUser. Date ) Parameter GenericDateName Date Examples Data Type nvarchar(144) datetime Description The name of the generic date. Syntax APXUser.fGetGenericDate('{edlm}'.

The report parameter Accrued Interest ID. Syntax APXUser. select APXUser. select APXUser.5 APXUser. ParameterAccruedInterestID . 2011 .fShowAccruedInterestOnAllReports(0. APX Release 3 Public SQL Views 101 February 16.1 3. The report parameter Accrued Interest ID. 1. The portfolio Accrued Interest ID.fShowAccruedInterestOnPerformanceReports(1.fShowAccruedInterestOnPerformanceReports (OverridePortfolioSettings . ParameterAccruedInterestID .6. 5) –. Syntax APXUser. 6) – 0 Advent Software. Inc.fShowAccruedInterestOnPerformanceReports Returns a Boolean value indicating whether to show accrued interest on performance reports based on the specified input parameters. The portfolio Accrued Interest ID. PortfolioAccruedInterestID ) Parameter OverridePortfolioSettings ParameterAccruedInterestID PortfolioAccruedInterestID Examples Data Type bit tinyint tinyint Description A Boolean value indicating if portfolio settings should be overridden.fShowAccruedInterestOnAllReports Returns a Boolean value indicating whether to show accrued interest on all reports based on the specified input parameters. 0.6. PortfolioAccruedInterestID ) Parameter OverridePortfolioSettings ParameterAccruedInterestID PortfolioAccruedInterestID Examples Data Type bit tinyint tinyint Description A Boolean value indicating if portfolio settings should be overridden.6 APXUser.CONFIDENTIAL—DO NOT DISTRIBUTE 3.fShowAccruedInterestOnAllReports ( OverridePortfolioSettings .

fTaskRecurrenceEnding(3.End after 12 occurences select APXUser. The number of occurences after which to end the activity recurrence. NumOccurrences .8 APXUser. select APXUser.fTaskRecurrenceFrequency(5) -.Weekly select APXUser.RecurrenceType). null) -.6. EndDate . 3 = Date).CONFIDENTIAL—DO NOT DISTRIBUTE 3. Inc.2010 3. 12.fTaskRecurrenceFrequency(9) –. select APXUser. The ending date of the activity recurrence.fTaskRecurrenceEnding(2. The Locale ID of the culture in which to format the EndDate. Syntax APXUser. 2011 .fTaskRecurrenceFrequency Returns a description of the Activity Recurrence Type associated with the specified RecurrenceTypeID. LocaleID ) Parameter EndType EndDate NumOccurences LocaleID Examples Data Type tinyint datetime smallint int Description The type of ending (1 = No End. null.12.7 APXUser. Syntax APXUser.fTaskRecurrenceFrequency(1) -. null.Monthly Advent Software.fTaskRecurrenceFrequency ( RecurrenceTypeID ) Parameter RecurrenceTypeID Examples Data Type tinyint Description The RecurrenceTypeID (refer to APX.fTaskRecurrenceEnding(1. null) -. 1067) – End by 31.Yearly select APXUser. APX Release 3 Public SQL Views 102 February 16. null. 2 = NumOccurences.No End Date select APXUser. '2010-12-31'.6. null.fTaskRecurrenceEnding Returns a description of when a recurring activity will end.fTaskRecurrenceEnding ( EndType .

null) -. 1. 0. IsOnTuesday . Indicates if a task occurs on Monday. Note that all of the parameters are typically from one row of the APX. 3.CONFIDENTIAL—DO NOT DISTRIBUTE 3. 0. IsOnSaturday . Interval . select APXUser. LocaleID ) Parameter RecurrenceTypeID WeekIndex Month DayOfMonth Interval IsOnSunday IsOnMonday IsOnTuesday IsOnWednesday IsOnThursday IsOnFriday IsOnSaturday IsOnDay IsOnWeekday IsOnWeekendDay LocaleID Examples Data Type tinyint smallint tinyint tinyint smallint bit bit bit bit bit bit bit bit bit bit int Description The RecurrenceTypeID (refer to APX. Syntax APXUser. Indicates if a task occurs on Sunday. Indicates if a task occurs on weekdays. IsOnDay . 0. 0. 20. Indicates if a task occurs on weekend days. weeks. Indicates if a task occurs on Tuesday. Indicates if a task occurs on Wednesday. IsOnFriday . The interval. 0. 0. IsOnWeekday . 0. 0. 0. 0. 0. The Locale ID of the culture in which to format items. 0.fTaskRecurrencePattern(1.12). 0. 8.fTaskRecurrencePattern ( RecurrenceTypeID. 2. 0. 4= fourth week. 0. 0. until the next item. 0. 0. The day of the month for an absolute schedule item. 0. 0. 0. 0. IsOnSunday . 0. Indicates if a task occurs on Saturday.fTaskRecurrencePattern(4.9 APXUser. Indicates if a task occurs on Thursday. 1. APX Release 3 Public SQL Views 103 February 16.fTaskRecurrencePattern(3. 0. in days. Inc. Indicates if a task occurs on Friday. 0. 0. 2011 . WeekIndex . The index for the week of the month for a relative week schedule (1 = first week.The first weekday of every 3 months select APXUser.Day 20 of every month Advent Software. DayOfMonth . Month . 0. IsOnWeekendDay . 0.6. -1 = last week) The month of the year for a yearly schedule item (1 . IsOnMonday . 1.RecurrenceType). 1. IsOnWednesday . or months.The second Tuesday of August select APXUser. 0. 0. Indicates if a task occurs daily. 0.fTaskRecurrencePattern Returns the Task Recurrence Pattern associated with the specified parameters. null) -. 0. 0. 0. null) -.vTaskRecurrence table. IsOnThursday .

All join-key values for joining between entities (Example: SecurityID).3 Data types    Establishing data type consistency across related columns. 4. the AdvDateRateSchedule table contains base rate values. and vResetRate. Derived data for business entities such as tax lots.4 Included columns     All underlying columns that contain real business data (Example: Units Traded). Inc. On the other hand. IsInternal). in which case there may be multiple public views based on one underlying table. Rows that exist for physical schema support. in contrast to the underlying physical database schema. some underlying tables store data from multiple logical entities. Static lookup data such as coupon payment methods. Public views present the following data: Public views do not present the following data:     Most system data such as Permissions. rows from the underlying tables AdvSecurity. Three public views are based on this one table: vBaseRate.1 Level of Abstraction APX public SQL views present data that correlate to concepts within the financial services industry. Transient “housekeeping” system data. 4. as well as coupon dates and reset dates for specific securities. Specific general purpose system entities. For example. 4. All join-key values for reference lookup data (Example: DayOfWeekCode). and days of the week. Public views contain columns for the following types of data: Advent Software.CONFIDENTIAL—DO NOT DISTRIBUTE 4 Technical notes 4. APX Release 3 Public SQL Views 104 February 16. APX defines derived data types for use within its underlying database tables for the purposes of: Public views present the native SQL Server data types for simplicity. and AdvVRS combine to present a single row in the public view vSecurity to represent each security. vCouponRate. As the underlying tables are highly normalized. rows from many physical tables may combine to present a single row within a public view. Consumer meaningful flags for system conditions (Example: IsIncomplete. Defining consistent default values. Meta data regarding system definitions and customizations (Example: RowDefs). Establishing consistent use of nullable columns. AdvFixedIncome. 2011 .2 Completeness of Coverage     All business entities stored in APX. especially because these benefits do not apply to reading data from public views. For example.

APX Release 3 Public SQL Views 105 February 16. 2011 . Internal “housekeeping” columns (Example: The audit trail control columns).CONFIDENTIAL—DO NOT DISTRIBUTE 4. Columns that would only return a constant value because of constraints on the view (Example: IsHidden in AdvSecurity). Inc. Public views exclude columns that are part of the underlying tables for these reasons: Advent Software.5 Excluded columns    Columns for which the only purpose is to join between schema-level tables (Example: DateRateID on a security with a unique coupon schedule).

We plan to provide additional public SQL views to enable easily querying historical information. Other public views—We plan to implement the following views in a future release: Public view vPortfolioReinvestmentException vPortfolioAmortizationRules vPortfolioPerformanceIndex vPortfolioSyntheticIndexComponent vPortfolioGroupPerformanceIndex vPortfolioGroupSyntheticIndexComponent vPortfolioCompositePerformanceIndex vPortfolioCompositeSyntheticIndexComponent vSecurityEventDate Description Configuration-dependent Configuration-dependent Configuration-dependent Configuration-dependent Configuration-dependent Configuration-dependent Advent Software. 2011 .CONFIDENTIAL—DO NOT DISTRIBUTE 5 Future directions We are considering implementing the following functionality in a future release. Packager information—We plan to implement public views that expose report packaging and distribution information in a future release. APX Release 3 Public SQL Views 106 February 16. Job Manager information—We plan to implement public views that expose jobs and job queues in a future release. We take these into consideration during our current designs and implementations as they define our forward-looking direction. Inc.     Category Portfolio Portfolio Portfolio Portfolio Portfolio Portfolio Portfolio Portfolio Market Audit Trail information—APX maintains a complete history of database changes.

CONFIDENTIAL—DO NOT DISTRIBUTE 6 Document History Release 3. 2011 Feb.0 3. Advent Software. 1. 2011 Feb. 3. 2011 Notes Initial draft of document Incorporated feedback from Pourya. 2011 Feb. Inc.0 3. 2011 Jan.4. Revised documentation regarding upwards compatibility. 28. 2011 . Incorporated additional feedback from Pourya. 24.0 3. Added reference information for SSRS reports to Securty section 1. APX Release 3 Public SQL Views 107 February 16. 4.0 3. Incorporated data types into functions.0 Date Jan.

APX Release 3 Public SQL Views 108 February 16. 2011 .CONFIDENTIAL—DO NOT DISTRIBUTE Advent Software. Inc.

list the page number(s) and error(s). or send feedback through Advent’s client-only Web site at http://connection. Manual and release:___________________________________________ Today’s date:_____________ Comments: Please describe any changes or enhancements you’d like to see in this manual.advent. CA 94103. Optional: It would be helpful if we could contact you if we have any questions about your comments. Learning Products Advent Software 600 Townsend Street San Francisco. We appreciate your comments. Add additional pages if necessary.Comment Form Please use this form to give us constructive comments on this manual. Fax 415-556-0619. You can also send your comments via email to documentation@advent. Your name/Job title:____________________________________________________________________ Company name: ______________________________________________________________________ Address:_____________________________________________________________________________ City.com/documentation/. If you find any errors. We’ll consider your comments carefully and try to incorporate the appropriate changes in future editions. zip:________________________________________________________________________ Phone number:_____________________Email:___________________________________________________ Would you like a response?__________ Yes__________ No Mail or fax this form to: Director. state.com. .

Sign up to vote on this title
UsefulNot useful