Data entity

LeaveBuySellPolicySellTierEntity

Holds the sell 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
LeaveBuySellPolicySellTierEntity
Public entity name
LeaveBuySellPolicySellTier
OData collection
LeaveBuySellPolicySellTiers
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
LeaveBuySellPolicySellTierStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LeaveBuySellPolicySellTiers
Dataverse virtual table
mserp_leavebuysellpolicyselltierentity. 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

  • LeaveBuySellPolicySellTier · root
  • LeaveType · InnerJoin to LeaveBuySellPolicySellTier · read-only
  • PayrollEarningCode · OuterJoin to LeaveBuySellPolicySellTier · read-only
  • LeaveBuySellPolicy · InnerJoin to LeaveBuySellPolicySellTier · 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.RecIdLeaveBuySellPolicySellTier.Policy
LeaveTypePoints to the leave type that the tier applies to.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveBuySellPolicySellTier.LeaveType
RateRate used when a worker sells this type of leave.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicySellTier.Rate
MaximumAmountUpper limit on the amount of leave that can be sold under this tier.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicySellTier.MaximumAmount
UseFullTimeEquivalencyYes/No flag. When Yes, the worker's full-time equivalency from their position is used to check the amount sold.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveBuySellPolicySellTier.UseFullTimeEquivalency
MonthsOfServiceMonths of service a worker needs before this sell tier applies. It is also part of the tier key.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicySellTier.MonthsOfService
EarningCodePoints to the payroll earning code linked to this tier.Int64
PayrollEarningCodeRecId
NoNo (private)PayrollEarningCode.RecIdLeaveBuySellPolicySellTier.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 LeaveBuySellPolicySellTierEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk