Table

MeasurementResource

Resource

Holds resources used in measurement and time entry. A resource is either custom or a worker. It can have a default role and a source system.

Table name
MeasurementResource
Module
Human resource
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Measurement

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CompanyIdCompany account that the resource belongs to.String
CompanyId
NoNone
DefaultRolePoints to the resource role used by default for this resource.Int64
MeasurementResourceRoleRecId
NoMeasurementResourceRole.RecIdNone
IsTimeEntryAllowedShows whether time entry is allowed for this resource (yes or no).Enum
MeasurementIsTimeEntryAllowed
NoYes (enum)
NoNone
NameName of the resource.String (60)
Name
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ResourceIdIdentifier of the resource.String (20)
MeasurementResourceId
YesNone
ResourceTypeKind of resource: custom or worker.Enum
MeasurementResourceType (enum)
NoNone
SourceSystemPoints to the source system that the resource comes from.Int64
MeasurementSourceSystemRecId
YesMeasurementSourceSystem.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerPoints to the worker record linked to the resource.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone

Indexes (3)

Relations (3)

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

  • SourceSystem → MeasurementSourceSystem

    Join on SourceSystem = MeasurementSourceSystem.RecId

    Many MeasurementResource records → zero or one MeasurementSourceSystem record

  • ResourceRole → MeasurementResourceRole

    Join on DefaultRole = MeasurementResourceRole.RecId

    Many MeasurementResource records → zero or one MeasurementResourceRole record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many MeasurementResource records → zero or one HcmWorker record

Get this data out

No public entity reads from MeasurementResource. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk