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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BOMRefRecIdSystem record ID of the BOM line the setting refers to.Int64
BOMRefRecId
YesBOM.RecIdNone
ActiveItemIdThe item that is the active ingredient.String (20)
PDSActiveItemId
NoInventTable.ItemIdNone
ActiveRefRecIdSystem record ID of the BOM line for the active ingredient.Int64
PDSActiveRefRecId
NoBOM.RecIdNone
BaseAttributeIdThe batch attribute used as the base for compensation.String (20)
PDSBaseAttributeId
NoPdsBatchAttrib.PdsBatchAttribIdNone
BaseValueBase number for the base attribute.Real
PDSBaseValueNum
NoNone
BOMIdThe bill of materials the setting belongs to.String (20)
BOMId
NoBOMTable.BOMIdNone
CompItemIdThe item that is the compensating ingredient.String (20)
PDSCompItemId
NoInventTable.ItemIdNone
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
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 (7)

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

  • ActiveRefRecId → BOM

    Join on ActiveRefRecId = BOM.RecId

    Many PDSCompensationPrinciple records → zero or one BOM record

  • BOM → BOM

    Join on BOMId = BOM.BOMId, BOM.PDSIngredientType = PDSIngredientTypeEnum::Compensating, CompItemId = BOM.ItemId

    Many PDSCompensationPrinciple records → zero or one BOM record

  • BOMRefRecId → BOM

    Join on BOMRefRecId = BOM.RecId

    Zero or one PDSCompensationPrinciple record → exactly one BOM record

  • BOMTable → BOMTable

    Join on BOMId = BOMTable.BOMId

    Many PDSCompensationPrinciple records → zero or one BOMTable record

  • InventTable → InventTable

    Join on ActiveItemId = InventTable.ItemId

    Many PDSCompensationPrinciple records → zero or one InventTable record

  • InventTableComp → InventTable

    Join on CompItemId = InventTable.ItemId

    Many PDSCompensationPrinciple records → zero or one InventTable record

  • PdsBatchAttrib → PdsBatchAttrib

    Join on BaseAttributeId = PdsBatchAttrib.PdsBatchAttribId

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

Email sales@drdynamics.co.uk