Table

PriceDiscSalesLineTmpPrintout Temporary

Line discount list

Purpose not clear from the metadata.

Table name
PriceDiscSalesLineTmpPrintout
Module
Cross-module and platform
Table group
Miscellaneous
Table type
TempDB
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountNo descriptionReal
DiscAmount
YesNone
CurrencyNo descriptionString (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustAccountNo descriptionString (20)
CustAccount
NoCustTable.AccountNumNone
CustNameNo descriptionString (160)
CustName
NoNone
FromDateNo descriptionDate
FromDate
NoNone
InventColorNameNo descriptionString
EcoResItemColorName
NoEcoResColor.NameNone
InventConfigNameNo descriptionString (50)
EcoResItemConfigurationName
NoEcoResConfiguration.NameNone
InventSizeNameNo descriptionString
EcoResItemSizeName
NoEcoResSize.NameNone
InventStyleNameNo descriptionString
EcoResItemStyleName
NoEcoResStyle.NameNone
InventVersionNameNo descriptionString
EcoResItemVersionName
NoEcoResVersion.NameNone
ItemGroupIdNo descriptionString
ItemGroupId
NoInventItemGroup.ItemGroupIdNone
ItemIdNo descriptionString (20)
ItemId
YesInventTable.ItemIdNone
ItemNameNo descriptionString (60)
ItemName
NoNone
ItemTypeNo descriptionEnum
ItemType (enum)
NoNone
LineDiscountGroupNo descriptionString
CustLineDiscCode
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
Percent1No descriptionReal
DiscPct
NoNone
Percent2No descriptionReal
DiscPct
NoNone
QuantityFromNo descriptionReal
Qty
NoNone
QuantityToNo descriptionReal
Qty
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
ToDateNo descriptionDate
ToDate
NoNone
UnitOfMeasureNo descriptionString
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolNone

Relations (11)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many PriceDiscSalesLineTmpPrintout records → exactly one Currency record

  • CustLineDiscountGroup → PriceDiscGroup

    Join on LineDiscountGroup = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many PriceDiscSalesLineTmpPrintout records → zero or one PriceDiscGroup record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many PriceDiscSalesLineTmpPrintout records → exactly one CustTable record

  • EcoResColor → EcoResColor

    Join on InventColorName = EcoResColor.Name

    Many PriceDiscSalesLineTmpPrintout records → zero or one EcoResColor record

  • EcoResConfiguration → EcoResConfiguration

    Join on InventConfigName = EcoResConfiguration.Name

    Many PriceDiscSalesLineTmpPrintout records → zero or one EcoResConfiguration record

  • EcoResSize → EcoResSize

    Join on InventSizeName = EcoResSize.Name

    Many PriceDiscSalesLineTmpPrintout records → zero or one EcoResSize record

  • EcoResStyle → EcoResStyle

    Join on InventStyleName = EcoResStyle.Name

    Many PriceDiscSalesLineTmpPrintout records → zero or one EcoResStyle record

  • EcoResVersion → EcoResVersion

    Join on InventVersionName = EcoResVersion.Name

    Many PriceDiscSalesLineTmpPrintout records → zero or one EcoResVersion record

  • InventItemGroup → InventItemGroup

    Join on ItemGroupId = InventItemGroup.ItemGroupId

    Many PriceDiscSalesLineTmpPrintout records → zero or one InventItemGroup record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PriceDiscSalesLineTmpPrintout records → exactly one InventTable record

  • UnitId → UnitOfMeasure

    Join on UnitOfMeasure = UnitOfMeasure.Symbol

    Many PriceDiscSalesLineTmpPrintout records → exactly one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk