Table

TrvExpGuest

Guest

Holds guests that can be added to expenses, such as for entertainment or gifts. Each guest has a type (internal, my guests or contacts) and is linked to the employee who created it. It is used by mobile expense entities.

Table name
TrvExpGuest
Module
Expense
Table group
Worksheet
Table type
Regular
Data per company
No
Configuration key
Trv
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountCurrValue of the gift given to the guest.Real
TrvGuestGiftAmount
NoNone
CompanyOrganization or country/region of the guest.String (60)
Name
NoTrvExpMobileTrvExpGuestEntityTrvExpMobileExpTransGuestEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatingWorkerEmployee who created the guest record. Points to a worker record.Int64
TrvHcmWorkerRecId
YesHcmWorker.RecIdTrvExpMobileTrvExpGuestEntity
GuestIdName of the guest.String (100)
TrvExpGuestId
NoTrvExpMobileTrvExpGuestEntityTrvExpMobileExpTransGuestEntity
GuestTypeKind of guest: internal, my guests or contacts.Enum
TrvGuestType (enum)
NoNone
IsSoftDeletedYes/No flag. When set, the guest is hidden from the current user's guest list.Enum
TrvExpMyGuestDeleted
NoYes (enum)
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
NoTrvExpMobileTrvExpGuestEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TitleJob title of the guest.String (30)
TrvGuestTitle
NoTrvExpMobileTrvExpGuestEntityTrvExpMobileExpTransGuestEntity

Indexes (1)

Relations (1)

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

  • TrvCreatingEmployee → HcmWorker

    Join on CreatingWorker = HcmWorker.RecId

    Many TrvExpGuest records → exactly one HcmWorker record

Get this data out

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

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

Email sales@drdynamics.co.uk