Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Database Keys for EagleML Objects

There are two types of keys defining a database record explicitly:

  • logical keys - these are a field or a number of fields, unique for the record in DB.
  • business keys - these are a field or a number of fields, unique for each record from real customer point of view.


Note

The keys below are using Source Id, not Source Name. The relationship between these two is defined in the PACE_MASTERDBO.INTERFACES DB table, you can use the following query to get it:

   select * from PACE_MASTERDBO.INTERFACES

The instance column contains all Source ids available and the short_desc column contains corresponding source names.

The following table lists the logical keys and the business keys for each supported object type.

Object TypeMaster TableLogical KeyBusiness Key
Warehouse TradeTRADES.DBO.TRADETRADE_IDEFFECTIVE_DATE,ENTITY_ID,SRC_INTFC_INST,MASTER_TICKET_NUMBER
ClientRULES.DBO.CLIENTINSTANCECLIENT_ID
Generic EntityRULES.DBO.ENTITYENTITY_IDENTITY_ID
Generic Entity (history mode)RULES.DBO.ENTITY_HISTENTITY_IDENTITY_ID
Issuer RelationshipSECURITY.DBO.ISSUER_RELATIONSHIPINSTANCEFROM_ISSUER_ALIAS,TO_ISSUER_ALIAS
Warehouse GL BalancesLEDGER.dbo.GL_DETAIL_POSTINGGLDP_IDGLDP_ID
Issuer OrganizationSECURITY.DBO.ISSUER_ORGANIZATIONISSUER_ALIASISSUER_ID
Warehouse Open LotHOLDING.dbo.LOT_LEVEL_POSITIONLOT_LEVEL_POSITIONLOT_LEVEL_POSITION
Warehouse PerformancePERFORMDBO.dbo.PERF_SUMMARYPERF_SUM_INSTPERF_SUM_INST
Warehouse PositionHOLDING.dbo.POSITION_DETAILPOSITION_ID,SECURITY_ALIAS,LONG_SHORT_INDPOSITION_ID,SECURITY_ALIAS,LONG_SHORT_IND
Generic SMFSECURITY.DBO.SECURITY_MASTERSECURITY_ALIASSECURITY_ALIAS
SMF IdentifiersSECURITY.DBO.XREFERENCESECURITY_ALIASSECURITY_ALIAS
SMF Identifiers (history mode)SECURITY.DBO.XREFERENCE_HISTSECURITY_ALIASSECURITY_ALIAS
RatingSECURITY.DBO.RATINGSSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST
Generic Issue AnalyticSECURITY.DBO.SECURITY_ANALYTICSSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST
Time SeriesSECURITY.DBO.STAR_SECURITY_TIME_SERIESSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST
ScheduleSECURITY.DBO.SCHEDULESECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST,SCHEDULE_SUB_TYPESECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST,SCHEDULE_SUB_TYPE
IssueFxRateSECURITY.DBO.FX_RATESSECURITY_ALIAS,FROM_SECALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS,FROM_SECALIAS,EFFECTIVE_DATE,SRC_INTFC_INST
Generic SMF (history mode)SECURITY.DBO.SECMASTER_HISTORYSECURITY_ALIASSECURITY_ALIAS,SRC_INTFC_INST,EFFECTIVE_DATE
Issue PriceRULES.DBO.ISSUEPRICESECURITY_ALIAS,SRC_INTFC_INST,EFFECTIVE_DATESECURITY_ALIAS,SRC_INTFC_INST,EFFECTIVE_DATE
Warehouse Cash ActivityCASH.DBO.CASH_ACTIVITYSRC_INTFC_INST,ENTITY_ID,SECURITY_ALIAS,MASTER_TRANS_NUMSRC_INTFC_INST,ENTITY_ID,SECURITY_ALIAS,MASTER_TRANS_NUM
  • No labels