Table
WHSQualityCheckResult
Quality check results
Holds the result of a quality check done during warehouse work. Each record is identified by the work ID and the work line number. It stores the item, quantity, license plate, user, check template, date and time, and whether the result was accepted or rejected.
- Table name
WHSQualityCheckResult- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
WorkIdWorkLineNumIdx- Key fields
WorkId, WorkLineNum- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkIdWork record that the quality check belongs to. | String (20)WHSWorkId | Yes | WHSWorkTable.WorkId | None |
WorkLineNumNumber of the work line that the check relates to. Used together with the work ID. | RealLineNum | Yes | WHSWorkLine.LineNum | None |
AcceptRejectOutcome of the check: none, accept or reject. | EnumWHSAcceptReject (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventHandlingQtyQuantity involved in the check. | RealInventHandlingQty | No | None | |
InventTransIdLot ID that links the result to an inventory transaction. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
ItemIdItem number that was checked, linked to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
LicensePlateIdLicense plate (pallet or container ID) that was checked. | String (25)WHSLicensePlateId | Yes | WHSLicensePlate.LicensePlateId | None |
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 | |
OrderNumNumber of the order that the work relates to. | String (20)WHSOrderNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QualityCheckDateTimeDate and time when the quality check took place. | UtcDateTimeWHSQualityCheckDateTime | No | None | |
QualityCheckTemplateNameName of the quality check template that was used. | String (20)WHSQualityCheckTemplateName | Yes | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UserIdUser who is linked to the work, taken from the work users. | StringWHSUserId | Yes | WHSWorkUser.UserId | None |
WorkTransTypeType of work order the check came from, such as purchase orders, sales orders or transfer issue. | EnumWHSWorkTransType (enum) | No | None |
Indexes (5)
ItemIdxNot unique.
WorkIdWorkLineNumIdxReplacement keyUnique, alternate key.
AcceptRejectIdxNot unique.
OrderNumWorkTransTypeIdxNot unique.
UserIdIdxNot unique.
Relations (6)
Each relation joins WHSQualityCheckResult to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSQualityCheckResult records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany WHSQualityCheckResult records → zero or one InventTransOrigin record
WHSLicensePlate→WHSLicensePlateJoin on
LicensePlateId = WHSLicensePlate.LicensePlateIdMany WHSQualityCheckResult records → exactly one WHSLicensePlate record
WHSWorkLine→WHSWorkLineJoin on
WorkId = WHSWorkLine.WorkId,WorkLineNum = WHSWorkLine.LineNumZero or one WHSQualityCheckResult record → exactly one WHSWorkLine record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdMany WHSQualityCheckResult records → exactly one WHSWorkTable record
WHSWorkUser→WHSWorkUserJoin on
UserId = WHSWorkUser.UserIdMany WHSQualityCheckResult records → exactly one WHSWorkUser record
Get this data out
No public entity reads from WHSQualityCheckResult. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSQualityCheckResult in a report, an integration or a migration? Talk to Dr Dynamics.