Table
PDSProdCompensationPrinciple
Compensation principle
Holds compensation settings for a production order 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 production BOM line reference together with the active line reference.
- Table name
PDSProdCompensationPrinciple- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
PDSPotency- Primary index
ProdBOMRefRecIdIdx- Replacement key
None- Key fields
ProdBOMRefRecId, ActiveRefRecId- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProdBOMRefRecIdSystem record ID of the production BOM line the setting refers to. | Int64ProdBOMRefRecId | Yes | None | |
ActiveRefRecIdSystem record ID of the production BOM line for the active ingredient. | Int64PDSActiveRefRecId | Yes | None | |
ActiveItemIdThe item that is the active ingredient. | String (20)PDSActiveItemId | No | None | |
BaseAttributeIdThe batch attribute used as the base for compensation. | String (20)PDSBaseAttributeId | No | None | |
BaseValueBase number for the base attribute. | RealPDSBaseValueNum | No | None | |
CompItemidThe item that is the compensating ingredient. | String (20)PDSCompItemId | No | 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 | |
ProdIdThe production order the setting belongs to. | String (20)ProdId | 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)
ProdBOMRefRecIdIdxPrimary indexProdBOMRefRecId,ActiveRefRecIdUnique, alternate key.
InventTableIdxNot unique.
InventTableIdx1Not unique.
ProdTableIdxNot unique.
Relations (2)
Each relation joins PDSProdCompensationPrinciple to another table on the fields shown.
ActiveProdBOM→ProdBOMJoin on
ProdBOM.PDSIngredientType = PDSIngredientTypeEnum::Active,ActiveItemId = ProdBOM.ItemId,ActiveRefRecId = ProdBOM.RecIdMany PDSProdCompensationPrinciple records → exactly one ProdBOM record
CompProdBOM→ProdBOMJoin on
ProdBOMRefRecId = ProdBOM.RecId,CompItemid = ProdBOM.ItemId,ProdId = ProdBOM.ProdId,ProdBOM.PDSIngredientType = PDSIngredientTypeEnum::CompensatingOne or more PDSProdCompensationPrinciple records → zero or one ProdBOM record
Get this data out
No public entity reads from PDSProdCompensationPrinciple. Its data is only reachable through the application, a custom entity or a database export.
Need help with PDSProdCompensationPrinciple in a report, an integration or a migration? Talk to Dr Dynamics.