Table

GUPPricingSimulatorSalesLineFlexibleMargin

Simulator sales line flex margin

Holds flexible margin results for a sales line in the pricing simulator. Each row shows the trade agreement price, base price and flex margin amount for an item or variant. It links to the simulator sales line and a simulator price discount record.

Table name
GUPPricingSimulatorSalesLineFlexibleMargin
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
GlobalUnifiedPricing

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementPricePrice from the trade agreement. The currency is not stated in the metadata.RealNoNone
BasePriceBase price used for the line. The currency is not stated in the metadata.RealNoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DisplayProductNumberItem number shown for the line.String (20)
ItemIdSmall
NoNone
DisplayProductVariantNumberProduct variant shown for the line.String
RetailVariantId
NoNone
FlexibleMarginPriceFlex margin amount for the line. The currency is not stated in the metadata.RealNoNone
LineNumLine number held as text of up to 255 characters.low confidenceString (255)
String255
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceDiscTableRecIdSystem record ID of the related simulator price and discount record.Int64
PriceDiscTableRefRecId
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
RetailPricingSimulatorSalesTransactionSystem record ID of the pricing simulator sales transaction this row belongs to.Int64
RefRecId
NoNone
SalesLineNumLine number of the related pricing simulator sales transaction line.Real
LineNum
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • RetailPricingSimulatorSalesLine → RetailPricingSimulatorSalesLine

    Join on RetailPricingSimulatorSalesTransaction = RetailPricingSimulatorSalesLine.RetailPricingSimulatorSalesTransaction, SalesLineNum = RetailPricingSimulatorSalesLine.SalesLineNum

    Zero or one GUPPricingSimulatorSalesLineFlexibleMargin record → zero or one RetailPricingSimulatorSalesLine record

  • RetailPricingSimualtorPriceDiscTable → RetailPricingSimulatorPriceDiscTable

    Join on RetailPricingSimulatorSalesTransaction = RetailPricingSimulatorPriceDiscTable.RetailPricingSimulatorTransactionId, PriceDiscTableRecId = RetailPricingSimulatorPriceDiscTable.PriceDiscTableRecId

    Zero or one GUPPricingSimulatorSalesLineFlexibleMargin record → zero or one RetailPricingSimulatorPriceDiscTable record

Get this data out

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

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

Email sales@drdynamics.co.uk