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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ProdBOMRefRecIdSystem record ID of the production BOM line the setting refers to.Int64
ProdBOMRefRecId
YesNone
ActiveRefRecIdSystem record ID of the production BOM line for the active ingredient.Int64
PDSActiveRefRecId
YesNone
ActiveItemIdThe item that is the active ingredient.String (20)
PDSActiveItemId
NoNone
BaseAttributeIdThe batch attribute used as the base for compensation.String (20)
PDSBaseAttributeId
NoNone
BaseValueBase number for the base attribute.Real
PDSBaseValueNum
NoNone
CompItemidThe item that is the compensating ingredient.String (20)
PDSCompItemId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FactorNumber used as the factor for compensation.Real
Factor
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProdIdThe production order the setting belongs to.String (20)
ProdId
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (2)

Each relation joins PDSProdCompensationPrinciple to another table on the fields shown.

  • ActiveProdBOM → ProdBOM

    Join on ProdBOM.PDSIngredientType = PDSIngredientTypeEnum::Active, ActiveItemId = ProdBOM.ItemId, ActiveRefRecId = ProdBOM.RecId

    Many PDSProdCompensationPrinciple records → exactly one ProdBOM record

  • CompProdBOM → ProdBOM

    Join on ProdBOMRefRecId = ProdBOM.RecId, CompItemid = ProdBOM.ItemId, ProdId = ProdBOM.ProdId, ProdBOM.PDSIngredientType = PDSIngredientTypeEnum::Compensating

    One 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.

Email sales@drdynamics.co.uk