Data entity

LeaveBankTransactionEntity

Holds the transactions in a worker's leave bank. Each row is keyed by worker, leave type, transaction type, date and number. It has the amount, line number, plan, half-day definition, comment and reason code.

Entity name
LeaveBankTransactionEntity
Public entity name
LeaveBankTransaction
OData collection
LeaveBankTransactions
Category
Transaction
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
LeaveAbsence
Keys
PersonnelNumber, LeaveTypeId, TransactionType, TransactionDate, TransactionNumber
Staging table
LeaveBankTransactionStaging

Use it in Power BI and Power Platform

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

  • LeaveBankTransaction · root
  • LeaveType · InnerJoin to LeaveBankTransaction · read-only
  • HcmWorker · InnerJoin to LeaveBankTransaction · read-only
  • LeavePlan · OuterJoin to LeaveBankTransaction · read-only
  • HcmReasonCode · OuterJoin to LeaveBankTransaction · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountSigned amount of leave in the transaction.Real
LeaveAmountSigned
NoYesLeaveBankTransaction.Amount
LeavePlanThe leave plan of the transaction. Points to the leave plan record.Int64
LeavePlanRecId
NoNo (private)LeavePlan.RecIdLeaveBankTransaction.LeavePlan
LeaveTypeThe leave type of the transaction. Points to the leave type record.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveBankTransaction.LeaveType
TransactionDateDate of the transaction.Date
LeaveDate
YesYesLeaveBankTransaction.TransactionDate
TransactionNumberLine number of the transaction.Real
LineNum
NoYesLeaveBankTransaction.TransactionNumber
TransactionTypeKind of movement, such as accrual, request, grant, adjustment, expiration or buy request.Enum
LeaveTransactionType
  • Accrual 1
  • Request 2
  • BalanceAdjustment 3
  • Grant 4
  • CarryForwardAdjustment 5
  • AccrualSuspensionAdjustment 6
  • CarryForwardTransfer 7
  • BalanceExpired 8
  • LeaveOfAbsenceRequest 9
  • LeaveBuyRequest 10
  • LeaveSellRequest 11
  • AccrualAdjustment 12
YesYesLeaveBankTransaction.TransactionType
WorkerThe worker the transaction belongs to. Points to the worker record.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveBankTransaction.Worker
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
LeavePlanIdShort name that identifies the plan.String (30)
LeavePlanName
NoYesLeavePlan.Name
HalfDayDefinitionShows whether the transaction covers no half day, the first half day or the second half day.Enum
LeaveHalfDayDefinition
  • None 0
  • FirstHalf 1
  • SecondHalf 2
NoYesLeaveBankTransaction.HalfDayDefinition
CommentFree-text comment on the transaction.String (-1)
LeaveRequestComment
NoYesLeaveBankTransaction.Comment
ReasonCodeReason for the transaction. Points to the reason code record.Int64
HcmReasonCodeRecId
NoNo (private)HcmReasonCode.RecIdLeaveBankTransaction.ReasonCode
ReasonCodeIdCode that identifies the reason code.String (15)
HcmReasonCodeId
NoYesHcmReasonCode.ReasonCodeId

Foreign keys (4)

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 LeaveBankTransactionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk