Data entity

LeaveBuySellPolicyEntity

Holds buy and sell leave policies. The key is the policy code. Each policy has a name, description, start and end dates, a policy type, and full time equivalency and maximum fixed amounts for buying and for selling leave.

Entity name
LeaveBuySellPolicyEntity
Public entity name
LeaveBuySellPolicy
OData collection
LeaveBuySellPolicies
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
Policy
Staging table
LeaveBuySellPolicyStaging

Use it in Power BI and Power Platform

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

  • LeaveBuySellPolicy · root

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
UseFullTimeEquivalency_BuyYes/no option to use the worker's full time equivalency for the buy limit.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveBuySellPolicy.UseFullTimeEquivalency_Buy
UseFullTimeEquivalency_SellYes/no option to use the worker's full time equivalency for the sell limit.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveBuySellPolicy.UseFullTimeEquivalency_Sell
PolicyName of the buy and sell leave policy.String (30)
LeaveBuySellPolicyName
YesYesLeaveBuySellPolicy.Policy
StartDateDate the policy becomes active.Date
LeaveStartDate
YesYesLeaveBuySellPolicy.StartDate
EndDateLast date the policy is active.Date
LeaveEndDate
YesYesLeaveBuySellPolicy.EndDate
CategoryPolicy type: based on an amount or on hours per week.Enum
LeaveBuySellPolicyTypeCategory
  • Amount 0
  • HoursPerWeek 1
NoYesLeaveBuySellPolicy.Category
MaximumAmount_BuyFixed maximum amount of leave that can be bought.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicy.MaximumAmount_Buy
MaximumAmount_SellFixed maximum amount of leave that can be sold.Real
LeaveAmountUnsigned
NoYesLeaveBuySellPolicy.MaximumAmount_Sell
DescriptionShort description of the policy.String (60)
HrmDescription
NoYesLeaveBuySellPolicy.Description

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

Email sales@drdynamics.co.uk