Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this page:

Table of Contents

Overview

Custom Benchmark involves custom index logic which is dependent on certain component values stored on underlying (assigned) constituent entities. These values and assignments are stored in the CUSTOM_INDEX_ATTRIBUTES table in the RULES database. The table keeps track of any changes to each custom entity by the EFFECTIVE_DATE field. 

...

1. If both values are set up in the record:
     a. A lookup in the Entity_xreference table of the Rules database is performed to find matching entity cross reference values:
          - customBenchmark/entityXrefs/entityXref/xrefAccountId/Xref_Account_ID
          - customBenchmark/entityXrefs/entityXref/xrefAccountId/Xref_account_ID_Type

     b. If a match is NOT Found, the record is failed with the following error message: “EntityID is not resolved by XREFs”

     c. If a matching value exists, the interface will use the value from the Entity_id field and processing will move on to the entity detail resolution logic.

2. In case there were no ENTITY XREF and ENTITY XREF TYPE specified in the record:
     a. It checks for customBenchmark/entityId (CUSTOM INDEX ID) element and if there is no value for it on the record, the logic fails it with “EntityID is not resolved by XREFs” message.

  1. If both values exist on are present in the record, the logic will be the following:Perform a lookup is performed on the Entity_xreference table in the Rules Database and in RULESDBO to match the entity cross reference values:
    customBenchmark/entityXrefs/entityXref/xrefAccountId = Xref_Account_ID
    customBenchmark/entityXrefs/entityXref/xrefAccountId = Xref_account_ID_Type
    1. If
    a
    1. NO match
    NOT Found
    1. is found,
    fail
    1. the record fails with
    the
    1. an error message: “EntityID is not resolved by XREFs”
    2. If there is a match, the interface will use
    the value in
    1. its Entity_id value. The logic will move on to
    the
    1. entity detail resolution logic.
  2. This step is used if If there is no ENTITY XREF and or ENTITY XREF TYPE do not exist on in the record.:
    1. If In case no customBenchmark/entityId (CUSTOM INDEX ID) value is not on the record, the logic fails with the error message: “EntityID is not resolved by XREFs”.
    IF
    1. In case there is a customBenchmark/entityId (CUSTOM INDEX ID)
    value is
    1. set on the record,
    it
    1. the interface performs a lookup on the Entity table in
    the rules database and match
    1. the RULESDBO to find a match with the value in the CUSTOM INDEX ID tag

customBenchmark/entityId = entity_id.
If a match as found, the interface

...

considers custom index record resolved and the logic will move to

...

entity detail resolution

...

.

...

1.3       ENTITY DETAIL RESOLUTION

...

Anchor
Entity Detail Resolution
Entity Detail Resolution
Entity Detail Resolution

This is a specific logic to resolve the Entity Detail for the custom index records is which goes thru the following steps:

  1. This step is used to resolve the underlying/constituent entities associated to the Custom Index Entity. If both values exist on the record, the logic will be the following:

...

  1. If a match NOT Found, it fails the record with the error message: “EntityID is not resolved by XREFs”
  2. If a match, the interface has resolved the Detail index record.


  1. This step is used if If there is no ENTITY DETAIL XREF and ENTITY DETAIL XREF TYPE do not exist on the record.If :
    1. In case there is no customBenchmark/entityDetail/entityId node (ENTITY DETAIL ID)
    is not
    1. on the record, it
    fails
    1. will fail with the error message: “EntityID is not resolved by XREFs”.
    If the
    1. In case there is a customBenchmark/entityDetail/entityId
    node
    1. element (ENTITY DETAIL ID)
    value is on the record
    1. with a value set, it performs a lookup on the Entity table in the rules database
    and
    1. to find a match for the value in the ENTITY DETAIL ID tag

customBenchmark/entityDetail/entityId = entity_id.
If a match is found, the interface

...

considers the Entity Detail record resolved.

...

Security Constrained Rresolution

If the incoming value in the customBenchmark/customIndexType (CUSTOM INDEX TYPE) tag = ‘CNST’ and a value exists in the SECURITY CONSTRAINED tag, then the custom Index has logic to constrain certain security returns.

SECURITY CONSTRAINED tag, the /customBenchmark/constrainAsset block in the incoming file, as example:

Code Block
languagexml
<constrainAsset>

...


   <primaryAssetId>RJSD148507</primaryAssetId>

...


   <primaryAssetType>INTERNAL</primaryAssetType>

...


</constrainAsset>

and is directly used by security resolution logic.

...

  1. If no match, the record (batch) fails with an error message: “Entity and Security Relation not found”
  2. If a match, the logic populates Security_alias in the Custom_index_attr_detail table with the security_alias value obtained above.

...

Security Exclusion Resolution

If the incoming value in the customBenchmark/customIndexType (CUSTOM INDEX TYPE) tag = ‘EXCL’ and a value exists in the SECURITY EXCLUSION tag, then the custom Index has logic to exclude certain security returns. The interface performs an additional lookup to resolve the Security being excluded.

SECURITY CONSTRAINED tag, the /customBenchmark/exclusionAsset block in the incoming file, as example:

 <exclusionAsset>

Code Block
languagexml
<exclusionAsset>
   <primaryAssetId>RJSD148507</primaryAssetId>

...


   <primaryAssetType>INTERNAL</primaryAssetType>

...


</exclusionAsset>

and is directly used by security resolution logic.

...

  1. If no match, it fails the record (batch) with an error message: “Entity and Security Relation not found”
  2. If a match, it populates Security_alias in the Custom_index_attr_detail table with the security_alias value obtained above.

 

...

Batch and Next Instance Resolution

The batch is a unique combination of the following fields:

  • customBenchmark/effectiveDate = Effective_date in custom_index_attributes
  • customBenchmark/entityId = Entity_ID in custom_index_attributes
  • customBenchmark/entityDetail/entityId = Entity_Detail_Id in custom_index_attributes

As for example, a valid batch key would be:

Code Block
languagexml
<batchKey>2016-12-

...

12^BT153545^TB153545</batchKey>

...

If a match, the interface looks to the value in PROCESS TYPE on the incoming record and:

...