Table
EntAssetObjectTypeDefaultSparePart
Spare part items
Lists spare part items for a set of asset type defaults. Each row has an item, an alternative item, an effective and expiry date, and approval details. The key is the defaults record, item, start date and end date.
- Table name
EntAssetObjectTypeDefaultSparePart- Module
Asset management- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
EntAsset- Primary index
None- Replacement key
ItemIdx- Key fields
ObjectTypeDefault, ItemId, ValidFrom, ValidTo- Model
EnterpriseAssetManagementAppSuite
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ObjectTypeDefaultPoints to the asset type defaults record that the spare part belongs to. | Int64EntAssetObjectTypeDefaultRecId | Yes | EntAssetObjectTypeDefault.RecId | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity |
ItemIdItem number of the spare part. | String (20)ItemId | Yes | InventTable.ItemId | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity |
ValidFromFirst date on which the spare part entry is effective. | DateEntAssetValidFrom | Yes | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity | |
ValidToDate on which the spare part entry expires. | DateEntAssetValidTo | No | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity | |
ApprovedYes or no choice. Shows whether the spare part record is approved. | EnumApprovedNoYes (enum) | No | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity | |
ApprovedByPoints to the worker who approved the record. | Int64EntAssetApprover | No | HcmWorker.RecId | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity |
ApprovedDateTimeDate and time of the approval. | UtcDateTimeApprovedDateTime | No | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemIdAltItem number of an alternative spare part. | String (20)ItemId | No | InventTable.ItemId | EntAssetMaintenanceAssetTypeDefaultSparePartV3EntityEntAssetMaintenanceAssetTypeDefaultSparePartV2EntityEntAssetMaintenanceAssetTypeDefaultSparePartEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
InventTableIdxNot unique.
WorkerIdxNot unique.
ItemIdxReplacement keyObjectTypeDefault,ItemId,ValidFrom,ValidToUnique, alternate key.
SparePartIdxObjectTypeDefault,ItemId,ItemIdAltUnique, alternate key.
Relations (4)
Each relation joins EntAssetObjectTypeDefaultSparePart to another table on the fields shown.
Worker→HcmWorkerJoin on
ApprovedBy = HcmWorker.RecIdMany EntAssetObjectTypeDefaultSparePart records → zero or one HcmWorker record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany EntAssetObjectTypeDefaultSparePart records → exactly one InventTable record
InventTableAlt→InventTableJoin on
ItemIdAlt = InventTable.ItemIdMany EntAssetObjectTypeDefaultSparePart records → zero or one InventTable record
ObjectTypeDefault→EntAssetObjectTypeDefaultJoin on
ObjectTypeDefault = EntAssetObjectTypeDefault.RecIdMany EntAssetObjectTypeDefaultSparePart records → exactly one EntAssetObjectTypeDefault record
Get this data out
Tables are not exposed directly. These public entities read from EntAssetObjectTypeDefaultSparePart; use one of them in Power BI, Power Platform or a data management project.
EntAssetMaintenanceAssetTypeDefaultSparePartV3Entity· 8 fields from this tableEntAssetMaintenanceAssetTypeDefaultSparePartV2Entity· 8 fields from this tableEntAssetMaintenanceAssetTypeDefaultSparePartEntity· 8 fields from this table
Need help with EntAssetObjectTypeDefaultSparePart in a report, an integration or a migration? Talk to Dr Dynamics.