Table

MarkupPeriodChargeInvoiceLineBaseQuantityMinAmount

Quantity threshold minimum amount line invoice base

Holds detail for quantity threshold rule lines that also have a minimum amount. Each record combines a charge code, its amount and currency with a sales order and its quantities. It links to the line invoice base, the charges table and the sales order table.

Table name
MarkupPeriodChargeInvoiceLineBaseQuantityMinAmount
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Markup
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
MarkupPeriodChargeInvoiceLineBase

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
MinAmountChargeAmountSum of the amounts for the charge code on the invoice lines.Real
MarkupPeriodChargeInvoiceLineBaseMarkupAmount
NoNone
MinAmountChargeCodeCharge code, pointing to a charges record.String
MarkupCode
YesNone
MinAmountChargeCurrencyCodeCurrency of the charge amount.String (3)
MarkupPeriodChargeInvoiceLineBaseCurrencyCode
YesNone
MinAmountChargeDescriptionDescription of the charge code.String (60)
MarkupPeriodChargeInvoiceLineBaseMarkupTxt
NoNone
MinAmountQuantityDeliveredTotal delivered quantity for the sales order, in the unit of the rule line.Real
MarkupPeriodChargeInvoiceLineBaseQtyDelivered
NoNone
MinAmountQuantityOrderedTotal ordered quantity for the sales order, in the unit of the rule line.Real
MarkupPeriodChargeInvoiceLineBaseQtyOrdered
NoNone
MinAmountSalesIdSales order number, pointing to a sales order record.String (20)
MarkupPeriodChargeInvoiceLineBaseSalesId
YesSalesTable.SalesIdNone
MinAmountUnitSymbolUnit of measure of the quantities.String
MarkupPeriodChargeInvoiceLineBaseUnitSymbol
YesNone
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

Relations (3)

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

  • CustomerMarkupTable → MarkupTable

    Join on MinAmountChargeCode = MarkupTable.MarkupCode, MarkupTable.ModuleType = MarkupModuleType::Cust

    Many MarkupPeriodChargeInvoiceLineBaseQuantityMinAmount records → zero or one MarkupTable record

  • MarkupPeriodChargeInvoiceLineBase → MarkupPeriodChargeInvoiceLineBase

    Join on RecId = MarkupPeriodChargeInvoiceLineBase.RecId

    Zero or one MarkupPeriodChargeInvoiceLineBaseQuantityMinAmount record → exactly one MarkupPeriodChargeInvoiceLineBase record

  • SalesTable → SalesTable

    Join on MinAmountSalesId = SalesTable.SalesId

    Many MarkupPeriodChargeInvoiceLineBaseQuantityMinAmount records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk