Skip to content

Data Delivery Register

The Data Delivery Register provides metadata about deliveries in general, delivery agreements, delivered entities and tenants.

To retrieve the current state of each element, i.e., all the metadata related to that element, you can use the i-refactory REST API or the views available in the Data Delivery Register.

Access to metadata

Tenant

View: [acm_datadel].[tenant]

  • id: identifier of the tenant
  • code: tenant code
  • name: name of delivering part
  • description: tenant description

Delivery

View: [acm_datadel].[delivery]

Delivery agreement

View: [acm_datadel].[delivery_agreement]

Delivered Entity

View: [acm_datadel].[delivered_entity]

  • id: identifier of the delivered entity
  • delivery_id: delivery id
  • entity_id: entity id
  • snapshot_dt: this returns the time for the snapshot of the entity within a delivery
  • is_complete: whether the entity is delivered full or partial.

Agreement Based Constraint

View: [acm_datadel].[agreement_based_constraint]

  • id: id
  • delivery_agreement_id: the id of [acm_datadel].[delivery_agreement]
  • constraint_id: the id of [acm_datadef].[constraint]
  • threshold_absolute: the maximum constraint violation threshold
  • applicable_constraint_violation_action_id: the id of [acm_datadef].[applicable_constraint_violation_action]

Delivery Violated Constraint Count

View: [acm_datadel].[delivery_violated_constraint_count]

  • id: the delivery id
  • constraint_id: the id of [acm_datadef].[constraint]
  • entity_id: the id of [acm_datadef].[entity]
  • violation_count: violation count

Example - How to query the Data Delivery Register using a view

-- Select details of delivery agreements
SELECT id
      , interface_id
      , tenant_id
      , description
      , effective_from_dt
      , effective_to_dt
      , code
      , include_existing_data_for_skipped_rows_in_set_validation
      , include_existing_data_for_skipped_rows_in_set_validation_conclusion
      , max_concurrent_entity_updates
      , default_max_concurrent_entity_updates
      , max_reserved_entity_updates
      , default_reserved_entity_updates
      , acm_exists_ind
      , acm_last_created_dt
      , acm_start_dt
      , acm_end_dt
      , acm_record_ind
      , acm_modifier_id
      , acm_entity_id
  FROM ACME.acm_datadel.delivery_agreement
;