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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CalculationIdID of the calculation that this line belongs to. | StringPDSCalculationId | Yes | PDSCalculationTable.CalculationId | None |
ElementLetter, from A to J, that names the equation element. | EnumPDSCalcElementBase (enum) | No | None | |
ConstantFixed number used when the element type is a constant. | RealPDSConstant | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ElementTypeKind of value the element stands for, such as quantity, unit price, a batch attribute or a constant. | EnumPDSCalcElementTypeBase (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsBatchAttribIdThe batch attribute used by the element. | String (20)PdsBatchAttribId | No | PdsBatchAttrib.PdsBatchAttribId | 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 (1)
CalculationIdElementIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins PDSCalculationLine to another table on the fields shown.
PdsBatchAttrib→PdsBatchAttribJoin on
PdsBatchAttribId = PdsBatchAttrib.PdsBatchAttribIdOne or more PDSCalculationLine records → zero or one PdsBatchAttrib record
PDSCalculationTable→PDSCalculationTableJoin on
CalculationId = PDSCalculationTable.CalculationIdMany 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.