Data entity

LeaveBuySellPolicyBuyTierEntity

Holds the buy tiers of a buy and sell leave policy. Each tier is identified by policy, leave type and months of service. It holds the rate, maximum amount, full time equivalency and earning code. It links to the policy, leave type and earning code.

Entity name
LeaveBuySellPolicyBuyTierEntity
Public entity name
LeaveBuySellPolicyBuyTier
OData collection
LeaveBuySellPolicyBuyTiers
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PolicyId, LeaveTypeId, MonthsOfService
Staging table
LeaveBuySellPolicyBuyTierStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LeaveBuySellPolicyBuyTiers
Dataverse virtual table
mserp_leavebuysellpolicybuytierentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • LeaveBuySellPolicyBuyTier · root
  • LeaveType · InnerJoin to LeaveBuySellPolicyBuyTier · read-only
  • PayrollEarningCode · OuterJoin to LeaveBuySellPolicyBuyTier · read-only
  • LeaveBuySellPolicy · InnerJoin to LeaveBuySellPolicyBuyTier · read-only

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PolicyPoints to the buy and sell leave policy that this tier belongs to.Int64
LeaveBuySellPolicyRecId
YesNo (private)LeaveBuySellPolicy.RecIdLeaveBuySellPolicyBuyTier.Policy
LeaveTypePoints to the leave type that the tier applies to.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveBuySellPolicyBuyTier.LeaveType
RateRate used when a worker buys this type of leave.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicyBuyTier.Rate
MaximumAmountUpper limit on the amount of leave that can be bought under this tier.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicyBuyTier.MaximumAmount
UseFullTimeEquivalencyYes/No flag. When Yes, the worker's full-time equivalency from their position is used to check the amount bought.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveBuySellPolicyBuyTier.UseFullTimeEquivalency
MonthsOfServiceMonths of service a worker needs before this buy tier applies. It is also part of the tier key.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicyBuyTier.MonthsOfService
EarningCodePoints to the payroll earning code linked to this tier.Int64
PayrollEarningCodeRecId
NoNo (private)PayrollEarningCode.RecIdLeaveBuySellPolicyBuyTier.EarningCode
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
EarningCodeIdUnique ID of the earning code.String (50)
PayrollEarningCodeId
NoYesPayrollEarningCode.EarningCode
PolicyIdName of the buy and sell leave policy.String (30)
LeaveBuySellPolicyName
YesYesLeaveBuySellPolicy.Policy

Foreign keys (3)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with LeaveBuySellPolicyBuyTierEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk