Table
WHSReplenWorkLink
Replenishment Work Link
Links replenishment work lines to the demand work lines they serve. Each record is identified by the replenishment work line, the demand work line and the work creation number. It also holds a quantity and an open or closed status.
- Table name
WHSReplenWorkLink- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
ReplenWorkLineDemandWorkLineIdx- Replacement key
ReplenWorkLineDemandWorkLineIdx- Key fields
ReplenWorkId, ReplenLineNum, DemandWorkId, DemandLineNum, WorkBuildId- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReplenWorkIdWork ID of the replenishment work. | String (20)WHSWorkId | Yes | WHSWorkLine.WorkId | None |
ReplenLineNumLine number of the replenishment work line. Used together with the replenishment work ID. | RealLineNum | Yes | WHSWorkLine.LineNum | None |
DemandWorkIdWork ID of the demand work that needs the replenishment. | String (20)WHSWorkId | Yes | WHSWorkLine.WorkId | None |
DemandLineNumLine number of the demand work line. Used together with the demand work ID. | RealLineNum | Yes | WHSWorkLine.LineNum | None |
WorkBuildIdNumber of the work creation run that built the link. | String (20)WHSWorkBuildId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventQtyQuantity covered by the link. | RealInventQty | No | 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 | |
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 | |
StatusWhether the link is open or closed. | EnumWHSReplenWorkLinkStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
ReplenWorkLineDemandWorkLineIdxPrimary indexReplacement keyReplenWorkId,ReplenLineNum,DemandWorkId,DemandLineNum,WorkBuildIdUnique, alternate key.
DemandWorkIdDemandLineNumIdxNot unique.
WorkBuildIdIdxNot unique.
Relations (2)
Each relation joins WHSReplenWorkLink to another table on the fields shown.
WHSWorkLineDemand→WHSWorkLineJoin on
DemandLineNum = WHSWorkLine.LineNum,DemandWorkId = WHSWorkLine.WorkIdMany WHSReplenWorkLink records → exactly one WHSWorkLine record
WHSWorkLineReplenishment→WHSWorkLineJoin on
ReplenWorkId = WHSWorkLine.WorkId,ReplenLineNum = WHSWorkLine.LineNumMany WHSReplenWorkLink records → exactly one WHSWorkLine record
Get this data out
No public entity reads from WHSReplenWorkLink. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSReplenWorkLink in a report, an integration or a migration? Talk to Dr Dynamics.