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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompanyIdCompany account that the resource belongs to. | StringCompanyId | No | None | |
DefaultRolePoints to the resource role used by default for this resource. | Int64MeasurementResourceRoleRecId | No | MeasurementResourceRole.RecId | None |
IsTimeEntryAllowedShows whether time entry is allowed for this resource (yes or no). | EnumMeasurementIsTimeEntryAllowedNoYes (enum) | No | None | |
NameName of the resource. | String (60)Name | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ResourceIdIdentifier of the resource. | String (20)MeasurementResourceId | Yes | None | |
ResourceTypeKind of resource: custom or worker. | EnumMeasurementResourceType (enum) | No | None | |
SourceSystemPoints to the source system that the resource comes from. | Int64MeasurementSourceSystemRecId | Yes | MeasurementSourceSystem.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerPoints to the worker record linked to the resource. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
Indexes (3)
AKResourceId,ResourceType,CompanyId,SourceSystemUnique, alternate key.
DescriptionNot unique.
WorkerNot unique.
Relations (3)
Each relation joins MeasurementResource to another table on the fields shown.
SourceSystem→MeasurementSourceSystemJoin on
SourceSystem = MeasurementSourceSystem.RecIdMany MeasurementResource records → zero or one MeasurementSourceSystem record
ResourceRole→MeasurementResourceRoleJoin on
DefaultRole = MeasurementResourceRole.RecIdMany MeasurementResource records → zero or one MeasurementResourceRole record
Worker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany 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.