Table

PDSCalculationLine

Calculation line

Holds the elements of an equation used for attribute-based pricing. Each line is identified by the calculation ID and an element letter from A to J. A line sets the element type, and can hold a constant or a batch attribute.

Table name
PDSCalculationLine
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
PDSPotency
Primary index
CalculationIdElementIdx
Replacement key
None
Key fields
CalculationId, Element
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CalculationIdID of the calculation that this line belongs to.String
PDSCalculationId
YesPDSCalculationTable.CalculationIdNone
ElementLetter, from A to J, that names the equation element.Enum
PDSCalcElementBase (enum)
NoNone
ConstantFixed number used when the element type is a constant.Real
PDSConstant
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ElementTypeKind of value the element stands for, such as quantity, unit price, a batch attribute or a constant.Enum
PDSCalcElementTypeBase (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsBatchAttribIdThe batch attribute used by the element.String (20)
PdsBatchAttribId
NoPdsBatchAttrib.PdsBatchAttribIdNone
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 (1)

Relations (2)

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

  • PdsBatchAttrib → PdsBatchAttrib

    Join on PdsBatchAttribId = PdsBatchAttrib.PdsBatchAttribId

    One or more PDSCalculationLine records → zero or one PdsBatchAttrib record

  • PDSCalculationTable → PDSCalculationTable

    Join on CalculationId = PDSCalculationTable.CalculationId

    Many PDSCalculationLine records → exactly one PDSCalculationTable record

Get this data out

No public entity reads from PDSCalculationLine. Its data is only reachable through the application, a custom entity or a database export.

Need help with PDSCalculationLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk