Table
PDSCompensationPrinciple
Compensation principle
Holds compensation settings for a BOM line. It links an active ingredient to a compensating ingredient, with a base attribute, a base value and a factor. The key is the BOM line reference.
- Table name
PDSCompensationPrinciple- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
PDSPotency- Primary index
BOMRefRecIdIdx- Replacement key
BOMRefRecIdIdx- Key fields
BOMRefRecId- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BOMRefRecIdSystem record ID of the BOM line the setting refers to. | Int64BOMRefRecId | Yes | BOM.RecId | None |
ActiveItemIdThe item that is the active ingredient. | String (20)PDSActiveItemId | No | InventTable.ItemId | None |
ActiveRefRecIdSystem record ID of the BOM line for the active ingredient. | Int64PDSActiveRefRecId | No | BOM.RecId | None |
BaseAttributeIdThe batch attribute used as the base for compensation. | String (20)PDSBaseAttributeId | No | PdsBatchAttrib.PdsBatchAttribId | None |
BaseValueBase number for the base attribute. | RealPDSBaseValueNum | No | None | |
BOMIdThe bill of materials the setting belongs to. | String (20)BOMId | No | BOMTable.BOMId | None |
CompItemIdThe item that is the compensating ingredient. | String (20)PDSCompItemId | No | InventTable.ItemId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FactorNumber used as the factor for compensation. | RealFactor | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
BOMRefRecIdIdxPrimary indexReplacement keyUnique, alternate key.
InventTableIdx2Not unique.
BOMTableIdxNot unique.
InventTableIdx1Not unique.
Relations (7)
Each relation joins PDSCompensationPrinciple to another table on the fields shown.
ActiveRefRecId→BOMJoin on
ActiveRefRecId = BOM.RecIdMany PDSCompensationPrinciple records → zero or one BOM record
BOM→BOMJoin on
BOMId = BOM.BOMId,BOM.PDSIngredientType = PDSIngredientTypeEnum::Compensating,CompItemId = BOM.ItemIdMany PDSCompensationPrinciple records → zero or one BOM record
BOMRefRecId→BOMJoin on
BOMRefRecId = BOM.RecIdZero or one PDSCompensationPrinciple record → exactly one BOM record
BOMTable→BOMTableJoin on
BOMId = BOMTable.BOMIdMany PDSCompensationPrinciple records → zero or one BOMTable record
InventTable→InventTableJoin on
ActiveItemId = InventTable.ItemIdMany PDSCompensationPrinciple records → zero or one InventTable record
InventTableComp→InventTableJoin on
CompItemId = InventTable.ItemIdMany PDSCompensationPrinciple records → zero or one InventTable record
PdsBatchAttrib→PdsBatchAttribJoin on
BaseAttributeId = PdsBatchAttrib.PdsBatchAttribIdOne or more PDSCompensationPrinciple records → zero or one PdsBatchAttrib record
Get this data out
No public entity reads from PDSCompensationPrinciple. Its data is only reachable through the application, a custom entity or a database export.
Need help with PDSCompensationPrinciple in a report, an integration or a migration? Talk to Dr Dynamics.