Table

BenefitEligibilityRelation

Eligibility reference

Links an eligibility rule to the item it tests, such as a job, position, department, location, ZIP code or age. The eligibility type says what kind of item is referenced. It has no defined key and links to many HR and address tables.

Table name
BenefitEligibilityRelation
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
BenefitsManagement

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgeAge in years used in the rule.Integer
BenefitAge
NoBenefitEligibilityRelationEntity
AgeDirectionHow the age is compared: equal to, less than or equal to, or greater than or equal to.Enum
BenefitAgeDirection (enum)
NoBenefitEligibilityRelationEntity
CountryRegionIdCountry or region used in the rule. It points to the country/region table.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdBenefitEligibilityRelationEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
EligibilityRuleEligibility rule this row belongs to. It points to the eligibility rule table.Int64
BenefitEligibilityRuleRecId
YesBenefitEligibilityRule.RecIdBenefitEligibilityRelationEntity
EligibleTypeKind of item the rule tests, such as job, position, department, function or age.Enum
BenefitEligibleType (enum)
NoBenefitEligibilityRelationEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReferenceSystem record ID of the referenced item. The table depends on the eligibility type.Int64
BenefitEligibleReferenceRecId
YesBenefitEligibilityRelationEntity
ReferenceIdText ID of the referenced item. It can point to employment types, companies or agreement terms.String (255)
BenefitEligibleReferenceId
YesBenefitEmploymentType.EmploymentTypeIdCompanyInfo.DataAreaHcmAgreementTerm.AgreementTermIdHcmCompLocation.CompLocationIdHcmJob.JobIdHcmJobFunction.JobFunctionIdHcmJobType.JobTypeIdHcmPosition.PositionIdHcmPositionType.TypeIdHcmUnions.UnionIDOMOperatingUnit.OMOperatingUnitNumberBenefitEligibilityRelationEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (15)

Each relation joins BenefitEligibilityRelation to another table on the fields shown.

  • CompanyInfo_FK → CompanyInfo

    Join on EligibleType = BenefitEligibleType::LegalEntity, ReferenceId = CompanyInfo.DataArea

    Many BenefitEligibilityRelation records → exactly one CompanyInfo record

  • BenefitEligibilityRule_FK → BenefitEligibilityRule

    Join on EligibilityRule = BenefitEligibilityRule.RecId

    Many BenefitEligibilityRelation records → exactly one BenefitEligibilityRule record

  • BenefitEmploymentType_FK → BenefitEmploymentType

    Join on EligibleType = BenefitEligibleType::EmploymentType, ReferenceId = BenefitEmploymentType.EmploymentTypeId

    Many BenefitEligibilityRelation records → exactly one BenefitEmploymentType record

  • HcmAgreementTerm_FK → HcmAgreementTerm

    Join on EligibleType = BenefitEligibleType::TermsOfEmployment, ReferenceId = HcmAgreementTerm.AgreementTermId

    Many BenefitEligibilityRelation records → exactly one HcmAgreementTerm record

  • HcmCompLocation_FK → HcmCompLocation

    Join on EligibleType = BenefitEligibleType::Location, ReferenceId = HcmCompLocation.CompLocationId

    Many BenefitEligibilityRelation records → exactly one HcmCompLocation record

  • HcmJob_FK → HcmJob

    Join on EligibleType = BenefitEligibleType::Job, ReferenceId = HcmJob.JobId

    Many BenefitEligibilityRelation records → exactly one HcmJob record

  • HcmJobFunction_FK → HcmJobFunction

    Join on EligibleType = BenefitEligibleType::JobFunction, ReferenceId = HcmJobFunction.JobFunctionId

    Many BenefitEligibilityRelation records → exactly one HcmJobFunction record

  • HcmJobType_FK → HcmJobType

    Join on EligibleType = BenefitEligibleType::JobType, ReferenceId = HcmJobType.JobTypeId

    Many BenefitEligibilityRelation records → exactly one HcmJobType record

  • HcmPosition_FK → HcmPosition

    Join on EligibleType = BenefitEligibleType::Position, ReferenceId = HcmPosition.PositionId

    Many BenefitEligibilityRelation records → exactly one HcmPosition record

  • HcmPositionType_FK → HcmPositionType

    Join on EligibleType = BenefitEligibleType::PositionType, ReferenceId = HcmPositionType.TypeId

    Many BenefitEligibilityRelation records → exactly one HcmPositionType record

  • HcmUnions_FK → HcmUnions

    Join on EligibleType = BenefitEligibleType::Union, ReferenceId = HcmUnions.UnionID

    Many BenefitEligibilityRelation records → exactly one HcmUnions record

  • LogisticsAddressCountryRegion_FK → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many BenefitEligibilityRelation records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressState_FK → LogisticsAddressState

    Join on EligibleType = BenefitEligibleType::State, CountryRegionId = LogisticsAddressState.CountryRegionId, ReferenceId = LogisticsAddressState.StateId

    Many BenefitEligibilityRelation records → exactly one LogisticsAddressState record

  • LogisticsAddressZipCode_FK → LogisticsAddressZipCode

    Join on EligibleType = BenefitEligibleType::ZipCode, ReferenceId = LogisticsAddressZipCode.ZipCode

    Many BenefitEligibilityRelation records → exactly one LogisticsAddressZipCode record

  • OMOperatingUnit_FK → OMOperatingUnit

    Join on EligibleType = BenefitEligibleType::Organization, OMOperatingUnit.OMOperatingUnitType = OMOperatingUnitType::OMDepartment, ReferenceId = OMOperatingUnit.OMOperatingUnitNumber

    Many BenefitEligibilityRelation records → exactly one OMOperatingUnit record

Get this data out

Tables are not exposed directly. These public entities read from BenefitEligibilityRelation; use one of them in Power BI, Power Platform or a data management project.

Need help with BenefitEligibilityRelation in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk